node-ovh-ts
Version:
OVH API wrapper library for TypeScript
2 lines • 1.74 kB
JavaScript
var r=class{constructor(e){this.listOfficePrepaid=()=>this.ovh.request("GET","/license/officePrepaid");this.getOfficePrepaidByServiceName=e=>this.ovh.request("GET",`/license/officePrepaid/${e}`);this.updateOfficePrepaidByServiceName=(e,i)=>this.ovh.request("PUT",`/license/officePrepaid/${e}`,i);this.updateOfficePrepaidPasswordByServiceName=(e,i)=>this.ovh.request("POST",`/license/officePrepaid/${e}/changePassword`,i);this.confirmOfficePrepaidTerminationByServiceName=(e,i)=>this.ovh.request("POST",`/license/officePrepaid/${e}/confirmTermination`,i);this.getOfficePrepaidParentTenantByServiceName=e=>this.ovh.request("GET",`/license/officePrepaid/${e}/parentTenant`);this.putOfficePrepaidParentTenantByServiceName=(e,i)=>this.ovh.request("PUT",`/license/officePrepaid/${e}/parentTenant`,i);this.getOfficePrepaidServiceInfosByServiceName=e=>this.ovh.request("GET",`/license/officePrepaid/${e}/serviceInfos`);this.updateOfficePrepaidServiceInfosByServiceName=(e,i)=>this.ovh.request("PUT",`/license/officePrepaid/${e}/serviceInfos`,i);this.getOfficePrepaidTenantPendingTaskByServiceName=e=>this.ovh.request("GET",`/license/officePrepaid/${e}/tenantPendingTask`);this.getOfficePrepaidTenantPendingTaskByServiceNameAndId=(e,i)=>this.ovh.request("GET",`/license/officePrepaid/${i}/tenantPendingTask/${e}`);this.getOfficePrepaidTenantUsageStatisticsByServiceName=e=>this.ovh.request("GET",`/license/officePrepaid/${e}/tenantUsageStatistics`);this.postOfficePrepaidTerminateByServiceName=e=>this.ovh.request("POST",`/license/officePrepaid/${e}/terminate`);this.postOfficePrepaidUnconfigureByServiceName=e=>this.ovh.request("POST",`/license/officePrepaid/${e}/unconfigure`);this.ovh=e}};export{r as a};
//# sourceMappingURL=chunk-4MZXIZQC.mjs.map