UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

21 lines 830 B
"use strict"; // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. Object.defineProperty(exports, "__esModule", { value: true }); exports.Summary = void 0; const resource_1 = require("cloudflare/resource"); const core_1 = require("cloudflare/core"); class Summary extends resource_1.APIResource { get(accountIdentifier, query = {}, options) { if ((0, core_1.isRequestOptions)(query)) { return this.get(accountIdentifier, {}, query); } return this._client.get(`/accounts/${accountIdentifier}/zt_risk_scoring/summary`, { query, ...options, })._thenUnwrap((obj) => obj.result); } } exports.Summary = Summary; (function (Summary) { })(Summary = exports.Summary || (exports.Summary = {})); //# sourceMappingURL=summary.js.map