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,14 @@
syntax = "proto3";

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

// Clears an organization's ended product trials for one line item so it can start another.
message ResetProductTrialRequest {
uint64 organization_id = 1;
string line_item_uid = 2;
}

message ResetProductTrialResponse {
// Whether any ended product trial was cleared.
bool reset = 1;
}
14 changes: 14 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 @@ -807,6 +807,20 @@ pub struct RedeemPromoCodeResponse {
#[prost(string, optional, tag = "6")]
pub campaign: ::core::option::Option<::prost::alloc::string::String>,
}
/// Clears an organization's ended product trials for one line item so it can start another.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResetProductTrialRequest {
#[prost(uint64, tag = "1")]
pub organization_id: u64,
#[prost(string, tag = "2")]
pub line_item_uid: ::prost::alloc::string::String,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResetProductTrialResponse {
/// Whether any ended product trial was cleared.
#[prost(bool, tag = "1")]
pub reset: bool,
}
/// Clears an organization's ended subscription trials so it can start another.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResetSubscriptionTrialRequest {
Expand Down
Loading