"use strict";
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Status = void 0;
const resource_1 = require("cloudflaredev/resource");
class Status extends resource_1.APIResource {
    /**
     * Get primary zone transfer status.
     */
    get(params, options) {
        const { zone_id } = params;
        return this._client.get(`/zones/${zone_id}/secondary_dns/outgoing/status`, options)._thenUnwrap((obj) => obj.result);
    }
}
exports.Status = Status;
(function (Status) {
})(Status = exports.Status || (exports.Status = {}));
//# sourceMappingURL=status.js.map