cloudflare
Version:
The official TypeScript library for the Cloudflare API
51 lines • 2.87 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AdvancedTCPProtection = exports.BaseAdvancedTCPProtection = 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 StatusAPI = tslib_1.__importStar(require("./status.js"));
const status_1 = require("./status.js");
const AllowlistAPI = tslib_1.__importStar(require("./allowlist/allowlist.js"));
const allowlist_1 = require("./allowlist/allowlist.js");
const PrefixesAPI = tslib_1.__importStar(require("./prefixes/prefixes.js"));
const prefixes_1 = require("./prefixes/prefixes.js");
const SynProtectionAPI = tslib_1.__importStar(require("./syn-protection/syn-protection.js"));
const syn_protection_1 = require("./syn-protection/syn-protection.js");
const TCPFlowProtectionAPI = tslib_1.__importStar(require("./tcp-flow-protection/tcp-flow-protection.js"));
const tcp_flow_protection_1 = require("./tcp-flow-protection/tcp-flow-protection.js");
var BaseAdvancedTCPProtection = /* @__PURE__ */ (() => {
class BaseAdvancedTCPProtection extends resource_1.APIResource {
}
BaseAdvancedTCPProtection._key = Object.freeze([
'DDoSProtection',
'advancedTCPProtection',
]);
return BaseAdvancedTCPProtection;
})();
exports.BaseAdvancedTCPProtection = BaseAdvancedTCPProtection;
var AdvancedTCPProtection = /* @__PURE__ */ (() => {
class AdvancedTCPProtection extends BaseAdvancedTCPProtection {
constructor() {
super(...arguments);
this.allowlist = new AllowlistAPI.Allowlist(this._client);
this.prefixes = new PrefixesAPI.Prefixes(this._client);
this.synProtection = new SynProtectionAPI.SynProtection(this._client);
this.tcpFlowProtection = new TCPFlowProtectionAPI.TCPFlowProtection(this._client);
this.status = new StatusAPI.Status(this._client);
}
}
AdvancedTCPProtection.Allowlist = allowlist_1.Allowlist;
AdvancedTCPProtection.BaseAllowlist = allowlist_1.BaseAllowlist;
AdvancedTCPProtection.Prefixes = prefixes_1.Prefixes;
AdvancedTCPProtection.BasePrefixes = prefixes_1.BasePrefixes;
AdvancedTCPProtection.SynProtection = syn_protection_1.SynProtection;
AdvancedTCPProtection.BaseSynProtection = syn_protection_1.BaseSynProtection;
AdvancedTCPProtection.TCPFlowProtection = tcp_flow_protection_1.TCPFlowProtection;
AdvancedTCPProtection.BaseTCPFlowProtection = tcp_flow_protection_1.BaseTCPFlowProtection;
AdvancedTCPProtection.Status = status_1.Status;
AdvancedTCPProtection.BaseStatus = status_1.BaseStatus;
return AdvancedTCPProtection;
})();
exports.AdvancedTCPProtection = AdvancedTCPProtection;
//# sourceMappingURL=advanced-tcp-protection.js.map