// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class Order extends 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);
    }
}
(function (Order) {
})(Order || (Order = {}));
//# sourceMappingURL=order.mjs.map