discord-protos 1.2.219 → 1.2.221

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.
@@ -234,6 +234,7 @@ message Experiment {
234
234
 
235
235
  message UnitIdInExperiment {
236
236
  option (discord_protos.discord_experimentation.v1.filter_category) = FILTER_CATEGORY_UTILITY;
237
+ option (discord_protos.discord_experimentation.v1.filter_evaluation_mode) = FILTER_EVALUATION_MODE_LAZY;
237
238
  fixed64 experiment_id = 1;
238
239
  repeated int32 variation_ids = 2;
239
240
  }
@@ -104,6 +104,7 @@ message PreloadedUserSettings {
104
104
  optional google.protobuf.Timestamp safety_user_sentiment_notice_dismissed_at = 5;
105
105
  fixed64 last_received_changelog_id = 6;
106
106
  map<int32, RecurringDismissibleContentState> recurring_dismissible_content_states = 7;
107
+ fixed64 last_gift_intent_dismissed_at_ms = 8;
107
108
  }
108
109
 
109
110
  message VideoFilterBackgroundBlur {
@@ -2465,7 +2465,7 @@ class Experiment_UnitIdInExperiment$Type extends runtime_4.MessageType {
2465
2465
  super("discord_protos.discord_experimentation.v1.Experiment.UnitIdInExperiment", [
2466
2466
  { no: 1, name: "experiment_id", kind: "scalar", T: 6 /*ScalarType.FIXED64*/, L: 0 /*LongType.BIGINT*/ },
2467
2467
  { no: 2, name: "variation_ids", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 5 /*ScalarType.INT32*/ }
2468
- ], { "discord_protos.discord_experimentation.v1.filter_category": "FILTER_CATEGORY_UTILITY" });
2468
+ ], { "discord_protos.discord_experimentation.v1.filter_category": "FILTER_CATEGORY_UTILITY", "discord_protos.discord_experimentation.v1.filter_evaluation_mode": "FILTER_EVALUATION_MODE_LAZY" });
2469
2469
  }
2470
2470
  create(value) {
2471
2471
  const message = globalThis.Object.create((this.messagePrototype));
@@ -372,6 +372,10 @@ export interface PreloadedUserSettings_UserContentSettings {
372
372
  recurringDismissibleContentStates: {
373
373
  [key: number]: PreloadedUserSettings_RecurringDismissibleContentState;
374
374
  };
375
+ /**
376
+ * @generated from protobuf field: fixed64 last_gift_intent_dismissed_at_ms = 8
377
+ */
378
+ lastGiftIntentDismissedAtMs: bigint;
375
379
  }
376
380
  /**
377
381
  * @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.VideoFilterBackgroundBlur
@@ -1492,7 +1492,8 @@ class PreloadedUserSettings_UserContentSettings$Type extends runtime_4.MessageTy
1492
1492
  { no: 4, name: "guild_onboarding_upsell_dismissed_at", kind: "message", T: () => timestamp_1.Timestamp },
1493
1493
  { no: 5, name: "safety_user_sentiment_notice_dismissed_at", kind: "message", T: () => timestamp_1.Timestamp },
1494
1494
  { no: 6, name: "last_received_changelog_id", kind: "scalar", T: 6 /*ScalarType.FIXED64*/, L: 0 /*LongType.BIGINT*/ },
1495
- { no: 7, name: "recurring_dismissible_content_states", kind: "map", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => exports.PreloadedUserSettings_RecurringDismissibleContentState } }
1495
+ { no: 7, name: "recurring_dismissible_content_states", kind: "map", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => exports.PreloadedUserSettings_RecurringDismissibleContentState } },
1496
+ { no: 8, name: "last_gift_intent_dismissed_at_ms", kind: "scalar", T: 6 /*ScalarType.FIXED64*/, L: 0 /*LongType.BIGINT*/ }
1496
1497
  ]);
1497
1498
  }
1498
1499
  create(value) {
@@ -1500,6 +1501,7 @@ class PreloadedUserSettings_UserContentSettings$Type extends runtime_4.MessageTy
1500
1501
  message.dismissedContents = new Uint8Array(0);
1501
1502
  message.lastReceivedChangelogId = 0n;
1502
1503
  message.recurringDismissibleContentStates = {};
1504
+ message.lastGiftIntentDismissedAtMs = 0n;
1503
1505
  if (value !== undefined)
1504
1506
  (0, runtime_3.reflectionMergePartial)(this, message, value);
1505
1507
  return message;
@@ -1530,6 +1532,9 @@ class PreloadedUserSettings_UserContentSettings$Type extends runtime_4.MessageTy
1530
1532
  case /* map<int32, discord_protos.discord_users.v1.PreloadedUserSettings.RecurringDismissibleContentState> recurring_dismissible_content_states */ 7:
1531
1533
  this.binaryReadMap7(message.recurringDismissibleContentStates, reader, options);
1532
1534
  break;
1535
+ case /* fixed64 last_gift_intent_dismissed_at_ms */ 8:
1536
+ message.lastGiftIntentDismissedAtMs = reader.fixed64().toBigInt();
1537
+ break;
1533
1538
  default:
1534
1539
  let u = options.readUnknownField;
1535
1540
  if (u === "throw")
@@ -1583,6 +1588,9 @@ class PreloadedUserSettings_UserContentSettings$Type extends runtime_4.MessageTy
1583
1588
  exports.PreloadedUserSettings_RecurringDismissibleContentState.internalBinaryWrite(message.recurringDismissibleContentStates[k], writer, options);
1584
1589
  writer.join().join();
1585
1590
  }
1591
+ /* fixed64 last_gift_intent_dismissed_at_ms = 8; */
1592
+ if (message.lastGiftIntentDismissedAtMs !== 0n)
1593
+ writer.tag(8, runtime_1.WireType.Bit64).fixed64(message.lastGiftIntentDismissedAtMs);
1586
1594
  let u = options.writeUnknownFields;
1587
1595
  if (u !== false)
1588
1596
  (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.219",
3
+ "version": "1.2.221",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",