Work on billing

This commit is contained in:
Jon Staab
2026-03-09 10:04:13 -07:00
parent 01d9d3bd05
commit 1ea087643b
8 changed files with 441 additions and 81 deletions
+7
View File
@@ -192,6 +192,13 @@ export function updateTenantRelay(id: string, input: UpdateRelayInput) {
})
}
export function updateTenantRelayPlan(id: string, plan: string) {
return request<Relay>(`/tenant/relays/${id}/plan`, {
method: "PUT",
body: JSON.stringify({ plan }),
})
}
export function deactivateTenantRelay(id: string) {
return request<Relay>(`/tenant/relays/${id}/deactivate`, {
method: "POST",