diff --git a/api.md b/api.md index 847dabb3a0f..71ac2b37a44 100644 --- a/api.md +++ b/api.md @@ -2996,7 +2996,7 @@ Types: ```python from cloudflare.types import ( RequestRule, - ResponeRule, + ResponseRule, Ruleset, RulesetCreateResponse, RulesetUpdateResponse, @@ -3689,7 +3689,6 @@ Types: ```python from cloudflare.types.intel.attack_surface_report import ( IssueClass, - IssueType, Product, SeverityQueryParam, Subject, diff --git a/src/cloudflare/resources/intel/attack_surface_report/issues.py b/src/cloudflare/resources/intel/attack_surface_report/issues.py index 1dec14af6e3..08732afbdce 100644 --- a/src/cloudflare/resources/intel/attack_surface_report/issues.py +++ b/src/cloudflare/resources/intel/attack_surface_report/issues.py @@ -3,6 +3,7 @@ from __future__ import annotations from typing import Any, List, Type, cast +from typing_extensions import Literal import httpx @@ -28,7 +29,6 @@ from ....types.intel.attack_surface_report import ( ProductParam, SubjectParam, - IssueTypeParam, IssueClassParam, IssueListResponse, IssueTypeResponse, @@ -62,8 +62,26 @@ def list( dismissed: bool | NotGiven = NOT_GIVEN, issue_class: IssueClassParam | NotGiven = NOT_GIVEN, issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN, - issue_type: IssueTypeParam | NotGiven = NOT_GIVEN, - issue_type_neq: IssueTypeParam | NotGiven = NOT_GIVEN, + issue_type: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + | NotGiven = NOT_GIVEN, + issue_type_neq: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + | NotGiven = NOT_GIVEN, page: int | NotGiven = NOT_GIVEN, per_page: int | NotGiven = NOT_GIVEN, product: ProductParam | NotGiven = NOT_GIVEN, @@ -136,8 +154,26 @@ def class_( dismissed: bool | NotGiven = NOT_GIVEN, issue_class: IssueClassParam | NotGiven = NOT_GIVEN, issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN, - issue_type: IssueTypeParam | NotGiven = NOT_GIVEN, - issue_type_neq: IssueTypeParam | NotGiven = NOT_GIVEN, + issue_type: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + | NotGiven = NOT_GIVEN, + issue_type_neq: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + | NotGiven = NOT_GIVEN, product: ProductParam | NotGiven = NOT_GIVEN, product_neq: ProductParam | NotGiven = NOT_GIVEN, severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN, @@ -251,8 +287,26 @@ def severity( dismissed: bool | NotGiven = NOT_GIVEN, issue_class: IssueClassParam | NotGiven = NOT_GIVEN, issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN, - issue_type: IssueTypeParam | NotGiven = NOT_GIVEN, - issue_type_neq: IssueTypeParam | NotGiven = NOT_GIVEN, + issue_type: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + | NotGiven = NOT_GIVEN, + issue_type_neq: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + | NotGiven = NOT_GIVEN, product: ProductParam | NotGiven = NOT_GIVEN, product_neq: ProductParam | NotGiven = NOT_GIVEN, severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN, @@ -317,8 +371,26 @@ def type( dismissed: bool | NotGiven = NOT_GIVEN, issue_class: IssueClassParam | NotGiven = NOT_GIVEN, issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN, - issue_type: IssueTypeParam | NotGiven = NOT_GIVEN, - issue_type_neq: IssueTypeParam | NotGiven = NOT_GIVEN, + issue_type: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + | NotGiven = NOT_GIVEN, + issue_type_neq: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + | NotGiven = NOT_GIVEN, product: ProductParam | NotGiven = NOT_GIVEN, product_neq: ProductParam | NotGiven = NOT_GIVEN, severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN, @@ -393,8 +465,26 @@ def list( dismissed: bool | NotGiven = NOT_GIVEN, issue_class: IssueClassParam | NotGiven = NOT_GIVEN, issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN, - issue_type: IssueTypeParam | NotGiven = NOT_GIVEN, - issue_type_neq: IssueTypeParam | NotGiven = NOT_GIVEN, + issue_type: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + | NotGiven = NOT_GIVEN, + issue_type_neq: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + | NotGiven = NOT_GIVEN, page: int | NotGiven = NOT_GIVEN, per_page: int | NotGiven = NOT_GIVEN, product: ProductParam | NotGiven = NOT_GIVEN, @@ -467,8 +557,26 @@ async def class_( dismissed: bool | NotGiven = NOT_GIVEN, issue_class: IssueClassParam | NotGiven = NOT_GIVEN, issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN, - issue_type: IssueTypeParam | NotGiven = NOT_GIVEN, - issue_type_neq: IssueTypeParam | NotGiven = NOT_GIVEN, + issue_type: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + | NotGiven = NOT_GIVEN, + issue_type_neq: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + | NotGiven = NOT_GIVEN, product: ProductParam | NotGiven = NOT_GIVEN, product_neq: ProductParam | NotGiven = NOT_GIVEN, severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN, @@ -582,8 +690,26 @@ async def severity( dismissed: bool | NotGiven = NOT_GIVEN, issue_class: IssueClassParam | NotGiven = NOT_GIVEN, issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN, - issue_type: IssueTypeParam | NotGiven = NOT_GIVEN, - issue_type_neq: IssueTypeParam | NotGiven = NOT_GIVEN, + issue_type: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + | NotGiven = NOT_GIVEN, + issue_type_neq: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + | NotGiven = NOT_GIVEN, product: ProductParam | NotGiven = NOT_GIVEN, product_neq: ProductParam | NotGiven = NOT_GIVEN, severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN, @@ -648,8 +774,26 @@ async def type( dismissed: bool | NotGiven = NOT_GIVEN, issue_class: IssueClassParam | NotGiven = NOT_GIVEN, issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN, - issue_type: IssueTypeParam | NotGiven = NOT_GIVEN, - issue_type_neq: IssueTypeParam | NotGiven = NOT_GIVEN, + issue_type: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + | NotGiven = NOT_GIVEN, + issue_type_neq: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + | NotGiven = NOT_GIVEN, product: ProductParam | NotGiven = NOT_GIVEN, product_neq: ProductParam | NotGiven = NOT_GIVEN, severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN, diff --git a/src/cloudflare/types/__init__.py b/src/cloudflare/types/__init__.py index f2105913a40..5b472a37e9a 100644 --- a/src/cloudflare/types/__init__.py +++ b/src/cloudflare/types/__init__.py @@ -62,7 +62,6 @@ from .header_param import HeaderParam as HeaderParam from .health_check import HealthCheck as HealthCheck from .origin_param import OriginParam as OriginParam -from .respone_rule import ResponeRule as ResponeRule from .target_param import TargetParam as TargetParam from .tunnel_param import TunnelParam as TunnelParam from .waiting_room import WaitingRoom as WaitingRoom @@ -74,6 +73,7 @@ from .queue_created import QueueCreated as QueueCreated from .queue_updated import QueueUpdated as QueueUpdated from .request_model import RequestModel as RequestModel +from .response_rule import ResponseRule as ResponseRule from .edge_ips_param import EdgeIPsParam as EdgeIPsParam from .filter_options import FilterOptions as FilterOptions from .hostname_param import HostnameParam as HostnameParam diff --git a/src/cloudflare/types/intel/attack_surface_report/__init__.py b/src/cloudflare/types/intel/attack_surface_report/__init__.py index 3e22ed22dae..2e6d50dc5c7 100644 --- a/src/cloudflare/types/intel/attack_surface_report/__init__.py +++ b/src/cloudflare/types/intel/attack_surface_report/__init__.py @@ -4,7 +4,6 @@ from .product_param import ProductParam as ProductParam from .subject_param import SubjectParam as SubjectParam -from .issue_type_param import IssueTypeParam as IssueTypeParam from .issue_class_param import IssueClassParam as IssueClassParam from .issue_list_params import IssueListParams as IssueListParams from .issue_type_params import IssueTypeParams as IssueTypeParams diff --git a/src/cloudflare/types/intel/attack_surface_report/issue_class_params.py b/src/cloudflare/types/intel/attack_surface_report/issue_class_params.py index 2f4282e8e10..93d5c4a8312 100644 --- a/src/cloudflare/types/intel/attack_surface_report/issue_class_params.py +++ b/src/cloudflare/types/intel/attack_surface_report/issue_class_params.py @@ -3,12 +3,11 @@ from __future__ import annotations from typing import List -from typing_extensions import Required, Annotated, TypedDict +from typing_extensions import Literal, Required, Annotated, TypedDict from ...._utils import PropertyInfo from .product_param import ProductParam from .subject_param import SubjectParam -from .issue_type_param import IssueTypeParam from .issue_class_param import IssueClassParam from .severity_query_param import SeverityQueryParam @@ -25,9 +24,28 @@ class IssueClassParams(TypedDict, total=False): issue_class_neq: Annotated[IssueClassParam, PropertyInfo(alias="issue_class~neq")] - issue_type: IssueTypeParam - - issue_type_neq: Annotated[IssueTypeParam, PropertyInfo(alias="issue_type~neq")] + issue_type: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + + issue_type_neq: Annotated[ + List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ], + PropertyInfo(alias="issue_type~neq"), + ] product: ProductParam diff --git a/src/cloudflare/types/intel/attack_surface_report/issue_list_params.py b/src/cloudflare/types/intel/attack_surface_report/issue_list_params.py index 020d806c5f9..11c87f5d89e 100644 --- a/src/cloudflare/types/intel/attack_surface_report/issue_list_params.py +++ b/src/cloudflare/types/intel/attack_surface_report/issue_list_params.py @@ -3,12 +3,11 @@ from __future__ import annotations from typing import List -from typing_extensions import Required, Annotated, TypedDict +from typing_extensions import Literal, Required, Annotated, TypedDict from ...._utils import PropertyInfo from .product_param import ProductParam from .subject_param import SubjectParam -from .issue_type_param import IssueTypeParam from .issue_class_param import IssueClassParam from .severity_query_param import SeverityQueryParam @@ -25,9 +24,28 @@ class IssueListParams(TypedDict, total=False): issue_class_neq: Annotated[IssueClassParam, PropertyInfo(alias="issue_class~neq")] - issue_type: IssueTypeParam - - issue_type_neq: Annotated[IssueTypeParam, PropertyInfo(alias="issue_type~neq")] + issue_type: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + + issue_type_neq: Annotated[ + List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ], + PropertyInfo(alias="issue_type~neq"), + ] page: int """Current page within paginated list of results""" diff --git a/src/cloudflare/types/intel/attack_surface_report/issue_severity_params.py b/src/cloudflare/types/intel/attack_surface_report/issue_severity_params.py index bc1e135dee4..fadee1e71c1 100644 --- a/src/cloudflare/types/intel/attack_surface_report/issue_severity_params.py +++ b/src/cloudflare/types/intel/attack_surface_report/issue_severity_params.py @@ -3,12 +3,11 @@ from __future__ import annotations from typing import List -from typing_extensions import Required, Annotated, TypedDict +from typing_extensions import Literal, Required, Annotated, TypedDict from ...._utils import PropertyInfo from .product_param import ProductParam from .subject_param import SubjectParam -from .issue_type_param import IssueTypeParam from .issue_class_param import IssueClassParam from .severity_query_param import SeverityQueryParam @@ -25,9 +24,28 @@ class IssueSeverityParams(TypedDict, total=False): issue_class_neq: Annotated[IssueClassParam, PropertyInfo(alias="issue_class~neq")] - issue_type: IssueTypeParam - - issue_type_neq: Annotated[IssueTypeParam, PropertyInfo(alias="issue_type~neq")] + issue_type: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + + issue_type_neq: Annotated[ + List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ], + PropertyInfo(alias="issue_type~neq"), + ] product: ProductParam diff --git a/src/cloudflare/types/intel/attack_surface_report/issue_type_param.py b/src/cloudflare/types/intel/attack_surface_report/issue_type_param.py deleted file mode 100644 index a2af5d54f51..00000000000 --- a/src/cloudflare/types/intel/attack_surface_report/issue_type_param.py +++ /dev/null @@ -1,22 +0,0 @@ -# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. - -from __future__ import annotations - -from typing import List -from typing_extensions import Literal - -__all__ = ["IssueTypeParamItem"] - -IssueTypeParamItem = Literal[ - "compliance_violation", "email_security", "exposed_infrastructure", "insecure_configuration", "weak_authentication" -] - -IssueTypeParam = List[ - Literal[ - "compliance_violation", - "email_security", - "exposed_infrastructure", - "insecure_configuration", - "weak_authentication", - ] -] diff --git a/src/cloudflare/types/intel/attack_surface_report/issue_type_params.py b/src/cloudflare/types/intel/attack_surface_report/issue_type_params.py index d16117a9808..03671c107ef 100644 --- a/src/cloudflare/types/intel/attack_surface_report/issue_type_params.py +++ b/src/cloudflare/types/intel/attack_surface_report/issue_type_params.py @@ -3,12 +3,11 @@ from __future__ import annotations from typing import List -from typing_extensions import Required, Annotated, TypedDict +from typing_extensions import Literal, Required, Annotated, TypedDict from ...._utils import PropertyInfo from .product_param import ProductParam from .subject_param import SubjectParam -from .issue_type_param import IssueTypeParam from .issue_class_param import IssueClassParam from .severity_query_param import SeverityQueryParam @@ -25,9 +24,28 @@ class IssueTypeParams(TypedDict, total=False): issue_class_neq: Annotated[IssueClassParam, PropertyInfo(alias="issue_class~neq")] - issue_type: IssueTypeParam - - issue_type_neq: Annotated[IssueTypeParam, PropertyInfo(alias="issue_type~neq")] + issue_type: List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ] + + issue_type_neq: Annotated[ + List[ + Literal[ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + ] + ], + PropertyInfo(alias="issue_type~neq"), + ] product: ProductParam diff --git a/src/cloudflare/types/respone_rule.py b/src/cloudflare/types/response_rule.py similarity index 54% rename from src/cloudflare/types/respone_rule.py rename to src/cloudflare/types/response_rule.py index ecb5262e329..1e32a69ac50 100644 --- a/src/cloudflare/types/respone_rule.py +++ b/src/cloudflare/types/response_rule.py @@ -4,8 +4,8 @@ from .rulesets import LogRule, SkipRule, BlockRule, ExecuteRule -__all__ = ["ResponeRule", "ResponeRuleItem"] +__all__ = ["ResponseRule", "ResponseRuleItem"] -ResponeRuleItem = Union[BlockRule, ExecuteRule, LogRule, SkipRule] +ResponseRuleItem = Union[BlockRule, ExecuteRule, LogRule, SkipRule] -ResponeRule = List[ResponeRuleItem] +ResponseRule = List[ResponseRuleItem] diff --git a/src/cloudflare/types/ruleset_create_response.py b/src/cloudflare/types/ruleset_create_response.py index 9dac24aeeba..5596ec4592e 100644 --- a/src/cloudflare/types/ruleset_create_response.py +++ b/src/cloudflare/types/ruleset_create_response.py @@ -5,7 +5,7 @@ from typing_extensions import Literal from .._models import BaseModel -from .respone_rule import ResponeRule +from .response_rule import ResponseRule __all__ = ["RulesetCreateResponse"] @@ -50,7 +50,7 @@ class RulesetCreateResponse(BaseModel): ] """The phase of the ruleset.""" - rules: ResponeRule + rules: ResponseRule """The list of rules in the ruleset.""" version: str diff --git a/src/cloudflare/types/ruleset_get_response.py b/src/cloudflare/types/ruleset_get_response.py index fcaa789c2b5..399604f279f 100644 --- a/src/cloudflare/types/ruleset_get_response.py +++ b/src/cloudflare/types/ruleset_get_response.py @@ -5,7 +5,7 @@ from typing_extensions import Literal from .._models import BaseModel -from .respone_rule import ResponeRule +from .response_rule import ResponseRule __all__ = ["RulesetGetResponse"] @@ -50,7 +50,7 @@ class RulesetGetResponse(BaseModel): ] """The phase of the ruleset.""" - rules: ResponeRule + rules: ResponseRule """The list of rules in the ruleset.""" version: str diff --git a/src/cloudflare/types/ruleset_update_response.py b/src/cloudflare/types/ruleset_update_response.py index f7acb59985e..72256ec5517 100644 --- a/src/cloudflare/types/ruleset_update_response.py +++ b/src/cloudflare/types/ruleset_update_response.py @@ -5,7 +5,7 @@ from typing_extensions import Literal from .._models import BaseModel -from .respone_rule import ResponeRule +from .response_rule import ResponseRule __all__ = ["RulesetUpdateResponse"] @@ -50,7 +50,7 @@ class RulesetUpdateResponse(BaseModel): ] """The phase of the ruleset.""" - rules: ResponeRule + rules: ResponseRule """The list of rules in the ruleset.""" version: str diff --git a/src/cloudflare/types/rulesets/phase_get_response.py b/src/cloudflare/types/rulesets/phase_get_response.py index 356b2ff1004..fca68c0ac86 100644 --- a/src/cloudflare/types/rulesets/phase_get_response.py +++ b/src/cloudflare/types/rulesets/phase_get_response.py @@ -5,7 +5,7 @@ from typing_extensions import Literal from ..._models import BaseModel -from ..respone_rule import ResponeRule +from ..response_rule import ResponseRule __all__ = ["PhaseGetResponse"] @@ -50,7 +50,7 @@ class PhaseGetResponse(BaseModel): ] """The phase of the ruleset.""" - rules: ResponeRule + rules: ResponseRule """The list of rules in the ruleset.""" version: str diff --git a/src/cloudflare/types/rulesets/phase_update_response.py b/src/cloudflare/types/rulesets/phase_update_response.py index 34518b0649d..04262982f88 100644 --- a/src/cloudflare/types/rulesets/phase_update_response.py +++ b/src/cloudflare/types/rulesets/phase_update_response.py @@ -5,7 +5,7 @@ from typing_extensions import Literal from ..._models import BaseModel -from ..respone_rule import ResponeRule +from ..response_rule import ResponseRule __all__ = ["PhaseUpdateResponse"] @@ -50,7 +50,7 @@ class PhaseUpdateResponse(BaseModel): ] """The phase of the ruleset.""" - rules: ResponeRule + rules: ResponseRule """The list of rules in the ruleset.""" version: str diff --git a/src/cloudflare/types/rulesets/phases/version_get_response.py b/src/cloudflare/types/rulesets/phases/version_get_response.py index 16d269ae90d..8885e07997e 100644 --- a/src/cloudflare/types/rulesets/phases/version_get_response.py +++ b/src/cloudflare/types/rulesets/phases/version_get_response.py @@ -5,7 +5,7 @@ from typing_extensions import Literal from ...._models import BaseModel -from ...respone_rule import ResponeRule +from ...response_rule import ResponseRule __all__ = ["VersionGetResponse"] @@ -50,7 +50,7 @@ class VersionGetResponse(BaseModel): ] """The phase of the ruleset.""" - rules: ResponeRule + rules: ResponseRule """The list of rules in the ruleset.""" version: str diff --git a/src/cloudflare/types/rulesets/rule_create_response.py b/src/cloudflare/types/rulesets/rule_create_response.py index 09a3fa721d2..25aa161f863 100644 --- a/src/cloudflare/types/rulesets/rule_create_response.py +++ b/src/cloudflare/types/rulesets/rule_create_response.py @@ -5,7 +5,7 @@ from typing_extensions import Literal from ..._models import BaseModel -from ..respone_rule import ResponeRule +from ..response_rule import ResponseRule __all__ = ["RuleCreateResponse"] @@ -50,7 +50,7 @@ class RuleCreateResponse(BaseModel): ] """The phase of the ruleset.""" - rules: ResponeRule + rules: ResponseRule """The list of rules in the ruleset.""" version: str diff --git a/src/cloudflare/types/rulesets/rule_delete_response.py b/src/cloudflare/types/rulesets/rule_delete_response.py index 38687e3ca25..d4bc191eef9 100644 --- a/src/cloudflare/types/rulesets/rule_delete_response.py +++ b/src/cloudflare/types/rulesets/rule_delete_response.py @@ -5,7 +5,7 @@ from typing_extensions import Literal from ..._models import BaseModel -from ..respone_rule import ResponeRule +from ..response_rule import ResponseRule __all__ = ["RuleDeleteResponse"] @@ -50,7 +50,7 @@ class RuleDeleteResponse(BaseModel): ] """The phase of the ruleset.""" - rules: ResponeRule + rules: ResponseRule """The list of rules in the ruleset.""" version: str diff --git a/src/cloudflare/types/rulesets/rule_edit_response.py b/src/cloudflare/types/rulesets/rule_edit_response.py index bccb6f3750a..d9a1bb830fc 100644 --- a/src/cloudflare/types/rulesets/rule_edit_response.py +++ b/src/cloudflare/types/rulesets/rule_edit_response.py @@ -5,7 +5,7 @@ from typing_extensions import Literal from ..._models import BaseModel -from ..respone_rule import ResponeRule +from ..response_rule import ResponseRule __all__ = ["RuleEditResponse"] @@ -50,7 +50,7 @@ class RuleEditResponse(BaseModel): ] """The phase of the ruleset.""" - rules: ResponeRule + rules: ResponseRule """The list of rules in the ruleset.""" version: str diff --git a/src/cloudflare/types/rulesets/version_get_response.py b/src/cloudflare/types/rulesets/version_get_response.py index 2e95e51a629..43cb89a110b 100644 --- a/src/cloudflare/types/rulesets/version_get_response.py +++ b/src/cloudflare/types/rulesets/version_get_response.py @@ -5,7 +5,7 @@ from typing_extensions import Literal from ..._models import BaseModel -from ..respone_rule import ResponeRule +from ..response_rule import ResponseRule __all__ = ["VersionGetResponse"] @@ -50,7 +50,7 @@ class VersionGetResponse(BaseModel): ] """The phase of the ruleset.""" - rules: ResponeRule + rules: ResponseRule """The list of rules in the ruleset.""" version: str diff --git a/src/cloudflare/types/rulesets/versions/by_tag_get_response.py b/src/cloudflare/types/rulesets/versions/by_tag_get_response.py index dd7980626f5..2f3386254fd 100644 --- a/src/cloudflare/types/rulesets/versions/by_tag_get_response.py +++ b/src/cloudflare/types/rulesets/versions/by_tag_get_response.py @@ -5,7 +5,7 @@ from typing_extensions import Literal from ...._models import BaseModel -from ...respone_rule import ResponeRule +from ...response_rule import ResponseRule __all__ = ["ByTagGetResponse"] @@ -50,7 +50,7 @@ class ByTagGetResponse(BaseModel): ] """The phase of the ruleset.""" - rules: ResponeRule + rules: ResponseRule """The list of rules in the ruleset.""" version: str