discord-protos 1.2.308 → 1.2.310

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.
@@ -822,6 +822,7 @@ message UserData {
822
822
  AGE_ASSURANCE_METHOD_GOOGLE_WALLET = 9;
823
823
  AGE_ASSURANCE_METHOD_NEW_METHOD = 10;
824
824
  AGE_ASSURANCE_METHOD_MANUAL_REVIEW = 11;
825
+ AGE_ASSURANCE_METHOD_OS_SIGNAL_CONFIRMED = 12;
825
826
  }
826
827
 
827
828
  enum AgeAssuranceVendor {
@@ -981,4 +982,5 @@ message UserData {
981
982
  bool is_pending_required_action = 17;
982
983
  optional AnonymizationInfo anonymization_info = 18;
983
984
  optional UserTypingIndicatorStyle typing_indicator_style = 19;
985
+ bool disable_staff_discount = 20;
984
986
  }
@@ -94,6 +94,10 @@ export interface UserData {
94
94
  * @generated from protobuf field: optional discord_protos.users.v1.UserData.UserTypingIndicatorStyle typing_indicator_style = 19
95
95
  */
96
96
  typingIndicatorStyle?: UserData_UserTypingIndicatorStyle;
97
+ /**
98
+ * @generated from protobuf field: bool disable_staff_discount = 20
99
+ */
100
+ disableStaffDiscount: boolean;
97
101
  }
98
102
  /**
99
103
  * @generated from protobuf message discord_protos.users.v1.UserData.LinkedUser
@@ -3385,7 +3389,11 @@ export declare enum UserData_AgeAssuranceMethod {
3385
3389
  /**
3386
3390
  * @generated from protobuf enum value: AGE_ASSURANCE_METHOD_MANUAL_REVIEW = 11;
3387
3391
  */
3388
- MANUAL_REVIEW = 11
3392
+ MANUAL_REVIEW = 11,
3393
+ /**
3394
+ * @generated from protobuf enum value: AGE_ASSURANCE_METHOD_OS_SIGNAL_CONFIRMED = 12;
3395
+ */
3396
+ OS_SIGNAL_CONFIRMED = 12
3389
3397
  }
3390
3398
  /**
3391
3399
  * @generated from protobuf enum discord_protos.users.v1.UserData.AgeAssuranceVendor
@@ -2717,6 +2717,10 @@ var UserData_AgeAssuranceMethod;
2717
2717
  * @generated from protobuf enum value: AGE_ASSURANCE_METHOD_MANUAL_REVIEW = 11;
2718
2718
  */
2719
2719
  UserData_AgeAssuranceMethod[UserData_AgeAssuranceMethod["MANUAL_REVIEW"] = 11] = "MANUAL_REVIEW";
2720
+ /**
2721
+ * @generated from protobuf enum value: AGE_ASSURANCE_METHOD_OS_SIGNAL_CONFIRMED = 12;
2722
+ */
2723
+ UserData_AgeAssuranceMethod[UserData_AgeAssuranceMethod["OS_SIGNAL_CONFIRMED"] = 12] = "OS_SIGNAL_CONFIRMED";
2720
2724
  })(UserData_AgeAssuranceMethod || (exports.UserData_AgeAssuranceMethod = UserData_AgeAssuranceMethod = {}));
2721
2725
  /**
2722
2726
  * @generated from protobuf enum discord_protos.users.v1.UserData.AgeAssuranceVendor
@@ -2928,7 +2932,8 @@ class UserData$Type extends runtime_4.MessageType {
2928
2932
  { no: 16, name: "country_data", kind: "message", T: () => exports.UserData_UserCountryData },
2929
2933
  { no: 17, name: "is_pending_required_action", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
2930
2934
  { no: 18, name: "anonymization_info", kind: "message", T: () => exports.UserData_AnonymizationInfo },
2931
- { no: 19, name: "typing_indicator_style", kind: "message", T: () => exports.UserData_UserTypingIndicatorStyle }
2935
+ { no: 19, name: "typing_indicator_style", kind: "message", T: () => exports.UserData_UserTypingIndicatorStyle },
2936
+ { no: 20, name: "disable_staff_discount", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
2932
2937
  ]);
2933
2938
  }
2934
2939
  create(value) {
@@ -2937,6 +2942,7 @@ class UserData$Type extends runtime_4.MessageType {
2937
2942
  message.safetyFeatureLimits = {};
2938
2943
  message.safetyFlags = {};
2939
2944
  message.isPendingRequiredAction = false;
2945
+ message.disableStaffDiscount = false;
2940
2946
  if (value !== undefined)
2941
2947
  (0, runtime_3.reflectionMergePartial)(this, message, value);
2942
2948
  return message;
@@ -3003,6 +3009,9 @@ class UserData$Type extends runtime_4.MessageType {
3003
3009
  case /* optional discord_protos.users.v1.UserData.UserTypingIndicatorStyle typing_indicator_style */ 19:
3004
3010
  message.typingIndicatorStyle = exports.UserData_UserTypingIndicatorStyle.internalBinaryRead(reader, reader.uint32(), options, message.typingIndicatorStyle);
3005
3011
  break;
3012
+ case /* bool disable_staff_discount */ 20:
3013
+ message.disableStaffDiscount = reader.bool();
3014
+ break;
3006
3015
  default:
3007
3016
  let u = options.readUnknownField;
3008
3017
  if (u === "throw")
@@ -3132,6 +3141,9 @@ class UserData$Type extends runtime_4.MessageType {
3132
3141
  /* optional discord_protos.users.v1.UserData.UserTypingIndicatorStyle typing_indicator_style = 19; */
3133
3142
  if (message.typingIndicatorStyle)
3134
3143
  exports.UserData_UserTypingIndicatorStyle.internalBinaryWrite(message.typingIndicatorStyle, writer.tag(19, runtime_1.WireType.LengthDelimited).fork(), options).join();
3144
+ /* bool disable_staff_discount = 20; */
3145
+ if (message.disableStaffDiscount !== false)
3146
+ writer.tag(20, runtime_1.WireType.Varint).bool(message.disableStaffDiscount);
3135
3147
  let u = options.writeUnknownFields;
3136
3148
  if (u !== false)
3137
3149
  (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.308",
3
+ "version": "1.2.310",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",