UNPKG

@vercel/sdk

Version:

<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>

1,081 lines 56.2 kB
import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type GetFirewallConfigRequest = {
    projectId: string;
    /**
     * The Team identifier to perform the request on behalf of.
     */
    teamId?: string | undefined;
    /**
     * The Team slug to perform the request on behalf of.
     */
    slug?: string | undefined;
    /**
     * The deployed configVersion for the firewall configuration
     */
    configVersion: string;
};
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction: {
    readonly Deny: "deny";
    readonly Log: "log";
};
export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction = ClosedEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction>;
/**
 * Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools.
 */
export type GetFirewallConfigSd = {
    active: boolean;
    action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction;
};
export declare const GetFirewallConfigSecurityAction: {
    readonly Deny: "deny";
    readonly Log: "log";
};
export type GetFirewallConfigSecurityAction = ClosedEnum<typeof GetFirewallConfigSecurityAction>;
/**
 * Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding.
 */
export type GetFirewallConfigMa = {
    active: boolean;
    action: GetFirewallConfigSecurityAction;
};
export declare const GetFirewallConfigSecurityResponseAction: {
    readonly Deny: "deny";
    readonly Log: "log";
};
export type GetFirewallConfigSecurityResponseAction = ClosedEnum<typeof GetFirewallConfigSecurityResponseAction>;
/**
 * Local File Inclusion Attack - Prevent unauthorized access to local files through web applications.
 */
export type GetFirewallConfigLfi = {
    active: boolean;
    action: GetFirewallConfigSecurityResponseAction;
};
export declare const GetFirewallConfigSecurityResponse200Action: {
    readonly Deny: "deny";
    readonly Log: "log";
};
export type GetFirewallConfigSecurityResponse200Action = ClosedEnum<typeof GetFirewallConfigSecurityResponse200Action>;
/**
 * Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files.
 */
export type GetFirewallConfigRfi = {
    active: boolean;
    action: GetFirewallConfigSecurityResponse200Action;
};
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONAction: {
    readonly Deny: "deny";
    readonly Log: "log";
};
export type GetFirewallConfigSecurityResponse200ApplicationJSONAction = ClosedEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONAction>;
/**
 * Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands.
 */
export type GetFirewallConfigRce = {
    active: boolean;
    action: GetFirewallConfigSecurityResponse200ApplicationJSONAction;
};
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction: {
    readonly Deny: "deny";
    readonly Log: "log";
};
export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction = ClosedEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction>;
/**
 * PHP Attack - Safeguard against vulnerability exploits in PHP-based applications.
 */
export type GetFirewallConfigPhp = {
    active: boolean;
    action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction;
};
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction: {
    readonly Deny: "deny";
    readonly Log: "log";
};
export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction = ClosedEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction>;
/**
 * Generic Attack - Provide broad protection from various undefined or novel attack vectors.
 */
export type GetFirewallConfigGen = {
    active: boolean;
    action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction;
};
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction: {
    readonly Deny: "deny";
    readonly Log: "log";
};
export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction = ClosedEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction>;
/**
 * XSS Attack - Prevent injection of malicious scripts into trusted webpages.
 */
export type GetFirewallConfigXss = {
    active: boolean;
    action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction;
};
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction: {
    readonly Deny: "deny";
    readonly Log: "log";
};
export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction = ClosedEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction>;
/**
 * SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases.
 */
export type GetFirewallConfigSqli = {
    active: boolean;
    action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction;
};
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction: {
    readonly Deny: "deny";
    readonly Log: "log";
};
export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction = ClosedEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction>;
/**
 * Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs.
 */
export type GetFirewallConfigSf = {
    active: boolean;
    action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction;
};
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction: {
    readonly Deny: "deny";
    readonly Log: "log";
};
export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction = ClosedEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction>;
/**
 * Java Attack - Mitigate risks of exploitation targeting Java-based applications or components.
 */
export type GetFirewallConfigJava = {
    active: boolean;
    action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction;
};
/**
 * Custom Ruleset
 */
export type GetFirewallConfigCrs = {
    /**
     * Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools.
     */
    sd: GetFirewallConfigSd;
    /**
     * Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding.
     */
    ma: GetFirewallConfigMa;
    /**
     * Local File Inclusion Attack - Prevent unauthorized access to local files through web applications.
     */
    lfi: GetFirewallConfigLfi;
    /**
     * Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files.
     */
    rfi: GetFirewallConfigRfi;
    /**
     * Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands.
     */
    rce: GetFirewallConfigRce;
    /**
     * PHP Attack - Safeguard against vulnerability exploits in PHP-based applications.
     */
    php: GetFirewallConfigPhp;
    /**
     * Generic Attack - Provide broad protection from various undefined or novel attack vectors.
     */
    gen: GetFirewallConfigGen;
    /**
     * XSS Attack - Prevent injection of malicious scripts into trusted webpages.
     */
    xss: GetFirewallConfigXss;
    /**
     * SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases.
     */
    sqli: GetFirewallConfigSqli;
    /**
     * Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs.
     */
    sf: GetFirewallConfigSf;
    /**
     * Java Attack - Mitigate risks of exploitation targeting Java-based applications or components.
     */
    java: GetFirewallConfigJava;
};
export declare const GetFirewallConfigRulesType: {
    readonly BotCategory: "bot_category";
    readonly BotName: "bot_name";
    readonly BotProtection: "bot_protection";
    readonly BotStatus: "bot_status";
    readonly Cookie: "cookie";
    readonly DomainEnvironment: "domain_environment";
    readonly Environment: "environment";
    readonly GeoAsNumber: "geo_as_number";
    readonly GeoCity: "geo_city";
    readonly GeoContinent: "geo_continent";
    readonly GeoCountry: "geo_country";
    readonly GeoCountryRegion: "geo_country_region";
    readonly Header: "header";
    readonly Host: "host";
    readonly IpAddress: "ip_address";
    readonly Ja3Digest: "ja3_digest";
    readonly Ja4Digest: "ja4_digest";
    readonly Method: "method";
    readonly Path: "path";
    readonly Protocol: "protocol";
    readonly Query: "query";
    readonly RateLimitApiId: "rate_limit_api_id";
    readonly RawPath: "raw_path";
    readonly Region: "region";
    readonly Route: "route";
    readonly Ruleset: "ruleset";
    readonly Scheme: "scheme";
    readonly ServerAction: "server_action";
    readonly SharedCondition: "shared_condition";
    readonly TargetPath: "target_path";
    readonly TrafficSource: "traffic_source";
    readonly TrustedSource: "trusted_source";
    readonly UserAgent: "user_agent";
};
export type GetFirewallConfigRulesType = ClosedEnum<typeof GetFirewallConfigRulesType>;
export declare const GetFirewallConfigRulesOp: {
    readonly Eq: "eq";
    readonly Ex: "ex";
    readonly Gt: "gt";
    readonly Gte: "gte";
    readonly Inc: "inc";
    readonly List: "list";
    readonly Lt: "lt";
    readonly Lte: "lte";
    readonly Neq: "neq";
    readonly Nex: "nex";
    readonly Ninc: "ninc";
    readonly Pre: "pre";
    readonly Re: "re";
    readonly Sub: "sub";
    readonly Suf: "suf";
};
export type GetFirewallConfigRulesOp = ClosedEnum<typeof GetFirewallConfigRulesOp>;
export type GetFirewallConfigRulesValue = string | number | Array<string>;
export type GetFirewallConfigRulesConditions = {
    type: GetFirewallConfigRulesType;
    op: GetFirewallConfigRulesOp;
    neg?: boolean | undefined;
    key?: string | undefined;
    value?: string | number | Array<string> | undefined;
};
export type GetFirewallConfigRulesConditionGroup = {
    conditions: Array<GetFirewallConfigRulesConditions>;
};
export declare const GetFirewallConfigRulesSecurityAction: {
    readonly Allow: "allow";
    readonly Bypass: "bypass";
    readonly Challenge: "challenge";
    readonly Deny: "deny";
    readonly Log: "log";
    readonly RateLimit: "rate_limit";
    readonly Redirect: "redirect";
};
export type GetFirewallConfigRulesSecurityAction = ClosedEnum<typeof GetFirewallConfigRulesSecurityAction>;
export declare const GetFirewallConfigRulesAlgo: {
    readonly FixedWindow: "fixed_window";
    readonly TokenBucket: "token_bucket";
};
export type GetFirewallConfigRulesAlgo = ClosedEnum<typeof GetFirewallConfigRulesAlgo>;
export declare const GetFirewallConfigRulesSecurityResponse200Action: {
    readonly Challenge: "challenge";
    readonly Deny: "deny";
    readonly Log: "log";
    readonly RateLimit: "rate_limit";
};
export type GetFirewallConfigRulesSecurityResponse200Action = ClosedEnum<typeof GetFirewallConfigRulesSecurityResponse200Action>;
export type GetFirewallConfigRulesRateLimit = {
    algo: GetFirewallConfigRulesAlgo;
    window: number;
    limit: number;
    keys: Array<string>;
    action?: GetFirewallConfigRulesSecurityResponse200Action | null | undefined;
};
export type GetFirewallConfigRulesRedirect = {
    location: string;
    permanent: boolean;
};
export declare const GetFirewallConfigLogHeadersSecurity2: {
    readonly Wildcard: "*";
};
export type GetFirewallConfigLogHeadersSecurity2 = ClosedEnum<typeof GetFirewallConfigLogHeadersSecurity2>;
export type GetFirewallConfigRulesLogHeaders = Array<string> | GetFirewallConfigLogHeadersSecurity2;
export type GetFirewallConfigRulesMitigate = {
    action: GetFirewallConfigRulesSecurityAction;
    rateLimit?: GetFirewallConfigRulesRateLimit | null | undefined;
    redirect?: GetFirewallConfigRulesRedirect | null | undefined;
    actionDuration?: string | null | undefined;
    bypassSystem?: boolean | null | undefined;
    logHeaders?: Array<string> | GetFirewallConfigLogHeadersSecurity2 | undefined;
};
export type GetFirewallConfigRulesAction = {
    mitigate?: GetFirewallConfigRulesMitigate | undefined;
};
export type Rules2 = {
    id: string;
    name: string;
    description?: string | undefined;
    active: boolean;
    conditionGroup: Array<GetFirewallConfigRulesConditionGroup>;
    action: GetFirewallConfigRulesAction;
    valid: false;
    validationErrors: Array<string>;
};
export declare const RulesType: {
    readonly BotCategory: "bot_category";
    readonly BotName: "bot_name";
    readonly BotProtection: "bot_protection";
    readonly BotStatus: "bot_status";
    readonly Cookie: "cookie";
    readonly DomainEnvironment: "domain_environment";
    readonly Environment: "environment";
    readonly GeoAsNumber: "geo_as_number";
    readonly GeoCity: "geo_city";
    readonly GeoContinent: "geo_continent";
    readonly GeoCountry: "geo_country";
    readonly GeoCountryRegion: "geo_country_region";
    readonly Header: "header";
    readonly Host: "host";
    readonly IpAddress: "ip_address";
    readonly Ja3Digest: "ja3_digest";
    readonly Ja4Digest: "ja4_digest";
    readonly Method: "method";
    readonly Path: "path";
    readonly Protocol: "protocol";
    readonly Query: "query";
    readonly RateLimitApiId: "rate_limit_api_id";
    readonly RawPath: "raw_path";
    readonly Region: "region";
    readonly Route: "route";
    readonly Ruleset: "ruleset";
    readonly Scheme: "scheme";
    readonly ServerAction: "server_action";
    readonly SharedCondition: "shared_condition";
    readonly TargetPath: "target_path";
    readonly TrafficSource: "traffic_source";
    readonly TrustedSource: "trusted_source";
    readonly UserAgent: "user_agent";
};
export type RulesType = ClosedEnum<typeof RulesType>;
export declare const RulesOp: {
    readonly Eq: "eq";
    readonly Ex: "ex";
    readonly Gt: "gt";
    readonly Gte: "gte";
    readonly Inc: "inc";
    readonly List: "list";
    readonly Lt: "lt";
    readonly Lte: "lte";
    readonly Neq: "neq";
    readonly Nex: "nex";
    readonly Ninc: "ninc";
    readonly Pre: "pre";
    readonly Re: "re";
    readonly Sub: "sub";
    readonly Suf: "suf";
};
export type RulesOp = ClosedEnum<typeof RulesOp>;
export type RulesValue = string | number | Array<string>;
export type RulesConditions = {
    type: RulesType;
    op: RulesOp;
    neg?: boolean | undefined;
    key?: string | undefined;
    value?: string | number | Array<string> | undefined;
};
export type RulesConditionGroup = {
    conditions: Array<RulesConditions>;
};
export declare const GetFirewallConfigRulesSecurityResponseAction: {
    readonly Allow: "allow";
    readonly Bypass: "bypass";
    readonly Challenge: "challenge";
    readonly Deny: "deny";
    readonly Log: "log";
    readonly RateLimit: "rate_limit";
    readonly Redirect: "redirect";
};
export type GetFirewallConfigRulesSecurityResponseAction = ClosedEnum<typeof GetFirewallConfigRulesSecurityResponseAction>;
export declare const RulesAlgo: {
    readonly FixedWindow: "fixed_window";
    readonly TokenBucket: "token_bucket";
};
export type RulesAlgo = ClosedEnum<typeof RulesAlgo>;
export declare const GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction: {
    readonly Challenge: "challenge";
    readonly Deny: "deny";
    readonly Log: "log";
    readonly RateLimit: "rate_limit";
};
export type GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction = ClosedEnum<typeof GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction>;
export type RulesRateLimit = {
    algo: RulesAlgo;
    window: number;
    limit: number;
    keys: Array<string>;
    action?: GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction | null | undefined;
};
export type RulesRedirect = {
    location: string;
    permanent: boolean;
};
export declare const GetFirewallConfigLogHeadersSecurityResponse2002: {
    readonly Wildcard: "*";
};
export type GetFirewallConfigLogHeadersSecurityResponse2002 = ClosedEnum<typeof GetFirewallConfigLogHeadersSecurityResponse2002>;
export type RulesLogHeaders = Array<string> | GetFirewallConfigLogHeadersSecurityResponse2002;
export type RulesMitigate = {
    action: GetFirewallConfigRulesSecurityResponseAction;
    rateLimit?: RulesRateLimit | null | undefined;
    redirect?: RulesRedirect | null | undefined;
    actionDuration?: string | null | undefined;
    bypassSystem?: boolean | null | undefined;
    logHeaders?: Array<string> | GetFirewallConfigLogHeadersSecurityResponse2002 | undefined;
};
export type RulesAction = {
    mitigate?: RulesMitigate | undefined;
};
export type Rules1 = {
    id: string;
    name: string;
    description?: string | undefined;
    active: boolean;
    conditionGroup: Array<RulesConditionGroup>;
    action: RulesAction;
    valid: true;
    validationErrors?: any | null | undefined;
};
export type GetFirewallConfigRules = Rules1 | Rules2;
export declare const GetFirewallConfigAction: {
    readonly Bypass: "bypass";
    readonly Challenge: "challenge";
    readonly Deny: "deny";
    readonly Log: "log";
};
export type GetFirewallConfigAction = ClosedEnum<typeof GetFirewallConfigAction>;
export type GetFirewallConfigIps = {
    id: string;
    hostname: string;
    ip: string;
    notes?: string | undefined;
    action: GetFirewallConfigAction;
};
export declare const GetFirewallConfigRulesetsSecurityAction: {
    readonly Allow: "allow";
    readonly Bypass: "bypass";
    readonly Challenge: "challenge";
    readonly Deny: "deny";
    readonly Log: "log";
    readonly RateLimit: "rate_limit";
    readonly Redirect: "redirect";
};
export type GetFirewallConfigRulesetsSecurityAction = ClosedEnum<typeof GetFirewallConfigRulesetsSecurityAction>;
export declare const RulesetsAlgo: {
    readonly FixedWindow: "fixed_window";
    readonly TokenBucket: "token_bucket";
};
export type RulesetsAlgo = ClosedEnum<typeof RulesetsAlgo>;
export declare const GetFirewallConfigRulesetsSecurityResponseAction: {
    readonly Challenge: "challenge";
    readonly Deny: "deny";
    readonly Log: "log";
    readonly RateLimit: "rate_limit";
};
export type GetFirewallConfigRulesetsSecurityResponseAction = ClosedEnum<typeof GetFirewallConfigRulesetsSecurityResponseAction>;
export type RulesetsRateLimit = {
    algo: RulesetsAlgo;
    window: number;
    limit: number;
    keys: Array<string>;
    action?: GetFirewallConfigRulesetsSecurityResponseAction | null | undefined;
};
export type RulesetsRedirect = {
    location: string;
    permanent: boolean;
};
export declare const GetFirewallConfigLogHeaders2: {
    readonly Wildcard: "*";
};
export type GetFirewallConfigLogHeaders2 = ClosedEnum<typeof GetFirewallConfigLogHeaders2>;
export type RulesetsLogHeaders = Array<string> | GetFirewallConfigLogHeaders2;
export type GetFirewallConfigRulesets2 = {
    action: GetFirewallConfigRulesetsSecurityAction;
    rateLimit?: RulesetsRateLimit | null | undefined;
    redirect?: RulesetsRedirect | null | undefined;
    actionDuration?: string | null | undefined;
    bypassSystem?: boolean | null | undefined;
    logHeaders?: Array<string> | GetFirewallConfigLogHeaders2 | undefined;
};
export declare const GetFirewallConfigRulesetsType: {
    readonly BotCategory: "bot_category";
    readonly BotName: "bot_name";
    readonly BotProtection: "bot_protection";
    readonly BotStatus: "bot_status";
    readonly Cookie: "cookie";
    readonly DomainEnvironment: "domain_environment";
    readonly Environment: "environment";
    readonly GeoAsNumber: "geo_as_number";
    readonly GeoCity: "geo_city";
    readonly GeoContinent: "geo_continent";
    readonly GeoCountry: "geo_country";
    readonly GeoCountryRegion: "geo_country_region";
    readonly Header: "header";
    readonly Host: "host";
    readonly IpAddress: "ip_address";
    readonly Ja3Digest: "ja3_digest";
    readonly Ja4Digest: "ja4_digest";
    readonly Method: "method";
    readonly Path: "path";
    readonly Protocol: "protocol";
    readonly Query: "query";
    readonly RateLimitApiId: "rate_limit_api_id";
    readonly RawPath: "raw_path";
    readonly Region: "region";
    readonly Route: "route";
    readonly Ruleset: "ruleset";
    readonly Scheme: "scheme";
    readonly ServerAction: "server_action";
    readonly SharedCondition: "shared_condition";
    readonly TargetPath: "target_path";
    readonly TrafficSource: "traffic_source";
    readonly TrustedSource: "trusted_source";
    readonly UserAgent: "user_agent";
};
export type GetFirewallConfigRulesetsType = ClosedEnum<typeof GetFirewallConfigRulesetsType>;
export declare const GetFirewallConfigRulesetsOp: {
    readonly Eq: "eq";
    readonly Ex: "ex";
    readonly Gt: "gt";
    readonly Gte: "gte";
    readonly Inc: "inc";
    readonly List: "list";
    readonly Lt: "lt";
    readonly Lte: "lte";
    readonly Neq: "neq";
    readonly Nex: "nex";
    readonly Ninc: "ninc";
    readonly Pre: "pre";
    readonly Re: "re";
    readonly Sub: "sub";
    readonly Suf: "suf";
};
export type GetFirewallConfigRulesetsOp = ClosedEnum<typeof GetFirewallConfigRulesetsOp>;
export type GetFirewallConfigRulesetsValue = string | number | Array<string>;
export type GetFirewallConfigRulesetsConditions = {
    type: GetFirewallConfigRulesetsType;
    op: GetFirewallConfigRulesetsOp;
    neg?: boolean | undefined;
    key?: string | undefined;
    value?: string | number | Array<string> | undefined;
};
export type GetFirewallConfigRulesetsConditionGroup = {
    conditions: Array<GetFirewallConfigRulesetsConditions>;
};
export declare const GetFirewallConfigRulesetsSecurityResponse200Action: {
    readonly Allow: "allow";
    readonly Bypass: "bypass";
    readonly Challenge: "challenge";
    readonly Deny: "deny";
    readonly Log: "log";
    readonly RateLimit: "rate_limit";
    readonly Redirect: "redirect";
};
export type GetFirewallConfigRulesetsSecurityResponse200Action = ClosedEnum<typeof GetFirewallConfigRulesetsSecurityResponse200Action>;
export declare const GetFirewallConfigRulesetsAlgo: {
    readonly FixedWindow: "fixed_window";
    readonly TokenBucket: "token_bucket";
};
export type GetFirewallConfigRulesetsAlgo = ClosedEnum<typeof GetFirewallConfigRulesetsAlgo>;
export declare const GetFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction: {
    readonly Challenge: "challenge";
    readonly Deny: "deny";
    readonly Log: "log";
    readonly RateLimit: "rate_limit";
};
export type GetFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction = ClosedEnum<typeof GetFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction>;
export type GetFirewallConfigRulesetsRateLimit = {
    algo: GetFirewallConfigRulesetsAlgo;
    window: number;
    limit: number;
    keys: Array<string>;
    action?: GetFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction | null | undefined;
};
export type GetFirewallConfigRulesetsRedirect = {
    location: string;
    permanent: boolean;
};
export declare const GetFirewallConfigLogHeadersSecurityResponse2: {
    readonly Wildcard: "*";
};
export type GetFirewallConfigLogHeadersSecurityResponse2 = ClosedEnum<typeof GetFirewallConfigLogHeadersSecurityResponse2>;
export type GetFirewallConfigRulesetsLogHeaders = Array<string> | GetFirewallConfigLogHeadersSecurityResponse2;
export type GetFirewallConfigRulesetsMitigate = {
    action: GetFirewallConfigRulesetsSecurityResponse200Action;
    rateLimit?: GetFirewallConfigRulesetsRateLimit | null | undefined;
    redirect?: GetFirewallConfigRulesetsRedirect | null | undefined;
    actionDuration?: string | null | undefined;
    bypassSystem?: boolean | null | undefined;
    logHeaders?: Array<string> | GetFirewallConfigLogHeadersSecurityResponse2 | undefined;
};
export type GetFirewallConfigRulesetsAction = {
    mitigate?: GetFirewallConfigRulesetsMitigate | undefined;
};
export type GetFirewallConfigRulesets1 = {
    description?: string | undefined;
    id: string;
    name: string;
    active: boolean;
    conditionGroup: Array<GetFirewallConfigRulesetsConditionGroup>;
    action?: GetFirewallConfigRulesetsAction | undefined;
};
export type GetFirewallConfigRulesets = Array<GetFirewallConfigRulesets1> | {
    [k: string]: GetFirewallConfigRulesets2;
};
export declare const GetFirewallConfigType: {
    readonly BotCategory: "bot_category";
    readonly BotName: "bot_name";
    readonly BotProtection: "bot_protection";
    readonly BotStatus: "bot_status";
    readonly Cookie: "cookie";
    readonly DomainEnvironment: "domain_environment";
    readonly Environment: "environment";
    readonly GeoAsNumber: "geo_as_number";
    readonly GeoCity: "geo_city";
    readonly GeoContinent: "geo_continent";
    readonly GeoCountry: "geo_country";
    readonly GeoCountryRegion: "geo_country_region";
    readonly Header: "header";
    readonly Host: "host";
    readonly IpAddress: "ip_address";
    readonly Ja3Digest: "ja3_digest";
    readonly Ja4Digest: "ja4_digest";
    readonly Method: "method";
    readonly Path: "path";
    readonly Protocol: "protocol";
    readonly Query: "query";
    readonly RateLimitApiId: "rate_limit_api_id";
    readonly RawPath: "raw_path";
    readonly Region: "region";
    readonly Route: "route";
    readonly Ruleset: "ruleset";
    readonly Scheme: "scheme";
    readonly ServerAction: "server_action";
    readonly SharedCondition: "shared_condition";
    readonly TargetPath: "target_path";
    readonly TrafficSource: "traffic_source";
    readonly TrustedSource: "trusted_source";
    readonly UserAgent: "user_agent";
};
export type GetFirewallConfigType = ClosedEnum<typeof GetFirewallConfigType>;
export declare const GetFirewallConfigOp: {
    readonly Eq: "eq";
    readonly Ex: "ex";
    readonly Gt: "gt";
    readonly Gte: "gte";
    readonly Inc: "inc";
    readonly List: "list";
    readonly Lt: "lt";
    readonly Lte: "lte";
    readonly Neq: "neq";
    readonly Nex: "nex";
    readonly Ninc: "ninc";
    readonly Pre: "pre";
    readonly Re: "re";
    readonly Sub: "sub";
    readonly Suf: "suf";
};
export type GetFirewallConfigOp = ClosedEnum<typeof GetFirewallConfigOp>;
export type GetFirewallConfigValue = string | number | Array<string>;
export type GetFirewallConfigSecurityConditions = {
    type: GetFirewallConfigType;
    op: GetFirewallConfigOp;
    neg?: boolean | undefined;
    key?: string | undefined;
    value?: string | number | Array<string> | undefined;
};
export type GetFirewallConfigConditionGroup = {
    conditions: Array<GetFirewallConfigSecurityConditions>;
};
export type GetFirewallConfigConditions = {
    description?: string | undefined;
    id: string;
    name: string;
    active: boolean;
    conditionGroup: Array<GetFirewallConfigConditionGroup>;
};
export type Changes = {};
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction: {
    readonly Challenge: "challenge";
    readonly Deny: "deny";
    readonly Log: "log";
};
export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction = ClosedEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction>;
export type BotProtection = {
    active: boolean;
    action?: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction | undefined;
    updatedAt?: string | undefined;
    userId?: string | undefined;
    username?: string | undefined;
};
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAiBotsAction: {
    readonly Challenge: "challenge";
    readonly Deny: "deny";
    readonly Log: "log";
};
export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAiBotsAction = ClosedEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAiBotsAction>;
export type AiBots = {
    active: boolean;
    action?: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAiBotsAction | undefined;
    updatedAt?: string | undefined;
    userId?: string | undefined;
    username?: string | undefined;
};
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction: {
    readonly Challenge: "challenge";
    readonly Deny: "deny";
    readonly Log: "log";
};
export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction = ClosedEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction>;
export type Owasp = {
    active: boolean;
    action?: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction | undefined;
    updatedAt?: string | undefined;
    userId?: string | undefined;
    username?: string | undefined;
};
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction: {
    readonly Challenge: "challenge";
    readonly Deny: "deny";
    readonly Log: "log";
};
export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction = ClosedEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction>;
export type VercelRuleset = {
    active: boolean;
    action?: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction | undefined;
    updatedAt?: string | undefined;
    userId?: string | undefined;
    username?: string | undefined;
};
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction: {
    readonly Challenge: "challenge";
    readonly Deny: "deny";
    readonly Log: "log";
};
export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction = ClosedEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction>;
export type TrafficSources = {
    active: boolean;
    action?: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction | undefined;
    updatedAt?: string | undefined;
    userId?: string | undefined;
    username?: string | undefined;
};
export type GetFirewallConfigManagedRules = {
    botProtection?: BotProtection | undefined;
    aiBots?: AiBots | undefined;
    owasp?: Owasp | undefined;
    vercelRuleset?: VercelRuleset | undefined;
    trafficSources?: TrafficSources | undefined;
};
export declare const LogHeaders2: {
    readonly Wildcard: "*";
};
export type LogHeaders2 = ClosedEnum<typeof LogHeaders2>;
export type GetFirewallConfigLogHeaders = Array<string> | LogHeaders2;
/**
 * If the firewall configuration includes a [custom managed ruleset](https://vercel.com/docs/security/vercel-waf/managed-rulesets), it will include a `crs` item that has the following values: sd: Scanner Detection ma: Multipart Attack lfi: Local File Inclusion Attack rfi: Remote File Inclusion Attack rce: Remote Execution Attack php: PHP Attack gen: Generic Attack xss: XSS Attack sqli: SQL Injection Attack sf: Session Fixation Attack java: Java Attack
 */
export type GetFirewallConfigResponseBody = {
    ownerId: string;
    projectKey: string;
    id: string;
    version: number;
    updatedAt: string;
    firewallEnabled: boolean;
    /**
     * Custom Ruleset
     */
    crs?: GetFirewallConfigCrs | undefined;
    rules: Array<Rules1 | Rules2>;
    ips: Array<GetFirewallConfigIps>;
    rulesets?: Array<GetFirewallConfigRulesets1> | {
        [k: string]: GetFirewallConfigRulesets2;
    } | undefined;
    conditions?: Array<GetFirewallConfigConditions> | undefined;
    changes: Array<Changes>;
    managedRules?: GetFirewallConfigManagedRules | undefined;
    botIdEnabled?: boolean | undefined;
    logHeaders?: Array<string> | LogHeaders2 | undefined;
};
/** @internal */
export type GetFirewallConfigRequest$Outbound = {
    projectId: string;
    teamId?: string | undefined;
    slug?: string | undefined;
    configVersion: string;
};
/** @internal */
export declare const GetFirewallConfigRequest$outboundSchema: z.ZodType<GetFirewallConfigRequest$Outbound, z.ZodTypeDef, GetFirewallConfigRequest>;
export declare function getFirewallConfigRequestToJSON(getFirewallConfigRequest: GetFirewallConfigRequest): string;
/** @internal */
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction>;
/** @internal */
export declare const GetFirewallConfigSd$inboundSchema: z.ZodType<GetFirewallConfigSd, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigSdFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigSd, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigSecurityAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityAction>;
/** @internal */
export declare const GetFirewallConfigMa$inboundSchema: z.ZodType<GetFirewallConfigMa, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigMaFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigMa, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigSecurityResponseAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponseAction>;
/** @internal */
export declare const GetFirewallConfigLfi$inboundSchema: z.ZodType<GetFirewallConfigLfi, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigLfiFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigLfi, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigSecurityResponse200Action$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200Action>;
/** @internal */
export declare const GetFirewallConfigRfi$inboundSchema: z.ZodType<GetFirewallConfigRfi, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRfiFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRfi, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONAction>;
/** @internal */
export declare const GetFirewallConfigRce$inboundSchema: z.ZodType<GetFirewallConfigRce, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRceFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRce, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction>;
/** @internal */
export declare const GetFirewallConfigPhp$inboundSchema: z.ZodType<GetFirewallConfigPhp, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigPhpFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigPhp, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction>;
/** @internal */
export declare const GetFirewallConfigGen$inboundSchema: z.ZodType<GetFirewallConfigGen, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigGenFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigGen, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction>;
/** @internal */
export declare const GetFirewallConfigXss$inboundSchema: z.ZodType<GetFirewallConfigXss, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigXssFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigXss, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction>;
/** @internal */
export declare const GetFirewallConfigSqli$inboundSchema: z.ZodType<GetFirewallConfigSqli, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigSqliFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigSqli, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction>;
/** @internal */
export declare const GetFirewallConfigSf$inboundSchema: z.ZodType<GetFirewallConfigSf, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigSfFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigSf, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction>;
/** @internal */
export declare const GetFirewallConfigJava$inboundSchema: z.ZodType<GetFirewallConfigJava, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigJavaFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigJava, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigCrs$inboundSchema: z.ZodType<GetFirewallConfigCrs, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigCrsFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigCrs, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesType$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesType>;
/** @internal */
export declare const GetFirewallConfigRulesOp$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesOp>;
/** @internal */
export declare const GetFirewallConfigRulesValue$inboundSchema: z.ZodType<GetFirewallConfigRulesValue, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesValueFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesValue, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesConditions$inboundSchema: z.ZodType<GetFirewallConfigRulesConditions, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesConditionsFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesConditions, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesConditionGroup$inboundSchema: z.ZodType<GetFirewallConfigRulesConditionGroup, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesConditionGroupFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesConditionGroup, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesSecurityAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityAction>;
/** @internal */
export declare const GetFirewallConfigRulesAlgo$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesAlgo>;
/** @internal */
export declare const GetFirewallConfigRulesSecurityResponse200Action$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityResponse200Action>;
/** @internal */
export declare const GetFirewallConfigRulesRateLimit$inboundSchema: z.ZodType<GetFirewallConfigRulesRateLimit, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesRateLimitFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesRateLimit, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesRedirect$inboundSchema: z.ZodType<GetFirewallConfigRulesRedirect, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesRedirectFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesRedirect, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigLogHeadersSecurity2$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigLogHeadersSecurity2>;
/** @internal */
export declare const GetFirewallConfigRulesLogHeaders$inboundSchema: z.ZodType<GetFirewallConfigRulesLogHeaders, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesLogHeadersFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesLogHeaders, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesMitigate$inboundSchema: z.ZodType<GetFirewallConfigRulesMitigate, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesMitigateFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesMitigate, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesAction$inboundSchema: z.ZodType<GetFirewallConfigRulesAction, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesActionFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesAction, SDKValidationError>;
/** @internal */
export declare const Rules2$inboundSchema: z.ZodType<Rules2, z.ZodTypeDef, unknown>;
export declare function rules2FromJSON(jsonString: string): SafeParseResult<Rules2, SDKValidationError>;
/** @internal */
export declare const RulesType$inboundSchema: z.ZodNativeEnum<typeof RulesType>;
/** @internal */
export declare const RulesOp$inboundSchema: z.ZodNativeEnum<typeof RulesOp>;
/** @internal */
export declare const RulesValue$inboundSchema: z.ZodType<RulesValue, z.ZodTypeDef, unknown>;
export declare function rulesValueFromJSON(jsonString: string): SafeParseResult<RulesValue, SDKValidationError>;
/** @internal */
export declare const RulesConditions$inboundSchema: z.ZodType<RulesConditions, z.ZodTypeDef, unknown>;
export declare function rulesConditionsFromJSON(jsonString: string): SafeParseResult<RulesConditions, SDKValidationError>;
/** @internal */
export declare const RulesConditionGroup$inboundSchema: z.ZodType<RulesConditionGroup, z.ZodTypeDef, unknown>;
export declare function rulesConditionGroupFromJSON(jsonString: string): SafeParseResult<RulesConditionGroup, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesSecurityResponseAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityResponseAction>;
/** @internal */
export declare const RulesAlgo$inboundSchema: z.ZodNativeEnum<typeof RulesAlgo>;
/** @internal */
export declare const GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction>;
/** @internal */
export declare const RulesRateLimit$inboundSchema: z.ZodType<RulesRateLimit, z.ZodTypeDef, unknown>;
export declare function rulesRateLimitFromJSON(jsonString: string): SafeParseResult<RulesRateLimit, SDKValidationError>;
/** @internal */
export declare const RulesRedirect$inboundSchema: z.ZodType<RulesRedirect, z.ZodTypeDef, unknown>;
export declare function rulesRedirectFromJSON(jsonString: string): SafeParseResult<RulesRedirect, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigLogHeadersSecurityResponse2002$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigLogHeadersSecurityResponse2002>;
/** @internal */
export declare const RulesLogHeaders$inboundSchema: z.ZodType<RulesLogHeaders, z.ZodTypeDef, unknown>;
export declare function rulesLogHeadersFromJSON(jsonString: string): SafeParseResult<RulesLogHeaders, SDKValidationError>;
/** @internal */
export declare const RulesMitigate$inboundSchema: z.ZodType<RulesMitigate, z.ZodTypeDef, unknown>;
export declare function rulesMitigateFromJSON(jsonString: string): SafeParseResult<RulesMitigate, SDKValidationError>;
/** @internal */
export declare const RulesAction$inboundSchema: z.ZodType<RulesAction, z.ZodTypeDef, unknown>;
export declare function rulesActionFromJSON(jsonString: string): SafeParseResult<RulesAction, SDKValidationError>;
/** @internal */
export declare const Rules1$inboundSchema: z.ZodType<Rules1, z.ZodTypeDef, unknown>;
export declare function rules1FromJSON(jsonString: string): SafeParseResult<Rules1, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRules$inboundSchema: z.ZodType<GetFirewallConfigRules, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRules, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigAction>;
/** @internal */
export declare const GetFirewallConfigIps$inboundSchema: z.ZodType<GetFirewallConfigIps, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigIpsFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigIps, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesetsSecurityAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesetsSecurityAction>;
/** @internal */
export declare const RulesetsAlgo$inboundSchema: z.ZodNativeEnum<typeof RulesetsAlgo>;
/** @internal */
export declare const GetFirewallConfigRulesetsSecurityResponseAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesetsSecurityResponseAction>;
/** @internal */
export declare const RulesetsRateLimit$inboundSchema: z.ZodType<RulesetsRateLimit, z.ZodTypeDef, unknown>;
export declare function rulesetsRateLimitFromJSON(jsonString: string): SafeParseResult<RulesetsRateLimit, SDKValidationError>;
/** @internal */
export declare const RulesetsRedirect$inboundSchema: z.ZodType<RulesetsRedirect, z.ZodTypeDef, unknown>;
export declare function rulesetsRedirectFromJSON(jsonString: string): SafeParseResult<RulesetsRedirect, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigLogHeaders2$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigLogHeaders2>;
/** @internal */
export declare const RulesetsLogHeaders$inboundSchema: z.ZodType<RulesetsLogHeaders, z.ZodTypeDef, unknown>;
export declare function rulesetsLogHeadersFromJSON(jsonString: string): SafeParseResult<RulesetsLogHeaders, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesets2$inboundSchema: z.ZodType<GetFirewallConfigRulesets2, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesets2FromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesets2, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesetsType$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesetsType>;
/** @internal */
export declare const GetFirewallConfigRulesetsOp$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesetsOp>;
/** @internal */
export declare const GetFirewallConfigRulesetsValue$inboundSchema: z.ZodType<GetFirewallConfigRulesetsValue, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesetsValueFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesetsValue, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesetsConditions$inboundSchema: z.ZodType<GetFirewallConfigRulesetsConditions, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesetsConditionsFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesetsConditions, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesetsConditionGroup$inboundSchema: z.ZodType<GetFirewallConfigRulesetsConditionGroup, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesetsConditionGroupFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesetsConditionGroup, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesetsSecurityResponse200Action$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesetsSecurityResponse200Action>;
/** @internal */
export declare const GetFirewallConfigRulesetsAlgo$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesetsAlgo>;
/** @internal */
export declare const GetFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesetsSecurityResponse200ApplicationJSONAction>;
/** @internal */
export declare const GetFirewallConfigRulesetsRateLimit$inboundSchema: z.ZodType<GetFirewallConfigRulesetsRateLimit, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesetsRateLimitFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesetsRateLimit, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesetsRedirect$inboundSchema: z.ZodType<GetFirewallConfigRulesetsRedirect, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesetsRedirectFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesetsRedirect, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigLogHeadersSecurityResponse2$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigLogHeadersSecurityResponse2>;
/** @internal */
export declare const GetFirewallConfigRulesetsLogHeaders$inboundSchema: z.ZodType<GetFirewallConfigRulesetsLogHeaders, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesetsLogHeadersFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesetsLogHeaders, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesetsMitigate$inboundSchema: z.ZodType<GetFirewallConfigRulesetsMitigate, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesetsMitigateFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesetsMitigate, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesetsAction$inboundSchema: z.ZodType<GetFirewallConfigRulesetsAction, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesetsActionFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesetsAction, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesets1$inboundSchema: z.ZodType<GetFirewallConfigRulesets1, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesets1FromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesets1, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigRulesets$inboundSchema: z.ZodType<GetFirewallConfigRulesets, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigRulesetsFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesets, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigType$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigType>;
/** @internal */
export declare const GetFirewallConfigOp$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigOp>;
/** @internal */
export declare const GetFirewallConfigValue$inboundSchema: z.ZodType<GetFirewallConfigValue, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigValueFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigValue, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigSecurityConditions$inboundSchema: z.ZodType<GetFirewallConfigSecurityConditions, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigSecurityConditionsFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigSecurityConditions, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigConditionGroup$inboundSchema: z.ZodType<GetFirewallConfigConditionGroup, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigConditionGroupFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigConditionGroup, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigConditions$inboundSchema: z.ZodType<GetFirewallConfigConditions, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigConditionsFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigConditions, SDKValidationError>;
/** @internal */
export declare const Changes$inboundSchema: z.ZodType<Changes, z.ZodTypeDef, unknown>;
export declare function changesFromJSON(jsonString: string): SafeParseResult<Changes, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction>;
/** @internal */
export declare const BotProtection$inboundSchema: z.ZodType<BotProtection, z.ZodTypeDef, unknown>;
export declare function botProtectionFromJSON(jsonString: string): SafeParseResult<BotProtection, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAiBotsAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAiBotsAction>;
/** @internal */
export declare const AiBots$inboundSchema: z.ZodType<AiBots, z.ZodTypeDef, unknown>;
export declare function aiBotsFromJSON(jsonString: string): SafeParseResult<AiBots, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction>;
/** @internal */
export declare const Owasp$inboundSchema: z.ZodType<Owasp, z.ZodTypeDef, unknown>;
export declare function owaspFromJSON(jsonString: string): SafeParseResult<Owasp, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesVercelRulesetAction>;
/** @internal */
export declare const VercelRuleset$inboundSchema: z.ZodType<VercelRuleset, z.ZodTypeDef, unknown>;
export declare function vercelRulesetFromJSON(jsonString: string): SafeParseResult<VercelRuleset, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesTrafficSourcesAction>;
/** @internal */
export declare const TrafficSources$inboundSchema: z.ZodType<TrafficSources, z.ZodTypeDef, unknown>;
export declare function trafficSourcesFromJSON(jsonString: string): SafeParseResult<TrafficSources, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigManagedRules$inboundSchema: z.ZodType<GetFirewallConfigManagedRules, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigManagedRulesFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigManagedRules, SDKValidationError>;
/** @internal */
export declare const LogHeaders2$inboundSchema: z.ZodNativeEnum<typeof LogHeaders2>;
/** @internal */
export declare const GetFirewallConfigLogHeaders$inboundSchema: z.ZodType<GetFirewallConfigLogHeaders, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigLogHeadersFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigLogHeaders, SDKValidationError>;
/** @internal */
export declare const GetFirewallConfigResponseBody$inboundSchema: z.ZodType<GetFirewallConfigResponseBody, z.ZodTypeDef, unknown>;
export declare function getFirewallConfigResponseBodyFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigResponseBody, SDKValidationError>;
//# sourceMappingURL=getfirewallconfigop.d.ts.map