discord-protos 1.2.264 → 1.2.265

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.
@@ -391,6 +391,12 @@ message Experiment {
391
391
  CUSTOM_UNIT_PREFIX_SEO_URL_SLUG = 1;
392
392
  }
393
393
 
394
+ enum ExposurePointId {
395
+ EXPOSURE_POINT_ID_UNSPECIFIED = 0;
396
+ EXPOSURE_POINT_ID_SEO_INSTALLATION_PAGE_LOAD = 1;
397
+ EXPOSURE_POINT_ID_MARKETING_INSTALLATION_PAGE_LOAD = 2;
398
+ }
399
+
394
400
  enum Mode {
395
401
  MODE_EXCLUSIVE = 0;
396
402
  MODE_SYNCED = 1;
@@ -445,6 +451,7 @@ message Experiment {
445
451
  optional google.protobuf.Timestamp archive_at = 33;
446
452
  optional google.protobuf.Int32Value guild_experiment_version = 35;
447
453
  CustomUnitPrefix custom_unit_prefix = 36;
454
+ repeated ExposurePointId exposure_points = 45;
448
455
  repeated string growthbook_tags = 37 [packed = false];
449
456
  bool allocate_right_to_left = 38;
450
457
  bool is_managed = 39;
@@ -732,6 +732,7 @@ message PremiumMarketingComponentProperties {
732
732
  DISMISSIBLE_CONTENT_NITRO_GDM_CAP_COACHMARK = 794;
733
733
  DISMISSIBLE_CONTENT_BOUNTIES_RECURRING_SWIPE_UP_NUX = 795;
734
734
  DISMISSIBLE_CONTENT_SHOP_THIS_LOOK_WEB_MARKETING = 796;
735
+ DISMISSIBLE_CONTENT_COLLECTIBLES_SHOP_GAME_SERVER_HOSTING_BANNER = 797;
735
736
  }
736
737
 
737
738
  message MobileBottomSheet {
@@ -157,6 +157,10 @@ export interface Experiment {
157
157
  * @generated from protobuf field: discord_protos.discord_experimentation.v1.Experiment.CustomUnitPrefix custom_unit_prefix = 36
158
158
  */
159
159
  customUnitPrefix: Experiment_CustomUnitPrefix;
160
+ /**
161
+ * @generated from protobuf field: repeated discord_protos.discord_experimentation.v1.Experiment.ExposurePointId exposure_points = 45
162
+ */
163
+ exposurePoints: Experiment_ExposurePointId[];
160
164
  /**
161
165
  * @generated from protobuf field: repeated string growthbook_tags = 37 [packed = false]
162
166
  */
@@ -1185,6 +1189,23 @@ export declare enum Experiment_CustomUnitPrefix {
1185
1189
  */
1186
1190
  SEO_URL_SLUG = 1
1187
1191
  }
1192
+ /**
1193
+ * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.ExposurePointId
1194
+ */
1195
+ export declare enum Experiment_ExposurePointId {
1196
+ /**
1197
+ * @generated from protobuf enum value: EXPOSURE_POINT_ID_UNSPECIFIED = 0;
1198
+ */
1199
+ UNSPECIFIED = 0,
1200
+ /**
1201
+ * @generated from protobuf enum value: EXPOSURE_POINT_ID_SEO_INSTALLATION_PAGE_LOAD = 1;
1202
+ */
1203
+ SEO_INSTALLATION_PAGE_LOAD = 1,
1204
+ /**
1205
+ * @generated from protobuf enum value: EXPOSURE_POINT_ID_MARKETING_INSTALLATION_PAGE_LOAD = 2;
1206
+ */
1207
+ MARKETING_INSTALLATION_PAGE_LOAD = 2
1208
+ }
1188
1209
  /**
1189
1210
  * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.Mode
1190
1211
  */
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Experiment_GuildIdRange = exports.Experiment_GuildIds = exports.Experiment_UnitIdMatchesFilterSnapshot = exports.Experiment_UserPremiumType = 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_EligibilityPersistence = exports.Experiment_Mode = exports.Experiment_CustomUnitPrefix = exports.Experiment_AssignmentMode = exports.Experiment_ExposureTracking = exports.Experiment_Surface = exports.Experiment_Phase = exports.Experiment_Subtype = exports.Experiment_Type = exports.Experiment_UnitType = void 0;
4
- exports.Experiment_NumberLineSettings = exports.Experiment_DebugConfig = exports.Experiment_Rule = exports.Experiment_Override = exports.Experiment_Filter = exports.Experiment_InstallationIds = exports.Experiment_UserIP = exports.Experiment_UserLocation = exports.Experiment_GuildHasFeature = exports.Experiment_GuildMemberCountRange = void 0;
3
+ exports.Experiment_GuildIds = exports.Experiment_UnitIdMatchesFilterSnapshot = exports.Experiment_UserPremiumType = 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_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_Type = exports.Experiment_UnitType = void 0;
4
+ exports.Experiment_NumberLineSettings = exports.Experiment_DebugConfig = exports.Experiment_Rule = exports.Experiment_Override = exports.Experiment_Filter = exports.Experiment_InstallationIds = exports.Experiment_UserIP = exports.Experiment_UserLocation = exports.Experiment_GuildHasFeature = exports.Experiment_GuildMemberCountRange = exports.Experiment_GuildIdRange = 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");
@@ -199,6 +199,24 @@ var Experiment_CustomUnitPrefix;
199
199
  */
200
200
  Experiment_CustomUnitPrefix[Experiment_CustomUnitPrefix["SEO_URL_SLUG"] = 1] = "SEO_URL_SLUG";
201
201
  })(Experiment_CustomUnitPrefix || (exports.Experiment_CustomUnitPrefix = Experiment_CustomUnitPrefix = {}));
202
+ /**
203
+ * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.ExposurePointId
204
+ */
205
+ var Experiment_ExposurePointId;
206
+ (function (Experiment_ExposurePointId) {
207
+ /**
208
+ * @generated from protobuf enum value: EXPOSURE_POINT_ID_UNSPECIFIED = 0;
209
+ */
210
+ Experiment_ExposurePointId[Experiment_ExposurePointId["UNSPECIFIED"] = 0] = "UNSPECIFIED";
211
+ /**
212
+ * @generated from protobuf enum value: EXPOSURE_POINT_ID_SEO_INSTALLATION_PAGE_LOAD = 1;
213
+ */
214
+ Experiment_ExposurePointId[Experiment_ExposurePointId["SEO_INSTALLATION_PAGE_LOAD"] = 1] = "SEO_INSTALLATION_PAGE_LOAD";
215
+ /**
216
+ * @generated from protobuf enum value: EXPOSURE_POINT_ID_MARKETING_INSTALLATION_PAGE_LOAD = 2;
217
+ */
218
+ Experiment_ExposurePointId[Experiment_ExposurePointId["MARKETING_INSTALLATION_PAGE_LOAD"] = 2] = "MARKETING_INSTALLATION_PAGE_LOAD";
219
+ })(Experiment_ExposurePointId || (exports.Experiment_ExposurePointId = Experiment_ExposurePointId = {}));
202
220
  /**
203
221
  * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.Mode
204
222
  */
@@ -319,6 +337,7 @@ class Experiment$Type extends runtime_4.MessageType {
319
337
  { no: 33, name: "archive_at", kind: "message", T: () => timestamp_1.Timestamp },
320
338
  { no: 35, name: "guild_experiment_version", kind: "message", T: () => wrappers_3.Int32Value },
321
339
  { no: 36, name: "custom_unit_prefix", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.CustomUnitPrefix", Experiment_CustomUnitPrefix, "CUSTOM_UNIT_PREFIX_"] },
340
+ { no: 45, name: "exposure_points", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["discord_protos.discord_experimentation.v1.Experiment.ExposurePointId", Experiment_ExposurePointId, "EXPOSURE_POINT_ID_"] },
322
341
  { no: 37, name: "growthbook_tags", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
323
342
  { no: 38, name: "allocate_right_to_left", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
324
343
  { no: 39, name: "is_managed", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
@@ -356,6 +375,7 @@ class Experiment$Type extends runtime_4.MessageType {
356
375
  message.isAutomatedChange = false;
357
376
  message.suppressEditorMention = false;
358
377
  message.customUnitPrefix = 0;
378
+ message.exposurePoints = [];
359
379
  message.growthbookTags = [];
360
380
  message.allocateRightToLeft = false;
361
381
  message.isManaged = false;
@@ -485,6 +505,13 @@ class Experiment$Type extends runtime_4.MessageType {
485
505
  case /* discord_protos.discord_experimentation.v1.Experiment.CustomUnitPrefix custom_unit_prefix */ 36:
486
506
  message.customUnitPrefix = reader.int32();
487
507
  break;
508
+ case /* repeated discord_protos.discord_experimentation.v1.Experiment.ExposurePointId exposure_points */ 45:
509
+ if (wireType === runtime_2.WireType.LengthDelimited)
510
+ for (let e = reader.int32() + reader.pos; reader.pos < e;)
511
+ message.exposurePoints.push(reader.int32());
512
+ else
513
+ message.exposurePoints.push(reader.int32());
514
+ break;
488
515
  case /* repeated string growthbook_tags = 37 [packed = false] */ 37:
489
516
  message.growthbookTags.push(reader.string());
490
517
  break;
@@ -643,6 +670,13 @@ class Experiment$Type extends runtime_4.MessageType {
643
670
  /* bool suppress_editor_mention = 44; */
644
671
  if (message.suppressEditorMention !== false)
645
672
  writer.tag(44, runtime_2.WireType.Varint).bool(message.suppressEditorMention);
673
+ /* repeated discord_protos.discord_experimentation.v1.Experiment.ExposurePointId exposure_points = 45; */
674
+ if (message.exposurePoints.length) {
675
+ writer.tag(45, runtime_2.WireType.LengthDelimited).fork();
676
+ for (let i = 0; i < message.exposurePoints.length; i++)
677
+ writer.int32(message.exposurePoints[i]);
678
+ writer.join();
679
+ }
646
680
  let u = options.writeUnknownFields;
647
681
  if (u !== false)
648
682
  (u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3479,7 +3479,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
3479
3479
  /**
3480
3480
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_SHOP_THIS_LOOK_WEB_MARKETING = 796;
3481
3481
  */
3482
- SHOP_THIS_LOOK_WEB_MARKETING = 796
3482
+ SHOP_THIS_LOOK_WEB_MARKETING = 796,
3483
+ /**
3484
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_COLLECTIBLES_SHOP_GAME_SERVER_HOSTING_BANNER = 797;
3485
+ */
3486
+ COLLECTIBLES_SHOP_GAME_SERVER_HOSTING_BANNER = 797
3483
3487
  }
3484
3488
  /**
3485
3489
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
@@ -2439,6 +2439,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
2439
2439
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_SHOP_THIS_LOOK_WEB_MARKETING = 796;
2440
2440
  */
2441
2441
  PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["SHOP_THIS_LOOK_WEB_MARKETING"] = 796] = "SHOP_THIS_LOOK_WEB_MARKETING";
2442
+ /**
2443
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_COLLECTIBLES_SHOP_GAME_SERVER_HOSTING_BANNER = 797;
2444
+ */
2445
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["COLLECTIBLES_SHOP_GAME_SERVER_HOSTING_BANNER"] = 797] = "COLLECTIBLES_SHOP_GAME_SERVER_HOSTING_BANNER";
2442
2446
  })(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
2443
2447
  /**
2444
2448
  * @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.264",
3
+ "version": "1.2.265",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",