UNPKG

@vercel/sdk

Version:

<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>

58 lines 1.53 kB
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { certsGetCertById } from "../funcs/certsGetCertById.js"; import { certsGetCerts } from "../funcs/certsGetCerts.js"; import { certsIssueCert } from "../funcs/certsIssueCert.js"; import { certsRemoveCert } from "../funcs/certsRemoveCert.js"; import { certsUploadCert } from "../funcs/certsUploadCert.js"; import { ClientSDK } from "../lib/sdks.js"; import { unwrapAsync } from "../types/fp.js"; export class Certs extends ClientSDK { /** * Get cert by id * * @remarks * Get cert by id */ async getCertById(request, options) { return unwrapAsync(certsGetCertById(this, request, options)); } /** * Remove cert * * @remarks * Remove cert */ async removeCert(request, options) { return unwrapAsync(certsRemoveCert(this, request, options)); } /** * Get certs * * @remarks * Get certs */ async getCerts(request, options) { return unwrapAsync(certsGetCerts(this, request, options)); } /** * Issue a new cert * * @remarks * Issue a new cert */ async issueCert(request, options) { return unwrapAsync(certsIssueCert(this, request, options)); } /** * Upload a cert * * @remarks * Upload a cert */ async uploadCert(request, options) { return unwrapAsync(certsUploadCert(this, request, options)); } } //# sourceMappingURL=certs.js.map