Skip to content

Commit 6c992b7

Browse files
feat: add RQL support for listInvoice API
1 parent ac2df19 commit 6c992b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

raystack/frontier/v1beta1/frontier.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -900,12 +900,16 @@ message ListInvoicesRequest {
900900

901901
bool nonzero_amount_only = 3;
902902

903+
optional RQLRequest query = 4;
904+
903905
repeated string expand = 101;
904906
}
905907

906908
message ListInvoicesResponse {
907909
// List of invoices
908910
repeated Invoice invoices = 1;
911+
// Set when the request included `query` (offset, limit, and total row count for the filtered set).
912+
RQLQueryPaginationResponse pagination = 2;
909913
}
910914

911915
message GetUpcomingInvoiceRequest {

0 commit comments

Comments
 (0)