def fetch_usage_gated
import cswap-bend-cli@0.1.0.0/usage.bend as Usageimport Base
import cswap-bend-cli@0.1.0.0/usage/gate.bend as UGate
211# The same, refreshing through the consume gate on <root>/credentials.
212def fetch_usage_gated(credential: String, is_active: Bool, slot: String, email: String, root: String) -> IO(Fetched):
213 fetch_with(UGate.Gate{slot, email, root}, credential, is_active)