discord-protos 1.2.379 → 1.2.381

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.
@@ -417,6 +417,7 @@ message Experiment {
417
417
  EXPOSURE_POINT_ID_SEO_INSTALLATION_PAGE_LOAD = 1;
418
418
  EXPOSURE_POINT_ID_MARKETING_INSTALLATION_PAGE_LOAD = 2;
419
419
  EXPOSURE_POINT_ID_INVITE_GUILD_RESOLVE = 3;
420
+ EXPOSURE_POINT_ID_ADS_BUDGET_AB_DECISION = 4;
420
421
  }
421
422
 
422
423
  enum Mode {
@@ -632,6 +632,7 @@ message PremiumMarketingComponentProperties {
632
632
  DISMISSIBLE_CONTENT_GIFTED_SUBSCRIPTIONS_DESKTOP_COACHMARK = 855;
633
633
  DISMISSIBLE_CONTENT_DEFAULT_EMOJIS_POPOVER = 856;
634
634
  DISMISSIBLE_CONTENT_MOBILE_EMOJI_SUGGESTIONS_NUX_COACHMARK = 857;
635
+ DISMISSIBLE_CONTENT_USER_PROFILE_WIDGET_SUGGESTIONS = 858;
635
636
  }
636
637
 
637
638
  message MobileBottomSheet {
@@ -1133,6 +1133,7 @@ message UserData {
1133
1133
  message AnonymizationInfo {
1134
1134
  AnonymizationStatus status = 1;
1135
1135
  optional google.protobuf.UInt64Value anon_user_id = 2;
1136
+ optional google.protobuf.Timestamp original_user_created_at = 3;
1136
1137
  }
1137
1138
 
1138
1139
  message TypingIndicatorEmoji {
@@ -1358,7 +1358,11 @@ export declare enum Experiment_ExposurePointId {
1358
1358
  /**
1359
1359
  * @generated from protobuf enum value: EXPOSURE_POINT_ID_INVITE_GUILD_RESOLVE = 3;
1360
1360
  */
1361
- INVITE_GUILD_RESOLVE = 3
1361
+ INVITE_GUILD_RESOLVE = 3,
1362
+ /**
1363
+ * @generated from protobuf enum value: EXPOSURE_POINT_ID_ADS_BUDGET_AB_DECISION = 4;
1364
+ */
1365
+ ADS_BUDGET_AB_DECISION = 4
1362
1366
  }
1363
1367
  /**
1364
1368
  * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.Mode
@@ -255,6 +255,10 @@ var Experiment_ExposurePointId;
255
255
  * @generated from protobuf enum value: EXPOSURE_POINT_ID_INVITE_GUILD_RESOLVE = 3;
256
256
  */
257
257
  Experiment_ExposurePointId[Experiment_ExposurePointId["INVITE_GUILD_RESOLVE"] = 3] = "INVITE_GUILD_RESOLVE";
258
+ /**
259
+ * @generated from protobuf enum value: EXPOSURE_POINT_ID_ADS_BUDGET_AB_DECISION = 4;
260
+ */
261
+ Experiment_ExposurePointId[Experiment_ExposurePointId["ADS_BUDGET_AB_DECISION"] = 4] = "ADS_BUDGET_AB_DECISION";
258
262
  })(Experiment_ExposurePointId || (exports.Experiment_ExposurePointId = Experiment_ExposurePointId = {}));
259
263
  /**
260
264
  * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.Mode
@@ -3344,7 +3344,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
3344
3344
  /**
3345
3345
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_MOBILE_EMOJI_SUGGESTIONS_NUX_COACHMARK = 857;
3346
3346
  */
3347
- MOBILE_EMOJI_SUGGESTIONS_NUX_COACHMARK = 857
3347
+ MOBILE_EMOJI_SUGGESTIONS_NUX_COACHMARK = 857,
3348
+ /**
3349
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_USER_PROFILE_WIDGET_SUGGESTIONS = 858;
3350
+ */
3351
+ USER_PROFILE_WIDGET_SUGGESTIONS = 858
3348
3352
  }
3349
3353
  /**
3350
3354
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
@@ -2103,6 +2103,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
2103
2103
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_MOBILE_EMOJI_SUGGESTIONS_NUX_COACHMARK = 857;
2104
2104
  */
2105
2105
  PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["MOBILE_EMOJI_SUGGESTIONS_NUX_COACHMARK"] = 857] = "MOBILE_EMOJI_SUGGESTIONS_NUX_COACHMARK";
2106
+ /**
2107
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_USER_PROFILE_WIDGET_SUGGESTIONS = 858;
2108
+ */
2109
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["USER_PROFILE_WIDGET_SUGGESTIONS"] = 858] = "USER_PROFILE_WIDGET_SUGGESTIONS";
2106
2110
  })(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
2107
2111
  /**
2108
2112
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
@@ -715,6 +715,10 @@ export interface UserData_AnonymizationInfo {
715
715
  * @generated from protobuf field: optional google.protobuf.UInt64Value anon_user_id = 2
716
716
  */
717
717
  anonUserId?: UInt64Value;
718
+ /**
719
+ * @generated from protobuf field: optional google.protobuf.Timestamp original_user_created_at = 3
720
+ */
721
+ originalUserCreatedAt?: Timestamp;
718
722
  }
719
723
  /**
720
724
  * @generated from protobuf message discord_protos.users.v1.UserData.TypingIndicatorEmoji
@@ -6116,7 +6116,8 @@ class UserData_AnonymizationInfo$Type extends runtime_4.MessageType {
6116
6116
  constructor() {
6117
6117
  super("discord_protos.users.v1.UserData.AnonymizationInfo", [
6118
6118
  { no: 1, name: "status", kind: "enum", T: () => ["discord_protos.users.v1.UserData.AnonymizationStatus", UserData_AnonymizationStatus, "ANONYMIZATION_STATUS_"] },
6119
- { no: 2, name: "anon_user_id", kind: "message", T: () => wrappers_3.UInt64Value }
6119
+ { no: 2, name: "anon_user_id", kind: "message", T: () => wrappers_3.UInt64Value },
6120
+ { no: 3, name: "original_user_created_at", kind: "message", T: () => timestamp_1.Timestamp }
6120
6121
  ]);
6121
6122
  }
6122
6123
  create(value) {
@@ -6137,6 +6138,9 @@ class UserData_AnonymizationInfo$Type extends runtime_4.MessageType {
6137
6138
  case /* optional google.protobuf.UInt64Value anon_user_id */ 2:
6138
6139
  message.anonUserId = wrappers_3.UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.anonUserId);
6139
6140
  break;
6141
+ case /* optional google.protobuf.Timestamp original_user_created_at */ 3:
6142
+ message.originalUserCreatedAt = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.originalUserCreatedAt);
6143
+ break;
6140
6144
  default:
6141
6145
  let u = options.readUnknownField;
6142
6146
  if (u === "throw")
@@ -6155,6 +6159,9 @@ class UserData_AnonymizationInfo$Type extends runtime_4.MessageType {
6155
6159
  /* optional google.protobuf.UInt64Value anon_user_id = 2; */
6156
6160
  if (message.anonUserId)
6157
6161
  wrappers_3.UInt64Value.internalBinaryWrite(message.anonUserId, writer.tag(2, runtime_1.WireType.LengthDelimited).fork(), options).join();
6162
+ /* optional google.protobuf.Timestamp original_user_created_at = 3; */
6163
+ if (message.originalUserCreatedAt)
6164
+ timestamp_1.Timestamp.internalBinaryWrite(message.originalUserCreatedAt, writer.tag(3, runtime_1.WireType.LengthDelimited).fork(), options).join();
6158
6165
  let u = options.writeUnknownFields;
6159
6166
  if (u !== false)
6160
6167
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-protos",
3
- "version": "1.2.379",
3
+ "version": "1.2.381",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",