Skip to content
Merged
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
51 changes: 32 additions & 19 deletions raystack/frontier/v1beta1/frontier.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2048,11 +2048,14 @@ message CreateBillingUsageResponse {}

message ListBillingTransactionsRequest {
string org_id = 1 [(validate.rules).string.min_len = 3];
// ID of the billing account to update the subscription for
string billing_id = 2 [(validate.rules).string = {
ignore_empty: true,
uuid: true
}];
// DEPRECATED: billing_id will be inferred from org_id
string billing_id = 2 [
deprecated = true,
(validate.rules).string = {
ignore_empty: true,
uuid: true
}
];

google.protobuf.Timestamp since = 3 [deprecated=true];
google.protobuf.Timestamp start_range = 4;
Expand All @@ -2068,10 +2071,14 @@ message ListBillingTransactionsResponse {

message TotalDebitedTransactionsRequest {
string org_id = 1 [(validate.rules).string.min_len = 3];
// ID of the billing account
string billing_id = 2 [(validate.rules).string = {
uuid: true
}];
// DEPRECATED: billing_id will be inferred from org_id
string billing_id = 2 [
deprecated = true,
(validate.rules).string = {
ignore_empty: true,
uuid: true
}
];
}

message TotalDebitedTransactionsResponse {
Expand Down Expand Up @@ -2510,11 +2517,14 @@ message UpdatePlanResponse {

message ListInvoicesRequest {
string org_id = 1 [(validate.rules).string.min_len = 3];
// ID of the billing account to list invoices for
string billing_id = 2 [(validate.rules).string = {
ignore_empty: true,
uuid: true
}];
// DEPRECATED: billing_id will be inferred from org_id
string billing_id = 2 [
deprecated = true,
(validate.rules).string = {
ignore_empty: true,
uuid: true
}
];

bool nonzero_amount_only = 3;

Expand All @@ -2528,11 +2538,14 @@ message ListInvoicesResponse {

message GetUpcomingInvoiceRequest {
string org_id = 1 [(validate.rules).string.min_len = 3];
// ID of the billing account to get the upcoming invoice for
string billing_id = 2 [(validate.rules).string = {
ignore_empty: true,
uuid: true
}];
// DEPRECATED: billing_id will be inferred from org_id
string billing_id = 2 [
deprecated = true,
(validate.rules).string = {
ignore_empty: true,
uuid: true
}
];
}

message GetUpcomingInvoiceResponse {
Expand Down
Loading