discord-protos 1.2.218 → 1.2.220

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.
@@ -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 {
@@ -687,6 +687,7 @@ message PremiumMarketingComponentProperties {
687
687
  DISMISSIBLE_CONTENT_PARENTAL_CONSENT_GRACE_WARNING = 762;
688
688
  DISMISSIBLE_CONTENT_APP_WIDGET_V2_PROFILE_UPSELL_SUGGESTED = 763;
689
689
  DISMISSIBLE_CONTENT_GUILD_THEME_NUX_FOLLOWUP = 764;
690
+ DISMISSIBLE_CONTENT_GIFT_CARD_MOBILE_CONSUMPTION_UNAVAILABLE_HALFSHEET = 765;
690
691
  }
691
692
 
692
693
  message MobileBottomSheet {
@@ -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);
@@ -3218,7 +3218,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
3218
3218
  /**
3219
3219
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_GUILD_THEME_NUX_FOLLOWUP = 764;
3220
3220
  */
3221
- GUILD_THEME_NUX_FOLLOWUP = 764
3221
+ GUILD_THEME_NUX_FOLLOWUP = 764,
3222
+ /**
3223
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_GIFT_CARD_MOBILE_CONSUMPTION_UNAVAILABLE_HALFSHEET = 765;
3224
+ */
3225
+ GIFT_CARD_MOBILE_CONSUMPTION_UNAVAILABLE_HALFSHEET = 765
3222
3226
  }
3223
3227
  /**
3224
3228
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
@@ -2288,6 +2288,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
2288
2288
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_GUILD_THEME_NUX_FOLLOWUP = 764;
2289
2289
  */
2290
2290
  PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["GUILD_THEME_NUX_FOLLOWUP"] = 764] = "GUILD_THEME_NUX_FOLLOWUP";
2291
+ /**
2292
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_GIFT_CARD_MOBILE_CONSUMPTION_UNAVAILABLE_HALFSHEET = 765;
2293
+ */
2294
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["GIFT_CARD_MOBILE_CONSUMPTION_UNAVAILABLE_HALFSHEET"] = 765] = "GIFT_CARD_MOBILE_CONSUMPTION_UNAVAILABLE_HALFSHEET";
2291
2295
  })(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
2292
2296
  /**
2293
2297
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ export * from "./discord_protos/users/v1/UserData";
11
11
  export * from "./discord_protos/users/v1/GuildShardingConfig";
12
12
  export * from "./discord_protos/discord_experimentation/v1/Experiment";
13
13
  export * from "./discord_protos/discord_users/v1/FrecencyUserSettings";
14
- export * from "./discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection";
15
- export * from "./discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures";
16
14
  export * from "./discord_protos/common/v1/LocalizedSnowflake";
17
15
  export * from "./discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties";
16
+ export * from "./discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection";
17
+ export * from "./discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures";
package/dist/index.js CHANGED
@@ -58,7 +58,7 @@ __exportStar(require("./discord_protos/users/v1/UserData"), exports);
58
58
  __exportStar(require("./discord_protos/users/v1/GuildShardingConfig"), exports);
59
59
  __exportStar(require("./discord_protos/discord_experimentation/v1/Experiment"), exports);
60
60
  __exportStar(require("./discord_protos/discord_users/v1/FrecencyUserSettings"), exports);
61
- __exportStar(require("./discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection"), exports);
62
- __exportStar(require("./discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures"), exports);
63
61
  __exportStar(require("./discord_protos/common/v1/LocalizedSnowflake"), exports);
64
62
  __exportStar(require("./discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties"), exports);
63
+ __exportStar(require("./discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection"), exports);
64
+ __exportStar(require("./discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-protos",
3
- "version": "1.2.218",
3
+ "version": "1.2.220",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",