UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

19 lines 763 B
"use strict"; // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. Object.defineProperty(exports, "__esModule", { value: true }); exports.Analyze = void 0; const resource_1 = require("cloudflare/resource"); class Analyze extends resource_1.APIResource { /** * Returns the set of hostnames, the signature algorithm, and the expiration date * of the certificate. */ create(params, options) { const { zone_id, ...body } = params; return this._client.post(`/zones/${zone_id}/ssl/analyze`, { body, ...options })._thenUnwrap((obj) => obj.result); } } exports.Analyze = Analyze; (function (Analyze) { })(Analyze = exports.Analyze || (exports.Analyze = {})); //# sourceMappingURL=analyze.js.map