discord-protos 1.2.289 → 1.2.291
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.
- package/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto +2 -0
- package/discord_protos/users/v1/UserData.proto +1 -0
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +9 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +12 -1
- package/dist/discord_protos/users/v1/UserData.d.ts +4 -0
- package/dist/discord_protos/users/v1/UserData.js +8 -1
- package/package.json +1 -1
|
@@ -727,6 +727,7 @@ message PremiumMarketingComponentProperties {
|
|
|
727
727
|
DISMISSIBLE_CONTENT_SOUNDBOARD_DESKTOP_NUX = 805;
|
|
728
728
|
DISMISSIBLE_CONTENT_BADGE_CUSTOMIZATION_COACHMARK = 806;
|
|
729
729
|
DISMISSIBLE_CONTENT_FAVORITES_GUILD_SUGGESTIONS = 807;
|
|
730
|
+
DISMISSIBLE_CONTENT_USER_PROFILE_PERSONAL_WIDGET_COACHMARK = 808;
|
|
730
731
|
}
|
|
731
732
|
|
|
732
733
|
message MobileBottomSheet {
|
|
@@ -903,6 +904,7 @@ message PremiumMarketingComponentProperties {
|
|
|
903
904
|
bool checkbox_field = 5;
|
|
904
905
|
string asset_field = 6;
|
|
905
906
|
optional ThemeAwareAsset themed_asset_field = 7;
|
|
907
|
+
optional HelpArticle help_article_field = 8;
|
|
906
908
|
}
|
|
907
909
|
|
|
908
910
|
string content_identifier = 3;
|
|
@@ -1035,6 +1035,10 @@ export interface PremiumMarketingComponentProperties_AdminEditorTestComponent {
|
|
|
1035
1035
|
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset themed_asset_field = 7
|
|
1036
1036
|
*/
|
|
1037
1037
|
themedAssetField?: PremiumMarketingComponentProperties_ThemeAwareAsset;
|
|
1038
|
+
/**
|
|
1039
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article_field = 8
|
|
1040
|
+
*/
|
|
1041
|
+
helpArticleField?: PremiumMarketingComponentProperties_HelpArticle;
|
|
1038
1042
|
}
|
|
1039
1043
|
/**
|
|
1040
1044
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction
|
|
@@ -3509,7 +3513,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
3509
3513
|
/**
|
|
3510
3514
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_FAVORITES_GUILD_SUGGESTIONS = 807;
|
|
3511
3515
|
*/
|
|
3512
|
-
FAVORITES_GUILD_SUGGESTIONS = 807
|
|
3516
|
+
FAVORITES_GUILD_SUGGESTIONS = 807,
|
|
3517
|
+
/**
|
|
3518
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_USER_PROFILE_PERSONAL_WIDGET_COACHMARK = 808;
|
|
3519
|
+
*/
|
|
3520
|
+
USER_PROFILE_PERSONAL_WIDGET_COACHMARK = 808
|
|
3513
3521
|
}
|
|
3514
3522
|
/**
|
|
3515
3523
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -2483,6 +2483,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
|
|
|
2483
2483
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_FAVORITES_GUILD_SUGGESTIONS = 807;
|
|
2484
2484
|
*/
|
|
2485
2485
|
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["FAVORITES_GUILD_SUGGESTIONS"] = 807] = "FAVORITES_GUILD_SUGGESTIONS";
|
|
2486
|
+
/**
|
|
2487
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_USER_PROFILE_PERSONAL_WIDGET_COACHMARK = 808;
|
|
2488
|
+
*/
|
|
2489
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["USER_PROFILE_PERSONAL_WIDGET_COACHMARK"] = 808] = "USER_PROFILE_PERSONAL_WIDGET_COACHMARK";
|
|
2486
2490
|
})(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
|
|
2487
2491
|
/**
|
|
2488
2492
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -5236,7 +5240,8 @@ class PremiumMarketingComponentProperties_AdminEditorTestComponent$Type extends
|
|
|
5236
5240
|
{ no: 4, name: "textarea_field", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
5237
5241
|
{ no: 5, name: "checkbox_field", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
5238
5242
|
{ no: 6, name: "asset_field", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5239
|
-
{ no: 7, name: "themed_asset_field", kind: "message", T: () => exports.PremiumMarketingComponentProperties_ThemeAwareAsset }
|
|
5243
|
+
{ no: 7, name: "themed_asset_field", kind: "message", T: () => exports.PremiumMarketingComponentProperties_ThemeAwareAsset },
|
|
5244
|
+
{ no: 8, name: "help_article_field", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle }
|
|
5240
5245
|
]);
|
|
5241
5246
|
}
|
|
5242
5247
|
create(value) {
|
|
@@ -5275,6 +5280,9 @@ class PremiumMarketingComponentProperties_AdminEditorTestComponent$Type extends
|
|
|
5275
5280
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset themed_asset_field */ 7:
|
|
5276
5281
|
message.themedAssetField = exports.PremiumMarketingComponentProperties_ThemeAwareAsset.internalBinaryRead(reader, reader.uint32(), options, message.themedAssetField);
|
|
5277
5282
|
break;
|
|
5283
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article_field */ 8:
|
|
5284
|
+
message.helpArticleField = exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryRead(reader, reader.uint32(), options, message.helpArticleField);
|
|
5285
|
+
break;
|
|
5278
5286
|
default:
|
|
5279
5287
|
let u = options.readUnknownField;
|
|
5280
5288
|
if (u === "throw")
|
|
@@ -5308,6 +5316,9 @@ class PremiumMarketingComponentProperties_AdminEditorTestComponent$Type extends
|
|
|
5308
5316
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset themed_asset_field = 7; */
|
|
5309
5317
|
if (message.themedAssetField)
|
|
5310
5318
|
exports.PremiumMarketingComponentProperties_ThemeAwareAsset.internalBinaryWrite(message.themedAssetField, writer.tag(7, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5319
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article_field = 8; */
|
|
5320
|
+
if (message.helpArticleField)
|
|
5321
|
+
exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryWrite(message.helpArticleField, writer.tag(8, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5311
5322
|
let u = options.writeUnknownFields;
|
|
5312
5323
|
if (u !== false)
|
|
5313
5324
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -474,6 +474,10 @@ export interface UserData_AgeAssuranceData {
|
|
|
474
474
|
* @generated from protobuf field: bool is_regional_adult = 7
|
|
475
475
|
*/
|
|
476
476
|
isRegionalAdult: boolean;
|
|
477
|
+
/**
|
|
478
|
+
* @generated from protobuf field: optional google.protobuf.Timestamp cooldown_reset_at = 8
|
|
479
|
+
*/
|
|
480
|
+
cooldownResetAt?: Timestamp;
|
|
477
481
|
}
|
|
478
482
|
/**
|
|
479
483
|
* @generated from protobuf message discord_protos.users.v1.UserData.PerkConfigIncreasedFileUploadSize
|
|
@@ -4323,7 +4323,8 @@ class UserData_AgeAssuranceData$Type extends runtime_4.MessageType {
|
|
|
4323
4323
|
{ no: 4, name: "vendor", kind: "enum", T: () => ["discord_protos.users.v1.UserData.AgeAssuranceVendor", UserData_AgeAssuranceVendor, "AGE_ASSURANCE_VENDOR_"] },
|
|
4324
4324
|
{ no: 5, name: "verified_at", kind: "message", T: () => timestamp_1.Timestamp },
|
|
4325
4325
|
{ no: 6, name: "estimated_age_group", kind: "enum", T: () => ["discord_protos.users.v1.UserData.AgeAssuranceGroup", UserData_AgeAssuranceGroup] },
|
|
4326
|
-
{ no: 7, name: "is_regional_adult", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
4326
|
+
{ no: 7, name: "is_regional_adult", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4327
|
+
{ no: 8, name: "cooldown_reset_at", kind: "message", T: () => timestamp_1.Timestamp }
|
|
4327
4328
|
]);
|
|
4328
4329
|
}
|
|
4329
4330
|
create(value) {
|
|
@@ -4363,6 +4364,9 @@ class UserData_AgeAssuranceData$Type extends runtime_4.MessageType {
|
|
|
4363
4364
|
case /* bool is_regional_adult */ 7:
|
|
4364
4365
|
message.isRegionalAdult = reader.bool();
|
|
4365
4366
|
break;
|
|
4367
|
+
case /* optional google.protobuf.Timestamp cooldown_reset_at */ 8:
|
|
4368
|
+
message.cooldownResetAt = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.cooldownResetAt);
|
|
4369
|
+
break;
|
|
4366
4370
|
default:
|
|
4367
4371
|
let u = options.readUnknownField;
|
|
4368
4372
|
if (u === "throw")
|
|
@@ -4396,6 +4400,9 @@ class UserData_AgeAssuranceData$Type extends runtime_4.MessageType {
|
|
|
4396
4400
|
/* bool is_regional_adult = 7; */
|
|
4397
4401
|
if (message.isRegionalAdult !== false)
|
|
4398
4402
|
writer.tag(7, runtime_1.WireType.Varint).bool(message.isRegionalAdult);
|
|
4403
|
+
/* optional google.protobuf.Timestamp cooldown_reset_at = 8; */
|
|
4404
|
+
if (message.cooldownResetAt)
|
|
4405
|
+
timestamp_1.Timestamp.internalBinaryWrite(message.cooldownResetAt, writer.tag(8, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
4399
4406
|
let u = options.writeUnknownFields;
|
|
4400
4407
|
if (u !== false)
|
|
4401
4408
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|