discord-protos 1.2.413 → 1.2.415
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 +2 -0
- package/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto +3 -0
- package/dist/discord_protos/discord_experimentation/v1/Experiment.d.ts +8 -0
- package/dist/discord_protos/discord_experimentation/v1/Experiment.js +15 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +13 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +12 -0
- package/package.json +1 -1
|
@@ -491,6 +491,8 @@ message Experiment {
|
|
|
491
491
|
bool require_manual_approval = 3;
|
|
492
492
|
optional google.protobuf.Timestamp started_at = 4;
|
|
493
493
|
StepStatus status = 5;
|
|
494
|
+
optional google.protobuf.Timestamp paused_at = 6;
|
|
495
|
+
optional google.protobuf.Duration paused_duration = 7;
|
|
494
496
|
}
|
|
495
497
|
|
|
496
498
|
message MeasurementPlan {
|
|
@@ -673,6 +673,9 @@ message PremiumMarketingComponentProperties {
|
|
|
673
673
|
DISMISSIBLE_CONTENT_ORB_WALLET_NITRO_UPSELL_CTA_CARD_MOBILE = 896;
|
|
674
674
|
DISMISSIBLE_CONTENT_CONSOLE_CONNECTION_COACHMARK = 897;
|
|
675
675
|
DISMISSIBLE_CONTENT_GUILD_SPACE_CHANNEL_ROW_HIGHLIGHT = 898;
|
|
676
|
+
DISMISSIBLE_CONTENT_SHOP_TWELVE_DAYS_MOBILE_HOME_NAGBAR = 899;
|
|
677
|
+
DISMISSIBLE_CONTENT_HEXAGON_CAMPAIGN_PERKS_EXPIRING_PROMO_SHEET = 900;
|
|
678
|
+
DISMISSIBLE_CONTENT_HEXAGON_CAMPAIGN_PERKS_EXPIRED_PROMO_SHEET = 901;
|
|
676
679
|
}
|
|
677
680
|
|
|
678
681
|
message MobileBottomSheet {
|
|
@@ -1164,6 +1164,14 @@ export interface Experiment_RampStep {
|
|
|
1164
1164
|
* @generated from protobuf field: discord_protos.discord_experimentation.v1.Experiment.StepStatus status = 5
|
|
1165
1165
|
*/
|
|
1166
1166
|
status: Experiment_StepStatus;
|
|
1167
|
+
/**
|
|
1168
|
+
* @generated from protobuf field: optional google.protobuf.Timestamp paused_at = 6
|
|
1169
|
+
*/
|
|
1170
|
+
pausedAt?: Timestamp;
|
|
1171
|
+
/**
|
|
1172
|
+
* @generated from protobuf field: optional google.protobuf.Duration paused_duration = 7
|
|
1173
|
+
*/
|
|
1174
|
+
pausedDuration?: Duration;
|
|
1167
1175
|
}
|
|
1168
1176
|
/**
|
|
1169
1177
|
* @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.MeasurementPlan
|
|
@@ -4266,7 +4266,9 @@ class Experiment_RampStep$Type extends runtime_4.MessageType {
|
|
|
4266
4266
|
{ no: 2, name: "hold_duration", kind: "message", T: () => duration_1.Duration },
|
|
4267
4267
|
{ no: 3, name: "require_manual_approval", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4268
4268
|
{ no: 4, name: "started_at", kind: "message", T: () => timestamp_1.Timestamp },
|
|
4269
|
-
{ no: 5, name: "status", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.StepStatus", Experiment_StepStatus, "STEP_STATUS_"] }
|
|
4269
|
+
{ no: 5, name: "status", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.StepStatus", Experiment_StepStatus, "STEP_STATUS_"] },
|
|
4270
|
+
{ no: 6, name: "paused_at", kind: "message", T: () => timestamp_1.Timestamp },
|
|
4271
|
+
{ no: 7, name: "paused_duration", kind: "message", T: () => duration_1.Duration }
|
|
4270
4272
|
]);
|
|
4271
4273
|
}
|
|
4272
4274
|
create(value) {
|
|
@@ -4298,6 +4300,12 @@ class Experiment_RampStep$Type extends runtime_4.MessageType {
|
|
|
4298
4300
|
case /* discord_protos.discord_experimentation.v1.Experiment.StepStatus status */ 5:
|
|
4299
4301
|
message.status = reader.int32();
|
|
4300
4302
|
break;
|
|
4303
|
+
case /* optional google.protobuf.Timestamp paused_at */ 6:
|
|
4304
|
+
message.pausedAt = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.pausedAt);
|
|
4305
|
+
break;
|
|
4306
|
+
case /* optional google.protobuf.Duration paused_duration */ 7:
|
|
4307
|
+
message.pausedDuration = duration_1.Duration.internalBinaryRead(reader, reader.uint32(), options, message.pausedDuration);
|
|
4308
|
+
break;
|
|
4301
4309
|
default:
|
|
4302
4310
|
let u = options.readUnknownField;
|
|
4303
4311
|
if (u === "throw")
|
|
@@ -4325,6 +4333,12 @@ class Experiment_RampStep$Type extends runtime_4.MessageType {
|
|
|
4325
4333
|
/* discord_protos.discord_experimentation.v1.Experiment.StepStatus status = 5; */
|
|
4326
4334
|
if (message.status !== 0)
|
|
4327
4335
|
writer.tag(5, runtime_2.WireType.Varint).int32(message.status);
|
|
4336
|
+
/* optional google.protobuf.Timestamp paused_at = 6; */
|
|
4337
|
+
if (message.pausedAt)
|
|
4338
|
+
timestamp_1.Timestamp.internalBinaryWrite(message.pausedAt, writer.tag(6, runtime_2.WireType.LengthDelimited).fork(), options).join();
|
|
4339
|
+
/* optional google.protobuf.Duration paused_duration = 7; */
|
|
4340
|
+
if (message.pausedDuration)
|
|
4341
|
+
duration_1.Duration.internalBinaryWrite(message.pausedDuration, writer.tag(7, runtime_2.WireType.LengthDelimited).fork(), options).join();
|
|
4328
4342
|
let u = options.writeUnknownFields;
|
|
4329
4343
|
if (u !== false)
|
|
4330
4344
|
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3899,7 +3899,19 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
3899
3899
|
/**
|
|
3900
3900
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_GUILD_SPACE_CHANNEL_ROW_HIGHLIGHT = 898;
|
|
3901
3901
|
*/
|
|
3902
|
-
GUILD_SPACE_CHANNEL_ROW_HIGHLIGHT = 898
|
|
3902
|
+
GUILD_SPACE_CHANNEL_ROW_HIGHLIGHT = 898,
|
|
3903
|
+
/**
|
|
3904
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_SHOP_TWELVE_DAYS_MOBILE_HOME_NAGBAR = 899;
|
|
3905
|
+
*/
|
|
3906
|
+
SHOP_TWELVE_DAYS_MOBILE_HOME_NAGBAR = 899,
|
|
3907
|
+
/**
|
|
3908
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_HEXAGON_CAMPAIGN_PERKS_EXPIRING_PROMO_SHEET = 900;
|
|
3909
|
+
*/
|
|
3910
|
+
HEXAGON_CAMPAIGN_PERKS_EXPIRING_PROMO_SHEET = 900,
|
|
3911
|
+
/**
|
|
3912
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_HEXAGON_CAMPAIGN_PERKS_EXPIRED_PROMO_SHEET = 901;
|
|
3913
|
+
*/
|
|
3914
|
+
HEXAGON_CAMPAIGN_PERKS_EXPIRED_PROMO_SHEET = 901
|
|
3903
3915
|
}
|
|
3904
3916
|
/**
|
|
3905
3917
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -2264,6 +2264,18 @@ var PremiumMarketingComponentProperties_DismissibleContent;
|
|
|
2264
2264
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_GUILD_SPACE_CHANNEL_ROW_HIGHLIGHT = 898;
|
|
2265
2265
|
*/
|
|
2266
2266
|
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["GUILD_SPACE_CHANNEL_ROW_HIGHLIGHT"] = 898] = "GUILD_SPACE_CHANNEL_ROW_HIGHLIGHT";
|
|
2267
|
+
/**
|
|
2268
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_SHOP_TWELVE_DAYS_MOBILE_HOME_NAGBAR = 899;
|
|
2269
|
+
*/
|
|
2270
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["SHOP_TWELVE_DAYS_MOBILE_HOME_NAGBAR"] = 899] = "SHOP_TWELVE_DAYS_MOBILE_HOME_NAGBAR";
|
|
2271
|
+
/**
|
|
2272
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_HEXAGON_CAMPAIGN_PERKS_EXPIRING_PROMO_SHEET = 900;
|
|
2273
|
+
*/
|
|
2274
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["HEXAGON_CAMPAIGN_PERKS_EXPIRING_PROMO_SHEET"] = 900] = "HEXAGON_CAMPAIGN_PERKS_EXPIRING_PROMO_SHEET";
|
|
2275
|
+
/**
|
|
2276
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_HEXAGON_CAMPAIGN_PERKS_EXPIRED_PROMO_SHEET = 901;
|
|
2277
|
+
*/
|
|
2278
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["HEXAGON_CAMPAIGN_PERKS_EXPIRED_PROMO_SHEET"] = 901] = "HEXAGON_CAMPAIGN_PERKS_EXPIRED_PROMO_SHEET";
|
|
2267
2279
|
})(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
|
|
2268
2280
|
/**
|
|
2269
2281
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|