Added measurements, and devices statsh
Added stats endpoints
This commit is contained in:
@@ -110,6 +110,12 @@ type KeyValue struct {
|
||||
Value string `json:"value"`
|
||||
}
|
||||
|
||||
type ActiveInvoiceResponse struct {
|
||||
Claimed int64 `json:"issued"`
|
||||
Issued int64 `json:"claimed"`
|
||||
MonthlyInvoices map[string]map[string]int64 `json:"monthly"`
|
||||
}
|
||||
|
||||
func GetInvoiceStatuses() []Status {
|
||||
return []Status{
|
||||
{Key: "Insurance claimed", Value: "insurance_claimed"},
|
||||
|
||||
Reference in New Issue
Block a user