discord-protos 1.2.177 → 1.2.179

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.
@@ -508,7 +508,6 @@ message PremiumMarketingComponentProperties {
508
508
  DISMISSIBLE_CONTENT_SEPTEMBER_MARKETING_MOMENT_ANNOUNCEMENT_MODAL = 599;
509
509
  DISMISSIBLE_CONTENT_DO_NOT_DISTURB_REMINDER_POPOVER = 600;
510
510
  DISMISSIBLE_CONTENT_ACCOUNT_LINK_INVITE_FRIENDS = 601;
511
- DISMISSIBLE_CONTENT_POST_ACCOUNT_CONNECTION_RTC_POPOVER = 602;
512
511
  DISMISSIBLE_CONTENT_HALLOWEEN_APP_ICONS_APPEARANCE_SETTINGS_WEB_BADGE = 603;
513
512
  DISMISSIBLE_CONTENT_HALLOWEEN_APP_ICONS_APPEARANCE_SETTINGS_MOBILE_BADGE = 604;
514
513
  DISMISSIBLE_CONTENT_HALLOWEEN_APP_ICONS_TRICK_ICON_WEB_BADGE = 605;
@@ -646,6 +645,7 @@ message PremiumMarketingComponentProperties {
646
645
  DISMISSIBLE_CONTENT_NEW_GIFTING_BADGES_COACHMARK = 743;
647
646
  DISMISSIBLE_CONTENT_PREMIUM_GROUP_GIFT_SELECTION_UPSELL = 744;
648
647
  DISMISSIBLE_CONTENT_COLLECTIBLES_PROFILE_FRAMES_ANNOUNCEMENT = 745;
648
+ DISMISSIBLE_CONTENT_NOTIFICATION_NUDGE_NOTIFICATION_CENTER_BANNER = 746;
649
649
  }
650
650
 
651
651
  message MobileBottomSheet {
@@ -549,10 +549,12 @@ message User {
549
549
  message TempBannedState {
550
550
  optional google.protobuf.Timestamp banned_until = 1;
551
551
  repeated ClassificationType classification_types = 2;
552
+ optional google.protobuf.Timestamp banned_at = 3;
552
553
  }
553
554
 
554
555
  message BannedState {
555
556
  repeated ClassificationType classification_types = 1;
557
+ optional google.protobuf.Timestamp banned_at = 2;
556
558
  }
557
559
 
558
560
  enum SafetyStateReason {
@@ -587,10 +587,12 @@ message UserData {
587
587
  message TempBannedState {
588
588
  optional google.protobuf.Timestamp banned_until = 1;
589
589
  repeated ClassificationType classification_types = 2;
590
+ optional google.protobuf.Timestamp banned_at = 3;
590
591
  }
591
592
 
592
593
  message BannedState {
593
594
  repeated ClassificationType classification_types = 1;
595
+ optional google.protobuf.Timestamp banned_at = 2;
594
596
  }
595
597
 
596
598
  enum SafetyStateReason {
@@ -2404,10 +2404,6 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
2404
2404
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_ACCOUNT_LINK_INVITE_FRIENDS = 601;
2405
2405
  */
2406
2406
  ACCOUNT_LINK_INVITE_FRIENDS = 601,
2407
- /**
2408
- * @generated from protobuf enum value: DISMISSIBLE_CONTENT_POST_ACCOUNT_CONNECTION_RTC_POPOVER = 602;
2409
- */
2410
- POST_ACCOUNT_CONNECTION_RTC_POPOVER = 602,
2411
2407
  /**
2412
2408
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_HALLOWEEN_APP_ICONS_APPEARANCE_SETTINGS_WEB_BADGE = 603;
2413
2409
  */
@@ -2955,7 +2951,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
2955
2951
  /**
2956
2952
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_COLLECTIBLES_PROFILE_FRAMES_ANNOUNCEMENT = 745;
2957
2953
  */
2958
- COLLECTIBLES_PROFILE_FRAMES_ANNOUNCEMENT = 745
2954
+ COLLECTIBLES_PROFILE_FRAMES_ANNOUNCEMENT = 745,
2955
+ /**
2956
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_NOTIFICATION_NUDGE_NOTIFICATION_CENTER_BANNER = 746;
2957
+ */
2958
+ NOTIFICATION_NUDGE_NOTIFICATION_CENTER_BANNER = 746
2959
2959
  }
2960
2960
  declare class PremiumMarketingComponentProperties$Type extends MessageType<PremiumMarketingComponentProperties> {
2961
2961
  constructor();
@@ -1664,10 +1664,6 @@ var PremiumMarketingComponentProperties_DismissibleContent;
1664
1664
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_ACCOUNT_LINK_INVITE_FRIENDS = 601;
1665
1665
  */
1666
1666
  PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["ACCOUNT_LINK_INVITE_FRIENDS"] = 601] = "ACCOUNT_LINK_INVITE_FRIENDS";
1667
- /**
1668
- * @generated from protobuf enum value: DISMISSIBLE_CONTENT_POST_ACCOUNT_CONNECTION_RTC_POPOVER = 602;
1669
- */
1670
- PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["POST_ACCOUNT_CONNECTION_RTC_POPOVER"] = 602] = "POST_ACCOUNT_CONNECTION_RTC_POPOVER";
1671
1667
  /**
1672
1668
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_HALLOWEEN_APP_ICONS_APPEARANCE_SETTINGS_WEB_BADGE = 603;
1673
1669
  */
@@ -2216,6 +2212,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
2216
2212
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_COLLECTIBLES_PROFILE_FRAMES_ANNOUNCEMENT = 745;
2217
2213
  */
2218
2214
  PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["COLLECTIBLES_PROFILE_FRAMES_ANNOUNCEMENT"] = 745] = "COLLECTIBLES_PROFILE_FRAMES_ANNOUNCEMENT";
2215
+ /**
2216
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_NOTIFICATION_NUDGE_NOTIFICATION_CENTER_BANNER = 746;
2217
+ */
2218
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["NOTIFICATION_NUDGE_NOTIFICATION_CENTER_BANNER"] = 746] = "NOTIFICATION_NUDGE_NOTIFICATION_CENTER_BANNER";
2219
2219
  })(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
2220
2220
  // @generated message type with reflection information, may provide speed optimized methods
2221
2221
  class PremiumMarketingComponentProperties$Type extends runtime_4.MessageType {
@@ -169,6 +169,10 @@ export interface User_TempBannedState {
169
169
  * @generated from protobuf field: repeated discord_protos.users.v1.User.ClassificationType classification_types = 2
170
170
  */
171
171
  classificationTypes: User_ClassificationType[];
172
+ /**
173
+ * @generated from protobuf field: optional google.protobuf.Timestamp banned_at = 3
174
+ */
175
+ bannedAt?: Timestamp;
172
176
  }
173
177
  /**
174
178
  * @generated from protobuf message discord_protos.users.v1.User.BannedState
@@ -178,6 +182,10 @@ export interface User_BannedState {
178
182
  * @generated from protobuf field: repeated discord_protos.users.v1.User.ClassificationType classification_types = 1
179
183
  */
180
184
  classificationTypes: User_ClassificationType[];
185
+ /**
186
+ * @generated from protobuf field: optional google.protobuf.Timestamp banned_at = 2
187
+ */
188
+ bannedAt?: Timestamp;
181
189
  }
182
190
  /**
183
191
  * @generated from protobuf message discord_protos.users.v1.User.SafetyState
@@ -2726,7 +2726,8 @@ class User_TempBannedState$Type extends runtime_4.MessageType {
2726
2726
  constructor() {
2727
2727
  super("discord_protos.users.v1.User.TempBannedState", [
2728
2728
  { no: 1, name: "banned_until", kind: "message", T: () => timestamp_1.Timestamp },
2729
- { no: 2, name: "classification_types", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["discord_protos.users.v1.User.ClassificationType", User_ClassificationType, "CLASSIFICATION_TYPE_"] }
2729
+ { no: 2, name: "classification_types", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["discord_protos.users.v1.User.ClassificationType", User_ClassificationType, "CLASSIFICATION_TYPE_"] },
2730
+ { no: 3, name: "banned_at", kind: "message", T: () => timestamp_1.Timestamp }
2730
2731
  ]);
2731
2732
  }
2732
2733
  create(value) {
@@ -2751,6 +2752,9 @@ class User_TempBannedState$Type extends runtime_4.MessageType {
2751
2752
  else
2752
2753
  message.classificationTypes.push(reader.int32());
2753
2754
  break;
2755
+ case /* optional google.protobuf.Timestamp banned_at */ 3:
2756
+ message.bannedAt = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.bannedAt);
2757
+ break;
2754
2758
  default:
2755
2759
  let u = options.readUnknownField;
2756
2760
  if (u === "throw")
@@ -2773,6 +2777,9 @@ class User_TempBannedState$Type extends runtime_4.MessageType {
2773
2777
  writer.int32(message.classificationTypes[i]);
2774
2778
  writer.join();
2775
2779
  }
2780
+ /* optional google.protobuf.Timestamp banned_at = 3; */
2781
+ if (message.bannedAt)
2782
+ timestamp_1.Timestamp.internalBinaryWrite(message.bannedAt, writer.tag(3, runtime_1.WireType.LengthDelimited).fork(), options).join();
2776
2783
  let u = options.writeUnknownFields;
2777
2784
  if (u !== false)
2778
2785
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2787,7 +2794,8 @@ exports.User_TempBannedState = new User_TempBannedState$Type();
2787
2794
  class User_BannedState$Type extends runtime_4.MessageType {
2788
2795
  constructor() {
2789
2796
  super("discord_protos.users.v1.User.BannedState", [
2790
- { no: 1, name: "classification_types", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["discord_protos.users.v1.User.ClassificationType", User_ClassificationType, "CLASSIFICATION_TYPE_"] }
2797
+ { no: 1, name: "classification_types", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["discord_protos.users.v1.User.ClassificationType", User_ClassificationType, "CLASSIFICATION_TYPE_"] },
2798
+ { no: 2, name: "banned_at", kind: "message", T: () => timestamp_1.Timestamp }
2791
2799
  ]);
2792
2800
  }
2793
2801
  create(value) {
@@ -2809,6 +2817,9 @@ class User_BannedState$Type extends runtime_4.MessageType {
2809
2817
  else
2810
2818
  message.classificationTypes.push(reader.int32());
2811
2819
  break;
2820
+ case /* optional google.protobuf.Timestamp banned_at */ 2:
2821
+ message.bannedAt = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.bannedAt);
2822
+ break;
2812
2823
  default:
2813
2824
  let u = options.readUnknownField;
2814
2825
  if (u === "throw")
@@ -2828,6 +2839,9 @@ class User_BannedState$Type extends runtime_4.MessageType {
2828
2839
  writer.int32(message.classificationTypes[i]);
2829
2840
  writer.join();
2830
2841
  }
2842
+ /* optional google.protobuf.Timestamp banned_at = 2; */
2843
+ if (message.bannedAt)
2844
+ timestamp_1.Timestamp.internalBinaryWrite(message.bannedAt, writer.tag(2, runtime_1.WireType.LengthDelimited).fork(), options).join();
2831
2845
  let u = options.writeUnknownFields;
2832
2846
  if (u !== false)
2833
2847
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -253,6 +253,10 @@ export interface UserData_TempBannedState {
253
253
  * @generated from protobuf field: repeated discord_protos.users.v1.UserData.ClassificationType classification_types = 2
254
254
  */
255
255
  classificationTypes: UserData_ClassificationType[];
256
+ /**
257
+ * @generated from protobuf field: optional google.protobuf.Timestamp banned_at = 3
258
+ */
259
+ bannedAt?: Timestamp;
256
260
  }
257
261
  /**
258
262
  * @generated from protobuf message discord_protos.users.v1.UserData.BannedState
@@ -262,6 +266,10 @@ export interface UserData_BannedState {
262
266
  * @generated from protobuf field: repeated discord_protos.users.v1.UserData.ClassificationType classification_types = 1
263
267
  */
264
268
  classificationTypes: UserData_ClassificationType[];
269
+ /**
270
+ * @generated from protobuf field: optional google.protobuf.Timestamp banned_at = 2
271
+ */
272
+ bannedAt?: Timestamp;
265
273
  }
266
274
  /**
267
275
  * @generated from protobuf message discord_protos.users.v1.UserData.SafetyState
@@ -3341,7 +3341,8 @@ class UserData_TempBannedState$Type extends runtime_4.MessageType {
3341
3341
  constructor() {
3342
3342
  super("discord_protos.users.v1.UserData.TempBannedState", [
3343
3343
  { no: 1, name: "banned_until", kind: "message", T: () => timestamp_1.Timestamp },
3344
- { no: 2, name: "classification_types", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["discord_protos.users.v1.UserData.ClassificationType", UserData_ClassificationType, "CLASSIFICATION_TYPE_"] }
3344
+ { no: 2, name: "classification_types", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["discord_protos.users.v1.UserData.ClassificationType", UserData_ClassificationType, "CLASSIFICATION_TYPE_"] },
3345
+ { no: 3, name: "banned_at", kind: "message", T: () => timestamp_1.Timestamp }
3345
3346
  ]);
3346
3347
  }
3347
3348
  create(value) {
@@ -3366,6 +3367,9 @@ class UserData_TempBannedState$Type extends runtime_4.MessageType {
3366
3367
  else
3367
3368
  message.classificationTypes.push(reader.int32());
3368
3369
  break;
3370
+ case /* optional google.protobuf.Timestamp banned_at */ 3:
3371
+ message.bannedAt = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.bannedAt);
3372
+ break;
3369
3373
  default:
3370
3374
  let u = options.readUnknownField;
3371
3375
  if (u === "throw")
@@ -3388,6 +3392,9 @@ class UserData_TempBannedState$Type extends runtime_4.MessageType {
3388
3392
  writer.int32(message.classificationTypes[i]);
3389
3393
  writer.join();
3390
3394
  }
3395
+ /* optional google.protobuf.Timestamp banned_at = 3; */
3396
+ if (message.bannedAt)
3397
+ timestamp_1.Timestamp.internalBinaryWrite(message.bannedAt, writer.tag(3, runtime_1.WireType.LengthDelimited).fork(), options).join();
3391
3398
  let u = options.writeUnknownFields;
3392
3399
  if (u !== false)
3393
3400
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3402,7 +3409,8 @@ exports.UserData_TempBannedState = new UserData_TempBannedState$Type();
3402
3409
  class UserData_BannedState$Type extends runtime_4.MessageType {
3403
3410
  constructor() {
3404
3411
  super("discord_protos.users.v1.UserData.BannedState", [
3405
- { no: 1, name: "classification_types", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["discord_protos.users.v1.UserData.ClassificationType", UserData_ClassificationType, "CLASSIFICATION_TYPE_"] }
3412
+ { no: 1, name: "classification_types", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["discord_protos.users.v1.UserData.ClassificationType", UserData_ClassificationType, "CLASSIFICATION_TYPE_"] },
3413
+ { no: 2, name: "banned_at", kind: "message", T: () => timestamp_1.Timestamp }
3406
3414
  ]);
3407
3415
  }
3408
3416
  create(value) {
@@ -3424,6 +3432,9 @@ class UserData_BannedState$Type extends runtime_4.MessageType {
3424
3432
  else
3425
3433
  message.classificationTypes.push(reader.int32());
3426
3434
  break;
3435
+ case /* optional google.protobuf.Timestamp banned_at */ 2:
3436
+ message.bannedAt = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.bannedAt);
3437
+ break;
3427
3438
  default:
3428
3439
  let u = options.readUnknownField;
3429
3440
  if (u === "throw")
@@ -3443,6 +3454,9 @@ class UserData_BannedState$Type extends runtime_4.MessageType {
3443
3454
  writer.int32(message.classificationTypes[i]);
3444
3455
  writer.join();
3445
3456
  }
3457
+ /* optional google.protobuf.Timestamp banned_at = 2; */
3458
+ if (message.bannedAt)
3459
+ timestamp_1.Timestamp.internalBinaryWrite(message.bannedAt, writer.tag(2, runtime_1.WireType.LengthDelimited).fork(), options).join();
3446
3460
  let u = options.writeUnknownFields;
3447
3461
  if (u !== false)
3448
3462
  (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.177",
3
+ "version": "1.2.179",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",