discord-protos 1.2.394 → 1.2.396

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.
@@ -310,6 +310,11 @@ message Experiment {
310
310
  repeated string iso_countries = 1 [packed = false];
311
311
  }
312
312
 
313
+ message ClientDesignId {
314
+ option (discord_protos.discord_experimentation.v1.filter_category) = FILTER_CATEGORY_CLIENT;
315
+ repeated int32 design_ids = 1;
316
+ }
317
+
313
318
  message Filter {
314
319
  oneof filter {
315
320
  ClientPlatform client_version = 2;
@@ -340,6 +345,7 @@ message Experiment {
340
345
  UserIP user_ip = 28;
341
346
  InstallationIds installation_ids = 29;
342
347
  UserStoreCountry user_store_country = 31;
348
+ ClientDesignId client_design_id = 32;
343
349
  }
344
350
  bool negate = 30;
345
351
  }
@@ -484,6 +490,24 @@ message Experiment {
484
490
  optional RolloutPlan rollout_plan = 2;
485
491
  }
486
492
 
493
+ enum Kind {
494
+ KIND_CHANGE_SOURCE_UNSPECIFIED = 0;
495
+ KIND_MANUAL = 1;
496
+ KIND_CAP_PROPOSED = 2;
497
+ KIND_CAP_PROPOSED_WITH_MODIFICATIONS = 3;
498
+ KIND_CAP_AUTOMATED = 4;
499
+ }
500
+
501
+ message ChangeSource {
502
+ Kind kind = 1;
503
+ string proposal_id = 2;
504
+ string agent_product = 3;
505
+ string conversation_id = 4;
506
+ string skill = 5;
507
+ string skill_version = 6;
508
+ string conversation_type = 7;
509
+ }
510
+
487
511
  fixed64 id = 1;
488
512
  string name = 2;
489
513
  optional google.protobuf.Timestamp created_at = 3;
@@ -531,4 +555,5 @@ message Experiment {
531
555
  optional LifecyclePlan lifecycle_plan = 48;
532
556
  bool is_feature_flag = 49;
533
557
  bool is_official_holdout = 50;
558
+ optional ChangeSource change_source = 51;
534
559
  }
@@ -644,6 +644,9 @@ message PremiumMarketingComponentProperties {
644
644
  DISMISSIBLE_CONTENT_DEFAULT_EMOJIS_PACKS_DISCOVERY_DOT = 867;
645
645
  DISMISSIBLE_CONTENT_MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK = 868;
646
646
  DISMISSIBLE_CONTENT_COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK = 869;
647
+ DISMISSIBLE_CONTENT_SOUNDBOARD_NEW_SOUNDS_BADGE = 870;
648
+ DISMISSIBLE_CONTENT_NITRO_BADGE_UNHIDDEN_NOTICE = 871;
649
+ DISMISSIBLE_CONTENT_DEFAULT_NITRO_SOUNDS_COACHMARK = 872;
647
650
  }
648
651
 
649
652
  message MobileBottomSheet {
@@ -202,6 +202,10 @@ export interface Experiment {
202
202
  * @generated from protobuf field: bool is_official_holdout = 50
203
203
  */
204
204
  isOfficialHoldout: boolean;
205
+ /**
206
+ * @generated from protobuf field: optional discord_protos.discord_experimentation.v1.Experiment.ChangeSource change_source = 51
207
+ */
208
+ changeSource?: Experiment_ChangeSource;
205
209
  }
206
210
  /**
207
211
  * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.Bucket
@@ -790,6 +794,15 @@ export interface Experiment_UserStoreCountry {
790
794
  */
791
795
  isoCountries: string[];
792
796
  }
797
+ /**
798
+ * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.ClientDesignId
799
+ */
800
+ export interface Experiment_ClientDesignId {
801
+ /**
802
+ * @generated from protobuf field: repeated int32 design_ids = 1
803
+ */
804
+ designIds: number[];
805
+ }
793
806
  /**
794
807
  * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.Filter
795
808
  */
@@ -965,6 +978,12 @@ export interface Experiment_Filter {
965
978
  * @generated from protobuf field: discord_protos.discord_experimentation.v1.Experiment.UserStoreCountry user_store_country = 31
966
979
  */
967
980
  userStoreCountry: Experiment_UserStoreCountry;
981
+ } | {
982
+ oneofKind: "clientDesignId";
983
+ /**
984
+ * @generated from protobuf field: discord_protos.discord_experimentation.v1.Experiment.ClientDesignId client_design_id = 32
985
+ */
986
+ clientDesignId: Experiment_ClientDesignId;
968
987
  } | {
969
988
  oneofKind: undefined;
970
989
  };
@@ -1134,6 +1153,39 @@ export interface Experiment_LifecyclePlan {
1134
1153
  */
1135
1154
  rolloutPlan?: Experiment_RolloutPlan;
1136
1155
  }
1156
+ /**
1157
+ * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.ChangeSource
1158
+ */
1159
+ export interface Experiment_ChangeSource {
1160
+ /**
1161
+ * @generated from protobuf field: discord_protos.discord_experimentation.v1.Experiment.Kind kind = 1
1162
+ */
1163
+ kind: Experiment_Kind;
1164
+ /**
1165
+ * @generated from protobuf field: string proposal_id = 2
1166
+ */
1167
+ proposalId: string;
1168
+ /**
1169
+ * @generated from protobuf field: string agent_product = 3
1170
+ */
1171
+ agentProduct: string;
1172
+ /**
1173
+ * @generated from protobuf field: string conversation_id = 4
1174
+ */
1175
+ conversationId: string;
1176
+ /**
1177
+ * @generated from protobuf field: string skill = 5
1178
+ */
1179
+ skill: string;
1180
+ /**
1181
+ * @generated from protobuf field: string skill_version = 6
1182
+ */
1183
+ skillVersion: string;
1184
+ /**
1185
+ * @generated from protobuf field: string conversation_type = 7
1186
+ */
1187
+ conversationType: string;
1188
+ }
1137
1189
  /**
1138
1190
  * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.UnitType
1139
1191
  */
@@ -1464,6 +1516,31 @@ export declare enum Experiment_StepStatus {
1464
1516
  */
1465
1517
  COMPLETED = 4
1466
1518
  }
1519
+ /**
1520
+ * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.Kind
1521
+ */
1522
+ export declare enum Experiment_Kind {
1523
+ /**
1524
+ * @generated from protobuf enum value: KIND_CHANGE_SOURCE_UNSPECIFIED = 0;
1525
+ */
1526
+ CHANGE_SOURCE_UNSPECIFIED = 0,
1527
+ /**
1528
+ * @generated from protobuf enum value: KIND_MANUAL = 1;
1529
+ */
1530
+ MANUAL = 1,
1531
+ /**
1532
+ * @generated from protobuf enum value: KIND_CAP_PROPOSED = 2;
1533
+ */
1534
+ CAP_PROPOSED = 2,
1535
+ /**
1536
+ * @generated from protobuf enum value: KIND_CAP_PROPOSED_WITH_MODIFICATIONS = 3;
1537
+ */
1538
+ CAP_PROPOSED_WITH_MODIFICATIONS = 3,
1539
+ /**
1540
+ * @generated from protobuf enum value: KIND_CAP_AUTOMATED = 4;
1541
+ */
1542
+ CAP_AUTOMATED = 4
1543
+ }
1467
1544
  /**
1468
1545
  * @generated from protobuf enum discord_protos.discord_experimentation.v1.FilterCategory
1469
1546
  */
@@ -1946,6 +2023,16 @@ declare class Experiment_UserStoreCountry$Type extends MessageType<Experiment_Us
1946
2023
  * @generated MessageType for protobuf message discord_protos.discord_experimentation.v1.Experiment.UserStoreCountry
1947
2024
  */
1948
2025
  export declare const Experiment_UserStoreCountry: Experiment_UserStoreCountry$Type;
2026
+ declare class Experiment_ClientDesignId$Type extends MessageType<Experiment_ClientDesignId> {
2027
+ constructor();
2028
+ create(value?: PartialMessage<Experiment_ClientDesignId>): Experiment_ClientDesignId;
2029
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Experiment_ClientDesignId): Experiment_ClientDesignId;
2030
+ internalBinaryWrite(message: Experiment_ClientDesignId, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2031
+ }
2032
+ /**
2033
+ * @generated MessageType for protobuf message discord_protos.discord_experimentation.v1.Experiment.ClientDesignId
2034
+ */
2035
+ export declare const Experiment_ClientDesignId: Experiment_ClientDesignId$Type;
1949
2036
  declare class Experiment_Filter$Type extends MessageType<Experiment_Filter> {
1950
2037
  constructor();
1951
2038
  create(value?: PartialMessage<Experiment_Filter>): Experiment_Filter;
@@ -2046,4 +2133,14 @@ declare class Experiment_LifecyclePlan$Type extends MessageType<Experiment_Lifec
2046
2133
  * @generated MessageType for protobuf message discord_protos.discord_experimentation.v1.Experiment.LifecyclePlan
2047
2134
  */
2048
2135
  export declare const Experiment_LifecyclePlan: Experiment_LifecyclePlan$Type;
2136
+ declare class Experiment_ChangeSource$Type extends MessageType<Experiment_ChangeSource> {
2137
+ constructor();
2138
+ create(value?: PartialMessage<Experiment_ChangeSource>): Experiment_ChangeSource;
2139
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Experiment_ChangeSource): Experiment_ChangeSource;
2140
+ internalBinaryWrite(message: Experiment_ChangeSource, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2141
+ }
2142
+ /**
2143
+ * @generated MessageType for protobuf message discord_protos.discord_experimentation.v1.Experiment.ChangeSource
2144
+ */
2145
+ export declare const Experiment_ChangeSource: Experiment_ChangeSource$Type;
2049
2146
  export {};
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Experiment_UnitIdInExperiment = exports.Experiment_ClientSystemLocale = exports.Experiment_Always = exports.Experiment_ClientReleaseChannel = exports.Experiment_UnitIdInRangeByHash = exports.Experiment_UserHasFlag = exports.Experiment_UserIDRange = exports.Experiment_Fixed64Value = exports.Experiment_UserAgeRange = exports.Experiment_UserIsBot = exports.Experiment_UserLocale = exports.Experiment_ClientIP = exports.Experiment_ClientLocation = exports.Experiment_Location = exports.Experiment_Place = exports.Experiment_ISORegion = exports.Experiment_ClientLocale = exports.Experiment_UserIds = exports.Experiment_UserInGuild = exports.Experiment_StaffUsers = exports.Experiment_ClientOperatingSystem = exports.Experiment_SDKVersion = exports.Experiment_SDKVersionRange = exports.Experiment_SDKVersionRangeBound = exports.Experiment_SDKVersionSpecifier = exports.Experiment_ClientPlatform = exports.Experiment_ClientRequiredChanges = exports.Experiment_PlatformVersion = exports.Experiment_PlatformVersionRange = exports.Experiment_PlatformVersionRangeBound = exports.Experiment_PlatformVersionSpecifier = exports.Experiment_Variation = exports.Experiment_Bucket = exports.Experiment = exports.FilterEvaluationMode = exports.FilterCategory = exports.Experiment_StepStatus = exports.Experiment_PlanStatus = exports.Experiment_EligibilityPersistence = exports.Experiment_Mode = exports.Experiment_ExposurePointId = exports.Experiment_CustomUnitPrefix = exports.Experiment_AssignmentMode = exports.Experiment_ExposureTracking = exports.Experiment_Surface = exports.Experiment_Phase = exports.Experiment_Subtype = exports.Experiment_Enum = exports.Experiment_Type = exports.Experiment_UnitType = void 0;
4
- exports.Experiment_LifecyclePlan = exports.Experiment_RolloutPlan = exports.Experiment_MeasurementPlan = exports.Experiment_RampStep = exports.Experiment_VariationBuckets = exports.Experiment_NumberLineSettings = exports.Experiment_DebugConfig = exports.Experiment_Rule = exports.Experiment_Override = exports.Experiment_Filter = exports.Experiment_UserStoreCountry = exports.Experiment_InstallationIds = exports.Experiment_UserIP = exports.Experiment_UserLocation = exports.Experiment_GuildHasFeature = exports.Experiment_GuildMemberCountRange = exports.Experiment_GuildIdRange = exports.Experiment_GuildIds = exports.Experiment_UnitIdMatchesFilterSnapshot = exports.Experiment_UserPremiumType = void 0;
3
+ exports.Experiment_ClientSystemLocale = exports.Experiment_Always = exports.Experiment_ClientReleaseChannel = exports.Experiment_UnitIdInRangeByHash = exports.Experiment_UserHasFlag = exports.Experiment_UserIDRange = exports.Experiment_Fixed64Value = exports.Experiment_UserAgeRange = exports.Experiment_UserIsBot = exports.Experiment_UserLocale = exports.Experiment_ClientIP = exports.Experiment_ClientLocation = exports.Experiment_Location = exports.Experiment_Place = exports.Experiment_ISORegion = exports.Experiment_ClientLocale = exports.Experiment_UserIds = exports.Experiment_UserInGuild = exports.Experiment_StaffUsers = exports.Experiment_ClientOperatingSystem = exports.Experiment_SDKVersion = exports.Experiment_SDKVersionRange = exports.Experiment_SDKVersionRangeBound = exports.Experiment_SDKVersionSpecifier = exports.Experiment_ClientPlatform = exports.Experiment_ClientRequiredChanges = exports.Experiment_PlatformVersion = exports.Experiment_PlatformVersionRange = exports.Experiment_PlatformVersionRangeBound = exports.Experiment_PlatformVersionSpecifier = exports.Experiment_Variation = exports.Experiment_Bucket = exports.Experiment = exports.FilterEvaluationMode = exports.FilterCategory = exports.Experiment_Kind = exports.Experiment_StepStatus = exports.Experiment_PlanStatus = exports.Experiment_EligibilityPersistence = exports.Experiment_Mode = exports.Experiment_ExposurePointId = exports.Experiment_CustomUnitPrefix = exports.Experiment_AssignmentMode = exports.Experiment_ExposureTracking = exports.Experiment_Surface = exports.Experiment_Phase = exports.Experiment_Subtype = exports.Experiment_Enum = exports.Experiment_Type = exports.Experiment_UnitType = void 0;
4
+ exports.Experiment_ChangeSource = exports.Experiment_LifecyclePlan = exports.Experiment_RolloutPlan = exports.Experiment_MeasurementPlan = exports.Experiment_RampStep = exports.Experiment_VariationBuckets = exports.Experiment_NumberLineSettings = exports.Experiment_DebugConfig = exports.Experiment_Rule = exports.Experiment_Override = exports.Experiment_Filter = exports.Experiment_ClientDesignId = exports.Experiment_UserStoreCountry = exports.Experiment_InstallationIds = exports.Experiment_UserIP = exports.Experiment_UserLocation = exports.Experiment_GuildHasFeature = exports.Experiment_GuildMemberCountRange = exports.Experiment_GuildIdRange = exports.Experiment_GuildIds = exports.Experiment_UnitIdMatchesFilterSnapshot = exports.Experiment_UserPremiumType = exports.Experiment_UnitIdInExperiment = void 0;
5
5
  const runtime_1 = require("@protobuf-ts/runtime");
6
6
  const runtime_2 = require("@protobuf-ts/runtime");
7
7
  const runtime_3 = require("@protobuf-ts/runtime");
@@ -356,6 +356,32 @@ var Experiment_StepStatus;
356
356
  */
357
357
  Experiment_StepStatus[Experiment_StepStatus["COMPLETED"] = 4] = "COMPLETED";
358
358
  })(Experiment_StepStatus || (exports.Experiment_StepStatus = Experiment_StepStatus = {}));
359
+ /**
360
+ * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.Kind
361
+ */
362
+ var Experiment_Kind;
363
+ (function (Experiment_Kind) {
364
+ /**
365
+ * @generated from protobuf enum value: KIND_CHANGE_SOURCE_UNSPECIFIED = 0;
366
+ */
367
+ Experiment_Kind[Experiment_Kind["CHANGE_SOURCE_UNSPECIFIED"] = 0] = "CHANGE_SOURCE_UNSPECIFIED";
368
+ /**
369
+ * @generated from protobuf enum value: KIND_MANUAL = 1;
370
+ */
371
+ Experiment_Kind[Experiment_Kind["MANUAL"] = 1] = "MANUAL";
372
+ /**
373
+ * @generated from protobuf enum value: KIND_CAP_PROPOSED = 2;
374
+ */
375
+ Experiment_Kind[Experiment_Kind["CAP_PROPOSED"] = 2] = "CAP_PROPOSED";
376
+ /**
377
+ * @generated from protobuf enum value: KIND_CAP_PROPOSED_WITH_MODIFICATIONS = 3;
378
+ */
379
+ Experiment_Kind[Experiment_Kind["CAP_PROPOSED_WITH_MODIFICATIONS"] = 3] = "CAP_PROPOSED_WITH_MODIFICATIONS";
380
+ /**
381
+ * @generated from protobuf enum value: KIND_CAP_AUTOMATED = 4;
382
+ */
383
+ Experiment_Kind[Experiment_Kind["CAP_AUTOMATED"] = 4] = "CAP_AUTOMATED";
384
+ })(Experiment_Kind || (exports.Experiment_Kind = Experiment_Kind = {}));
359
385
  /**
360
386
  * @generated from protobuf enum discord_protos.discord_experimentation.v1.FilterCategory
361
387
  */
@@ -450,7 +476,8 @@ class Experiment$Type extends runtime_4.MessageType {
450
476
  { no: 42, name: "eligibility_persistence", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.EligibilityPersistence", Experiment_EligibilityPersistence, "ELIGIBILITY_PERSISTENCE_"] },
451
477
  { no: 48, name: "lifecycle_plan", kind: "message", T: () => exports.Experiment_LifecyclePlan },
452
478
  { no: 49, name: "is_feature_flag", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
453
- { no: 50, name: "is_official_holdout", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
479
+ { no: 50, name: "is_official_holdout", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
480
+ { no: 51, name: "change_source", kind: "message", T: () => exports.Experiment_ChangeSource }
454
481
  ]);
455
482
  }
456
483
  create(value) {
@@ -653,6 +680,9 @@ class Experiment$Type extends runtime_4.MessageType {
653
680
  case /* bool is_official_holdout */ 50:
654
681
  message.isOfficialHoldout = reader.bool();
655
682
  break;
683
+ case /* optional discord_protos.discord_experimentation.v1.Experiment.ChangeSource change_source */ 51:
684
+ message.changeSource = exports.Experiment_ChangeSource.internalBinaryRead(reader, reader.uint32(), options, message.changeSource);
685
+ break;
656
686
  default:
657
687
  let u = options.readUnknownField;
658
688
  if (u === "throw")
@@ -818,6 +848,9 @@ class Experiment$Type extends runtime_4.MessageType {
818
848
  /* bool is_official_holdout = 50; */
819
849
  if (message.isOfficialHoldout !== false)
820
850
  writer.tag(50, runtime_2.WireType.Varint).bool(message.isOfficialHoldout);
851
+ /* optional discord_protos.discord_experimentation.v1.Experiment.ChangeSource change_source = 51; */
852
+ if (message.changeSource)
853
+ exports.Experiment_ChangeSource.internalBinaryWrite(message.changeSource, writer.tag(51, runtime_2.WireType.LengthDelimited).fork(), options).join();
821
854
  let u = options.writeUnknownFields;
822
855
  if (u !== false)
823
856
  (u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3268,6 +3301,61 @@ class Experiment_UserStoreCountry$Type extends runtime_4.MessageType {
3268
3301
  */
3269
3302
  exports.Experiment_UserStoreCountry = new Experiment_UserStoreCountry$Type();
3270
3303
  // @generated message type with reflection information, may provide speed optimized methods
3304
+ class Experiment_ClientDesignId$Type extends runtime_4.MessageType {
3305
+ constructor() {
3306
+ super("discord_protos.discord_experimentation.v1.Experiment.ClientDesignId", [
3307
+ { no: 1, name: "design_ids", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 5 /*ScalarType.INT32*/ }
3308
+ ], { "discord_protos.discord_experimentation.v1.filter_category": "FILTER_CATEGORY_CLIENT" });
3309
+ }
3310
+ create(value) {
3311
+ const message = globalThis.Object.create((this.messagePrototype));
3312
+ message.designIds = [];
3313
+ if (value !== undefined)
3314
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
3315
+ return message;
3316
+ }
3317
+ internalBinaryRead(reader, length, options, target) {
3318
+ let message = target ?? this.create(), end = reader.pos + length;
3319
+ while (reader.pos < end) {
3320
+ let [fieldNo, wireType] = reader.tag();
3321
+ switch (fieldNo) {
3322
+ case /* repeated int32 design_ids */ 1:
3323
+ if (wireType === runtime_2.WireType.LengthDelimited)
3324
+ for (let e = reader.int32() + reader.pos; reader.pos < e;)
3325
+ message.designIds.push(reader.int32());
3326
+ else
3327
+ message.designIds.push(reader.int32());
3328
+ break;
3329
+ default:
3330
+ let u = options.readUnknownField;
3331
+ if (u === "throw")
3332
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
3333
+ let d = reader.skip(wireType);
3334
+ if (u !== false)
3335
+ (u === true ? runtime_1.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
3336
+ }
3337
+ }
3338
+ return message;
3339
+ }
3340
+ internalBinaryWrite(message, writer, options) {
3341
+ /* repeated int32 design_ids = 1; */
3342
+ if (message.designIds.length) {
3343
+ writer.tag(1, runtime_2.WireType.LengthDelimited).fork();
3344
+ for (let i = 0; i < message.designIds.length; i++)
3345
+ writer.int32(message.designIds[i]);
3346
+ writer.join();
3347
+ }
3348
+ let u = options.writeUnknownFields;
3349
+ if (u !== false)
3350
+ (u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
3351
+ return writer;
3352
+ }
3353
+ }
3354
+ /**
3355
+ * @generated MessageType for protobuf message discord_protos.discord_experimentation.v1.Experiment.ClientDesignId
3356
+ */
3357
+ exports.Experiment_ClientDesignId = new Experiment_ClientDesignId$Type();
3358
+ // @generated message type with reflection information, may provide speed optimized methods
3271
3359
  class Experiment_Filter$Type extends runtime_4.MessageType {
3272
3360
  constructor() {
3273
3361
  super("discord_protos.discord_experimentation.v1.Experiment.Filter", [
@@ -3299,6 +3387,7 @@ class Experiment_Filter$Type extends runtime_4.MessageType {
3299
3387
  { no: 28, name: "user_ip", kind: "message", oneof: "filter", T: () => exports.Experiment_UserIP },
3300
3388
  { no: 29, name: "installation_ids", kind: "message", oneof: "filter", T: () => exports.Experiment_InstallationIds },
3301
3389
  { no: 31, name: "user_store_country", kind: "message", oneof: "filter", T: () => exports.Experiment_UserStoreCountry },
3390
+ { no: 32, name: "client_design_id", kind: "message", oneof: "filter", T: () => exports.Experiment_ClientDesignId },
3302
3391
  { no: 30, name: "negate", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
3303
3392
  ]);
3304
3393
  }
@@ -3483,6 +3572,12 @@ class Experiment_Filter$Type extends runtime_4.MessageType {
3483
3572
  userStoreCountry: exports.Experiment_UserStoreCountry.internalBinaryRead(reader, reader.uint32(), options, message.filter.userStoreCountry)
3484
3573
  };
3485
3574
  break;
3575
+ case /* discord_protos.discord_experimentation.v1.Experiment.ClientDesignId client_design_id */ 32:
3576
+ message.filter = {
3577
+ oneofKind: "clientDesignId",
3578
+ clientDesignId: exports.Experiment_ClientDesignId.internalBinaryRead(reader, reader.uint32(), options, message.filter.clientDesignId)
3579
+ };
3580
+ break;
3486
3581
  case /* bool negate */ 30:
3487
3582
  message.negate = reader.bool();
3488
3583
  break;
@@ -3585,6 +3680,9 @@ class Experiment_Filter$Type extends runtime_4.MessageType {
3585
3680
  /* discord_protos.discord_experimentation.v1.Experiment.UserStoreCountry user_store_country = 31; */
3586
3681
  if (message.filter.oneofKind === "userStoreCountry")
3587
3682
  exports.Experiment_UserStoreCountry.internalBinaryWrite(message.filter.userStoreCountry, writer.tag(31, runtime_2.WireType.LengthDelimited).fork(), options).join();
3683
+ /* discord_protos.discord_experimentation.v1.Experiment.ClientDesignId client_design_id = 32; */
3684
+ if (message.filter.oneofKind === "clientDesignId")
3685
+ exports.Experiment_ClientDesignId.internalBinaryWrite(message.filter.clientDesignId, writer.tag(32, runtime_2.WireType.LengthDelimited).fork(), options).join();
3588
3686
  let u = options.writeUnknownFields;
3589
3687
  if (u !== false)
3590
3688
  (u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -4172,3 +4270,98 @@ class Experiment_LifecyclePlan$Type extends runtime_4.MessageType {
4172
4270
  * @generated MessageType for protobuf message discord_protos.discord_experimentation.v1.Experiment.LifecyclePlan
4173
4271
  */
4174
4272
  exports.Experiment_LifecyclePlan = new Experiment_LifecyclePlan$Type();
4273
+ // @generated message type with reflection information, may provide speed optimized methods
4274
+ class Experiment_ChangeSource$Type extends runtime_4.MessageType {
4275
+ constructor() {
4276
+ super("discord_protos.discord_experimentation.v1.Experiment.ChangeSource", [
4277
+ { no: 1, name: "kind", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Kind", Experiment_Kind, "KIND_"] },
4278
+ { no: 2, name: "proposal_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4279
+ { no: 3, name: "agent_product", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4280
+ { no: 4, name: "conversation_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4281
+ { no: 5, name: "skill", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4282
+ { no: 6, name: "skill_version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4283
+ { no: 7, name: "conversation_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
4284
+ ]);
4285
+ }
4286
+ create(value) {
4287
+ const message = globalThis.Object.create((this.messagePrototype));
4288
+ message.kind = 0;
4289
+ message.proposalId = "";
4290
+ message.agentProduct = "";
4291
+ message.conversationId = "";
4292
+ message.skill = "";
4293
+ message.skillVersion = "";
4294
+ message.conversationType = "";
4295
+ if (value !== undefined)
4296
+ (0, runtime_3.reflectionMergePartial)(this, message, value);
4297
+ return message;
4298
+ }
4299
+ internalBinaryRead(reader, length, options, target) {
4300
+ let message = target ?? this.create(), end = reader.pos + length;
4301
+ while (reader.pos < end) {
4302
+ let [fieldNo, wireType] = reader.tag();
4303
+ switch (fieldNo) {
4304
+ case /* discord_protos.discord_experimentation.v1.Experiment.Kind kind */ 1:
4305
+ message.kind = reader.int32();
4306
+ break;
4307
+ case /* string proposal_id */ 2:
4308
+ message.proposalId = reader.string();
4309
+ break;
4310
+ case /* string agent_product */ 3:
4311
+ message.agentProduct = reader.string();
4312
+ break;
4313
+ case /* string conversation_id */ 4:
4314
+ message.conversationId = reader.string();
4315
+ break;
4316
+ case /* string skill */ 5:
4317
+ message.skill = reader.string();
4318
+ break;
4319
+ case /* string skill_version */ 6:
4320
+ message.skillVersion = reader.string();
4321
+ break;
4322
+ case /* string conversation_type */ 7:
4323
+ message.conversationType = reader.string();
4324
+ break;
4325
+ default:
4326
+ let u = options.readUnknownField;
4327
+ if (u === "throw")
4328
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4329
+ let d = reader.skip(wireType);
4330
+ if (u !== false)
4331
+ (u === true ? runtime_1.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4332
+ }
4333
+ }
4334
+ return message;
4335
+ }
4336
+ internalBinaryWrite(message, writer, options) {
4337
+ /* discord_protos.discord_experimentation.v1.Experiment.Kind kind = 1; */
4338
+ if (message.kind !== 0)
4339
+ writer.tag(1, runtime_2.WireType.Varint).int32(message.kind);
4340
+ /* string proposal_id = 2; */
4341
+ if (message.proposalId !== "")
4342
+ writer.tag(2, runtime_2.WireType.LengthDelimited).string(message.proposalId);
4343
+ /* string agent_product = 3; */
4344
+ if (message.agentProduct !== "")
4345
+ writer.tag(3, runtime_2.WireType.LengthDelimited).string(message.agentProduct);
4346
+ /* string conversation_id = 4; */
4347
+ if (message.conversationId !== "")
4348
+ writer.tag(4, runtime_2.WireType.LengthDelimited).string(message.conversationId);
4349
+ /* string skill = 5; */
4350
+ if (message.skill !== "")
4351
+ writer.tag(5, runtime_2.WireType.LengthDelimited).string(message.skill);
4352
+ /* string skill_version = 6; */
4353
+ if (message.skillVersion !== "")
4354
+ writer.tag(6, runtime_2.WireType.LengthDelimited).string(message.skillVersion);
4355
+ /* string conversation_type = 7; */
4356
+ if (message.conversationType !== "")
4357
+ writer.tag(7, runtime_2.WireType.LengthDelimited).string(message.conversationType);
4358
+ let u = options.writeUnknownFields;
4359
+ if (u !== false)
4360
+ (u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4361
+ return writer;
4362
+ }
4363
+ }
4364
+ /**
4365
+ * @generated MessageType for protobuf message discord_protos.discord_experimentation.v1.Experiment.ChangeSource
4366
+ */
4367
+ exports.Experiment_ChangeSource = new Experiment_ChangeSource$Type();
@@ -3527,7 +3527,19 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
3527
3527
  /**
3528
3528
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK = 869;
3529
3529
  */
3530
- COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK = 869
3530
+ COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK = 869,
3531
+ /**
3532
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_SOUNDBOARD_NEW_SOUNDS_BADGE = 870;
3533
+ */
3534
+ SOUNDBOARD_NEW_SOUNDS_BADGE = 870,
3535
+ /**
3536
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_NITRO_BADGE_UNHIDDEN_NOTICE = 871;
3537
+ */
3538
+ NITRO_BADGE_UNHIDDEN_NOTICE = 871,
3539
+ /**
3540
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_DEFAULT_NITRO_SOUNDS_COACHMARK = 872;
3541
+ */
3542
+ DEFAULT_NITRO_SOUNDS_COACHMARK = 872
3531
3543
  }
3532
3544
  /**
3533
3545
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
@@ -2151,6 +2151,18 @@ var PremiumMarketingComponentProperties_DismissibleContent;
2151
2151
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK = 869;
2152
2152
  */
2153
2153
  PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK"] = 869] = "COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK";
2154
+ /**
2155
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_SOUNDBOARD_NEW_SOUNDS_BADGE = 870;
2156
+ */
2157
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["SOUNDBOARD_NEW_SOUNDS_BADGE"] = 870] = "SOUNDBOARD_NEW_SOUNDS_BADGE";
2158
+ /**
2159
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_NITRO_BADGE_UNHIDDEN_NOTICE = 871;
2160
+ */
2161
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["NITRO_BADGE_UNHIDDEN_NOTICE"] = 871] = "NITRO_BADGE_UNHIDDEN_NOTICE";
2162
+ /**
2163
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_DEFAULT_NITRO_SOUNDS_COACHMARK = 872;
2164
+ */
2165
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["DEFAULT_NITRO_SOUNDS_COACHMARK"] = 872] = "DEFAULT_NITRO_SOUNDS_COACHMARK";
2154
2166
  })(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
2155
2167
  /**
2156
2168
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-protos",
3
- "version": "1.2.394",
3
+ "version": "1.2.396",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",