"use strict";
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Connectors = void 0;
const resource_1 = require("cloudflaredev/resource");
class Connectors extends resource_1.APIResource {
    /**
     * Fetches connector and connection details for a Cloudflare Tunnel.
     */
    get(tunnelId, connectorId, params, options) {
        const { account_id } = params;
        return this._client.get(`/accounts/${account_id}/cfd_tunnel/${tunnelId}/connectors/${connectorId}`, options)._thenUnwrap((obj) => obj.result);
    }
}
exports.Connectors = Connectors;
(function (Connectors) {
})(Connectors = exports.Connectors || (exports.Connectors = {}));
//# sourceMappingURL=connectors.js.map