proto: add creation date filters in ListInvoiceRequest

This commit is contained in:
yyforyongyu
2022-11-16 01:31:44 +08:00
parent 372333fd2b
commit cfa2cb01d0
3 changed files with 1063 additions and 1013 deletions

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