"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Percentiles = void 0;
const resource_1 = require("cloudflare/resource");
class Percentiles extends resource_1.APIResource {
    /**
     * Get percentiles for an http test for a given time period between 1 hour and 7
     * days.
     */
    get(testId, params, options) {
        const { account_id, ...query } = params;
        return this._client.get(`/accounts/${account_id}/dex/http-tests/${testId}/percentiles`, {
            query,
            ...options,
        })._thenUnwrap((obj) => obj.result);
    }
}
exports.Percentiles = Percentiles;
(function (Percentiles) {
})(Percentiles = exports.Percentiles || (exports.Percentiles = {}));
//# sourceMappingURL=percentiles.js.map