UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

21 lines 780 B
"use strict"; // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. Object.defineProperty(exports, "__esModule", { value: true }); exports.DomainHistory = void 0; const resource_1 = require("cloudflare/resource"); class DomainHistory extends resource_1.APIResource { /** * Get Domain History */ get(params, options) { const { account_id, ...query } = params; return this._client.get(`/accounts/${account_id}/intel/domain-history`, { query, ...options, })._thenUnwrap((obj) => obj.result); } } exports.DomainHistory = DomainHistory; (function (DomainHistory) { })(DomainHistory = exports.DomainHistory || (exports.DomainHistory = {})); //# sourceMappingURL=domain-history.js.map