discord-protos 1.2.393 → 1.2.395
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/discord_experimentation/v1/Experiment.proto +1 -0
- package/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto +4 -0
- package/dist/discord_protos/discord_experimentation/v1/Experiment.d.ts +4 -0
- package/dist/discord_protos/discord_experimentation/v1/Experiment.js +9 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +17 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +21 -1
- package/package.json +1 -1
|
@@ -643,6 +643,9 @@ message PremiumMarketingComponentProperties {
|
|
|
643
643
|
DISMISSIBLE_CONTENT_DISCORD_ANNIVERSARY_CHAT_COACHMARK = 866;
|
|
644
644
|
DISMISSIBLE_CONTENT_DEFAULT_EMOJIS_PACKS_DISCOVERY_DOT = 867;
|
|
645
645
|
DISMISSIBLE_CONTENT_MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK = 868;
|
|
646
|
+
DISMISSIBLE_CONTENT_COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK = 869;
|
|
647
|
+
DISMISSIBLE_CONTENT_SOUNDBOARD_NEW_SOUNDS_BADGE = 870;
|
|
648
|
+
DISMISSIBLE_CONTENT_NITRO_BADGE_UNHIDDEN_NOTICE = 871;
|
|
646
649
|
}
|
|
647
650
|
|
|
648
651
|
message MobileBottomSheet {
|
|
@@ -922,6 +925,7 @@ message PremiumMarketingComponentProperties {
|
|
|
922
925
|
string body = 12;
|
|
923
926
|
string button_label = 13;
|
|
924
927
|
string badge_text = 14;
|
|
928
|
+
uint32 version = 15;
|
|
925
929
|
}
|
|
926
930
|
|
|
927
931
|
string content_identifier = 3;
|
|
@@ -198,6 +198,10 @@ export interface Experiment {
|
|
|
198
198
|
* @generated from protobuf field: bool is_feature_flag = 49
|
|
199
199
|
*/
|
|
200
200
|
isFeatureFlag: boolean;
|
|
201
|
+
/**
|
|
202
|
+
* @generated from protobuf field: bool is_official_holdout = 50
|
|
203
|
+
*/
|
|
204
|
+
isOfficialHoldout: boolean;
|
|
201
205
|
}
|
|
202
206
|
/**
|
|
203
207
|
* @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.Bucket
|
|
@@ -449,7 +449,8 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
449
449
|
{ no: 43, name: "number_line_settings", kind: "message", T: () => exports.Experiment_NumberLineSettings },
|
|
450
450
|
{ no: 42, name: "eligibility_persistence", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.EligibilityPersistence", Experiment_EligibilityPersistence, "ELIGIBILITY_PERSISTENCE_"] },
|
|
451
451
|
{ no: 48, name: "lifecycle_plan", kind: "message", T: () => exports.Experiment_LifecyclePlan },
|
|
452
|
-
{ no: 49, name: "is_feature_flag", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
452
|
+
{ no: 49, name: "is_feature_flag", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
453
|
+
{ no: 50, name: "is_official_holdout", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
453
454
|
]);
|
|
454
455
|
}
|
|
455
456
|
create(value) {
|
|
@@ -489,6 +490,7 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
489
490
|
message.isManaged = false;
|
|
490
491
|
message.eligibilityPersistence = 0;
|
|
491
492
|
message.isFeatureFlag = false;
|
|
493
|
+
message.isOfficialHoldout = false;
|
|
492
494
|
if (value !== undefined)
|
|
493
495
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
494
496
|
return message;
|
|
@@ -648,6 +650,9 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
648
650
|
case /* bool is_feature_flag */ 49:
|
|
649
651
|
message.isFeatureFlag = reader.bool();
|
|
650
652
|
break;
|
|
653
|
+
case /* bool is_official_holdout */ 50:
|
|
654
|
+
message.isOfficialHoldout = reader.bool();
|
|
655
|
+
break;
|
|
651
656
|
default:
|
|
652
657
|
let u = options.readUnknownField;
|
|
653
658
|
if (u === "throw")
|
|
@@ -810,6 +815,9 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
810
815
|
/* bool is_feature_flag = 49; */
|
|
811
816
|
if (message.isFeatureFlag !== false)
|
|
812
817
|
writer.tag(49, runtime_2.WireType.Varint).bool(message.isFeatureFlag);
|
|
818
|
+
/* bool is_official_holdout = 50; */
|
|
819
|
+
if (message.isOfficialHoldout !== false)
|
|
820
|
+
writer.tag(50, runtime_2.WireType.Varint).bool(message.isOfficialHoldout);
|
|
813
821
|
let u = options.writeUnknownFields;
|
|
814
822
|
if (u !== false)
|
|
815
823
|
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1381,6 +1381,10 @@ export interface PremiumMarketingComponentProperties_ShopCoachmark {
|
|
|
1381
1381
|
* @generated from protobuf field: string badge_text = 14
|
|
1382
1382
|
*/
|
|
1383
1383
|
badgeText: string;
|
|
1384
|
+
/**
|
|
1385
|
+
* @generated from protobuf field: uint32 version = 15
|
|
1386
|
+
*/
|
|
1387
|
+
version: number;
|
|
1384
1388
|
}
|
|
1385
1389
|
/**
|
|
1386
1390
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction
|
|
@@ -3519,7 +3523,19 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
3519
3523
|
/**
|
|
3520
3524
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK = 868;
|
|
3521
3525
|
*/
|
|
3522
|
-
MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK = 868
|
|
3526
|
+
MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK = 868,
|
|
3527
|
+
/**
|
|
3528
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK = 869;
|
|
3529
|
+
*/
|
|
3530
|
+
COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK = 869,
|
|
3531
|
+
/**
|
|
3532
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_SOUNDBOARD_NEW_SOUNDS_BADGE = 870;
|
|
3533
|
+
*/
|
|
3534
|
+
SOUNDBOARD_NEW_SOUNDS_BADGE = 870,
|
|
3535
|
+
/**
|
|
3536
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_NITRO_BADGE_UNHIDDEN_NOTICE = 871;
|
|
3537
|
+
*/
|
|
3538
|
+
NITRO_BADGE_UNHIDDEN_NOTICE = 871
|
|
3523
3539
|
}
|
|
3524
3540
|
/**
|
|
3525
3541
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -2147,6 +2147,18 @@ var PremiumMarketingComponentProperties_DismissibleContent;
|
|
|
2147
2147
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK = 868;
|
|
2148
2148
|
*/
|
|
2149
2149
|
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK"] = 868] = "MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK";
|
|
2150
|
+
/**
|
|
2151
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK = 869;
|
|
2152
|
+
*/
|
|
2153
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK"] = 869] = "COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK";
|
|
2154
|
+
/**
|
|
2155
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_SOUNDBOARD_NEW_SOUNDS_BADGE = 870;
|
|
2156
|
+
*/
|
|
2157
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["SOUNDBOARD_NEW_SOUNDS_BADGE"] = 870] = "SOUNDBOARD_NEW_SOUNDS_BADGE";
|
|
2158
|
+
/**
|
|
2159
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_NITRO_BADGE_UNHIDDEN_NOTICE = 871;
|
|
2160
|
+
*/
|
|
2161
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["NITRO_BADGE_UNHIDDEN_NOTICE"] = 871] = "NITRO_BADGE_UNHIDDEN_NOTICE";
|
|
2150
2162
|
})(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
|
|
2151
2163
|
/**
|
|
2152
2164
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -5824,7 +5836,8 @@ class PremiumMarketingComponentProperties_ShopCoachmark$Type extends runtime_4.M
|
|
|
5824
5836
|
{ no: 11, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5825
5837
|
{ no: 12, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5826
5838
|
{ no: 13, name: "button_label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5827
|
-
{ no: 14, name: "badge_text", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
5839
|
+
{ no: 14, name: "badge_text", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5840
|
+
{ no: 15, name: "version", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
|
|
5828
5841
|
]);
|
|
5829
5842
|
}
|
|
5830
5843
|
create(value) {
|
|
@@ -5837,6 +5850,7 @@ class PremiumMarketingComponentProperties_ShopCoachmark$Type extends runtime_4.M
|
|
|
5837
5850
|
message.body = "";
|
|
5838
5851
|
message.buttonLabel = "";
|
|
5839
5852
|
message.badgeText = "";
|
|
5853
|
+
message.version = 0;
|
|
5840
5854
|
if (value !== undefined)
|
|
5841
5855
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
5842
5856
|
return message;
|
|
@@ -5888,6 +5902,9 @@ class PremiumMarketingComponentProperties_ShopCoachmark$Type extends runtime_4.M
|
|
|
5888
5902
|
case /* string badge_text */ 14:
|
|
5889
5903
|
message.badgeText = reader.string();
|
|
5890
5904
|
break;
|
|
5905
|
+
case /* uint32 version */ 15:
|
|
5906
|
+
message.version = reader.uint32();
|
|
5907
|
+
break;
|
|
5891
5908
|
default:
|
|
5892
5909
|
let u = options.readUnknownField;
|
|
5893
5910
|
if (u === "throw")
|
|
@@ -5942,6 +5959,9 @@ class PremiumMarketingComponentProperties_ShopCoachmark$Type extends runtime_4.M
|
|
|
5942
5959
|
/* string badge_text = 14; */
|
|
5943
5960
|
if (message.badgeText !== "")
|
|
5944
5961
|
writer.tag(14, runtime_1.WireType.LengthDelimited).string(message.badgeText);
|
|
5962
|
+
/* uint32 version = 15; */
|
|
5963
|
+
if (message.version !== 0)
|
|
5964
|
+
writer.tag(15, runtime_1.WireType.Varint).uint32(message.version);
|
|
5945
5965
|
let u = options.writeUnknownFields;
|
|
5946
5966
|
if (u !== false)
|
|
5947
5967
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|