@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,652 lines • 89.6 kB
TypeScript
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";
/**
* Update log headers configuration
*/
export type RequestBody23 = {
action: string;
id?: string | undefined;
value?: any | undefined;
};
/**
* Toggle bot ID
*/
export type RequestBody22 = {
action: string;
id?: string | undefined;
value: boolean;
};
export declare const UpdateFirewallConfigRequestBodyId: {
readonly AiBots: "ai_bots";
readonly BotFilter: "bot_filter";
readonly BotProtection: "bot_protection";
readonly TrafficSources: "traffic_sources";
readonly VercelRuleset: "vercel_ruleset";
readonly Owasp: "owasp";
};
export type UpdateFirewallConfigRequestBodyId = ClosedEnum<typeof UpdateFirewallConfigRequestBodyId>;
export declare const UpdateFirewallConfigRequestBodySecurityRequest21Action: {
readonly Log: "log";
readonly Challenge: "challenge";
readonly Deny: "deny";
};
export type UpdateFirewallConfigRequestBodySecurityRequest21Action = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest21Action>;
export type UpdateFirewallConfigRequestBodySecurityRequest21Value = {
active: boolean;
action?: UpdateFirewallConfigRequestBodySecurityRequest21Action | undefined;
};
/**
* Update a managed rule group
*/
export type RequestBody21 = {
action: string;
id: UpdateFirewallConfigRequestBodyId;
value: {
[k: string]: UpdateFirewallConfigRequestBodySecurityRequest21Value;
};
};
export declare const RequestBodyId: {
readonly AiBots: "ai_bots";
readonly BotFilter: "bot_filter";
readonly BotProtection: "bot_protection";
readonly TrafficSources: "traffic_sources";
readonly VercelRuleset: "vercel_ruleset";
readonly Owasp: "owasp";
};
export type RequestBodyId = ClosedEnum<typeof RequestBodyId>;
export declare const UpdateFirewallConfigRequestBodySecurityRequest20Action: {
readonly Log: "log";
readonly Challenge: "challenge";
readonly Deny: "deny";
};
export type UpdateFirewallConfigRequestBodySecurityRequest20Action = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest20Action>;
export type UpdateFirewallConfigRequestBodySecurityRequest20Value = {
action?: UpdateFirewallConfigRequestBodySecurityRequest20Action | undefined;
active: boolean;
};
/**
* Update a managed ruleset
*/
export type RequestBody20 = {
action: string;
id: RequestBodyId;
value: UpdateFirewallConfigRequestBodySecurityRequest20Value;
};
/**
* Remove an IP Blocking rule
*/
export type RequestBody19 = {
action: string;
id: string;
value?: string | undefined;
};
export declare const UpdateFirewallConfigRequestBodySecurityRequest18Action: {
readonly Deny: "deny";
readonly Challenge: "challenge";
readonly Log: "log";
readonly Bypass: "bypass";
};
export type UpdateFirewallConfigRequestBodySecurityRequest18Action = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest18Action>;
export type UpdateFirewallConfigRequestBodySecurityRequest18Value = {
hostname: string;
ip: string;
notes?: string | undefined;
action: UpdateFirewallConfigRequestBodySecurityRequest18Action;
};
/**
* Update an IP Blocking rule
*/
export type RequestBody18 = {
action: string;
id: string;
value: UpdateFirewallConfigRequestBodySecurityRequest18Value;
};
export declare const UpdateFirewallConfigRequestBodySecurityRequest17Action: {
readonly Deny: "deny";
readonly Challenge: "challenge";
readonly Log: "log";
readonly Bypass: "bypass";
};
export type UpdateFirewallConfigRequestBodySecurityRequest17Action = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest17Action>;
export type UpdateFirewallConfigRequestBodySecurityRequest17Value = {
hostname: string;
ip: string;
notes?: string | undefined;
action: UpdateFirewallConfigRequestBodySecurityRequest17Action;
};
/**
* Add an IP Blocking rule
*/
export type RequestBody17 = {
action: string;
id?: string | undefined;
value: UpdateFirewallConfigRequestBodySecurityRequest17Value;
};
/**
* Disable a managed rule
*/
export type RequestBody16 = {
action: string;
id?: string | undefined;
value?: string | undefined;
};
export declare const Id: {
readonly Sd: "sd";
readonly Ma: "ma";
readonly Lfi: "lfi";
readonly Rfi: "rfi";
readonly Rce: "rce";
readonly Php: "php";
readonly Gen: "gen";
readonly Xss: "xss";
readonly Sqli: "sqli";
readonly Sf: "sf";
readonly Java: "java";
};
export type Id = ClosedEnum<typeof Id>;
export declare const UpdateFirewallConfigRequestBodySecurityRequest15Action: {
readonly Deny: "deny";
readonly Log: "log";
};
export type UpdateFirewallConfigRequestBodySecurityRequest15Action = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest15Action>;
export type UpdateFirewallConfigRequestBodySecurityRequest15Value = {
active: boolean;
action: UpdateFirewallConfigRequestBodySecurityRequest15Action;
};
/**
* Enable a managed rule
*/
export type RequestBody15 = {
action: string;
id: Id;
value: UpdateFirewallConfigRequestBodySecurityRequest15Value;
};
/**
* Reorder a custom rule
*/
export type RequestBody14 = {
action: string;
id: string;
value: number;
};
/**
* Remove a custom rule
*/
export type RequestBody13 = {
action: string;
id: string;
value?: string | undefined;
};
export declare const UpdateFirewallConfigRequestBodySecurityRequest12Type: {
readonly Host: "host";
readonly Path: "path";
readonly Method: "method";
readonly Header: "header";
readonly Query: "query";
readonly Cookie: "cookie";
readonly TargetPath: "target_path";
readonly Route: "route";
readonly RawPath: "raw_path";
readonly IpAddress: "ip_address";
readonly Region: "region";
readonly Protocol: "protocol";
readonly Scheme: "scheme";
readonly Environment: "environment";
readonly DomainEnvironment: "domain_environment";
readonly UserAgent: "user_agent";
readonly GeoContinent: "geo_continent";
readonly GeoCountry: "geo_country";
readonly GeoCountryRegion: "geo_country_region";
readonly GeoCity: "geo_city";
readonly GeoAsNumber: "geo_as_number";
readonly Ja4Digest: "ja4_digest";
readonly Ja3Digest: "ja3_digest";
readonly RateLimitApiId: "rate_limit_api_id";
readonly ServerAction: "server_action";
readonly BotName: "bot_name";
readonly BotCategory: "bot_category";
readonly BotStatus: "bot_status";
readonly BotProtection: "bot_protection";
readonly SharedCondition: "shared_condition";
readonly TrafficSource: "traffic_source";
readonly Ruleset: "ruleset";
};
export type UpdateFirewallConfigRequestBodySecurityRequest12Type = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest12Type>;
export declare const UpdateFirewallConfigRequestBodySecurityRequest12Op: {
readonly Re: "re";
readonly Eq: "eq";
readonly Neq: "neq";
readonly Ex: "ex";
readonly Nex: "nex";
readonly Inc: "inc";
readonly Ninc: "ninc";
readonly Pre: "pre";
readonly Suf: "suf";
readonly Sub: "sub";
readonly Gt: "gt";
readonly Gte: "gte";
readonly Lt: "lt";
readonly Lte: "lte";
readonly List: "list";
};
export type UpdateFirewallConfigRequestBodySecurityRequest12Op = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest12Op>;
export type UpdateFirewallConfigRequestBodySecurityRequest12ValueValue = string | Array<string> | number;
export type UpdateFirewallConfigRequestBodySecurityRequest12Conditions = {
type: UpdateFirewallConfigRequestBodySecurityRequest12Type;
op: UpdateFirewallConfigRequestBodySecurityRequest12Op;
neg?: boolean | undefined;
key?: string | undefined;
value?: string | Array<string> | number | undefined;
};
export type UpdateFirewallConfigRequestBodySecurityRequest12ConditionGroup = {
conditions: Array<UpdateFirewallConfigRequestBodySecurityRequest12Conditions>;
};
export declare const UpdateFirewallConfigRequestBodySecurityRequest12ValueAction: {
readonly Log: "log";
readonly Challenge: "challenge";
readonly Deny: "deny";
readonly Bypass: "bypass";
readonly RateLimit: "rate_limit";
readonly Redirect: "redirect";
};
export type UpdateFirewallConfigRequestBodySecurityRequest12ValueAction = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest12ValueAction>;
export declare const UpdateFirewallConfigRateLimitAlgo: {
readonly FixedWindow: "fixed_window";
readonly TokenBucket: "token_bucket";
};
export type UpdateFirewallConfigRateLimitAlgo = ClosedEnum<typeof UpdateFirewallConfigRateLimitAlgo>;
export declare const UpdateFirewallConfigActionSecurity1: {
readonly Log: "log";
readonly Challenge: "challenge";
readonly Deny: "deny";
readonly RateLimit: "rate_limit";
};
export type UpdateFirewallConfigActionSecurity1 = ClosedEnum<typeof UpdateFirewallConfigActionSecurity1>;
export type UpdateFirewallConfigRateLimitSecurityAction = UpdateFirewallConfigActionSecurity1 | string;
export type UpdateFirewallConfigRateLimitSecurity1 = {
algo: UpdateFirewallConfigRateLimitAlgo;
window: number;
limit: number;
keys: Array<string>;
action?: UpdateFirewallConfigActionSecurity1 | string | undefined;
};
export type UpdateFirewallConfigRequestBodyRateLimit = UpdateFirewallConfigRateLimitSecurity1 | string;
export type UpdateFirewallConfigRedirectSecurity1 = {
location: string;
permanent: boolean;
};
export type UpdateFirewallConfigRequestBodyRedirect = UpdateFirewallConfigRedirectSecurity1 | string;
export type UpdateFirewallConfigRequestBodyLogHeaders = string | Array<string>;
export type UpdateFirewallConfigRequestBodySecurityRequestMitigate = {
action: UpdateFirewallConfigRequestBodySecurityRequest12ValueAction;
rateLimit?: UpdateFirewallConfigRateLimitSecurity1 | string | undefined;
redirect?: UpdateFirewallConfigRedirectSecurity1 | string | undefined;
actionDuration?: string | null | undefined;
bypassSystem?: boolean | null | undefined;
logHeaders?: string | Array<string> | undefined;
};
export type UpdateFirewallConfigRequestBodySecurityRequest12Action = {
mitigate?: UpdateFirewallConfigRequestBodySecurityRequestMitigate | undefined;
};
export type UpdateFirewallConfigRequestBodySecurityRequest12ValidationErrors = Array<string> | string;
export type UpdateFirewallConfigRequestBodySecurityRequest12Value = {
name: string;
description?: string | undefined;
active: boolean;
conditionGroup: Array<UpdateFirewallConfigRequestBodySecurityRequest12ConditionGroup>;
action: UpdateFirewallConfigRequestBodySecurityRequest12Action;
valid?: boolean | undefined;
validationErrors?: Array<string> | string | undefined;
};
/**
* Update a custom rule
*/
export type RequestBody12 = {
action: string;
id: string;
value: UpdateFirewallConfigRequestBodySecurityRequest12Value;
};
export declare const UpdateFirewallConfigRequestBodySecurityRequest11Action: {
readonly ManagedRulesUpdate: "managedRules.update";
};
export type UpdateFirewallConfigRequestBodySecurityRequest11Action = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest11Action>;
export declare const UpdateFirewallConfigRequestBodySecurityRequest11Type: {
readonly Host: "host";
readonly Path: "path";
readonly Method: "method";
readonly Header: "header";
readonly Query: "query";
readonly Cookie: "cookie";
readonly TargetPath: "target_path";
readonly Route: "route";
readonly RawPath: "raw_path";
readonly IpAddress: "ip_address";
readonly Region: "region";
readonly Protocol: "protocol";
readonly Scheme: "scheme";
readonly Environment: "environment";
readonly DomainEnvironment: "domain_environment";
readonly UserAgent: "user_agent";
readonly GeoContinent: "geo_continent";
readonly GeoCountry: "geo_country";
readonly GeoCountryRegion: "geo_country_region";
readonly GeoCity: "geo_city";
readonly GeoAsNumber: "geo_as_number";
readonly Ja4Digest: "ja4_digest";
readonly Ja3Digest: "ja3_digest";
readonly RateLimitApiId: "rate_limit_api_id";
readonly ServerAction: "server_action";
readonly BotName: "bot_name";
readonly BotCategory: "bot_category";
readonly BotStatus: "bot_status";
readonly BotProtection: "bot_protection";
readonly SharedCondition: "shared_condition";
readonly TrafficSource: "traffic_source";
readonly Ruleset: "ruleset";
};
export type UpdateFirewallConfigRequestBodySecurityRequest11Type = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest11Type>;
export declare const UpdateFirewallConfigRequestBodySecurityRequest11Op: {
readonly Re: "re";
readonly Eq: "eq";
readonly Neq: "neq";
readonly Ex: "ex";
readonly Nex: "nex";
readonly Inc: "inc";
readonly Ninc: "ninc";
readonly Pre: "pre";
readonly Suf: "suf";
readonly Sub: "sub";
readonly Gt: "gt";
readonly Gte: "gte";
readonly Lt: "lt";
readonly Lte: "lte";
readonly List: "list";
};
export type UpdateFirewallConfigRequestBodySecurityRequest11Op = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest11Op>;
export type UpdateFirewallConfigRequestBodySecurityRequest11ValueValue = string | Array<string> | number;
export type UpdateFirewallConfigRequestBodySecurityRequest11Conditions = {
type: UpdateFirewallConfigRequestBodySecurityRequest11Type;
op: UpdateFirewallConfigRequestBodySecurityRequest11Op;
neg?: boolean | undefined;
key?: string | undefined;
value?: string | Array<string> | number | undefined;
};
export type UpdateFirewallConfigRequestBodySecurityRequest11ConditionGroup = {
conditions: Array<UpdateFirewallConfigRequestBodySecurityRequest11Conditions>;
};
export declare const UpdateFirewallConfigRequestBodySecurityRequest11ValueActionAction: {
readonly Log: "log";
readonly Challenge: "challenge";
readonly Deny: "deny";
readonly Bypass: "bypass";
readonly RateLimit: "rate_limit";
readonly Redirect: "redirect";
};
export type UpdateFirewallConfigRequestBodySecurityRequest11ValueActionAction = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest11ValueActionAction>;
export declare const RateLimitAlgo: {
readonly FixedWindow: "fixed_window";
readonly TokenBucket: "token_bucket";
};
export type RateLimitAlgo = ClosedEnum<typeof RateLimitAlgo>;
export declare const UpdateFirewallConfigAction1: {
readonly Log: "log";
readonly Challenge: "challenge";
readonly Deny: "deny";
readonly RateLimit: "rate_limit";
};
export type UpdateFirewallConfigAction1 = ClosedEnum<typeof UpdateFirewallConfigAction1>;
export type UpdateFirewallConfigRateLimitAction = UpdateFirewallConfigAction1 | string;
export type UpdateFirewallConfigRateLimit1 = {
algo: RateLimitAlgo;
window: number;
limit: number;
keys: Array<string>;
action?: UpdateFirewallConfigAction1 | string | undefined;
};
export type RequestBodyRateLimit = UpdateFirewallConfigRateLimit1 | string;
export type UpdateFirewallConfigRedirect1 = {
location: string;
permanent: boolean;
};
export type RequestBodyRedirect = UpdateFirewallConfigRedirect1 | string;
export type RequestBodyLogHeaders = string | Array<string>;
export type UpdateFirewallConfigRequestBodySecurityMitigate = {
action: UpdateFirewallConfigRequestBodySecurityRequest11ValueActionAction;
rateLimit?: UpdateFirewallConfigRateLimit1 | string | undefined;
redirect?: UpdateFirewallConfigRedirect1 | string | undefined;
actionDuration?: string | null | undefined;
bypassSystem?: boolean | null | undefined;
logHeaders?: string | Array<string> | undefined;
};
export type UpdateFirewallConfigRequestBodySecurityRequest11ValueAction = {
mitigate?: UpdateFirewallConfigRequestBodySecurityMitigate | undefined;
};
export type UpdateFirewallConfigRequestBodySecurityRequest11ValidationErrors = Array<string> | string;
export type UpdateFirewallConfigRequestBodySecurityRequest11Value = {
name: string;
description?: string | undefined;
active: boolean;
conditionGroup: Array<UpdateFirewallConfigRequestBodySecurityRequest11ConditionGroup>;
action: UpdateFirewallConfigRequestBodySecurityRequest11ValueAction;
valid?: boolean | undefined;
validationErrors?: Array<string> | string | undefined;
};
/**
* Add a custom rule
*/
export type RequestBody11 = {
action: UpdateFirewallConfigRequestBodySecurityRequest11Action;
id?: string | undefined;
value: UpdateFirewallConfigRequestBodySecurityRequest11Value;
};
export declare const UpdateFirewallConfigRequestBodySecurityRequest10Action: {
readonly IpRemove: "ip.remove";
};
export type UpdateFirewallConfigRequestBodySecurityRequest10Action = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest10Action>;
/**
* Enable Firewall
*/
export type UpdateFirewallConfigRequestBody10 = {
action: UpdateFirewallConfigRequestBodySecurityRequest10Action;
id?: string | undefined;
value?: any | null | undefined;
};
export declare const UpdateFirewallConfigRequestBodySecurityRequest9Action: {
readonly IpUpdate: "ip.update";
};
export type UpdateFirewallConfigRequestBodySecurityRequest9Action = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest9Action>;
/**
* Remove the action for a consumed ruleset (project scope)
*/
export type UpdateFirewallConfigRequestBody9 = {
action: UpdateFirewallConfigRequestBodySecurityRequest9Action;
id: string;
value?: string | undefined;
};
export declare const UpdateFirewallConfigRequestBodySecurityRequest8Action: {
readonly IpInsert: "ip.insert";
};
export type UpdateFirewallConfigRequestBodySecurityRequest8Action = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest8Action>;
export declare const UpdateFirewallConfigRequestBodySecurityRequest8ValueAction: {
readonly Deny: "deny";
readonly Challenge: "challenge";
readonly Log: "log";
readonly Allow: "allow";
};
export type UpdateFirewallConfigRequestBodySecurityRequest8ValueAction = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest8ValueAction>;
export type UpdateFirewallConfigRequestBodySecurityRequest8Value = {
action: UpdateFirewallConfigRequestBodySecurityRequest8ValueAction;
};
/**
* Set the action for a consumed ruleset (project scope)
*/
export type UpdateFirewallConfigRequestBody8 = {
action: UpdateFirewallConfigRequestBodySecurityRequest8Action;
id?: any | null | undefined;
value: UpdateFirewallConfigRequestBodySecurityRequest8Value;
};
export declare const UpdateFirewallConfigRequestBodySecurityRequest7Action: {
readonly CrsDisable: "crs.disable";
};
export type UpdateFirewallConfigRequestBodySecurityRequest7Action = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest7Action>;
/**
* Remove a named condition
*/
export type UpdateFirewallConfigRequestBody7 = {
action: UpdateFirewallConfigRequestBodySecurityRequest7Action;
id?: any | null | undefined;
value?: any | null | undefined;
};
export declare const UpdateFirewallConfigRequestBodySecurityRequest6Action: {
readonly CrsUpdate: "crs.update";
};
export type UpdateFirewallConfigRequestBodySecurityRequest6Action = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest6Action>;
export declare const UpdateFirewallConfigRequestBodySecurityRequest6Type: {
readonly Host: "host";
readonly Path: "path";
readonly Method: "method";
readonly Header: "header";
readonly Query: "query";
readonly Cookie: "cookie";
readonly TargetPath: "target_path";
readonly Route: "route";
readonly RawPath: "raw_path";
readonly IpAddress: "ip_address";
readonly Region: "region";
readonly Protocol: "protocol";
readonly Scheme: "scheme";
readonly Environment: "environment";
readonly DomainEnvironment: "domain_environment";
readonly UserAgent: "user_agent";
readonly GeoContinent: "geo_continent";
readonly GeoCountry: "geo_country";
readonly GeoCountryRegion: "geo_country_region";
readonly GeoCity: "geo_city";
readonly GeoAsNumber: "geo_as_number";
readonly Ja4Digest: "ja4_digest";
readonly Ja3Digest: "ja3_digest";
readonly RateLimitApiId: "rate_limit_api_id";
readonly ServerAction: "server_action";
readonly BotName: "bot_name";
readonly BotCategory: "bot_category";
readonly BotStatus: "bot_status";
readonly BotProtection: "bot_protection";
readonly SharedCondition: "shared_condition";
readonly TrafficSource: "traffic_source";
readonly Ruleset: "ruleset";
};
export type UpdateFirewallConfigRequestBodySecurityRequest6Type = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest6Type>;
export declare const UpdateFirewallConfigRequestBodySecurityRequestOp: {
readonly Re: "re";
readonly Eq: "eq";
readonly Neq: "neq";
readonly Ex: "ex";
readonly Nex: "nex";
readonly Inc: "inc";
readonly Ninc: "ninc";
readonly Pre: "pre";
readonly Suf: "suf";
readonly Sub: "sub";
readonly Gt: "gt";
readonly Gte: "gte";
readonly Lt: "lt";
readonly Lte: "lte";
readonly List: "list";
};
export type UpdateFirewallConfigRequestBodySecurityRequestOp = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequestOp>;
export type UpdateFirewallConfigRequestBodySecurityRequest6Value = string | Array<string> | number;
export type UpdateFirewallConfigRequestBodySecurityRequestConditions = {
type: UpdateFirewallConfigRequestBodySecurityRequest6Type;
op: UpdateFirewallConfigRequestBodySecurityRequestOp;
neg?: boolean | undefined;
key?: string | undefined;
value?: string | Array<string> | number | undefined;
};
export type UpdateFirewallConfigRequestBodySecurityRequestConditionGroup = {
conditions: Array<UpdateFirewallConfigRequestBodySecurityRequestConditions>;
};
export type UpdateFirewallConfigRequestBodySecurityRequestValidationErrors = Array<string> | string;
export type UpdateFirewallConfigRequestBodySecurityRequestValue = {
name: string;
description?: string | undefined;
active: boolean;
conditionGroup: Array<UpdateFirewallConfigRequestBodySecurityRequestConditionGroup>;
valid?: boolean | undefined;
validationErrors?: Array<string> | string | undefined;
};
/**
* Update a named condition
*/
export type UpdateFirewallConfigRequestBody6 = {
action: UpdateFirewallConfigRequestBodySecurityRequest6Action;
id: string;
value: UpdateFirewallConfigRequestBodySecurityRequestValue;
};
export declare const UpdateFirewallConfigRequestBodySecurityRequest5Action: {
readonly RulesPriority: "rules.priority";
};
export type UpdateFirewallConfigRequestBodySecurityRequest5Action = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest5Action>;
export declare const UpdateFirewallConfigRequestBodySecurityRequestType: {
readonly Host: "host";
readonly Path: "path";
readonly Method: "method";
readonly Header: "header";
readonly Query: "query";
readonly Cookie: "cookie";
readonly TargetPath: "target_path";
readonly Route: "route";
readonly RawPath: "raw_path";
readonly IpAddress: "ip_address";
readonly Region: "region";
readonly Protocol: "protocol";
readonly Scheme: "scheme";
readonly Environment: "environment";
readonly DomainEnvironment: "domain_environment";
readonly UserAgent: "user_agent";
readonly GeoContinent: "geo_continent";
readonly GeoCountry: "geo_country";
readonly GeoCountryRegion: "geo_country_region";
readonly GeoCity: "geo_city";
readonly GeoAsNumber: "geo_as_number";
readonly Ja4Digest: "ja4_digest";
readonly Ja3Digest: "ja3_digest";
readonly RateLimitApiId: "rate_limit_api_id";
readonly ServerAction: "server_action";
readonly BotName: "bot_name";
readonly BotCategory: "bot_category";
readonly BotStatus: "bot_status";
readonly BotProtection: "bot_protection";
readonly SharedCondition: "shared_condition";
readonly TrafficSource: "traffic_source";
readonly Ruleset: "ruleset";
};
export type UpdateFirewallConfigRequestBodySecurityRequestType = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequestType>;
export declare const UpdateFirewallConfigRequestBodySecurityOp: {
readonly Re: "re";
readonly Eq: "eq";
readonly Neq: "neq";
readonly Ex: "ex";
readonly Nex: "nex";
readonly Inc: "inc";
readonly Ninc: "ninc";
readonly Pre: "pre";
readonly Suf: "suf";
readonly Sub: "sub";
readonly Gt: "gt";
readonly Gte: "gte";
readonly Lt: "lt";
readonly Lte: "lte";
readonly List: "list";
};
export type UpdateFirewallConfigRequestBodySecurityOp = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityOp>;
export type UpdateFirewallConfigRequestBodySecurityRequest5Value = string | Array<string> | number;
export type UpdateFirewallConfigRequestBodySecurityConditions = {
type: UpdateFirewallConfigRequestBodySecurityRequestType;
op: UpdateFirewallConfigRequestBodySecurityOp;
neg?: boolean | undefined;
key?: string | undefined;
value?: string | Array<string> | number | undefined;
};
export type UpdateFirewallConfigRequestBodySecurityConditionGroup = {
conditions: Array<UpdateFirewallConfigRequestBodySecurityConditions>;
};
export type UpdateFirewallConfigRequestBodySecurityValidationErrors = Array<string> | string;
export type UpdateFirewallConfigRequestBodySecurityValue = {
name: string;
description?: string | undefined;
active: boolean;
conditionGroup: Array<UpdateFirewallConfigRequestBodySecurityConditionGroup>;
valid?: boolean | undefined;
validationErrors?: Array<string> | string | undefined;
};
/**
* Add a named condition
*/
export type UpdateFirewallConfigRequestBody5 = {
action: UpdateFirewallConfigRequestBodySecurityRequest5Action;
id?: string | undefined;
value: UpdateFirewallConfigRequestBodySecurityValue;
};
export declare const UpdateFirewallConfigRequestBodySecurityRequest4Action: {
readonly RulesRemove: "rules.remove";
};
export type UpdateFirewallConfigRequestBodySecurityRequest4Action = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest4Action>;
/**
* Reorder a ruleset
*/
export type UpdateFirewallConfigRequestBody4 = {
action: UpdateFirewallConfigRequestBodySecurityRequest4Action;
id: string;
value?: any | null | undefined;
};
export declare const UpdateFirewallConfigRequestBodySecurityRequestAction: {
readonly RulesUpdate: "rules.update";
};
export type UpdateFirewallConfigRequestBodySecurityRequestAction = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequestAction>;
/**
* Remove a ruleset
*/
export type UpdateFirewallConfigRequestBody3 = {
action: UpdateFirewallConfigRequestBodySecurityRequestAction;
id: string;
value?: string | undefined;
};
export declare const UpdateFirewallConfigRequestBodySecurityAction: {
readonly RulesInsert: "rules.insert";
};
export type UpdateFirewallConfigRequestBodySecurityAction = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityAction>;
export declare const UpdateFirewallConfigRequestBodySecurityType: {
readonly Host: "host";
readonly Path: "path";
readonly Method: "method";
readonly Header: "header";
readonly Query: "query";
readonly Cookie: "cookie";
readonly TargetPath: "target_path";
readonly Route: "route";
readonly RawPath: "raw_path";
readonly IpAddress: "ip_address";
readonly Region: "region";
readonly Protocol: "protocol";
readonly Scheme: "scheme";
readonly Environment: "environment";
readonly DomainEnvironment: "domain_environment";
readonly UserAgent: "user_agent";
readonly GeoContinent: "geo_continent";
readonly GeoCountry: "geo_country";
readonly GeoCountryRegion: "geo_country_region";
readonly GeoCity: "geo_city";
readonly GeoAsNumber: "geo_as_number";
readonly Ja4Digest: "ja4_digest";
readonly Ja3Digest: "ja3_digest";
readonly RateLimitApiId: "rate_limit_api_id";
readonly ServerAction: "server_action";
readonly BotName: "bot_name";
readonly BotCategory: "bot_category";
readonly BotStatus: "bot_status";
readonly BotProtection: "bot_protection";
readonly SharedCondition: "shared_condition";
readonly TrafficSource: "traffic_source";
readonly Ruleset: "ruleset";
};
export type UpdateFirewallConfigRequestBodySecurityType = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityType>;
export declare const UpdateFirewallConfigRequestBodyOp: {
readonly Re: "re";
readonly Eq: "eq";
readonly Neq: "neq";
readonly Ex: "ex";
readonly Nex: "nex";
readonly Inc: "inc";
readonly Ninc: "ninc";
readonly Pre: "pre";
readonly Suf: "suf";
readonly Sub: "sub";
readonly Gt: "gt";
readonly Gte: "gte";
readonly Lt: "lt";
readonly Lte: "lte";
readonly List: "list";
};
export type UpdateFirewallConfigRequestBodyOp = ClosedEnum<typeof UpdateFirewallConfigRequestBodyOp>;
export type UpdateFirewallConfigRequestBodySecurityRequest2Value = string | Array<string> | number;
export type UpdateFirewallConfigRequestBodyConditions = {
type: UpdateFirewallConfigRequestBodySecurityType;
op: UpdateFirewallConfigRequestBodyOp;
neg?: boolean | undefined;
key?: string | undefined;
value?: string | Array<string> | number | undefined;
};
export type UpdateFirewallConfigRequestBodyConditionGroup = {
conditions: Array<UpdateFirewallConfigRequestBodyConditions>;
};
export declare const UpdateFirewallConfigRequestBodySecurityRequest2ValueAction: {
readonly Deny: "deny";
readonly Challenge: "challenge";
readonly Log: "log";
};
export type UpdateFirewallConfigRequestBodySecurityRequest2ValueAction = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest2ValueAction>;
export type UpdateFirewallConfigRequestBodyMitigate = {
action: UpdateFirewallConfigRequestBodySecurityRequest2ValueAction;
};
export type UpdateFirewallConfigRequestBodySecurityRequest2Action = {
mitigate?: UpdateFirewallConfigRequestBodyMitigate | undefined;
};
export type UpdateFirewallConfigRequestBodyValidationErrors = Array<string> | string;
export type UpdateFirewallConfigRequestBodyValue = {
name: string;
description?: string | undefined;
active: boolean;
conditionGroup: Array<UpdateFirewallConfigRequestBodyConditionGroup>;
action?: UpdateFirewallConfigRequestBodySecurityRequest2Action | undefined;
valid?: boolean | undefined;
validationErrors?: Array<string> | string | undefined;
};
/**
* Update a ruleset
*/
export type UpdateFirewallConfigRequestBody2 = {
action: UpdateFirewallConfigRequestBodySecurityAction;
id?: any | null | undefined;
value: UpdateFirewallConfigRequestBodyValue;
};
export declare const UpdateFirewallConfigRequestBodyAction: {
readonly FirewallEnabled: "firewallEnabled";
};
export type UpdateFirewallConfigRequestBodyAction = ClosedEnum<typeof UpdateFirewallConfigRequestBodyAction>;
export declare const UpdateFirewallConfigRequestBodyType: {
readonly Host: "host";
readonly Path: "path";
readonly Method: "method";
readonly Header: "header";
readonly Query: "query";
readonly Cookie: "cookie";
readonly TargetPath: "target_path";
readonly Route: "route";
readonly RawPath: "raw_path";
readonly IpAddress: "ip_address";
readonly Region: "region";
readonly Protocol: "protocol";
readonly Scheme: "scheme";
readonly Environment: "environment";
readonly DomainEnvironment: "domain_environment";
readonly UserAgent: "user_agent";
readonly GeoContinent: "geo_continent";
readonly GeoCountry: "geo_country";
readonly GeoCountryRegion: "geo_country_region";
readonly GeoCity: "geo_city";
readonly GeoAsNumber: "geo_as_number";
readonly Ja4Digest: "ja4_digest";
readonly Ja3Digest: "ja3_digest";
readonly RateLimitApiId: "rate_limit_api_id";
readonly ServerAction: "server_action";
readonly BotName: "bot_name";
readonly BotCategory: "bot_category";
readonly BotStatus: "bot_status";
readonly BotProtection: "bot_protection";
readonly SharedCondition: "shared_condition";
readonly TrafficSource: "traffic_source";
readonly Ruleset: "ruleset";
};
export type UpdateFirewallConfigRequestBodyType = ClosedEnum<typeof UpdateFirewallConfigRequestBodyType>;
export declare const RequestBodyOp: {
readonly Re: "re";
readonly Eq: "eq";
readonly Neq: "neq";
readonly Ex: "ex";
readonly Nex: "nex";
readonly Inc: "inc";
readonly Ninc: "ninc";
readonly Pre: "pre";
readonly Suf: "suf";
readonly Sub: "sub";
readonly Gt: "gt";
readonly Gte: "gte";
readonly Lt: "lt";
readonly Lte: "lte";
readonly List: "list";
};
export type RequestBodyOp = ClosedEnum<typeof RequestBodyOp>;
export type UpdateFirewallConfigRequestBodySecurityRequest1Value = string | Array<string> | number;
export type RequestBodyConditions = {
type: UpdateFirewallConfigRequestBodyType;
op: RequestBodyOp;
neg?: boolean | undefined;
key?: string | undefined;
value?: string | Array<string> | number | undefined;
};
export type RequestBodyConditionGroup = {
conditions: Array<RequestBodyConditions>;
};
export declare const UpdateFirewallConfigRequestBodySecurityRequest1ValueAction: {
readonly Deny: "deny";
readonly Challenge: "challenge";
readonly Log: "log";
};
export type UpdateFirewallConfigRequestBodySecurityRequest1ValueAction = ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest1ValueAction>;
export type RequestBodyMitigate = {
action: UpdateFirewallConfigRequestBodySecurityRequest1ValueAction;
};
export type UpdateFirewallConfigRequestBodySecurityRequest1Action = {
mitigate?: RequestBodyMitigate | undefined;
};
export type RequestBodyValidationErrors = Array<string> | string;
export type RequestBodyValue = {
name: string;
description?: string | undefined;
active: boolean;
conditionGroup: Array<RequestBodyConditionGroup>;
action?: UpdateFirewallConfigRequestBodySecurityRequest1Action | undefined;
valid?: boolean | undefined;
validationErrors?: Array<string> | string | undefined;
};
/**
* Add a ruleset
*/
export type UpdateFirewallConfigRequestBody1 = {
action: UpdateFirewallConfigRequestBodyAction;
id?: any | null | undefined;
value: RequestBodyValue;
};
export type UpdateFirewallConfigRequestBody = UpdateFirewallConfigRequestBody2 | UpdateFirewallConfigRequestBody4 | UpdateFirewallConfigRequestBody6 | UpdateFirewallConfigRequestBody8 | RequestBody12 | RequestBody14 | RequestBody15 | RequestBody18 | RequestBody20 | RequestBody21 | UpdateFirewallConfigRequestBody1 | UpdateFirewallConfigRequestBody3 | UpdateFirewallConfigRequestBody5 | UpdateFirewallConfigRequestBody7 | UpdateFirewallConfigRequestBody9 | UpdateFirewallConfigRequestBody10 | RequestBody11 | RequestBody13 | RequestBody17 | RequestBody19 | RequestBody22 | RequestBody23 | RequestBody16;
export type UpdateFirewallConfigRequest = {
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;
requestBody: UpdateFirewallConfigRequestBody2 | UpdateFirewallConfigRequestBody4 | UpdateFirewallConfigRequestBody6 | UpdateFirewallConfigRequestBody8 | RequestBody12 | RequestBody14 | RequestBody15 | RequestBody18 | RequestBody20 | RequestBody21 | UpdateFirewallConfigRequestBody1 | UpdateFirewallConfigRequestBody3 | UpdateFirewallConfigRequestBody5 | UpdateFirewallConfigRequestBody7 | UpdateFirewallConfigRequestBody9 | UpdateFirewallConfigRequestBody10 | RequestBody11 | RequestBody13 | RequestBody17 | RequestBody19 | RequestBody22 | RequestBody23 | RequestBody16;
};
export type UpdateFirewallConfigResponseBody = {};
/** @internal */
export type RequestBody23$Outbound = {
action: string;
id?: string | undefined;
value?: any | undefined;
};
/** @internal */
export declare const RequestBody23$outboundSchema: z.ZodType<RequestBody23$Outbound, z.ZodTypeDef, RequestBody23>;
export declare function requestBody23ToJSON(requestBody23: RequestBody23): string;
/** @internal */
export type RequestBody22$Outbound = {
action: string;
id?: string | undefined;
value: boolean;
};
/** @internal */
export declare const RequestBody22$outboundSchema: z.ZodType<RequestBody22$Outbound, z.ZodTypeDef, RequestBody22>;
export declare function requestBody22ToJSON(requestBody22: RequestBody22): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodyId$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodyId>;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest21Action$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest21Action>;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest21Value$Outbound = {
active: boolean;
action?: string | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest21Value$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest21Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest21Value>;
export declare function updateFirewallConfigRequestBodySecurityRequest21ValueToJSON(updateFirewallConfigRequestBodySecurityRequest21Value: UpdateFirewallConfigRequestBodySecurityRequest21Value): string;
/** @internal */
export type RequestBody21$Outbound = {
action: string;
id: string;
value: {
[k: string]: UpdateFirewallConfigRequestBodySecurityRequest21Value$Outbound;
};
};
/** @internal */
export declare const RequestBody21$outboundSchema: z.ZodType<RequestBody21$Outbound, z.ZodTypeDef, RequestBody21>;
export declare function requestBody21ToJSON(requestBody21: RequestBody21): string;
/** @internal */
export declare const RequestBodyId$outboundSchema: z.ZodNativeEnum<typeof RequestBodyId>;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest20Action$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest20Action>;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest20Value$Outbound = {
action?: string | undefined;
active: boolean;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest20Value$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest20Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest20Value>;
export declare function updateFirewallConfigRequestBodySecurityRequest20ValueToJSON(updateFirewallConfigRequestBodySecurityRequest20Value: UpdateFirewallConfigRequestBodySecurityRequest20Value): string;
/** @internal */
export type RequestBody20$Outbound = {
action: string;
id: string;
value: UpdateFirewallConfigRequestBodySecurityRequest20Value$Outbound;
};
/** @internal */
export declare const RequestBody20$outboundSchema: z.ZodType<RequestBody20$Outbound, z.ZodTypeDef, RequestBody20>;
export declare function requestBody20ToJSON(requestBody20: RequestBody20): string;
/** @internal */
export type RequestBody19$Outbound = {
action: string;
id: string;
value?: string | undefined;
};
/** @internal */
export declare const RequestBody19$outboundSchema: z.ZodType<RequestBody19$Outbound, z.ZodTypeDef, RequestBody19>;
export declare function requestBody19ToJSON(requestBody19: RequestBody19): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest18Action$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest18Action>;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest18Value$Outbound = {
hostname: string;
ip: string;
notes?: string | undefined;
action: string;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest18Value$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest18Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest18Value>;
export declare function updateFirewallConfigRequestBodySecurityRequest18ValueToJSON(updateFirewallConfigRequestBodySecurityRequest18Value: UpdateFirewallConfigRequestBodySecurityRequest18Value): string;
/** @internal */
export type RequestBody18$Outbound = {
action: string;
id: string;
value: UpdateFirewallConfigRequestBodySecurityRequest18Value$Outbound;
};
/** @internal */
export declare const RequestBody18$outboundSchema: z.ZodType<RequestBody18$Outbound, z.ZodTypeDef, RequestBody18>;
export declare function requestBody18ToJSON(requestBody18: RequestBody18): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest17Action$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest17Action>;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest17Value$Outbound = {
hostname: string;
ip: string;
notes?: string | undefined;
action: string;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest17Value$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest17Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest17Value>;
export declare function updateFirewallConfigRequestBodySecurityRequest17ValueToJSON(updateFirewallConfigRequestBodySecurityRequest17Value: UpdateFirewallConfigRequestBodySecurityRequest17Value): string;
/** @internal */
export type RequestBody17$Outbound = {
action: string;
id?: string | undefined;
value: UpdateFirewallConfigRequestBodySecurityRequest17Value$Outbound;
};
/** @internal */
export declare const RequestBody17$outboundSchema: z.ZodType<RequestBody17$Outbound, z.ZodTypeDef, RequestBody17>;
export declare function requestBody17ToJSON(requestBody17: RequestBody17): string;
/** @internal */
export type RequestBody16$Outbound = {
action: string;
id?: string | undefined;
value?: string | undefined;
};
/** @internal */
export declare const RequestBody16$outboundSchema: z.ZodType<RequestBody16$Outbound, z.ZodTypeDef, RequestBody16>;
export declare function requestBody16ToJSON(requestBody16: RequestBody16): string;
/** @internal */
export declare const Id$outboundSchema: z.ZodNativeEnum<typeof Id>;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest15Action$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest15Action>;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest15Value$Outbound = {
active: boolean;
action: string;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest15Value$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest15Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest15Value>;
export declare function updateFirewallConfigRequestBodySecurityRequest15ValueToJSON(updateFirewallConfigRequestBodySecurityRequest15Value: UpdateFirewallConfigRequestBodySecurityRequest15Value): string;
/** @internal */
export type RequestBody15$Outbound = {
action: string;
id: string;
value: UpdateFirewallConfigRequestBodySecurityRequest15Value$Outbound;
};
/** @internal */
export declare const RequestBody15$outboundSchema: z.ZodType<RequestBody15$Outbound, z.ZodTypeDef, RequestBody15>;
export declare function requestBody15ToJSON(requestBody15: RequestBody15): string;
/** @internal */
export type RequestBody14$Outbound = {
action: string;
id: string;
value: number;
};
/** @internal */
export declare const RequestBody14$outboundSchema: z.ZodType<RequestBody14$Outbound, z.ZodTypeDef, RequestBody14>;
export declare function requestBody14ToJSON(requestBody14: RequestBody14): string;
/** @internal */
export type RequestBody13$Outbound = {
action: string;
id: string;
value?: string | undefined;
};
/** @internal */
export declare const RequestBody13$outboundSchema: z.ZodType<RequestBody13$Outbound, z.ZodTypeDef, RequestBody13>;
export declare function requestBody13ToJSON(requestBody13: RequestBody13): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest12Type$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest12Type>;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest12Op$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest12Op>;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest12ValueValue$Outbound = string | Array<string> | number;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest12ValueValue$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest12ValueValue$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest12ValueValue>;
export declare function updateFirewallConfigRequestBodySecurityRequest12ValueValueToJSON(updateFirewallConfigRequestBodySecurityRequest12ValueValue: UpdateFirewallConfigRequestBodySecurityRequest12ValueValue): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest12Conditions$Outbound = {
type: string;
op: string;
neg?: boolean | undefined;
key?: string | undefined;
value?: string | Array<string> | number | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest12Conditions$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest12Conditions$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest12Conditions>;
export declare function updateFirewallConfigRequestBodySecurityRequest12ConditionsToJSON(updateFirewallConfigRequestBodySecurityRequest12Conditions: UpdateFirewallConfigRequestBodySecurityRequest12Conditions): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest12ConditionGroup$Outbound = {
conditions: Array<UpdateFirewallConfigRequestBodySecurityRequest12Conditions$Outbound>;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest12ConditionGroup$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest12ConditionGroup$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest12ConditionGroup>;
export declare function updateFirewallConfigRequestBodySecurityRequest12ConditionGroupToJSON(updateFirewallConfigRequestBodySecurityRequest12ConditionGroup: UpdateFirewallConfigRequestBodySecurityRequest12ConditionGroup): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest12ValueAction$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest12ValueAction>;
/** @internal */
export declare const UpdateFirewallConfigRateLimitAlgo$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRateLimitAlgo>;
/** @internal */
export declare const UpdateFirewallConfigActionSecurity1$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigActionSecurity1>;
/** @internal */
export type UpdateFirewallConfigRateLimitSecurityAction$Outbound = string | string;
/** @internal */
export declare const UpdateFirewallConfigRateLimitSecurityAction$outboundSchema: z.ZodType<UpdateFirewallConfigRateLimitSecurityAction$Outbound, z.ZodTypeDef, UpdateFirewallConfigRateLimitSecurityAction>;
export declare function updateFirewallConfigRateLimitSecurityActionToJSON(updateFirewallConfigRateLimitSecurityAction: UpdateFirewallConfigRateLimitSecurityAction): string;
/** @internal */
export type UpdateFirewallConfigRateLimitSecurity1$Outbound = {
algo: string;
window: number;
limit: number;
keys: Array<string>;
action?: string | string | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRateLimitSecurity1$outboundSchema: z.ZodType<UpdateFirewallConfigRateLimitSecurity1$Outbound, z.ZodTypeDef, UpdateFirewallConfigRateLimitSecurity1>;
export declare function updateFirewallConfigRateLimitSecurity1ToJSON(updateFirewallConfigRateLimitSecurity1: UpdateFirewallConfigRateLimitSecurity1): string;
/** @internal */
export type UpdateFirewallConfigRequestBodyRateLimit$Outbound = UpdateFirewallConfigRateLimitSecurity1$Outbound | string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodyRateLimit$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodyRateLimit$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodyRateLimit>;
export declare function updateFirewallConfigRequestBodyRateLimitToJSON(updateFirewallConfigRequestBodyRateLimit: UpdateFirewallConfigRequestBodyRateLimit): string;
/** @internal */
export type UpdateFirewallConfigRedirectSecurity1$Outbound = {
location: string;
permanent: boolean;
};
/** @internal */
export declare const UpdateFirewallConfigRedirectSecurity1$outboundSchema: z.ZodType<UpdateFirewallConfigRedirectSecurity1$Outbound, z.ZodTypeDef, UpdateFirewallConfigRedirectSecurity1>;
export declare function updateFirewallConfigRedirectSecurity1ToJSON(updateFirewallConfigRedirectSecurity1: UpdateFirewallConfigRedirectSecurity1): string;
/** @internal */
export type UpdateFirewallConfigRequestBodyRedirect$Outbound = UpdateFirewallConfigRedirectSecurity1$Outbound | string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodyRedirect$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodyRedirect$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodyRedirect>;
export declare function updateFirewallConfigRequestBodyRedirectToJSON(updateFirewallConfigRequestBodyRedirect: UpdateFirewallConfigRequestBodyRedirect): string;
/** @internal */
export type UpdateFirewallConfigRequestBodyLogHeaders$Outbound = string | Array<string>;
/** @internal */
export declare const UpdateFirewallConfigRequestBodyLogHeaders$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodyLogHeaders$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodyLogHeaders>;
export declare function updateFirewallConfigRequestBodyLogHeadersToJSON(updateFirewallConfigRequestBodyLogHeaders: UpdateFirewallConfigRequestBodyLogHeaders): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequestMitigate$Outbound = {
action: string;
rateLimit?: UpdateFirewallConfigRateLimitSecurity1$Outbound | string | undefined;
redirect?: UpdateFirewallConfigRedirectSecurity1$Outbound | string | undefined;
actionDuration?: string | null | undefined;
bypassSystem?: boolean | null | undefined;
logHeaders?: string | Array<string> | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequestMitigate$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequestMitigate$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequestMitigate>;
export declare function updateFirewallConfigRequestBodySecurityRequestMitigateToJSON(updateFirewallConfigRequestBodySecurityRequestMitigate: UpdateFirewallConfigRequestBodySecurityRequestMitigate): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest12Action$Outbound = {
mitigate?: UpdateFirewallConfigRequestBodySecurityRequestMitigate$Outbound | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest12Action$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest12Action$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest12Action>;
export declare function updateFirewallConfigRequestBodySecurityRequest12ActionToJSON(updateFirewallConfigRequestBodySecurityRequest12Action: UpdateFirewallConfigRequestBodySecurityRequest12Action): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest12ValidationErrors$Outbound = Array<string> | string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest12ValidationErrors$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest12ValidationErrors$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest12ValidationErrors>;
export declare function updateFirewallConfigRequestBodySecurityRequest12ValidationErrorsToJSON(updateFirewallConfigRequestBodySecurityRequest12ValidationErrors: UpdateFirewallConfigRequestBodySecurityRequest12ValidationErrors): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest12Value$Outbound = {
name: string;
description?: string | undefined;
active: boolean;
conditionGroup: Array<UpdateFirewallConfigRequestBodySecurityRequest12ConditionGroup$Outbound>;
action: UpdateFirewallConfigRequestBodySecurityRequest12Action$Outbound;
valid?: boolean | undefined;
validationErrors?: Array<string> | string | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest12Value$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest12Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest12Value>;
export declare function updateFirewallConfigRequestBodySecurityRequest12ValueToJSON(updateFirewallConfigRequestBodySecurityRequest12Value: UpdateFirewallConfigRequestBodySecurityRequest12Value): string;
/** @internal */
export type RequestBody12$Outbound = {
action: string;
id: string;
value: UpdateFirewallConfigRequestBodySecurityRequest12Value$Outbound;
};
/** @internal */
export declare const RequestBody12$outboundSchema: z.ZodType<RequestBody12$Outbound, z.ZodTypeDef, RequestBody12>;
export declare function requestBody12ToJSON(requestBody12: RequestBody12): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest11Action$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest11Action>;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest11Type$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest11Type>;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest11Op$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest11Op>;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest11ValueValue$Outbound = string | Array<string> | number;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest11ValueValue$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest11ValueValue$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest11ValueValue>;
export declare function updateFirewallConfigRequestBodySecurityRequest11ValueValueToJSON(updateFirewallConfigRequestBodySecurityRequest11ValueValue: UpdateFirewallConfigRequestBodySecurityRequest11ValueValue): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest11Conditions$Outbound = {
type: string;
op: string;
neg?: boolean | undefined;
key?: string | undefined;
value?: string | Array<string> | number | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest11Conditions$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest11Conditions$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest11Conditions>;
export declare function updateFirewallConfigRequestBodySecurityRequest11ConditionsToJSON(updateFirewallConfigRequestBodySecurityRequest11Conditions: UpdateFirewallConfigRequestBodySecurityRequest11Conditions): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest11ConditionGroup$Outbound = {
conditions: Array<UpdateFirewallConfigRequestBodySecurityRequest11Conditions$Outbound>;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest11ConditionGroup$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest11ConditionGroup$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest11ConditionGroup>;
export declare function updateFirewallConfigRequestBodySecurityRequest11ConditionGroupToJSON(updateFirewallConfigRequestBodySecurityRequest11ConditionGroup: UpdateFirewallConfigRequestBodySecurityRequest11ConditionGroup): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest11ValueActionAction$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest11ValueActionAction>;
/** @internal */
export declare const RateLimitAlgo$outboundSchema: z.ZodNativeEnum<typeof RateLimitAlgo>;
/** @internal */
export declare const UpdateFirewallConfigAction1$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigAction1>;
/** @internal */
export type UpdateFirewallConfigRateLimitAction$Outbound = string | string;
/** @internal */
export declare const UpdateFirewallConfigRateLimitAction$outboundSchema: z.ZodType<UpdateFirewallConfigRateLimitAction$Outbound, z.ZodTypeDef, UpdateFirewallConfigRateLimitAction>;
export declare function updateFirewallConfigRateLimitActionToJSON(updateFirewallConfigRateLimitAction: UpdateFirewallConfigRateLimitAction): string;
/** @internal */
export type UpdateFirewallConfigRateLimit1$Outbound = {
algo: string;
window: number;
limit: number;
keys: Array<string>;
action?: string | string | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRateLimit1$outboundSchema: z.ZodType<UpdateFirewallConfigRateLimit1$Outbound, z.ZodTypeDef, UpdateFirewallConfigRateLimit1>;
export declare function updateFirewallConfigRateLimit1ToJSON(updateFirewallConfigRateLimit1: UpdateFirewallConfigRateLimit1): string;
/** @internal */
export type RequestBodyRateLimit$Outbound = UpdateFirewallConfigRateLimit1$Outbound | string;
/** @internal */
export declare const RequestBodyRateLimit$outboundSchema: z.ZodType<RequestBodyRateLimit$Outbound, z.ZodTypeDef, RequestBodyRateLimit>;
export declare function requestBodyRateLimitToJSON(requestBodyRateLimit: RequestBodyRateLimit): string;
/** @internal */
export type UpdateFirewallConfigRedirect1$Outbound = {
location: string;
permanent: boolean;
};
/** @internal */
export declare const UpdateFirewallConfigRedirect1$outboundSchema: z.ZodType<UpdateFirewallConfigRedirect1$Outbound, z.ZodTypeDef, UpdateFirewallConfigRedirect1>;
export declare function updateFirewallConfigRedirect1ToJSON(updateFirewallConfigRedirect1: UpdateFirewallConfigRedirect1): string;
/** @internal */
export type RequestBodyRedirect$Outbound = UpdateFirewallConfigRedirect1$Outbound | string;
/** @internal */
export declare const RequestBodyRedirect$outboundSchema: z.ZodType<RequestBodyRedirect$Outbound, z.ZodTypeDef, RequestBodyRedirect>;
export declare function requestBodyRedirectToJSON(requestBodyRedirect: RequestBodyRedirect): string;
/** @internal */
export type RequestBodyLogHeaders$Outbound = string | Array<string>;
/** @internal */
export declare const RequestBodyLogHeaders$outboundSchema: z.ZodType<RequestBodyLogHeaders$Outbound, z.ZodTypeDef, RequestBodyLogHeaders>;
export declare function requestBodyLogHeadersToJSON(requestBodyLogHeaders: RequestBodyLogHeaders): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityMitigate$Outbound = {
action: string;
rateLimit?: UpdateFirewallConfigRateLimit1$Outbound | string | undefined;
redirect?: UpdateFirewallConfigRedirect1$Outbound | string | undefined;
actionDuration?: string | null | undefined;
bypassSystem?: boolean | null | undefined;
logHeaders?: string | Array<string> | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityMitigate$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityMitigate$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityMitigate>;
export declare function updateFirewallConfigRequestBodySecurityMitigateToJSON(updateFirewallConfigRequestBodySecurityMitigate: UpdateFirewallConfigRequestBodySecurityMitigate): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest11ValueAction$Outbound = {
mitigate?: UpdateFirewallConfigRequestBodySecurityMitigate$Outbound | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest11ValueAction$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest11ValueAction$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest11ValueAction>;
export declare function updateFirewallConfigRequestBodySecurityRequest11ValueActionToJSON(updateFirewallConfigRequestBodySecurityRequest11ValueAction: UpdateFirewallConfigRequestBodySecurityRequest11ValueAction): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest11ValidationErrors$Outbound = Array<string> | string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest11ValidationErrors$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest11ValidationErrors$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest11ValidationErrors>;
export declare function updateFirewallConfigRequestBodySecurityRequest11ValidationErrorsToJSON(updateFirewallConfigRequestBodySecurityRequest11ValidationErrors: UpdateFirewallConfigRequestBodySecurityRequest11ValidationErrors): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest11Value$Outbound = {
name: string;
description?: string | undefined;
active: boolean;
conditionGroup: Array<UpdateFirewallConfigRequestBodySecurityRequest11ConditionGroup$Outbound>;
action: UpdateFirewallConfigRequestBodySecurityRequest11ValueAction$Outbound;
valid?: boolean | undefined;
validationErrors?: Array<string> | string | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest11Value$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest11Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest11Value>;
export declare function updateFirewallConfigRequestBodySecurityRequest11ValueToJSON(updateFirewallConfigRequestBodySecurityRequest11Value: UpdateFirewallConfigRequestBodySecurityRequest11Value): string;
/** @internal */
export type RequestBody11$Outbound = {
action: string;
id?: string | undefined;
value: UpdateFirewallConfigRequestBodySecurityRequest11Value$Outbound;
};
/** @internal */
export declare const RequestBody11$outboundSchema: z.ZodType<RequestBody11$Outbound, z.ZodTypeDef, RequestBody11>;
export declare function requestBody11ToJSON(requestBody11: RequestBody11): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest10Action$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest10Action>;
/** @internal */
export type UpdateFirewallConfigRequestBody10$Outbound = {
action: string;
id?: string | undefined;
value?: any | null | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBody10$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBody10$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody10>;
export declare function updateFirewallConfigRequestBody10ToJSON(updateFirewallConfigRequestBody10: UpdateFirewallConfigRequestBody10): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest9Action$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest9Action>;
/** @internal */
export type UpdateFirewallConfigRequestBody9$Outbound = {
action: string;
id: string;
value?: string | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBody9$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBody9$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody9>;
export declare function updateFirewallConfigRequestBody9ToJSON(updateFirewallConfigRequestBody9: UpdateFirewallConfigRequestBody9): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest8Action$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest8Action>;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest8ValueAction>;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest8Value$Outbound = {
action: string;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest8Value$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest8Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest8Value>;
export declare function updateFirewallConfigRequestBodySecurityRequest8ValueToJSON(updateFirewallConfigRequestBodySecurityRequest8Value: UpdateFirewallConfigRequestBodySecurityRequest8Value): string;
/** @internal */
export type UpdateFirewallConfigRequestBody8$Outbound = {
action: string;
id?: any | null | undefined;
value: UpdateFirewallConfigRequestBodySecurityRequest8Value$Outbound;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBody8$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBody8$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody8>;
export declare function updateFirewallConfigRequestBody8ToJSON(updateFirewallConfigRequestBody8: UpdateFirewallConfigRequestBody8): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest7Action$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest7Action>;
/** @internal */
export type UpdateFirewallConfigRequestBody7$Outbound = {
action: string;
id?: any | null | undefined;
value?: any | null | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBody7$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBody7$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody7>;
export declare function updateFirewallConfigRequestBody7ToJSON(updateFirewallConfigRequestBody7: UpdateFirewallConfigRequestBody7): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest6Action$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest6Action>;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest6Type$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest6Type>;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequestOp$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequestOp>;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest6Value$Outbound = string | Array<string> | number;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest6Value$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest6Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest6Value>;
export declare function updateFirewallConfigRequestBodySecurityRequest6ValueToJSON(updateFirewallConfigRequestBodySecurityRequest6Value: UpdateFirewallConfigRequestBodySecurityRequest6Value): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequestConditions$Outbound = {
type: string;
op: string;
neg?: boolean | undefined;
key?: string | undefined;
value?: string | Array<string> | number | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequestConditions$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequestConditions$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequestConditions>;
export declare function updateFirewallConfigRequestBodySecurityRequestConditionsToJSON(updateFirewallConfigRequestBodySecurityRequestConditions: UpdateFirewallConfigRequestBodySecurityRequestConditions): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequestConditionGroup$Outbound = {
conditions: Array<UpdateFirewallConfigRequestBodySecurityRequestConditions$Outbound>;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequestConditionGroup$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequestConditionGroup$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequestConditionGroup>;
export declare function updateFirewallConfigRequestBodySecurityRequestConditionGroupToJSON(updateFirewallConfigRequestBodySecurityRequestConditionGroup: UpdateFirewallConfigRequestBodySecurityRequestConditionGroup): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequestValidationErrors$Outbound = Array<string> | string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequestValidationErrors$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequestValidationErrors$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequestValidationErrors>;
export declare function updateFirewallConfigRequestBodySecurityRequestValidationErrorsToJSON(updateFirewallConfigRequestBodySecurityRequestValidationErrors: UpdateFirewallConfigRequestBodySecurityRequestValidationErrors): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound = {
name: string;
description?: string | undefined;
active: boolean;
conditionGroup: Array<UpdateFirewallConfigRequestBodySecurityRequestConditionGroup$Outbound>;
valid?: boolean | undefined;
validationErrors?: Array<string> | string | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequestValue>;
export declare function updateFirewallConfigRequestBodySecurityRequestValueToJSON(updateFirewallConfigRequestBodySecurityRequestValue: UpdateFirewallConfigRequestBodySecurityRequestValue): string;
/** @internal */
export type UpdateFirewallConfigRequestBody6$Outbound = {
action: string;
id: string;
value: UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBody6$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBody6$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody6>;
export declare function updateFirewallConfigRequestBody6ToJSON(updateFirewallConfigRequestBody6: UpdateFirewallConfigRequestBody6): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest5Action$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest5Action>;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequestType$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequestType>;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityOp$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityOp>;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest5Value$Outbound = string | Array<string> | number;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest5Value$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest5Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest5Value>;
export declare function updateFirewallConfigRequestBodySecurityRequest5ValueToJSON(updateFirewallConfigRequestBodySecurityRequest5Value: UpdateFirewallConfigRequestBodySecurityRequest5Value): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityConditions$Outbound = {
type: string;
op: string;
neg?: boolean | undefined;
key?: string | undefined;
value?: string | Array<string> | number | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityConditions$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityConditions$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityConditions>;
export declare function updateFirewallConfigRequestBodySecurityConditionsToJSON(updateFirewallConfigRequestBodySecurityConditions: UpdateFirewallConfigRequestBodySecurityConditions): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityConditionGroup$Outbound = {
conditions: Array<UpdateFirewallConfigRequestBodySecurityConditions$Outbound>;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityConditionGroup$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityConditionGroup$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityConditionGroup>;
export declare function updateFirewallConfigRequestBodySecurityConditionGroupToJSON(updateFirewallConfigRequestBodySecurityConditionGroup: UpdateFirewallConfigRequestBodySecurityConditionGroup): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityValidationErrors$Outbound = Array<string> | string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityValidationErrors$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityValidationErrors$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityValidationErrors>;
export declare function updateFirewallConfigRequestBodySecurityValidationErrorsToJSON(updateFirewallConfigRequestBodySecurityValidationErrors: UpdateFirewallConfigRequestBodySecurityValidationErrors): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityValue$Outbound = {
name: string;
description?: string | undefined;
active: boolean;
conditionGroup: Array<UpdateFirewallConfigRequestBodySecurityConditionGroup$Outbound>;
valid?: boolean | undefined;
validationErrors?: Array<string> | string | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityValue$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityValue$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityValue>;
export declare function updateFirewallConfigRequestBodySecurityValueToJSON(updateFirewallConfigRequestBodySecurityValue: UpdateFirewallConfigRequestBodySecurityValue): string;
/** @internal */
export type UpdateFirewallConfigRequestBody5$Outbound = {
action: string;
id?: string | undefined;
value: UpdateFirewallConfigRequestBodySecurityValue$Outbound;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBody5$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBody5$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody5>;
export declare function updateFirewallConfigRequestBody5ToJSON(updateFirewallConfigRequestBody5: UpdateFirewallConfigRequestBody5): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest4Action$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest4Action>;
/** @internal */
export type UpdateFirewallConfigRequestBody4$Outbound = {
action: string;
id: string;
value?: any | null | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBody4$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBody4$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody4>;
export declare function updateFirewallConfigRequestBody4ToJSON(updateFirewallConfigRequestBody4: UpdateFirewallConfigRequestBody4): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequestAction$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequestAction>;
/** @internal */
export type UpdateFirewallConfigRequestBody3$Outbound = {
action: string;
id: string;
value?: string | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBody3$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBody3$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody3>;
export declare function updateFirewallConfigRequestBody3ToJSON(updateFirewallConfigRequestBody3: UpdateFirewallConfigRequestBody3): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityAction$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityAction>;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityType$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityType>;
/** @internal */
export declare const UpdateFirewallConfigRequestBodyOp$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodyOp>;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest2Value$Outbound = string | Array<string> | number;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest2Value$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest2Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest2Value>;
export declare function updateFirewallConfigRequestBodySecurityRequest2ValueToJSON(updateFirewallConfigRequestBodySecurityRequest2Value: UpdateFirewallConfigRequestBodySecurityRequest2Value): string;
/** @internal */
export type UpdateFirewallConfigRequestBodyConditions$Outbound = {
type: string;
op: string;
neg?: boolean | undefined;
key?: string | undefined;
value?: string | Array<string> | number | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodyConditions$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodyConditions$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodyConditions>;
export declare function updateFirewallConfigRequestBodyConditionsToJSON(updateFirewallConfigRequestBodyConditions: UpdateFirewallConfigRequestBodyConditions): string;
/** @internal */
export type UpdateFirewallConfigRequestBodyConditionGroup$Outbound = {
conditions: Array<UpdateFirewallConfigRequestBodyConditions$Outbound>;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodyConditionGroup$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodyConditionGroup>;
export declare function updateFirewallConfigRequestBodyConditionGroupToJSON(updateFirewallConfigRequestBodyConditionGroup: UpdateFirewallConfigRequestBodyConditionGroup): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest2ValueAction>;
/** @internal */
export type UpdateFirewallConfigRequestBodyMitigate$Outbound = {
action: string;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodyMitigate$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodyMitigate$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodyMitigate>;
export declare function updateFirewallConfigRequestBodyMitigateToJSON(updateFirewallConfigRequestBodyMitigate: UpdateFirewallConfigRequestBodyMitigate): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest2Action$Outbound = {
mitigate?: UpdateFirewallConfigRequestBodyMitigate$Outbound | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest2Action$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest2Action$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest2Action>;
export declare function updateFirewallConfigRequestBodySecurityRequest2ActionToJSON(updateFirewallConfigRequestBodySecurityRequest2Action: UpdateFirewallConfigRequestBodySecurityRequest2Action): string;
/** @internal */
export type UpdateFirewallConfigRequestBodyValidationErrors$Outbound = Array<string> | string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodyValidationErrors$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodyValidationErrors$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodyValidationErrors>;
export declare function updateFirewallConfigRequestBodyValidationErrorsToJSON(updateFirewallConfigRequestBodyValidationErrors: UpdateFirewallConfigRequestBodyValidationErrors): string;
/** @internal */
export type UpdateFirewallConfigRequestBodyValue$Outbound = {
name: string;
description?: string | undefined;
active: boolean;
conditionGroup: Array<UpdateFirewallConfigRequestBodyConditionGroup$Outbound>;
action?: UpdateFirewallConfigRequestBodySecurityRequest2Action$Outbound | undefined;
valid?: boolean | undefined;
validationErrors?: Array<string> | string | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodyValue$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodyValue$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodyValue>;
export declare function updateFirewallConfigRequestBodyValueToJSON(updateFirewallConfigRequestBodyValue: UpdateFirewallConfigRequestBodyValue): string;
/** @internal */
export type UpdateFirewallConfigRequestBody2$Outbound = {
action: string;
id?: any | null | undefined;
value: UpdateFirewallConfigRequestBodyValue$Outbound;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBody2$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBody2$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody2>;
export declare function updateFirewallConfigRequestBody2ToJSON(updateFirewallConfigRequestBody2: UpdateFirewallConfigRequestBody2): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodyAction$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodyAction>;
/** @internal */
export declare const UpdateFirewallConfigRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodyType>;
/** @internal */
export declare const RequestBodyOp$outboundSchema: z.ZodNativeEnum<typeof RequestBodyOp>;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest1Value$Outbound = string | Array<string> | number;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest1Value$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest1Value$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest1Value>;
export declare function updateFirewallConfigRequestBodySecurityRequest1ValueToJSON(updateFirewallConfigRequestBodySecurityRequest1Value: UpdateFirewallConfigRequestBodySecurityRequest1Value): string;
/** @internal */
export type RequestBodyConditions$Outbound = {
type: string;
op: string;
neg?: boolean | undefined;
key?: string | undefined;
value?: string | Array<string> | number | undefined;
};
/** @internal */
export declare const RequestBodyConditions$outboundSchema: z.ZodType<RequestBodyConditions$Outbound, z.ZodTypeDef, RequestBodyConditions>;
export declare function requestBodyConditionsToJSON(requestBodyConditions: RequestBodyConditions): string;
/** @internal */
export type RequestBodyConditionGroup$Outbound = {
conditions: Array<RequestBodyConditions$Outbound>;
};
/** @internal */
export declare const RequestBodyConditionGroup$outboundSchema: z.ZodType<RequestBodyConditionGroup$Outbound, z.ZodTypeDef, RequestBodyConditionGroup>;
export declare function requestBodyConditionGroupToJSON(requestBodyConditionGroup: RequestBodyConditionGroup): string;
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest1ValueAction$outboundSchema: z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest1ValueAction>;
/** @internal */
export type RequestBodyMitigate$Outbound = {
action: string;
};
/** @internal */
export declare const RequestBodyMitigate$outboundSchema: z.ZodType<RequestBodyMitigate$Outbound, z.ZodTypeDef, RequestBodyMitigate>;
export declare function requestBodyMitigateToJSON(requestBodyMitigate: RequestBodyMitigate): string;
/** @internal */
export type UpdateFirewallConfigRequestBodySecurityRequest1Action$Outbound = {
mitigate?: RequestBodyMitigate$Outbound | undefined;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBodySecurityRequest1Action$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBodySecurityRequest1Action$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBodySecurityRequest1Action>;
export declare function updateFirewallConfigRequestBodySecurityRequest1ActionToJSON(updateFirewallConfigRequestBodySecurityRequest1Action: UpdateFirewallConfigRequestBodySecurityRequest1Action): string;
/** @internal */
export type RequestBodyValidationErrors$Outbound = Array<string> | string;
/** @internal */
export declare const RequestBodyValidationErrors$outboundSchema: z.ZodType<RequestBodyValidationErrors$Outbound, z.ZodTypeDef, RequestBodyValidationErrors>;
export declare function requestBodyValidationErrorsToJSON(requestBodyValidationErrors: RequestBodyValidationErrors): string;
/** @internal */
export type RequestBodyValue$Outbound = {
name: string;
description?: string | undefined;
active: boolean;
conditionGroup: Array<RequestBodyConditionGroup$Outbound>;
action?: UpdateFirewallConfigRequestBodySecurityRequest1Action$Outbound | undefined;
valid?: boolean | undefined;
validationErrors?: Array<string> | string | undefined;
};
/** @internal */
export declare const RequestBodyValue$outboundSchema: z.ZodType<RequestBodyValue$Outbound, z.ZodTypeDef, RequestBodyValue>;
export declare function requestBodyValueToJSON(requestBodyValue: RequestBodyValue): string;
/** @internal */
export type UpdateFirewallConfigRequestBody1$Outbound = {
action: string;
id?: any | null | undefined;
value: RequestBodyValue$Outbound;
};
/** @internal */
export declare const UpdateFirewallConfigRequestBody1$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBody1$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody1>;
export declare function updateFirewallConfigRequestBody1ToJSON(updateFirewallConfigRequestBody1: UpdateFirewallConfigRequestBody1): string;
/** @internal */
export type UpdateFirewallConfigRequestBody$Outbound = UpdateFirewallConfigRequestBody2$Outbound | UpdateFirewallConfigRequestBody4$Outbound | UpdateFirewallConfigRequestBody6$Outbound | UpdateFirewallConfigRequestBody8$Outbound | RequestBody12$Outbound | RequestBody14$Outbound | RequestBody15$Outbound | RequestBody18$Outbound | RequestBody20$Outbound | RequestBody21$Outbound | UpdateFirewallConfigRequestBody1$Outbound | UpdateFirewallConfigRequestBody3$Outbound | UpdateFirewallConfigRequestBody5$Outbound | UpdateFirewallConfigRequestBody7$Outbound | UpdateFirewallConfigRequestBody9$Outbound | UpdateFirewallConfigRequestBody10$Outbound | RequestBody11$Outbound | RequestBody13$Outbound | RequestBody17$Outbound | RequestBody19$Outbound | RequestBody22$Outbound | RequestBody23$Outbound | RequestBody16$Outbound;
/** @internal */
export declare const UpdateFirewallConfigRequestBody$outboundSchema: z.ZodType<UpdateFirewallConfigRequestBody$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequestBody>;
export declare function updateFirewallConfigRequestBodyToJSON(updateFirewallConfigRequestBody: UpdateFirewallConfigRequestBody): string;
/** @internal */
export type UpdateFirewallConfigRequest$Outbound = {
projectId: string;
teamId?: string | undefined;
slug?: string | undefined;
RequestBody: UpdateFirewallConfigRequestBody2$Outbound | UpdateFirewallConfigRequestBody4$Outbound | UpdateFirewallConfigRequestBody6$Outbound | UpdateFirewallConfigRequestBody8$Outbound | RequestBody12$Outbound | RequestBody14$Outbound | RequestBody15$Outbound | RequestBody18$Outbound | RequestBody20$Outbound | RequestBody21$Outbound | UpdateFirewallConfigRequestBody1$Outbound | UpdateFirewallConfigRequestBody3$Outbound | UpdateFirewallConfigRequestBody5$Outbound | UpdateFirewallConfigRequestBody7$Outbound | UpdateFirewallConfigRequestBody9$Outbound | UpdateFirewallConfigRequestBody10$Outbound | RequestBody11$Outbound | RequestBody13$Outbound | RequestBody17$Outbound | RequestBody19$Outbound | RequestBody22$Outbound | RequestBody23$Outbound | RequestBody16$Outbound;
};
/** @internal */
export declare const UpdateFirewallConfigRequest$outboundSchema: z.ZodType<UpdateFirewallConfigRequest$Outbound, z.ZodTypeDef, UpdateFirewallConfigRequest>;
export declare function updateFirewallConfigRequestToJSON(updateFirewallConfigRequest: UpdateFirewallConfigRequest): string;
/** @internal */
export declare const UpdateFirewallConfigResponseBody$inboundSchema: z.ZodType<UpdateFirewallConfigResponseBody, z.ZodTypeDef, unknown>;
export declare function updateFirewallConfigResponseBodyFromJSON(jsonString: string): SafeParseResult<UpdateFirewallConfigResponseBody, SDKValidationError>;
//# sourceMappingURL=updatefirewallconfigop.d.ts.map