/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { WaasChainEnum } from './WaasChainEnum'; import { WaasPolicyArgumentConstraint } from './WaasPolicyArgumentConstraint'; import { WaasPolicyRuleOperationRestrictions } from './WaasPolicyRuleOperationRestrictions'; import { WaasPolicyRuleType } from './WaasPolicyRuleType'; import { WaasPolicyRuleValueLimit } from './WaasPolicyRuleValueLimit'; /** * * @export * @interface WaasPolicyRule */ export interface WaasPolicyRule { /** * * @type {string} * @memberof WaasPolicyRule */ ruleId?: string; /** * Human-readable name for the rule * @type {string} * @memberof WaasPolicyRule */ name: string; /** * * @type {WaasPolicyRuleType} * @memberof WaasPolicyRule */ ruleType: WaasPolicyRuleType; /** * Target address EVM or SVM (legacy field) * @type {string} * @memberof WaasPolicyRule */ address?: string | null; /** * Target address(es) EVM or SVM * @type {Array} * @memberof WaasPolicyRule */ addresses?: Array; /** * * @type {WaasChainEnum} * @memberof WaasPolicyRule */ chain: WaasChainEnum; /** * Chain ID for the policy rule (legacy field) * @type {number} * @memberof WaasPolicyRule */ chainId?: number; /** * Chain IDs for the policy rule * @type {Array} * @memberof WaasPolicyRule */ chainIds?: Array; /** * Contract ABI interface * @type {Array} * @memberof WaasPolicyRule */ contractAbi?: Array; /** * Specific function name to permit/deny * @type {string} * @memberof WaasPolicyRule */ functionName?: string; /** * Validation rules for function arguments * @type {Array} * @memberof WaasPolicyRule */ argumentConstraints?: Array; /** * * @type {WaasPolicyRuleValueLimit} * @memberof WaasPolicyRule */ valueLimit?: WaasPolicyRuleValueLimit; /** * * @type {WaasPolicyRuleOperationRestrictions} * @memberof WaasPolicyRule */ operationRestrictions?: WaasPolicyRuleOperationRestrictions; /** * When true, disables Blockaid security enforcement for this rule. Blockaid simulation will still run for policy evaluation, but security verdicts (e.g., malicious transactions) will not block execution. Transaction approval will be determined solely by customer-defined policy rules. Use with caution as this bypasses automated security protections. * @type {boolean} * @memberof WaasPolicyRule */ disableBlockaidSecurityChecks?: boolean; } export declare function WaasPolicyRuleFromJSON(json: any): WaasPolicyRule; export declare function WaasPolicyRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyRule; export declare function WaasPolicyRuleToJSON(value?: WaasPolicyRule | null): any;