cloudflare
Version:
The official TypeScript library for the Cloudflare API
45 lines • 2.37 kB
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from "../../../core/resource.mjs";
import * as StatusAPI from "./status.mjs";
import { BaseStatus, Status, } from "./status.mjs";
import * as AllowlistAPI from "./allowlist/allowlist.mjs";
import { Allowlist, BaseAllowlist, } from "./allowlist/allowlist.mjs";
import * as PrefixesAPI from "./prefixes/prefixes.mjs";
import { BasePrefixes, Prefixes, } from "./prefixes/prefixes.mjs";
import * as SynProtectionAPI from "./syn-protection/syn-protection.mjs";
import { BaseSynProtection, SynProtection } from "./syn-protection/syn-protection.mjs";
import * as TCPFlowProtectionAPI from "./tcp-flow-protection/tcp-flow-protection.mjs";
import { BaseTCPFlowProtection, TCPFlowProtection } from "./tcp-flow-protection/tcp-flow-protection.mjs";
export var BaseAdvancedTCPProtection = /* @__PURE__ */ (() => {
class BaseAdvancedTCPProtection extends APIResource {
}
BaseAdvancedTCPProtection._key = Object.freeze([
'DDoSProtection',
'advancedTCPProtection',
]);
return BaseAdvancedTCPProtection;
})();
export 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;
AdvancedTCPProtection.BaseAllowlist = BaseAllowlist;
AdvancedTCPProtection.Prefixes = Prefixes;
AdvancedTCPProtection.BasePrefixes = BasePrefixes;
AdvancedTCPProtection.SynProtection = SynProtection;
AdvancedTCPProtection.BaseSynProtection = BaseSynProtection;
AdvancedTCPProtection.TCPFlowProtection = TCPFlowProtection;
AdvancedTCPProtection.BaseTCPFlowProtection = BaseTCPFlowProtection;
AdvancedTCPProtection.Status = Status;
AdvancedTCPProtection.BaseStatus = BaseStatus;
return AdvancedTCPProtection;
})();
//# sourceMappingURL=advanced-tcp-protection.mjs.map