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