discord-protos 1.2.91 → 1.2.92

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.
@@ -3,20 +3,20 @@ from __future__ import annotations
3
3
  from enum import Enum as _Enum
4
4
  from typing import TYPE_CHECKING
5
5
 
6
- __version__ = '1.2.91'
6
+ __version__ = '1.2.92'
7
7
 
8
8
  if TYPE_CHECKING:
9
9
  from google.protobuf.message import Message as _Message
10
10
 
11
- User = MediumUser = UserData = GuildShardingConfig = PreloadedUserSettings = FrecencyUserSettings = Experiment = ApplicationUserRoleConnection = AcknowledgedApplicationDisclosures = PremiumMarketingComponentProperties = _Message
11
+ User = MediumUser = UserData = GuildShardingConfig = Experiment = PreloadedUserSettings = FrecencyUserSettings = ApplicationUserRoleConnection = AcknowledgedApplicationDisclosures = PremiumMarketingComponentProperties = _Message
12
12
  else:
13
13
  from .users.v1.User_pb2 import *
14
14
  from .users.v1.MediumUser_pb2 import *
15
15
  from .users.v1.UserData_pb2 import *
16
16
  from .users.v1.GuildShardingConfig_pb2 import *
17
+ from .discord_experimentation.v1.Experiment_pb2 import *
17
18
  from .discord_users.v1.PreloadedUserSettings_pb2 import *
18
19
  from .discord_users.v1.FrecencyUserSettings_pb2 import *
19
- from .discord_experimentation.v1.Experiment_pb2 import *
20
20
  from .discord_kkv_store_value_models.v1.ApplicationUserRoleConnection_pb2 import *
21
21
  from .discord_kkv_store_value_models.v1.AcknowledgedApplicationDisclosures_pb2 import *
22
22
  from .premium_marketing.v1.PremiumMarketingComponentProperties_pb2 import *
@@ -28,9 +28,9 @@ __all__ = (
28
28
  'MediumUser',
29
29
  'UserData',
30
30
  'GuildShardingConfig',
31
+ 'Experiment',
31
32
  'PreloadedUserSettings',
32
33
  'FrecencyUserSettings',
33
- 'Experiment',
34
34
  'ApplicationUserRoleConnection',
35
35
  'AcknowledgedApplicationDisclosures',
36
36
  'PremiumMarketingComponentProperties',
@@ -9,6 +9,7 @@ message Experiment {
9
9
  enum UnitType {
10
10
  UNIT_TYPE_UNSPECIFIED = 0;
11
11
  UNIT_TYPE_USER = 1;
12
+ UNIT_TYPE_INSTALLATION = 2;
12
13
  }
13
14
 
14
15
  enum Type {
@@ -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\"\xfbJ\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\x12\x1d\n\x15\x65xtra_outcome_context\x18\" \x01(\t\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\x12\x33\n\narchive_at\x18! \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x06\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`\n\x13UnitIdInRangeByHash\x12\x10\n\x08hash_key\x18\x01 \x01(\t\x12\x1a\n\x12stop_ring_position\x18\x02 \x01(\r\x12\x1b\n\x13start_ring_position\x18\x03 \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\"\x84\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\x15\n\x11PHASE_ROLLING_OUT\x10\x04\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\r\n\x0b_archive_atb\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\"\x97K\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\x12\x1d\n\x15\x65xtra_outcome_context\x18\" \x01(\t\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\x12\x33\n\narchive_at\x18! \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x06\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`\n\x13UnitIdInRangeByHash\x12\x10\n\x08hash_key\x18\x01 \x01(\t\x12\x1a\n\x12stop_ring_position\x18\x02 \x01(\r\x12\x1b\n\x13start_ring_position\x18\x03 \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\"U\n\x08UnitType\x12\x19\n\x15UNIT_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eUNIT_TYPE_USER\x10\x01\x12\x1a\n\x16UNIT_TYPE_INSTALLATION\x10\x02\"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\"\x84\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\x15\n\x11PHASE_ROLLING_OUT\x10\x04\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\r\n\x0b_archive_atb\x06proto3')
30
30
 
31
31
  _globals = globals()
32
32
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -48,7 +48,7 @@ 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=9751
51
+ _globals['_EXPERIMENT']._serialized_end=9779
52
52
  _globals['_EXPERIMENT_BUCKET']._serialized_start=1691
53
53
  _globals['_EXPERIMENT_BUCKET']._serialized_end=1802
54
54
  _globals['_EXPERIMENT_VARIATION']._serialized_start=1805
@@ -128,15 +128,15 @@ if not _descriptor._USE_C_DESCRIPTORS:
128
128
  _globals['_EXPERIMENT_DEBUGCONFIG']._serialized_start=8788
129
129
  _globals['_EXPERIMENT_DEBUGCONFIG']._serialized_end=8982
130
130
  _globals['_EXPERIMENT_UNITTYPE']._serialized_start=8984
131
- _globals['_EXPERIMENT_UNITTYPE']._serialized_end=9041
132
- _globals['_EXPERIMENT_TYPE']._serialized_start=9043
133
- _globals['_EXPERIMENT_TYPE']._serialized_end=9122
134
- _globals['_EXPERIMENT_PHASE']._serialized_start=9125
135
- _globals['_EXPERIMENT_PHASE']._serialized_end=9257
136
- _globals['_EXPERIMENT_SURFACE']._serialized_start=9260
137
- _globals['_EXPERIMENT_SURFACE']._serialized_end=9410
138
- _globals['_EXPERIMENT_EXPOSURETRACKING']._serialized_start=9412
139
- _globals['_EXPERIMENT_EXPOSURETRACKING']._serialized_end=9493
140
- _globals['_EXPERIMENT_ASSIGNMENTMODE']._serialized_start=9496
141
- _globals['_EXPERIMENT_ASSIGNMENTMODE']._serialized_end=9634
131
+ _globals['_EXPERIMENT_UNITTYPE']._serialized_end=9069
132
+ _globals['_EXPERIMENT_TYPE']._serialized_start=9071
133
+ _globals['_EXPERIMENT_TYPE']._serialized_end=9150
134
+ _globals['_EXPERIMENT_PHASE']._serialized_start=9153
135
+ _globals['_EXPERIMENT_PHASE']._serialized_end=9285
136
+ _globals['_EXPERIMENT_SURFACE']._serialized_start=9288
137
+ _globals['_EXPERIMENT_SURFACE']._serialized_end=9438
138
+ _globals['_EXPERIMENT_EXPOSURETRACKING']._serialized_start=9440
139
+ _globals['_EXPERIMENT_EXPOSURETRACKING']._serialized_end=9521
140
+ _globals['_EXPERIMENT_ASSIGNMENTMODE']._serialized_start=9524
141
+ _globals['_EXPERIMENT_ASSIGNMENTMODE']._serialized_end=9662
142
142
  # @@protoc_insertion_point(module_scope)
@@ -558,9 +558,13 @@ export interface Experiment_UnitIdInRangeByHash {
558
558
  */
559
559
  hashKey: string;
560
560
  /**
561
- * @generated from protobuf field: uint32 target = 2
561
+ * @generated from protobuf field: uint32 stop_ring_position = 2
562
562
  */
563
- target: number;
563
+ stopRingPosition: number;
564
+ /**
565
+ * @generated from protobuf field: uint32 start_ring_position = 3
566
+ */
567
+ startRingPosition: number;
564
568
  }
565
569
  /**
566
570
  * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.ClientReleaseChannel
@@ -2060,13 +2060,15 @@ class Experiment_UnitIdInRangeByHash$Type extends runtime_4.MessageType {
2060
2060
  constructor() {
2061
2061
  super("discord_protos.discord_experimentation.v1.Experiment.UnitIdInRangeByHash", [
2062
2062
  { no: 1, name: "hash_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2063
- { no: 2, name: "target", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
2063
+ { no: 2, name: "stop_ring_position", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
2064
+ { no: 3, name: "start_ring_position", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
2064
2065
  ]);
2065
2066
  }
2066
2067
  create(value) {
2067
2068
  const message = globalThis.Object.create((this.messagePrototype));
2068
2069
  message.hashKey = "";
2069
- message.target = 0;
2070
+ message.stopRingPosition = 0;
2071
+ message.startRingPosition = 0;
2070
2072
  if (value !== undefined)
2071
2073
  (0, runtime_3.reflectionMergePartial)(this, message, value);
2072
2074
  return message;
@@ -2079,8 +2081,11 @@ class Experiment_UnitIdInRangeByHash$Type extends runtime_4.MessageType {
2079
2081
  case /* string hash_key */ 1:
2080
2082
  message.hashKey = reader.string();
2081
2083
  break;
2082
- case /* uint32 target */ 2:
2083
- message.target = reader.uint32();
2084
+ case /* uint32 stop_ring_position */ 2:
2085
+ message.stopRingPosition = reader.uint32();
2086
+ break;
2087
+ case /* uint32 start_ring_position */ 3:
2088
+ message.startRingPosition = reader.uint32();
2084
2089
  break;
2085
2090
  default:
2086
2091
  let u = options.readUnknownField;
@@ -2097,9 +2102,12 @@ class Experiment_UnitIdInRangeByHash$Type extends runtime_4.MessageType {
2097
2102
  /* string hash_key = 1; */
2098
2103
  if (message.hashKey !== "")
2099
2104
  writer.tag(1, runtime_2.WireType.LengthDelimited).string(message.hashKey);
2100
- /* uint32 target = 2; */
2101
- if (message.target !== 0)
2102
- writer.tag(2, runtime_2.WireType.Varint).uint32(message.target);
2105
+ /* uint32 stop_ring_position = 2; */
2106
+ if (message.stopRingPosition !== 0)
2107
+ writer.tag(2, runtime_2.WireType.Varint).uint32(message.stopRingPosition);
2108
+ /* uint32 start_ring_position = 3; */
2109
+ if (message.startRingPosition !== 0)
2110
+ writer.tag(3, runtime_2.WireType.Varint).uint32(message.startRingPosition);
2103
2111
  let u = options.writeUnknownFields;
2104
2112
  if (u !== false)
2105
2113
  (u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -755,6 +755,10 @@ export interface PreloadedUserSettings_NotificationSettings {
755
755
  * @generated from protobuf field: optional google.protobuf.BoolValue enable_profile_updates_notifications = 16
756
756
  */
757
757
  enableProfileUpdatesNotifications?: BoolValue;
758
+ /**
759
+ * @generated from protobuf field: optional google.protobuf.BoolValue enable_server_trending_notifications = 17
760
+ */
761
+ enableServerTrendingNotifications?: BoolValue;
758
762
  }
759
763
  /**
760
764
  * @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.PrivacySettings
@@ -2403,7 +2403,8 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
2403
2403
  { no: 13, name: "enable_user_resurrection_notifications", kind: "message", T: () => wrappers_5.BoolValue },
2404
2404
  { no: 14, name: "enable_friend_anniversary_notifications", kind: "message", T: () => wrappers_5.BoolValue },
2405
2405
  { no: 15, name: "enable_game_update_notifications", kind: "message", T: () => wrappers_5.BoolValue },
2406
- { no: 16, name: "enable_profile_updates_notifications", kind: "message", T: () => wrappers_5.BoolValue }
2406
+ { no: 16, name: "enable_profile_updates_notifications", kind: "message", T: () => wrappers_5.BoolValue },
2407
+ { no: 17, name: "enable_server_trending_notifications", kind: "message", T: () => wrappers_5.BoolValue }
2407
2408
  ]);
2408
2409
  }
2409
2410
  create(value) {
@@ -2470,6 +2471,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
2470
2471
  case /* optional google.protobuf.BoolValue enable_profile_updates_notifications */ 16:
2471
2472
  message.enableProfileUpdatesNotifications = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.enableProfileUpdatesNotifications);
2472
2473
  break;
2474
+ case /* optional google.protobuf.BoolValue enable_server_trending_notifications */ 17:
2475
+ message.enableServerTrendingNotifications = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.enableServerTrendingNotifications);
2476
+ break;
2473
2477
  default:
2474
2478
  let u = options.readUnknownField;
2475
2479
  if (u === "throw")
@@ -2530,6 +2534,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
2530
2534
  /* optional google.protobuf.BoolValue enable_profile_updates_notifications = 16; */
2531
2535
  if (message.enableProfileUpdatesNotifications)
2532
2536
  wrappers_5.BoolValue.internalBinaryWrite(message.enableProfileUpdatesNotifications, writer.tag(16, runtime_1.WireType.LengthDelimited).fork(), options).join();
2537
+ /* optional google.protobuf.BoolValue enable_server_trending_notifications = 17; */
2538
+ if (message.enableServerTrendingNotifications)
2539
+ wrappers_5.BoolValue.internalBinaryWrite(message.enableServerTrendingNotifications, writer.tag(17, runtime_1.WireType.LengthDelimited).fork(), options).join();
2533
2540
  let u = options.writeUnknownFields;
2534
2541
  if (u !== false)
2535
2542
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -377,13 +377,13 @@ export interface PremiumMarketingComponentProperties_GiftIcon {
377
377
  */
378
378
  export interface PremiumMarketingComponentProperties_GiftIconCoachmark {
379
379
  /**
380
- * @generated from protobuf field: string header_key = 1
380
+ * @generated from protobuf field: string header = 1
381
381
  */
382
- headerKey: string;
382
+ header: string;
383
383
  /**
384
- * @generated from protobuf field: string body_key = 2
384
+ * @generated from protobuf field: string body = 2
385
385
  */
386
- bodyKey: string;
386
+ body: string;
387
387
  /**
388
388
  * @generated from protobuf field: string asset_url = 3
389
389
  */
@@ -407,17 +407,17 @@ export interface PremiumMarketingComponentProperties_ThemeAwareAsset {
407
407
  */
408
408
  export interface PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner {
409
409
  /**
410
- * @generated from protobuf field: string header_key = 1
410
+ * @generated from protobuf field: string header = 1
411
411
  */
412
- headerKey: string;
412
+ header: string;
413
413
  /**
414
- * @generated from protobuf field: string desktop_body_key = 2
414
+ * @generated from protobuf field: string desktop_body = 2
415
415
  */
416
- desktopBodyKey: string;
416
+ desktopBody: string;
417
417
  /**
418
- * @generated from protobuf field: string mobile_body_key = 3
418
+ * @generated from protobuf field: string mobile_body = 3
419
419
  */
420
- mobileBodyKey: string;
420
+ mobileBody: string;
421
421
  /**
422
422
  * @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset avatar_asset = 4
423
423
  */
@@ -448,13 +448,13 @@ export interface PremiumMarketingComponentProperties_GiftCustomizationBanner {
448
448
  */
449
449
  assetUrl: string;
450
450
  /**
451
- * @generated from protobuf field: string desktop_body_key = 2
451
+ * @generated from protobuf field: string desktop_body = 2
452
452
  */
453
- desktopBodyKey: string;
453
+ desktopBody: string;
454
454
  /**
455
- * @generated from protobuf field: string mobile_body_key = 3
455
+ * @generated from protobuf field: string mobile_body = 3
456
456
  */
457
- mobileBodyKey: string;
457
+ mobileBody: string;
458
458
  /**
459
459
  * @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Gradient gradient = 4
460
460
  */
@@ -473,13 +473,13 @@ export interface PremiumMarketingComponentProperties_BillingSettingsNitroGiftBan
473
473
  */
474
474
  assetUrl: string;
475
475
  /**
476
- * @generated from protobuf field: string header_key = 2
476
+ * @generated from protobuf field: string header = 2
477
477
  */
478
- headerKey: string;
478
+ header: string;
479
479
  /**
480
- * @generated from protobuf field: string body_key = 3
480
+ * @generated from protobuf field: string body = 3
481
481
  */
482
- bodyKey: string;
482
+ body: string;
483
483
  /**
484
484
  * @generated from protobuf field: string background_asset_url = 4
485
485
  */
@@ -493,31 +493,31 @@ export interface PremiumMarketingComponentProperties_BillingSettingsNitroGiftBan
493
493
  */
494
494
  textColor: string;
495
495
  /**
496
- * @generated from protobuf field: string additional_terms_key = 7
496
+ * @generated from protobuf field: string additional_terms = 7
497
497
  */
498
- additionalTermsKey: string;
498
+ additionalTerms: string;
499
499
  }
500
500
  /**
501
501
  * @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftReminderNagbar
502
502
  */
503
503
  export interface PremiumMarketingComponentProperties_GiftReminderNagbar {
504
504
  /**
505
- * @generated from protobuf field: string body_key = 1
505
+ * @generated from protobuf field: string body = 1
506
506
  */
507
- bodyKey: string;
507
+ body: string;
508
508
  }
509
509
  /**
510
510
  * @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftReminderCoachmark
511
511
  */
512
512
  export interface PremiumMarketingComponentProperties_GiftReminderCoachmark {
513
513
  /**
514
- * @generated from protobuf field: string header_key = 1
514
+ * @generated from protobuf field: string header = 1
515
515
  */
516
- headerKey: string;
516
+ header: string;
517
517
  /**
518
- * @generated from protobuf field: string body_key = 2
518
+ * @generated from protobuf field: string body = 2
519
519
  */
520
- bodyKey: string;
520
+ body: string;
521
521
  /**
522
522
  * @generated from protobuf field: string asset_url = 3
523
523
  */
@@ -1171,15 +1171,15 @@ exports.PremiumMarketingComponentProperties_GiftIcon = new PremiumMarketingCompo
1171
1171
  class PremiumMarketingComponentProperties_GiftIconCoachmark$Type extends runtime_4.MessageType {
1172
1172
  constructor() {
1173
1173
  super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftIconCoachmark", [
1174
- { no: 1, name: "header_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1175
- { no: 2, name: "body_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1174
+ { no: 1, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1175
+ { no: 2, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1176
1176
  { no: 3, name: "asset_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1177
1177
  ]);
1178
1178
  }
1179
1179
  create(value) {
1180
1180
  const message = globalThis.Object.create((this.messagePrototype));
1181
- message.headerKey = "";
1182
- message.bodyKey = "";
1181
+ message.header = "";
1182
+ message.body = "";
1183
1183
  message.assetUrl = "";
1184
1184
  if (value !== undefined)
1185
1185
  (0, runtime_3.reflectionMergePartial)(this, message, value);
@@ -1190,11 +1190,11 @@ class PremiumMarketingComponentProperties_GiftIconCoachmark$Type extends runtime
1190
1190
  while (reader.pos < end) {
1191
1191
  let [fieldNo, wireType] = reader.tag();
1192
1192
  switch (fieldNo) {
1193
- case /* string header_key */ 1:
1194
- message.headerKey = reader.string();
1193
+ case /* string header */ 1:
1194
+ message.header = reader.string();
1195
1195
  break;
1196
- case /* string body_key */ 2:
1197
- message.bodyKey = reader.string();
1196
+ case /* string body */ 2:
1197
+ message.body = reader.string();
1198
1198
  break;
1199
1199
  case /* string asset_url */ 3:
1200
1200
  message.assetUrl = reader.string();
@@ -1211,12 +1211,12 @@ class PremiumMarketingComponentProperties_GiftIconCoachmark$Type extends runtime
1211
1211
  return message;
1212
1212
  }
1213
1213
  internalBinaryWrite(message, writer, options) {
1214
- /* string header_key = 1; */
1215
- if (message.headerKey !== "")
1216
- writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.headerKey);
1217
- /* string body_key = 2; */
1218
- if (message.bodyKey !== "")
1219
- writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.bodyKey);
1214
+ /* string header = 1; */
1215
+ if (message.header !== "")
1216
+ writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.header);
1217
+ /* string body = 2; */
1218
+ if (message.body !== "")
1219
+ writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.body);
1220
1220
  /* string asset_url = 3; */
1221
1221
  if (message.assetUrl !== "")
1222
1222
  writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.assetUrl);
@@ -1289,9 +1289,9 @@ exports.PremiumMarketingComponentProperties_ThemeAwareAsset = new PremiumMarketi
1289
1289
  class PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner$Type extends runtime_4.MessageType {
1290
1290
  constructor() {
1291
1291
  super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftPlanSelectionCardBanner", [
1292
- { no: 1, name: "header_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1293
- { no: 2, name: "desktop_body_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1294
- { no: 3, name: "mobile_body_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1292
+ { no: 1, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1293
+ { no: 2, name: "desktop_body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1294
+ { no: 3, name: "mobile_body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1295
1295
  { no: 4, name: "avatar_asset", kind: "message", T: () => exports.PremiumMarketingComponentProperties_ThemeAwareAsset },
1296
1296
  { no: 5, name: "banner_asset_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1297
1297
  { no: 6, name: "background_asset_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
@@ -1301,9 +1301,9 @@ class PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner$Type exten
1301
1301
  }
1302
1302
  create(value) {
1303
1303
  const message = globalThis.Object.create((this.messagePrototype));
1304
- message.headerKey = "";
1305
- message.desktopBodyKey = "";
1306
- message.mobileBodyKey = "";
1304
+ message.header = "";
1305
+ message.desktopBody = "";
1306
+ message.mobileBody = "";
1307
1307
  message.bannerAssetUrl = "";
1308
1308
  message.backgroundAssetUrl = "";
1309
1309
  message.cardAssetUrl = "";
@@ -1316,14 +1316,14 @@ class PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner$Type exten
1316
1316
  while (reader.pos < end) {
1317
1317
  let [fieldNo, wireType] = reader.tag();
1318
1318
  switch (fieldNo) {
1319
- case /* string header_key */ 1:
1320
- message.headerKey = reader.string();
1319
+ case /* string header */ 1:
1320
+ message.header = reader.string();
1321
1321
  break;
1322
- case /* string desktop_body_key */ 2:
1323
- message.desktopBodyKey = reader.string();
1322
+ case /* string desktop_body */ 2:
1323
+ message.desktopBody = reader.string();
1324
1324
  break;
1325
- case /* string mobile_body_key */ 3:
1326
- message.mobileBodyKey = reader.string();
1325
+ case /* string mobile_body */ 3:
1326
+ message.mobileBody = reader.string();
1327
1327
  break;
1328
1328
  case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset avatar_asset */ 4:
1329
1329
  message.avatarAsset = exports.PremiumMarketingComponentProperties_ThemeAwareAsset.internalBinaryRead(reader, reader.uint32(), options, message.avatarAsset);
@@ -1352,15 +1352,15 @@ class PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner$Type exten
1352
1352
  return message;
1353
1353
  }
1354
1354
  internalBinaryWrite(message, writer, options) {
1355
- /* string header_key = 1; */
1356
- if (message.headerKey !== "")
1357
- writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.headerKey);
1358
- /* string desktop_body_key = 2; */
1359
- if (message.desktopBodyKey !== "")
1360
- writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.desktopBodyKey);
1361
- /* string mobile_body_key = 3; */
1362
- if (message.mobileBodyKey !== "")
1363
- writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.mobileBodyKey);
1355
+ /* string header = 1; */
1356
+ if (message.header !== "")
1357
+ writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.header);
1358
+ /* string desktop_body = 2; */
1359
+ if (message.desktopBody !== "")
1360
+ writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.desktopBody);
1361
+ /* string mobile_body = 3; */
1362
+ if (message.mobileBody !== "")
1363
+ writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.mobileBody);
1364
1364
  /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset avatar_asset = 4; */
1365
1365
  if (message.avatarAsset)
1366
1366
  exports.PremiumMarketingComponentProperties_ThemeAwareAsset.internalBinaryWrite(message.avatarAsset, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
@@ -1391,8 +1391,8 @@ class PremiumMarketingComponentProperties_GiftCustomizationBanner$Type extends r
1391
1391
  constructor() {
1392
1392
  super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftCustomizationBanner", [
1393
1393
  { no: 1, name: "asset_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1394
- { no: 2, name: "desktop_body_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1395
- { no: 3, name: "mobile_body_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1394
+ { no: 2, name: "desktop_body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1395
+ { no: 3, name: "mobile_body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1396
1396
  { no: 4, name: "gradient", kind: "message", T: () => exports.PremiumMarketingComponentProperties_Gradient },
1397
1397
  { no: 5, name: "background_asset_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1398
1398
  ]);
@@ -1400,8 +1400,8 @@ class PremiumMarketingComponentProperties_GiftCustomizationBanner$Type extends r
1400
1400
  create(value) {
1401
1401
  const message = globalThis.Object.create((this.messagePrototype));
1402
1402
  message.assetUrl = "";
1403
- message.desktopBodyKey = "";
1404
- message.mobileBodyKey = "";
1403
+ message.desktopBody = "";
1404
+ message.mobileBody = "";
1405
1405
  message.backgroundAssetUrl = "";
1406
1406
  if (value !== undefined)
1407
1407
  (0, runtime_3.reflectionMergePartial)(this, message, value);
@@ -1415,11 +1415,11 @@ class PremiumMarketingComponentProperties_GiftCustomizationBanner$Type extends r
1415
1415
  case /* string asset_url */ 1:
1416
1416
  message.assetUrl = reader.string();
1417
1417
  break;
1418
- case /* string desktop_body_key */ 2:
1419
- message.desktopBodyKey = reader.string();
1418
+ case /* string desktop_body */ 2:
1419
+ message.desktopBody = reader.string();
1420
1420
  break;
1421
- case /* string mobile_body_key */ 3:
1422
- message.mobileBodyKey = reader.string();
1421
+ case /* string mobile_body */ 3:
1422
+ message.mobileBody = reader.string();
1423
1423
  break;
1424
1424
  case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Gradient gradient */ 4:
1425
1425
  message.gradient = exports.PremiumMarketingComponentProperties_Gradient.internalBinaryRead(reader, reader.uint32(), options, message.gradient);
@@ -1442,12 +1442,12 @@ class PremiumMarketingComponentProperties_GiftCustomizationBanner$Type extends r
1442
1442
  /* string asset_url = 1; */
1443
1443
  if (message.assetUrl !== "")
1444
1444
  writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.assetUrl);
1445
- /* string desktop_body_key = 2; */
1446
- if (message.desktopBodyKey !== "")
1447
- writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.desktopBodyKey);
1448
- /* string mobile_body_key = 3; */
1449
- if (message.mobileBodyKey !== "")
1450
- writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.mobileBodyKey);
1445
+ /* string desktop_body = 2; */
1446
+ if (message.desktopBody !== "")
1447
+ writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.desktopBody);
1448
+ /* string mobile_body = 3; */
1449
+ if (message.mobileBody !== "")
1450
+ writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.mobileBody);
1451
1451
  /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Gradient gradient = 4; */
1452
1452
  if (message.gradient)
1453
1453
  exports.PremiumMarketingComponentProperties_Gradient.internalBinaryWrite(message.gradient, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
@@ -1469,22 +1469,22 @@ class PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner$Type ex
1469
1469
  constructor() {
1470
1470
  super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.BillingSettingsNitroGiftBanner", [
1471
1471
  { no: 1, name: "asset_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1472
- { no: 2, name: "header_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1473
- { no: 3, name: "body_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1472
+ { no: 2, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1473
+ { no: 3, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1474
1474
  { no: 4, name: "background_asset_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1475
1475
  { no: 5, name: "gradient", kind: "message", T: () => exports.PremiumMarketingComponentProperties_Gradient },
1476
1476
  { no: 6, name: "text_color", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1477
- { no: 7, name: "additional_terms_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1477
+ { no: 7, name: "additional_terms", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1478
1478
  ]);
1479
1479
  }
1480
1480
  create(value) {
1481
1481
  const message = globalThis.Object.create((this.messagePrototype));
1482
1482
  message.assetUrl = "";
1483
- message.headerKey = "";
1484
- message.bodyKey = "";
1483
+ message.header = "";
1484
+ message.body = "";
1485
1485
  message.backgroundAssetUrl = "";
1486
1486
  message.textColor = "";
1487
- message.additionalTermsKey = "";
1487
+ message.additionalTerms = "";
1488
1488
  if (value !== undefined)
1489
1489
  (0, runtime_3.reflectionMergePartial)(this, message, value);
1490
1490
  return message;
@@ -1497,11 +1497,11 @@ class PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner$Type ex
1497
1497
  case /* string asset_url */ 1:
1498
1498
  message.assetUrl = reader.string();
1499
1499
  break;
1500
- case /* string header_key */ 2:
1501
- message.headerKey = reader.string();
1500
+ case /* string header */ 2:
1501
+ message.header = reader.string();
1502
1502
  break;
1503
- case /* string body_key */ 3:
1504
- message.bodyKey = reader.string();
1503
+ case /* string body */ 3:
1504
+ message.body = reader.string();
1505
1505
  break;
1506
1506
  case /* string background_asset_url */ 4:
1507
1507
  message.backgroundAssetUrl = reader.string();
@@ -1512,8 +1512,8 @@ class PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner$Type ex
1512
1512
  case /* string text_color */ 6:
1513
1513
  message.textColor = reader.string();
1514
1514
  break;
1515
- case /* string additional_terms_key */ 7:
1516
- message.additionalTermsKey = reader.string();
1515
+ case /* string additional_terms */ 7:
1516
+ message.additionalTerms = reader.string();
1517
1517
  break;
1518
1518
  default:
1519
1519
  let u = options.readUnknownField;
@@ -1530,12 +1530,12 @@ class PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner$Type ex
1530
1530
  /* string asset_url = 1; */
1531
1531
  if (message.assetUrl !== "")
1532
1532
  writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.assetUrl);
1533
- /* string header_key = 2; */
1534
- if (message.headerKey !== "")
1535
- writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.headerKey);
1536
- /* string body_key = 3; */
1537
- if (message.bodyKey !== "")
1538
- writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.bodyKey);
1533
+ /* string header = 2; */
1534
+ if (message.header !== "")
1535
+ writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.header);
1536
+ /* string body = 3; */
1537
+ if (message.body !== "")
1538
+ writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.body);
1539
1539
  /* string background_asset_url = 4; */
1540
1540
  if (message.backgroundAssetUrl !== "")
1541
1541
  writer.tag(4, runtime_1.WireType.LengthDelimited).string(message.backgroundAssetUrl);
@@ -1545,9 +1545,9 @@ class PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner$Type ex
1545
1545
  /* string text_color = 6; */
1546
1546
  if (message.textColor !== "")
1547
1547
  writer.tag(6, runtime_1.WireType.LengthDelimited).string(message.textColor);
1548
- /* string additional_terms_key = 7; */
1549
- if (message.additionalTermsKey !== "")
1550
- writer.tag(7, runtime_1.WireType.LengthDelimited).string(message.additionalTermsKey);
1548
+ /* string additional_terms = 7; */
1549
+ if (message.additionalTerms !== "")
1550
+ writer.tag(7, runtime_1.WireType.LengthDelimited).string(message.additionalTerms);
1551
1551
  let u = options.writeUnknownFields;
1552
1552
  if (u !== false)
1553
1553
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1562,12 +1562,12 @@ exports.PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner = new
1562
1562
  class PremiumMarketingComponentProperties_GiftReminderNagbar$Type extends runtime_4.MessageType {
1563
1563
  constructor() {
1564
1564
  super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftReminderNagbar", [
1565
- { no: 1, name: "body_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1565
+ { no: 1, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1566
1566
  ]);
1567
1567
  }
1568
1568
  create(value) {
1569
1569
  const message = globalThis.Object.create((this.messagePrototype));
1570
- message.bodyKey = "";
1570
+ message.body = "";
1571
1571
  if (value !== undefined)
1572
1572
  (0, runtime_3.reflectionMergePartial)(this, message, value);
1573
1573
  return message;
@@ -1577,8 +1577,8 @@ class PremiumMarketingComponentProperties_GiftReminderNagbar$Type extends runtim
1577
1577
  while (reader.pos < end) {
1578
1578
  let [fieldNo, wireType] = reader.tag();
1579
1579
  switch (fieldNo) {
1580
- case /* string body_key */ 1:
1581
- message.bodyKey = reader.string();
1580
+ case /* string body */ 1:
1581
+ message.body = reader.string();
1582
1582
  break;
1583
1583
  default:
1584
1584
  let u = options.readUnknownField;
@@ -1592,9 +1592,9 @@ class PremiumMarketingComponentProperties_GiftReminderNagbar$Type extends runtim
1592
1592
  return message;
1593
1593
  }
1594
1594
  internalBinaryWrite(message, writer, options) {
1595
- /* string body_key = 1; */
1596
- if (message.bodyKey !== "")
1597
- writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.bodyKey);
1595
+ /* string body = 1; */
1596
+ if (message.body !== "")
1597
+ writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.body);
1598
1598
  let u = options.writeUnknownFields;
1599
1599
  if (u !== false)
1600
1600
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1609,15 +1609,15 @@ exports.PremiumMarketingComponentProperties_GiftReminderNagbar = new PremiumMark
1609
1609
  class PremiumMarketingComponentProperties_GiftReminderCoachmark$Type extends runtime_4.MessageType {
1610
1610
  constructor() {
1611
1611
  super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GiftReminderCoachmark", [
1612
- { no: 1, name: "header_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1613
- { no: 2, name: "body_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1612
+ { no: 1, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1613
+ { no: 2, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1614
1614
  { no: 3, name: "asset_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1615
1615
  ]);
1616
1616
  }
1617
1617
  create(value) {
1618
1618
  const message = globalThis.Object.create((this.messagePrototype));
1619
- message.headerKey = "";
1620
- message.bodyKey = "";
1619
+ message.header = "";
1620
+ message.body = "";
1621
1621
  message.assetUrl = "";
1622
1622
  if (value !== undefined)
1623
1623
  (0, runtime_3.reflectionMergePartial)(this, message, value);
@@ -1628,11 +1628,11 @@ class PremiumMarketingComponentProperties_GiftReminderCoachmark$Type extends run
1628
1628
  while (reader.pos < end) {
1629
1629
  let [fieldNo, wireType] = reader.tag();
1630
1630
  switch (fieldNo) {
1631
- case /* string header_key */ 1:
1632
- message.headerKey = reader.string();
1631
+ case /* string header */ 1:
1632
+ message.header = reader.string();
1633
1633
  break;
1634
- case /* string body_key */ 2:
1635
- message.bodyKey = reader.string();
1634
+ case /* string body */ 2:
1635
+ message.body = reader.string();
1636
1636
  break;
1637
1637
  case /* string asset_url */ 3:
1638
1638
  message.assetUrl = reader.string();
@@ -1649,12 +1649,12 @@ class PremiumMarketingComponentProperties_GiftReminderCoachmark$Type extends run
1649
1649
  return message;
1650
1650
  }
1651
1651
  internalBinaryWrite(message, writer, options) {
1652
- /* string header_key = 1; */
1653
- if (message.headerKey !== "")
1654
- writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.headerKey);
1655
- /* string body_key = 2; */
1656
- if (message.bodyKey !== "")
1657
- writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.bodyKey);
1652
+ /* string header = 1; */
1653
+ if (message.header !== "")
1654
+ writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.header);
1655
+ /* string body = 2; */
1656
+ if (message.body !== "")
1657
+ writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.body);
1658
1658
  /* string asset_url = 3; */
1659
1659
  if (message.assetUrl !== "")
1660
1660
  writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.assetUrl);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-protos",
3
- "version": "1.2.91",
3
+ "version": "1.2.92",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,8 +21,8 @@
21
21
  },
22
22
  "license": "MIT",
23
23
  "scripts": {
24
- "py": "protoc --proto_path=./discord_protos/ --python_out=discord_protos ./discord_protos/users/v1/User.proto ./discord_protos/users/v1/MediumUser.proto ./discord_protos/users/v1/UserData.proto ./discord_protos/users/v1/GuildShardingConfig.proto ./discord_protos/discord_users/v1/PreloadedUserSettings.proto ./discord_protos/discord_users/v1/FrecencyUserSettings.proto ./discord_protos/discord_experimentation/v1/Experiment.proto ./discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection.proto ./discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures.proto ./discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto",
25
- "js": "protoc --proto_path=./discord_protos/ --ts_out src/discord_protos ./discord_protos/users/v1/User.proto ./discord_protos/users/v1/MediumUser.proto ./discord_protos/users/v1/UserData.proto ./discord_protos/users/v1/GuildShardingConfig.proto ./discord_protos/discord_users/v1/PreloadedUserSettings.proto ./discord_protos/discord_users/v1/FrecencyUserSettings.proto ./discord_protos/discord_experimentation/v1/Experiment.proto ./discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection.proto ./discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures.proto ./discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto",
24
+ "py": "protoc --proto_path=./discord_protos/ --python_out=discord_protos ./discord_protos/users/v1/User.proto ./discord_protos/users/v1/MediumUser.proto ./discord_protos/users/v1/UserData.proto ./discord_protos/users/v1/GuildShardingConfig.proto ./discord_protos/discord_experimentation/v1/Experiment.proto ./discord_protos/discord_users/v1/PreloadedUserSettings.proto ./discord_protos/discord_users/v1/FrecencyUserSettings.proto ./discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection.proto ./discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures.proto ./discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto",
25
+ "js": "protoc --proto_path=./discord_protos/ --ts_out src/discord_protos ./discord_protos/users/v1/User.proto ./discord_protos/users/v1/MediumUser.proto ./discord_protos/users/v1/UserData.proto ./discord_protos/users/v1/GuildShardingConfig.proto ./discord_protos/discord_experimentation/v1/Experiment.proto ./discord_protos/discord_users/v1/PreloadedUserSettings.proto ./discord_protos/discord_users/v1/FrecencyUserSettings.proto ./discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection.proto ./discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures.proto ./discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto",
26
26
  "build": "tsc",
27
27
  "load": "npm run build && node dist/load.js"
28
28
  },