proto: add creation date filters in ListInvoiceRequest

This commit is contained in:
yyforyongyu committed 2022-12-05 20:03:55 +08:00
1 parent 372333fd2b
commit cfa2cb01d0
3 files changed
+1063 -1013

No files matched your search

+9
View File
@@ -3633,7 +3633,16 @@ message ListInvoiceRequest {
specified index offset. This can be used to paginate backwards.
*/
bool reversed = 6;
// If set, returns all invoices with a creation date greater than or euqal
// to it. Measured in seconds since the unix epoch.
uint64 creation_date_start = 7;
// If set, returns all invoices with a creation date less than or euqal to
// it. Measured in seconds since the unix epoch.
uint64 creation_date_end = 8;
}
message ListInvoiceResponse {
/*
A list of invoices from the time slice of the time series specified in the