discord-protos 1.2.311 → 1.2.314

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.
@@ -4,6 +4,8 @@ import "google/protobuf/descriptor.proto";
4
4
 
5
5
  import "google/protobuf/wrappers.proto";
6
6
 
7
+ import "google/protobuf/duration.proto";
8
+
7
9
  import "google/protobuf/timestamp.proto";
8
10
 
9
11
  package discord_protos.discord_experimentation.v1;
@@ -61,6 +63,7 @@ message Experiment {
61
63
  Type type = 5;
62
64
  optional google.protobuf.StringValue configuration = 6;
63
65
  fixed64 owning_experiment_id = 7;
66
+ int32 owning_slot_id = 8;
64
67
  }
65
68
 
66
69
  message PlatformVersionSpecifier {
@@ -402,6 +405,7 @@ message Experiment {
402
405
  EXPOSURE_POINT_ID_UNSPECIFIED = 0;
403
406
  EXPOSURE_POINT_ID_SEO_INSTALLATION_PAGE_LOAD = 1;
404
407
  EXPOSURE_POINT_ID_MARKETING_INSTALLATION_PAGE_LOAD = 2;
408
+ EXPOSURE_POINT_ID_INVITE_GUILD_RESOLVE = 3;
405
409
  }
406
410
 
407
411
  enum Mode {
@@ -422,6 +426,47 @@ message Experiment {
422
426
  ELIGIBILITY_PERSISTENCE_OVERRIDES_ONLY = 2;
423
427
  }
424
428
 
429
+ enum PlanStatus {
430
+ PLAN_STATUS_UNSPECIFIED = 0;
431
+ PLAN_STATUS_DRAFT = 1;
432
+ PLAN_STATUS_ACTIVE = 2;
433
+ PLAN_STATUS_PAUSED_MANUAL = 3;
434
+ PLAN_STATUS_PAUSED_HEALTH_CHECK = 4;
435
+ PLAN_STATUS_COMPLETED = 5;
436
+ PLAN_STATUS_CANCELED = 6;
437
+ }
438
+
439
+ enum StepStatus {
440
+ STEP_STATUS_UNSPECIFIED = 0;
441
+ STEP_STATUS_PENDING = 1;
442
+ STEP_STATUS_IN_PROGRESS = 2;
443
+ STEP_STATUS_AWAITING_MANUAL_APPROVAL = 3;
444
+ STEP_STATUS_COMPLETED = 4;
445
+ }
446
+
447
+ message RampStep {
448
+ int32 target_basis_points = 1;
449
+ optional google.protobuf.Duration hold_duration = 2;
450
+ bool require_manual_approval = 3;
451
+ optional google.protobuf.Timestamp started_at = 4;
452
+ StepStatus status = 5;
453
+ }
454
+
455
+ message MeasurementPlan {
456
+ PlanStatus status = 1;
457
+ repeated RampStep ramp_steps = 2;
458
+ }
459
+
460
+ message RolloutPlan {
461
+ PlanStatus status = 1;
462
+ repeated RampStep ramp_steps = 2;
463
+ }
464
+
465
+ message LifecyclePlan {
466
+ optional MeasurementPlan measurement_plan = 1;
467
+ optional RolloutPlan rollout_plan = 2;
468
+ }
469
+
425
470
  fixed64 id = 1;
426
471
  string name = 2;
427
472
  optional google.protobuf.Timestamp created_at = 3;
@@ -466,4 +511,5 @@ message Experiment {
466
511
  bool is_managed = 39;
467
512
  optional NumberLineSettings number_line_settings = 43;
468
513
  EligibilityPersistence eligibility_persistence = 42;
514
+ optional LifecyclePlan lifecycle_plan = 48;
469
515
  }
@@ -37,6 +37,7 @@ message PremiumMarketingComponentProperties {
37
37
  BUTTON_ACTION_OPEN_PLAN_SELECTION_MODAL = 5;
38
38
  BUTTON_ACTION_OPEN_PREMIUM_GROUP_PAYMENT_MODAL = 6;
39
39
  BUTTON_ACTION_OPEN_SOCIAL_LAYER_STOREFRONT = 7;
40
+ BUTTON_ACTION_OPEN_GUILD_BOOST_CHECKOUT = 8;
40
41
  }
41
42
 
42
43
  message CTAButton {
@@ -734,6 +735,13 @@ message PremiumMarketingComponentProperties {
734
735
  DISMISSIBLE_CONTENT_TINY_BRONCO = 812;
735
736
  DISMISSIBLE_CONTENT_USER_PROFILE_PERSONAL_WIDGET_NEW_BADGE = 813;
736
737
  DISMISSIBLE_CONTENT_SCHEDULED_MESSAGES_DRAFT_COACHMARK = 814;
738
+ DISMISSIBLE_CONTENT_NITRO_FILE_UPLOAD_1GB_ANNOUNCEMENT = 815;
739
+ DISMISSIBLE_CONTENT_NITRO_FILE_UPLOAD_1GB_UPSELL = 816;
740
+ DISMISSIBLE_CONTENT_NITRO_FILE_UPLOAD_1GB_NEW_BADGE = 817;
741
+ DISMISSIBLE_CONTENT_GUILD_HEADER_COACHMARK = 818;
742
+ DISMISSIBLE_CONTENT_GUILD_BOOST_TAB_BANNER = 819;
743
+ DISMISSIBLE_CONTENT_TINY_BRONCO_SETTINGS = 820;
744
+ DISMISSIBLE_CONTENT_TINY_BRONCO_NOTICE = 821;
737
745
  }
738
746
 
739
747
  message MobileBottomSheet {
@@ -0,0 +1,17 @@
1
+ syntax = "proto3";
2
+
3
+ import "google/protobuf/wrappers.proto";
4
+
5
+ import "google/protobuf/timestamp.proto";
6
+
7
+ package discord_protos.users.v1;
8
+
9
+ message AgreementsHistory {
10
+ message AgreementAcceptance {
11
+ optional google.protobuf.Timestamp accepted_at = 1;
12
+ optional google.protobuf.StringValue version = 2;
13
+ }
14
+
15
+ repeated AgreementAcceptance terms = 1;
16
+ repeated AgreementAcceptance privacy = 2;
17
+ }
@@ -707,6 +707,10 @@ message User {
707
707
  optional google.protobuf.BoolValue animated = 4;
708
708
  }
709
709
 
710
+ message VadColors {
711
+ repeated uint32 colors = 1;
712
+ }
713
+
710
714
  uint64 id = 1;
711
715
  string username = 2;
712
716
  string discriminator = 3;
@@ -719,4 +723,5 @@ message User {
719
723
  optional UserCollectibles collectibles = 11;
720
724
  optional SafetyState safety_state = 12;
721
725
  optional DisplayNameStyles display_name_styles = 13;
726
+ optional VadColors vad_colors = 14;
722
727
  }
@@ -823,6 +823,7 @@ message UserData {
823
823
  AGE_ASSURANCE_METHOD_NEW_METHOD = 10;
824
824
  AGE_ASSURANCE_METHOD_MANUAL_REVIEW = 11;
825
825
  AGE_ASSURANCE_METHOD_OS_SIGNAL_CONFIRMED = 12;
826
+ AGE_ASSURANCE_METHOD_TNS_DETERMINATION = 13;
826
827
  }
827
828
 
828
829
  enum AgeAssuranceVendor {
@@ -963,6 +964,10 @@ message UserData {
963
964
  TypingSuggestion typing_suggestion = 3;
964
965
  }
965
966
 
967
+ message VadColors {
968
+ repeated uint32 colors = 1;
969
+ }
970
+
966
971
  map<fixed64, LinkedUser> linked_users = 1;
967
972
  map<uint32, FeatureLimits> safety_feature_limits = 2;
968
973
  map<uint32, SafetyFlag> safety_flags = 3;
@@ -983,4 +988,5 @@ message UserData {
983
988
  optional AnonymizationInfo anonymization_info = 18;
984
989
  optional UserTypingIndicatorStyle typing_indicator_style = 19;
985
990
  bool disable_staff_discount = 20;
991
+ optional VadColors vad_colors = 21;
986
992
  }
@@ -4,6 +4,7 @@ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
4
4
  import type { IBinaryReader } from "@protobuf-ts/runtime";
5
5
  import type { PartialMessage } from "@protobuf-ts/runtime";
6
6
  import { MessageType } from "@protobuf-ts/runtime";
7
+ import { Duration } from "../../google/protobuf/duration";
7
8
  import { UInt64Value } from "../../google/protobuf/wrappers";
8
9
  import { UInt32Value } from "../../google/protobuf/wrappers";
9
10
  import { Int32Value } from "../../google/protobuf/wrappers";
@@ -189,6 +190,10 @@ export interface Experiment {
189
190
  * @generated from protobuf field: discord_protos.discord_experimentation.v1.Experiment.EligibilityPersistence eligibility_persistence = 42
190
191
  */
191
192
  eligibilityPersistence: Experiment_EligibilityPersistence;
193
+ /**
194
+ * @generated from protobuf field: optional discord_protos.discord_experimentation.v1.Experiment.LifecyclePlan lifecycle_plan = 48
195
+ */
196
+ lifecyclePlan?: Experiment_LifecyclePlan;
192
197
  }
193
198
  /**
194
199
  * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.Bucket
@@ -239,6 +244,10 @@ export interface Experiment_Variation {
239
244
  * @generated from protobuf field: fixed64 owning_experiment_id = 7
240
245
  */
241
246
  owningExperimentId: bigint;
247
+ /**
248
+ * @generated from protobuf field: int32 owning_slot_id = 8
249
+ */
250
+ owningSlotId: number;
242
251
  }
243
252
  /**
244
253
  * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.PlatformVersionSpecifier
@@ -1032,6 +1041,70 @@ export interface Experiment_NumberLineSettings {
1032
1041
  */
1033
1042
  sharedControl: boolean;
1034
1043
  }
1044
+ /**
1045
+ * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.RampStep
1046
+ */
1047
+ export interface Experiment_RampStep {
1048
+ /**
1049
+ * @generated from protobuf field: int32 target_basis_points = 1
1050
+ */
1051
+ targetBasisPoints: number;
1052
+ /**
1053
+ * @generated from protobuf field: optional google.protobuf.Duration hold_duration = 2
1054
+ */
1055
+ holdDuration?: Duration;
1056
+ /**
1057
+ * @generated from protobuf field: bool require_manual_approval = 3
1058
+ */
1059
+ requireManualApproval: boolean;
1060
+ /**
1061
+ * @generated from protobuf field: optional google.protobuf.Timestamp started_at = 4
1062
+ */
1063
+ startedAt?: Timestamp;
1064
+ /**
1065
+ * @generated from protobuf field: discord_protos.discord_experimentation.v1.Experiment.StepStatus status = 5
1066
+ */
1067
+ status: Experiment_StepStatus;
1068
+ }
1069
+ /**
1070
+ * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.MeasurementPlan
1071
+ */
1072
+ export interface Experiment_MeasurementPlan {
1073
+ /**
1074
+ * @generated from protobuf field: discord_protos.discord_experimentation.v1.Experiment.PlanStatus status = 1
1075
+ */
1076
+ status: Experiment_PlanStatus;
1077
+ /**
1078
+ * @generated from protobuf field: repeated discord_protos.discord_experimentation.v1.Experiment.RampStep ramp_steps = 2
1079
+ */
1080
+ rampSteps: Experiment_RampStep[];
1081
+ }
1082
+ /**
1083
+ * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.RolloutPlan
1084
+ */
1085
+ export interface Experiment_RolloutPlan {
1086
+ /**
1087
+ * @generated from protobuf field: discord_protos.discord_experimentation.v1.Experiment.PlanStatus status = 1
1088
+ */
1089
+ status: Experiment_PlanStatus;
1090
+ /**
1091
+ * @generated from protobuf field: repeated discord_protos.discord_experimentation.v1.Experiment.RampStep ramp_steps = 2
1092
+ */
1093
+ rampSteps: Experiment_RampStep[];
1094
+ }
1095
+ /**
1096
+ * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.LifecyclePlan
1097
+ */
1098
+ export interface Experiment_LifecyclePlan {
1099
+ /**
1100
+ * @generated from protobuf field: optional discord_protos.discord_experimentation.v1.Experiment.MeasurementPlan measurement_plan = 1
1101
+ */
1102
+ measurementPlan?: Experiment_MeasurementPlan;
1103
+ /**
1104
+ * @generated from protobuf field: optional discord_protos.discord_experimentation.v1.Experiment.RolloutPlan rollout_plan = 2
1105
+ */
1106
+ rolloutPlan?: Experiment_RolloutPlan;
1107
+ }
1035
1108
  /**
1036
1109
  * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.UnitType
1037
1110
  */
@@ -1231,7 +1304,11 @@ export declare enum Experiment_ExposurePointId {
1231
1304
  /**
1232
1305
  * @generated from protobuf enum value: EXPOSURE_POINT_ID_MARKETING_INSTALLATION_PAGE_LOAD = 2;
1233
1306
  */
1234
- MARKETING_INSTALLATION_PAGE_LOAD = 2
1307
+ MARKETING_INSTALLATION_PAGE_LOAD = 2,
1308
+ /**
1309
+ * @generated from protobuf enum value: EXPOSURE_POINT_ID_INVITE_GUILD_RESOLVE = 3;
1310
+ */
1311
+ INVITE_GUILD_RESOLVE = 3
1235
1312
  }
1236
1313
  /**
1237
1314
  * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.Mode
@@ -1267,6 +1344,64 @@ export declare enum Experiment_EligibilityPersistence {
1267
1344
  */
1268
1345
  OVERRIDES_ONLY = 2
1269
1346
  }
1347
+ /**
1348
+ * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.PlanStatus
1349
+ */
1350
+ export declare enum Experiment_PlanStatus {
1351
+ /**
1352
+ * @generated from protobuf enum value: PLAN_STATUS_UNSPECIFIED = 0;
1353
+ */
1354
+ UNSPECIFIED = 0,
1355
+ /**
1356
+ * @generated from protobuf enum value: PLAN_STATUS_DRAFT = 1;
1357
+ */
1358
+ DRAFT = 1,
1359
+ /**
1360
+ * @generated from protobuf enum value: PLAN_STATUS_ACTIVE = 2;
1361
+ */
1362
+ ACTIVE = 2,
1363
+ /**
1364
+ * @generated from protobuf enum value: PLAN_STATUS_PAUSED_MANUAL = 3;
1365
+ */
1366
+ PAUSED_MANUAL = 3,
1367
+ /**
1368
+ * @generated from protobuf enum value: PLAN_STATUS_PAUSED_HEALTH_CHECK = 4;
1369
+ */
1370
+ PAUSED_HEALTH_CHECK = 4,
1371
+ /**
1372
+ * @generated from protobuf enum value: PLAN_STATUS_COMPLETED = 5;
1373
+ */
1374
+ COMPLETED = 5,
1375
+ /**
1376
+ * @generated from protobuf enum value: PLAN_STATUS_CANCELED = 6;
1377
+ */
1378
+ CANCELED = 6
1379
+ }
1380
+ /**
1381
+ * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.StepStatus
1382
+ */
1383
+ export declare enum Experiment_StepStatus {
1384
+ /**
1385
+ * @generated from protobuf enum value: STEP_STATUS_UNSPECIFIED = 0;
1386
+ */
1387
+ UNSPECIFIED = 0,
1388
+ /**
1389
+ * @generated from protobuf enum value: STEP_STATUS_PENDING = 1;
1390
+ */
1391
+ PENDING = 1,
1392
+ /**
1393
+ * @generated from protobuf enum value: STEP_STATUS_IN_PROGRESS = 2;
1394
+ */
1395
+ IN_PROGRESS = 2,
1396
+ /**
1397
+ * @generated from protobuf enum value: STEP_STATUS_AWAITING_MANUAL_APPROVAL = 3;
1398
+ */
1399
+ AWAITING_MANUAL_APPROVAL = 3,
1400
+ /**
1401
+ * @generated from protobuf enum value: STEP_STATUS_COMPLETED = 4;
1402
+ */
1403
+ COMPLETED = 4
1404
+ }
1270
1405
  /**
1271
1406
  * @generated from protobuf enum discord_protos.discord_experimentation.v1.FilterCategory
1272
1407
  */
@@ -1799,4 +1934,44 @@ declare class Experiment_NumberLineSettings$Type extends MessageType<Experiment_
1799
1934
  * @generated MessageType for protobuf message discord_protos.discord_experimentation.v1.Experiment.NumberLineSettings
1800
1935
  */
1801
1936
  export declare const Experiment_NumberLineSettings: Experiment_NumberLineSettings$Type;
1937
+ declare class Experiment_RampStep$Type extends MessageType<Experiment_RampStep> {
1938
+ constructor();
1939
+ create(value?: PartialMessage<Experiment_RampStep>): Experiment_RampStep;
1940
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Experiment_RampStep): Experiment_RampStep;
1941
+ internalBinaryWrite(message: Experiment_RampStep, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1942
+ }
1943
+ /**
1944
+ * @generated MessageType for protobuf message discord_protos.discord_experimentation.v1.Experiment.RampStep
1945
+ */
1946
+ export declare const Experiment_RampStep: Experiment_RampStep$Type;
1947
+ declare class Experiment_MeasurementPlan$Type extends MessageType<Experiment_MeasurementPlan> {
1948
+ constructor();
1949
+ create(value?: PartialMessage<Experiment_MeasurementPlan>): Experiment_MeasurementPlan;
1950
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Experiment_MeasurementPlan): Experiment_MeasurementPlan;
1951
+ internalBinaryWrite(message: Experiment_MeasurementPlan, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1952
+ }
1953
+ /**
1954
+ * @generated MessageType for protobuf message discord_protos.discord_experimentation.v1.Experiment.MeasurementPlan
1955
+ */
1956
+ export declare const Experiment_MeasurementPlan: Experiment_MeasurementPlan$Type;
1957
+ declare class Experiment_RolloutPlan$Type extends MessageType<Experiment_RolloutPlan> {
1958
+ constructor();
1959
+ create(value?: PartialMessage<Experiment_RolloutPlan>): Experiment_RolloutPlan;
1960
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Experiment_RolloutPlan): Experiment_RolloutPlan;
1961
+ internalBinaryWrite(message: Experiment_RolloutPlan, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1962
+ }
1963
+ /**
1964
+ * @generated MessageType for protobuf message discord_protos.discord_experimentation.v1.Experiment.RolloutPlan
1965
+ */
1966
+ export declare const Experiment_RolloutPlan: Experiment_RolloutPlan$Type;
1967
+ declare class Experiment_LifecyclePlan$Type extends MessageType<Experiment_LifecyclePlan> {
1968
+ constructor();
1969
+ create(value?: PartialMessage<Experiment_LifecyclePlan>): Experiment_LifecyclePlan;
1970
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Experiment_LifecyclePlan): Experiment_LifecyclePlan;
1971
+ internalBinaryWrite(message: Experiment_LifecyclePlan, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1972
+ }
1973
+ /**
1974
+ * @generated MessageType for protobuf message discord_protos.discord_experimentation.v1.Experiment.LifecyclePlan
1975
+ */
1976
+ export declare const Experiment_LifecyclePlan: Experiment_LifecyclePlan$Type;
1802
1977
  export {};