validate access rules
This commit is contained in:
parent
9a1aff58d0
commit
a2d502baa9
9 changed files with 161 additions and 42 deletions
|
|
@ -512,6 +512,7 @@ enum IntervalType {
|
|||
message FrequencyRule {
|
||||
int64 number_of_intervals = 1;
|
||||
IntervalType interval = 2;
|
||||
int64 amount = 3;
|
||||
}
|
||||
|
||||
message DebitRule {
|
||||
|
|
@ -523,7 +524,6 @@ message DebitRule {
|
|||
|
||||
message LiveDebitRequest {
|
||||
string npub = 1;
|
||||
int64 amount = 2;
|
||||
oneof debit {
|
||||
string invoice = 3;
|
||||
FrequencyRule frequency = 4;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue