UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

28 lines • 1.41 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DDoSProtection = exports.BaseDDoSProtection = 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 AdvancedTCPProtectionAPI = tslib_1.__importStar(require("./advanced-tcp-protection/advanced-tcp-protection.js")); const advanced_tcp_protection_1 = require("./advanced-tcp-protection/advanced-tcp-protection.js"); var BaseDDoSProtection = /* @__PURE__ */ (() => { class BaseDDoSProtection extends resource_1.APIResource { } BaseDDoSProtection._key = Object.freeze(['DDoSProtection']); return BaseDDoSProtection; })(); exports.BaseDDoSProtection = BaseDDoSProtection; var DDoSProtection = /* @__PURE__ */ (() => { class DDoSProtection extends BaseDDoSProtection { constructor() { super(...arguments); this.advancedTCPProtection = new AdvancedTCPProtectionAPI.AdvancedTCPProtection(this._client); } } DDoSProtection.AdvancedTCPProtection = advanced_tcp_protection_1.AdvancedTCPProtection; DDoSProtection.BaseAdvancedTCPProtection = advanced_tcp_protection_1.BaseAdvancedTCPProtection; return DDoSProtection; })(); exports.DDoSProtection = DDoSProtection; //# sourceMappingURL=ddos-protection.js.map