"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.ForceAXFR = void 0;
const resource_1 = require("cloudflare/resource");
class ForceAXFR extends resource_1.APIResource {
    /**
     * Sends AXFR zone transfer request to primary nameserver(s).
     */
    create(params, options) {
        const { zone_id } = params;
        return this._client.post(`/zones/${zone_id}/secondary_dns/force_axfr`, options)._thenUnwrap((obj) => obj.result);
    }
}
exports.ForceAXFR = ForceAXFR;
(function (ForceAXFR) {
})(ForceAXFR = exports.ForceAXFR || (exports.ForceAXFR = {}));
//# sourceMappingURL=force-axfr.js.map