"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("cloudflaredev/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