Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
syntax = "proto3";

package sentry_protos.billing.v1.services.engagement.v1;

// Clears an organization's ended subscription trials so it can start another.
message ResetSubscriptionTrialRequest {
uint64 organization_id = 1;
}

message ResetSubscriptionTrialResponse {
// Whether any ended subscription trial was cleared.
bool reset = 1;
}
12 changes: 12 additions & 0 deletions rust/src/sentry_protos.billing.v1.services.engagement.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,18 @@ pub struct RedeemPromoCodeResponse {
#[prost(string, optional, tag = "6")]
pub campaign: ::core::option::Option<::prost::alloc::string::String>,
}
/// Clears an organization's ended subscription trials so it can start another.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResetSubscriptionTrialRequest {
#[prost(uint64, tag = "1")]
pub organization_id: u64,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResetSubscriptionTrialResponse {
/// Whether any ended subscription trial was cleared.
#[prost(bool, tag = "1")]
pub reset: bool,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RolloverMonetaryGrantsRequest {
#[prost(uint64, tag = "1")]
Expand Down
Loading