cloudflare
Version:
The official TypeScript library for the Cloudflare API
143 lines • 7.75 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Radar = exports.BaseRadar = 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 AgentReadinessAPI = tslib_1.__importStar(require("./agent-readiness.js"));
const agent_readiness_1 = require("./agent-readiness.js");
const DatasetsAPI = tslib_1.__importStar(require("./datasets.js"));
const datasets_1 = require("./datasets.js");
const GeolocationsAPI = tslib_1.__importStar(require("./geolocations.js"));
const geolocations_1 = require("./geolocations.js");
const SearchAPI = tslib_1.__importStar(require("./search.js"));
const search_1 = require("./search.js");
const TCPResetsTimeoutsAPI = tslib_1.__importStar(require("./tcp-resets-timeouts.js"));
const tcp_resets_timeouts_1 = require("./tcp-resets-timeouts.js");
const AIAPI = tslib_1.__importStar(require("./ai/ai.js"));
const ai_1 = require("./ai/ai.js");
const AnnotationsAPI = tslib_1.__importStar(require("./annotations/annotations.js"));
const annotations_1 = require("./annotations/annotations.js");
const AS112API = tslib_1.__importStar(require("./as112/as112.js"));
const as112_1 = require("./as112/as112.js");
const AttacksAPI = tslib_1.__importStar(require("./attacks/attacks.js"));
const attacks_1 = require("./attacks/attacks.js");
const BGPAPI = tslib_1.__importStar(require("./bgp/bgp.js"));
const bgp_1 = require("./bgp/bgp.js");
const BotsAPI = tslib_1.__importStar(require("./bots/bots.js"));
const bots_1 = require("./bots/bots.js");
const CTAPI = tslib_1.__importStar(require("./ct/ct.js"));
const ct_1 = require("./ct/ct.js");
const DNSAPI = tslib_1.__importStar(require("./dns/dns.js"));
const dns_1 = require("./dns/dns.js");
const EmailAPI = tslib_1.__importStar(require("./email/email.js"));
const email_1 = require("./email/email.js");
const EntitiesAPI = tslib_1.__importStar(require("./entities/entities.js"));
const entities_1 = require("./entities/entities.js");
const HTTPAPI = tslib_1.__importStar(require("./http/http.js"));
const http_1 = require("./http/http.js");
const LeakedCredentialsAPI = tslib_1.__importStar(require("./leaked-credentials/leaked-credentials.js"));
const leaked_credentials_1 = require("./leaked-credentials/leaked-credentials.js");
const NetFlowsAPI = tslib_1.__importStar(require("./netflows/netflows.js"));
const netflows_1 = require("./netflows/netflows.js");
const PostQuantumAPI = tslib_1.__importStar(require("./post-quantum/post-quantum.js"));
const post_quantum_1 = require("./post-quantum/post-quantum.js");
const QualityAPI = tslib_1.__importStar(require("./quality/quality.js"));
const quality_1 = require("./quality/quality.js");
const RankingAPI = tslib_1.__importStar(require("./ranking/ranking.js"));
const ranking_1 = require("./ranking/ranking.js");
const RobotsTXTAPI = tslib_1.__importStar(require("./robots-txt/robots-txt.js"));
const robots_txt_1 = require("./robots-txt/robots-txt.js");
const TrafficAnomaliesAPI = tslib_1.__importStar(require("./traffic-anomalies/traffic-anomalies.js"));
const traffic_anomalies_1 = require("./traffic-anomalies/traffic-anomalies.js");
const VerifiedBotsAPI = tslib_1.__importStar(require("./verified-bots/verified-bots.js"));
const verified_bots_1 = require("./verified-bots/verified-bots.js");
var BaseRadar = /* @__PURE__ */ (() => {
class BaseRadar extends resource_1.APIResource {
}
BaseRadar._key = Object.freeze(['radar']);
return BaseRadar;
})();
exports.BaseRadar = BaseRadar;
var Radar = /* @__PURE__ */ (() => {
class Radar extends BaseRadar {
constructor() {
super(...arguments);
this.agentReadiness = new AgentReadinessAPI.AgentReadiness(this._client);
this.ai = new AIAPI.AI(this._client);
this.ct = new CTAPI.CT(this._client);
this.annotations = new AnnotationsAPI.Annotations(this._client);
this.bgp = new BGPAPI.BGP(this._client);
this.bots = new BotsAPI.Bots(this._client);
this.datasets = new DatasetsAPI.Datasets(this._client);
this.dns = new DNSAPI.DNS(this._client);
this.netFlows = new NetFlowsAPI.NetFlows(this._client);
this.postQuantum = new PostQuantumAPI.PostQuantum(this._client);
this.search = new SearchAPI.Search(this._client);
this.verifiedBots = new VerifiedBotsAPI.VerifiedBots(this._client);
this.as112 = new AS112API.AS112(this._client);
this.email = new EmailAPI.Email(this._client);
this.attacks = new AttacksAPI.Attacks(this._client);
this.entities = new EntitiesAPI.Entities(this._client);
this.geolocations = new GeolocationsAPI.Geolocations(this._client);
this.http = new HTTPAPI.HTTP(this._client);
this.quality = new QualityAPI.Quality(this._client);
this.ranking = new RankingAPI.Ranking(this._client);
this.trafficAnomalies = new TrafficAnomaliesAPI.TrafficAnomalies(this._client);
this.tcpResetsTimeouts = new TCPResetsTimeoutsAPI.TCPResetsTimeouts(this._client);
this.robotsTXT = new RobotsTXTAPI.RobotsTXT(this._client);
this.leakedCredentials = new LeakedCredentialsAPI.LeakedCredentials(this._client);
}
}
Radar.AgentReadiness = agent_readiness_1.AgentReadiness;
Radar.BaseAgentReadiness = agent_readiness_1.BaseAgentReadiness;
Radar.AI = ai_1.AI;
Radar.BaseAI = ai_1.BaseAI;
Radar.CT = ct_1.CT;
Radar.BaseCT = ct_1.BaseCT;
Radar.Annotations = annotations_1.Annotations;
Radar.BaseAnnotations = annotations_1.BaseAnnotations;
Radar.BGP = bgp_1.BGP;
Radar.BaseBGP = bgp_1.BaseBGP;
Radar.Bots = bots_1.Bots;
Radar.BaseBots = bots_1.BaseBots;
Radar.Datasets = datasets_1.Datasets;
Radar.BaseDatasets = datasets_1.BaseDatasets;
Radar.DNS = dns_1.DNS;
Radar.BaseDNS = dns_1.BaseDNS;
Radar.NetFlows = netflows_1.NetFlows;
Radar.BaseNetFlows = netflows_1.BaseNetFlows;
Radar.PostQuantum = post_quantum_1.PostQuantum;
Radar.BasePostQuantum = post_quantum_1.BasePostQuantum;
Radar.Search = search_1.Search;
Radar.BaseSearch = search_1.BaseSearch;
Radar.VerifiedBots = verified_bots_1.VerifiedBots;
Radar.BaseVerifiedBots = verified_bots_1.BaseVerifiedBots;
Radar.AS112 = as112_1.AS112;
Radar.BaseAS112 = as112_1.BaseAS112;
Radar.Email = email_1.Email;
Radar.BaseEmail = email_1.BaseEmail;
Radar.Attacks = attacks_1.Attacks;
Radar.BaseAttacks = attacks_1.BaseAttacks;
Radar.Entities = entities_1.Entities;
Radar.BaseEntities = entities_1.BaseEntities;
Radar.Geolocations = geolocations_1.Geolocations;
Radar.BaseGeolocations = geolocations_1.BaseGeolocations;
Radar.HTTP = http_1.HTTP;
Radar.BaseHTTP = http_1.BaseHTTP;
Radar.Quality = quality_1.Quality;
Radar.BaseQuality = quality_1.BaseQuality;
Radar.Ranking = ranking_1.Ranking;
Radar.BaseRanking = ranking_1.BaseRanking;
Radar.TrafficAnomalies = traffic_anomalies_1.TrafficAnomalies;
Radar.BaseTrafficAnomalies = traffic_anomalies_1.BaseTrafficAnomalies;
Radar.TCPResetsTimeouts = tcp_resets_timeouts_1.TCPResetsTimeouts;
Radar.BaseTCPResetsTimeouts = tcp_resets_timeouts_1.BaseTCPResetsTimeouts;
Radar.RobotsTXT = robots_txt_1.RobotsTXT;
Radar.BaseRobotsTXT = robots_txt_1.BaseRobotsTXT;
Radar.LeakedCredentials = leaked_credentials_1.LeakedCredentials;
Radar.BaseLeakedCredentials = leaked_credentials_1.BaseLeakedCredentials;
return Radar;
})();
exports.Radar = Radar;
//# sourceMappingURL=radar.js.map