"use strict";
// File generated from our OpenAPI spec by Stainless.
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.SecondaryDNS = void 0;
const resource_1 = require("cloudflare/resource");
const ACLsAPI = __importStar(require("cloudflare/resources/secondary-dns/acls"));
const ForceAXFRAPI = __importStar(require("cloudflare/resources/secondary-dns/force-axfr"));
const IncomingAPI = __importStar(require("cloudflare/resources/secondary-dns/incoming"));
const PeersAPI = __importStar(require("cloudflare/resources/secondary-dns/peers"));
const TSIGsAPI = __importStar(require("cloudflare/resources/secondary-dns/tsigs"));
const OutgoingAPI = __importStar(require("cloudflare/resources/secondary-dns/outgoing/outgoing"));
class SecondaryDNS extends resource_1.APIResource {
    constructor() {
        super(...arguments);
        this.forceAXFR = new ForceAXFRAPI.ForceAXFR(this._client);
        this.incoming = new IncomingAPI.Incoming(this._client);
        this.outgoing = new OutgoingAPI.Outgoing(this._client);
        this.acls = new ACLsAPI.ACLs(this._client);
        this.peers = new PeersAPI.Peers(this._client);
        this.tsigs = new TSIGsAPI.TSIGs(this._client);
    }
}
exports.SecondaryDNS = SecondaryDNS;
(function (SecondaryDNS) {
    SecondaryDNS.ForceAXFR = ForceAXFRAPI.ForceAXFR;
    SecondaryDNS.Incoming = IncomingAPI.Incoming;
    SecondaryDNS.Outgoing = OutgoingAPI.Outgoing;
    SecondaryDNS.ACLs = ACLsAPI.ACLs;
    SecondaryDNS.Peers = PeersAPI.Peers;
    SecondaryDNS.TSIGs = TSIGsAPI.TSIGs;
})(SecondaryDNS = exports.SecondaryDNS || (exports.SecondaryDNS = {}));
//# sourceMappingURL=secondary-dns.js.map