diff --git a/raystack/frontier/v1beta1/admin.proto b/raystack/frontier/v1beta1/admin.proto index 7cbbd821..7c8ffbc2 100644 --- a/raystack/frontier/v1beta1/admin.proto +++ b/raystack/frontier/v1beta1/admin.proto @@ -344,6 +344,18 @@ service AdminService { }; } + rpc TriggerCreditInvoices(TriggerCreditInvoicesRequest) returns (TriggerCreditInvoicesResponse) { + option (google.api.http) = { + post: "/v1beta1/admin/billing/invoices/trigger/credits", + body: "*" + }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + tags: "Invoice"; + summary: "Trigger credit invoices"; + description: "Triggers the creation of credit overdraft invoices for all billing accounts."; + }; + } + rpc ListAllBillingAccounts(ListAllBillingAccountsRequest) returns (ListAllBillingAccountsResponse) { option (google.api.http) = {get: "/v1beta1/admin/billing/accounts"}; option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { @@ -700,6 +712,10 @@ message ListAllInvoicesResponse { ]; } +message TriggerCreditInvoicesRequest {} + +message TriggerCreditInvoicesResponse {} + message ListAllBillingAccountsRequest { string org_id = 1; }