/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import { securityGetFirewallConfig } from "../funcs/securityGetFirewallConfig.js";
import { securityPutFirewallConfig } from "../funcs/securityPutFirewallConfig.js";
import { securityUpdateAttackChallengeMode } from "../funcs/securityUpdateAttackChallengeMode.js";
import { securityUpdateFirewallConfig } from "../funcs/securityUpdateFirewallConfig.js";
import { ClientSDK } from "../lib/sdks.js";
import { unwrapAsync } from "../types/fp.js";
export class Security extends ClientSDK {
    /**
     * Update Attack Challenge mode
     *
     * @remarks
     * Update the setting for determining if the project has Attack Challenge mode enabled.
     */
    async updateAttackChallengeMode(request, options) {
        return unwrapAsync(securityUpdateAttackChallengeMode(this, request, options));
    }
    /**
     * Put Firewall Configuration
     *
     * @remarks
     * Set the firewall configuration to provided rules and settings. Creates or overwrite the existing firewall configuration.
     */
    async putFirewallConfig(request, options) {
        return unwrapAsync(securityPutFirewallConfig(this, request, options));
    }
    /**
     * Update Firewall Configuration
     *
     * @remarks
     * Process updates to modify the existing firewall config for a project
     */
    async updateFirewallConfig(request, options) {
        return unwrapAsync(securityUpdateFirewallConfig(this, request, options));
    }
    /**
     * Read Firewall Configuration
     *
     * @remarks
     * Retrieve the specified firewall configuration for a project. The deployed configVersion will be `active`
     */
    async getFirewallConfig(request, options) {
        return unwrapAsync(securityGetFirewallConfig(this, request, options));
    }
}
//# sourceMappingURL=security.js.map