@fntio/infra-client
Version:
Self-hosted AWS access portal: credential vending, target-account trust, and grant-driven private networking as CDK stacks and constructs.
2 lines (1 loc) • 644 B
JavaScript
import{F as o,I as n,Kb as i}from"./chunk-FYA6QUPZ.js";var s=class t{http=n(i);info(){return this.http.get("/api/network")}mintDeviceKey(e){return this.http.post("/api/network/device-key",e?{siteId:e}:{})}devices(){return this.http.get("/api/network/devices")}removeDevice(e,r){return this.http.delete(`/api/network/devices/${encodeURIComponent(e)}/${encodeURIComponent(r)}`)}networkPrefs(){return this.http.get("/api/preferences/network")}saveNetworkPrefs(e){return this.http.put("/api/preferences/network",e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=o({token:t,factory:t.\u0275fac,providedIn:"root"})};export{s as a};