proto: add creation data filters in ListPaymentsRequest
This commit is contained in:
3 files changed
+973
-923
No files matched your search
+949
-923
File diff suppressed because it is too large.
Load diff
@@ -3841,6 +3841,14 @@ message ListPaymentsRequest {
|
|||||||
of payments, as all of them have to be iterated through to be counted.
|
of payments, as all of them have to be iterated through to be counted.
|
||||||
*/
|
*/
|
||||||
bool count_total_payments = 5;
|
bool count_total_payments = 5;
|
||||||
|
|
||||||
|
// 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 = 6;
|
||||||
|
|
||||||
|
// 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 = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ListPaymentsResponse {
|
message ListPaymentsResponse {
|
||||||
|
|||||||
@@ -2143,6 +2143,22 @@
|
|||||||
"in": "query",
|
"in": "query",
|
||||||
"required": false,
|
"required": false,
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "creation_date_start",
|
||||||
|
"description": "If set, returns all invoices with a creation date greater than or euqal\nto it. Measured in seconds since the unix epoch.",
|
||||||
|
"in": "query",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"format": "uint64"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "creation_date_end",
|
||||||
|
"description": "If set, returns all invoices with a creation date less than or euqal to\nit. Measured in seconds since the unix epoch.",
|
||||||
|
"in": "query",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"format": "uint64"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
|
|||||||
Reference in new issue
Block a user