cloudflare
Version:
The official TypeScript library for the Cloudflare API
81 lines • 4.26 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Intel = exports.BaseIntel = void 0;
const tslib_1 = require("../../internal/tslib.js");
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
const resource_1 = require("../../core/resource.js");
const DNSAPI = tslib_1.__importStar(require("./dns.js"));
const dns_1 = require("./dns.js");
const DomainHistoryAPI = tslib_1.__importStar(require("./domain-history.js"));
const domain_history_1 = require("./domain-history.js");
const IPListsAPI = tslib_1.__importStar(require("./ip-lists.js"));
const ip_lists_1 = require("./ip-lists.js");
const IPsAPI = tslib_1.__importStar(require("./ips.js"));
const ips_1 = require("./ips.js");
const MiscategorizationsAPI = tslib_1.__importStar(require("./miscategorizations.js"));
const miscategorizations_1 = require("./miscategorizations.js");
const URLsAPI = tslib_1.__importStar(require("./urls.js"));
const urls_1 = require("./urls.js");
const WhoisAPI = tslib_1.__importStar(require("./whois.js"));
const whois_1 = require("./whois.js");
const ASNAPI = tslib_1.__importStar(require("./asn/asn.js"));
const asn_1 = require("./asn/asn.js");
const AttackSurfaceReportAPI = tslib_1.__importStar(require("./attack-surface-report/attack-surface-report.js"));
const attack_surface_report_1 = require("./attack-surface-report/attack-surface-report.js");
const DomainsAPI = tslib_1.__importStar(require("./domains/domains.js"));
const domains_1 = require("./domains/domains.js");
const IndicatorFeedsAPI = tslib_1.__importStar(require("./indicator-feeds/indicator-feeds.js"));
const indicator_feeds_1 = require("./indicator-feeds/indicator-feeds.js");
const SinkholesAPI = tslib_1.__importStar(require("./sinkholes/sinkholes.js"));
const sinkholes_1 = require("./sinkholes/sinkholes.js");
var BaseIntel = /* @__PURE__ */ (() => {
class BaseIntel extends resource_1.APIResource {
}
BaseIntel._key = Object.freeze(['intel']);
return BaseIntel;
})();
exports.BaseIntel = BaseIntel;
var Intel = /* @__PURE__ */ (() => {
class Intel extends BaseIntel {
constructor() {
super(...arguments);
this.asn = new ASNAPI.ASN(this._client);
this.dns = new DNSAPI.DNS(this._client);
this.domains = new DomainsAPI.Domains(this._client);
this.domainHistory = new DomainHistoryAPI.DomainHistoryResource(this._client);
this.ips = new IPsAPI.IPs(this._client);
this.ipLists = new IPListsAPI.IPLists(this._client);
this.miscategorizations = new MiscategorizationsAPI.Miscategorizations(this._client);
this.whois = new WhoisAPI.Whois(this._client);
this.urls = new URLsAPI.URLs(this._client);
this.indicatorFeeds = new IndicatorFeedsAPI.IndicatorFeeds(this._client);
this.sinkholes = new SinkholesAPI.Sinkholes(this._client);
this.attackSurfaceReport = new AttackSurfaceReportAPI.AttackSurfaceReport(this._client);
}
}
Intel.ASN = asn_1.ASN;
Intel.BaseASN = asn_1.BaseASN;
Intel.BaseDNS = dns_1.BaseDNS;
Intel.Domains = domains_1.Domains;
Intel.BaseDomains = domains_1.BaseDomains;
Intel.DomainHistoryResource = domain_history_1.DomainHistoryResource;
Intel.BaseDomainHistoryResource = domain_history_1.BaseDomainHistoryResource;
Intel.IPs = ips_1.IPs;
Intel.BaseIPs = ips_1.BaseIPs;
Intel.IPLists = ip_lists_1.IPLists;
Intel.BaseIPLists = ip_lists_1.BaseIPLists;
Intel.Miscategorizations = miscategorizations_1.Miscategorizations;
Intel.BaseMiscategorizations = miscategorizations_1.BaseMiscategorizations;
Intel.BaseWhois = whois_1.BaseWhois;
Intel.URLs = urls_1.URLs;
Intel.BaseURLs = urls_1.BaseURLs;
Intel.IndicatorFeeds = indicator_feeds_1.IndicatorFeeds;
Intel.BaseIndicatorFeeds = indicator_feeds_1.BaseIndicatorFeeds;
Intel.Sinkholes = sinkholes_1.Sinkholes;
Intel.BaseSinkholes = sinkholes_1.BaseSinkholes;
Intel.AttackSurfaceReport = attack_surface_report_1.AttackSurfaceReport;
Intel.BaseAttackSurfaceReport = attack_surface_report_1.BaseAttackSurfaceReport;
return Intel;
})();
exports.Intel = Intel;
//# sourceMappingURL=intel.js.map