"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Traceroutes = void 0;
const resource_1 = require("cloudflare/resource");
class Traceroutes extends resource_1.APIResource {
    /**
     * Run traceroutes from Cloudflare colos.
     */
    create(params, options) {
        const { account_id, ...body } = params;
        return this._client.post(`/accounts/${account_id}/diagnostics/traceroute`, {
            body,
            ...options,
        })._thenUnwrap((obj) => obj.result);
    }
}
exports.Traceroutes = Traceroutes;
(function (Traceroutes) {
})(Traceroutes = exports.Traceroutes || (exports.Traceroutes = {}));
//# sourceMappingURL=traceroutes.js.map