UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

26 lines 1.35 kB
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../resource.mjs"; import * as BinaryStorageAPI from "./binary-storage.mjs"; import { BinaryStorage, } from "./binary-storage.mjs"; import * as RequestsAPI from "./requests/requests.mjs"; import { ListItemsSinglePage, RequestTypesResponsesSinglePage, Requests, } from "./requests/requests.mjs"; import * as ScansAPI from "./scans/scans.mjs"; import { Scans } from "./scans/scans.mjs"; import * as ThreatEventsAPI from "./threat-events/threat-events.mjs"; import { ThreatEvents, } from "./threat-events/threat-events.mjs"; export class CloudforceOne extends APIResource { constructor() { super(...arguments); this.scans = new ScansAPI.Scans(this._client); this.binaryStorage = new BinaryStorageAPI.BinaryStorage(this._client); this.requests = new RequestsAPI.Requests(this._client); this.threatEvents = new ThreatEventsAPI.ThreatEvents(this._client); } } CloudforceOne.Scans = Scans; CloudforceOne.BinaryStorage = BinaryStorage; CloudforceOne.Requests = Requests; CloudforceOne.ListItemsSinglePage = ListItemsSinglePage; CloudforceOne.RequestTypesResponsesSinglePage = RequestTypesResponsesSinglePage; CloudforceOne.ThreatEvents = ThreatEvents; //# sourceMappingURL=cloudforce-one.mjs.map