node-ovh-ts
Version:
OVH API wrapper library for TypeScript
1 lines • 854 B
Source Map (JSON)
{"version":3,"sources":["../src/handlers/Startup.ts"],"sourcesContent":["/* WARNING: This file is auto-generated . Do not edit manually. */\n\nimport { StartupStartup } from '../models/StartupStartup';\nimport OVHBase from '../ovh';\n\nclass StartupHandler {\n ovh: OVHBase;\n\n constructor(ovh: OVHBase) {\n this.ovh = ovh;\n }\n\n /** Get startup status */\n get = (): Promise<StartupStartup> => {\n return this.ovh.request('GET', '/startup');\n };\n\n /** Register a startup */\n post = (body: StartupStartup): Promise<void> => {\n return this.ovh.request('POST', '/startup', body);\n };\n}\n\nexport { StartupHandler };\n"],"mappings":"AAKA,IAAMA,EAAN,KAAqB,CAGnB,YAAYC,EAAc,CAK1B,SAAM,IACG,KAAK,IAAI,QAAQ,MAAO,UAAU,EAI3C,UAAQC,GACC,KAAK,IAAI,QAAQ,OAAQ,WAAYA,CAAI,EAVhD,KAAK,IAAMD,CACb,CAWF","names":["StartupHandler","ovh","body"]}