"use strict";
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Order = void 0;
const resource_1 = require("cloudflaredev/resource");
class Order extends resource_1.APIResource {
    /**
     * For a given zone, order an advanced certificate pack.
     */
    create(params, options) {
        const { zone_id, ...body } = params;
        return this._client.post(`/zones/${zone_id}/ssl/certificate_packs/order`, {
            body,
            ...options,
        })._thenUnwrap((obj) => obj.result);
    }
}
exports.Order = Order;
(function (Order) {
})(Order = exports.Order || (exports.Order = {}));
//# sourceMappingURL=order.js.map