"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Sinkholes = void 0;
const resource_1 = require("cloudflare/resource");
class Sinkholes extends resource_1.APIResource {
    /**
     * List sinkholes owned by this account
     */
    list(params, options) {
        const { account_id } = params;
        return this._client.get(`/accounts/${account_id}/intel/sinkholes`, options)._thenUnwrap((obj) => obj.result);
    }
}
exports.Sinkholes = Sinkholes;
(function (Sinkholes) {
})(Sinkholes = exports.Sinkholes || (exports.Sinkholes = {}));
//# sourceMappingURL=sinkholes.js.map