node-ovh-ts
Version:
OVH API wrapper library for TypeScript
2 lines • 1.22 kB
JavaScript
var t=class{constructor(e){this.listVeeamEnterprise=()=>this.ovh.request("GET","/veeam/veeamEnterprise");this.getVeeamEnterpriseByServiceName=e=>this.ovh.request("GET",`/veeam/veeamEnterprise/${e}`);this.confirmVeeamEnterpriseTerminationByServiceName=(e,r)=>this.ovh.request("POST",`/veeam/veeamEnterprise/${e}/confirmTermination`,r);this.postVeeamEnterpriseRegisterByServiceName=(e,r)=>this.ovh.request("POST",`/veeam/veeamEnterprise/${e}/register`,r);this.getVeeamEnterpriseServiceInfosByServiceName=e=>this.ovh.request("GET",`/veeam/veeamEnterprise/${e}/serviceInfos`);this.updateVeeamEnterpriseServiceInfosByServiceName=(e,r)=>this.ovh.request("PUT",`/veeam/veeamEnterprise/${e}/serviceInfos`,r);this.getVeeamEnterpriseTaskByServiceName=e=>this.ovh.request("GET",`/veeam/veeamEnterprise/${e}/task`);this.getVeeamEnterpriseTaskByServiceNameAndTaskId=(e,r)=>this.ovh.request("GET",`/veeam/veeamEnterprise/${e}/task/${r}`);this.postVeeamEnterpriseTerminateByServiceName=e=>this.ovh.request("POST",`/veeam/veeamEnterprise/${e}/terminate`);this.updateVeeamEnterpriseByServiceName=(e,r)=>this.ovh.request("POST",`/veeam/veeamEnterprise/${e}/update`,r);this.ovh=e}};export{t as a};
//# sourceMappingURL=chunk-JLARRUUL.mjs.map