Skip to content

Commit

Permalink
Add proto definition of RPC for SendPaymentRequiredEmail.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhorowitz committed Sep 12, 2024
1 parent 382846b commit 2dfa7a6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions proto/viam/app/v1/billing.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ service BillingService {
rpc GetInvoicesSummary(GetInvoicesSummaryRequest) returns (GetInvoicesSummaryResponse);
// Download a PDF invoice
rpc GetInvoicePdf(GetInvoicePdfRequest) returns (stream GetInvoicePdfResponse);
// Send an email with a prompt to the user's org's billing page.
rpc SendEmailForBillingTierPayment(SendEmailForBillingTierPaymentRequest) returns (SendEmailForBillingTierPaymentResponse);

Check failure on line 19 in proto/viam/app/v1/billing.proto

View workflow job for this annotation

GitHub Actions / Test For Lint and Breaking Changes

method viam.app.v1.BillingService.SendEmailForBillingTierPayment: unknown request type SendEmailForBillingTierPaymentRequest

Check failure on line 19 in proto/viam/app/v1/billing.proto

View workflow job for this annotation

GitHub Actions / Test For Lint and Breaking Changes

method viam.app.v1.BillingService.SendEmailForBillingTierPayment: unknown response type SendEmailForBillingTierPaymentResponse
}

message InvoiceSummary {
Expand Down Expand Up @@ -109,3 +111,10 @@ message GetInvoicePdfRequest {
message GetInvoicePdfResponse {
bytes chunk = 1;
}

message SendPaymentRequiredEmailRequest {
string customer_org_id = 1;
string billing_owner_org_id = 2;
}

message SendPaymentRequiredEmailResponse {}

0 comments on commit 2dfa7a6

Please sign in to comment.