From b762e85608f579b5b3a69a8a6ee948857b7f605d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 18 Jun 2024 08:54:34 +0000 Subject: [PATCH] feat(api): OpenAPI spec update via Stainless API (#1016) --- .stats.yml | 2 +- api.md | 2 +- .../resources/radar/attacks/layer3/top/top.py | 10 +++++++++ .../resources/radar/attacks/layer7/top/top.py | 10 +++++++++ src/cloudflare/resources/radar/datasets.py | 22 ++++--------------- .../resources/radar/ranking/domain.py | 6 ++--- .../resources/radar/ranking/ranking.py | 6 ++--- src/cloudflare/types/radar/__init__.py | 1 - .../radar/as112/summary_dnssec_response.py | 2 +- .../radar/as112/summary_edns_response.py | 2 +- .../as112/summary_ip_version_response.py | 2 +- .../radar/as112/summary_protocol_response.py | 2 +- .../as112/summary_query_type_response.py | 2 +- .../as112/summary_response_codes_response.py | 2 +- .../types/radar/as112/top_dnssec_response.py | 2 +- .../types/radar/as112/top_edns_response.py | 2 +- .../radar/as112/top_ip_version_response.py | 2 +- .../radar/as112/top_locations_response.py | 2 +- .../types/radar/as112_timeseries_response.py | 2 +- .../layer3/summary_bitrate_response.py | 2 +- .../layer3/summary_duration_response.py | 2 +- .../attacks/layer3/summary_get_response.py | 2 +- .../layer3/summary_ip_version_response.py | 2 +- .../layer3/summary_protocol_response.py | 2 +- .../attacks/layer3/summary_vector_response.py | 2 +- .../layer3/timeseries_group_get_response.py | 2 +- .../layer3/top/location_origin_response.py | 2 +- .../layer3/top/location_target_response.py | 2 +- .../attacks/layer3/top_attacks_params.py | 7 ++++++ .../attacks/layer3/top_attacks_response.py | 2 +- .../attacks/layer3/top_industry_response.py | 2 +- .../attacks/layer3/top_vertical_response.py | 2 +- .../attacks/layer7/summary_get_response.py | 2 +- .../layer7/summary_http_method_response.py | 2 +- .../layer7/summary_http_version_response.py | 2 +- .../layer7/summary_ip_version_response.py | 2 +- .../layer7/summary_managed_rules_response.py | 2 +- .../summary_mitigation_product_response.py | 2 +- .../layer7/timeseries_group_get_response.py | 2 +- .../attacks/layer7/top/ase_origin_response.py | 2 +- .../layer7/top/location_origin_response.py | 2 +- .../layer7/top/location_target_response.py | 2 +- .../attacks/layer7/top_attacks_params.py | 7 ++++++ .../attacks/layer7/top_attacks_response.py | 2 +- .../attacks/layer7/top_industry_response.py | 2 +- .../attacks/layer7/top_vertical_response.py | 2 +- .../attacks/layer7_timeseries_response.py | 2 +- .../types/radar/bgp/top/ase_get_params.py | 13 +++++++++-- .../types/radar/bgp_timeseries_params.py | 13 +++++++++-- .../types/radar/bgp_timeseries_response.py | 2 +- .../connection_tampering_summary_response.py | 2 +- ...on_tampering_timeseries_groups_response.py | 2 +- .../types/radar/dataset_get_params.py | 13 ----------- .../types/radar/dns/top_ases_response.py | 2 +- .../types/radar/dns/top_locations_response.py | 2 +- .../email/routing/summary_arc_response.py | 2 +- .../email/routing/summary_dkim_response.py | 2 +- .../email/routing/summary_dmarc_response.py | 2 +- .../routing/summary_encrypted_response.py | 2 +- .../routing/summary_ip_version_response.py | 2 +- .../email/routing/summary_spf_response.py | 2 +- .../email/security/summary_arc_response.py | 2 +- .../email/security/summary_dkim_response.py | 2 +- .../email/security/summary_dmarc_response.py | 2 +- .../security/summary_malicious_response.py | 2 +- .../email/security/summary_spam_response.py | 2 +- .../email/security/summary_spf_response.py | 2 +- .../email/security/summary_spoof_response.py | 2 +- .../summary_threat_category_response.py | 2 +- .../security/summary_tls_version_response.py | 2 +- .../email/security/top/tld_get_response.py | 2 +- .../top/tlds/malicious_get_response.py | 2 +- .../security/top/tlds/spam_get_response.py | 2 +- .../security/top/tlds/spoof_get_response.py | 2 +- .../types/radar/http/ase_get_response.py | 2 +- .../radar/http/ases/bot_class_get_response.py | 2 +- .../http/ases/browser_family_get_response.py | 2 +- .../http/ases/device_type_get_response.py | 2 +- .../http/ases/http_method_get_response.py | 2 +- .../http/ases/http_protocol_get_response.py | 2 +- .../http/ases/ip_version_get_response.py | 2 +- .../types/radar/http/ases/os_get_response.py | 2 +- .../http/ases/tls_version_get_response.py | 2 +- .../types/radar/http/location_get_response.py | 2 +- .../http/locations/bot_class_get_response.py | 2 +- .../locations/browser_family_get_response.py | 2 +- .../locations/device_type_get_response.py | 2 +- .../locations/http_method_get_response.py | 2 +- .../locations/http_protocol_get_response.py | 2 +- .../http/locations/ip_version_get_response.py | 2 +- .../radar/http/locations/os_get_response.py | 2 +- .../locations/tls_version_get_response.py | 2 +- .../radar/http/summary_bot_class_response.py | 2 +- .../http/summary_device_type_response.py | 2 +- .../http/summary_http_protocol_response.py | 2 +- .../http/summary_http_version_response.py | 2 +- .../radar/http/summary_ip_version_response.py | 2 +- .../types/radar/http/summary_os_response.py | 2 +- .../http/summary_post_quantum_response.py | 2 +- .../http/summary_tls_version_response.py | 2 +- .../http/top_browser_families_response.py | 2 +- .../types/radar/http/top_browsers_response.py | 2 +- .../types/radar/http_timeseries_response.py | 2 +- .../radar/netflow_timeseries_response.py | 2 +- .../radar/quality/iqi_summary_response.py | 2 +- .../radar/quality/speed/top_ases_response.py | 2 +- .../quality/speed/top_locations_response.py | 2 +- .../radar/quality/speed_summary_response.py | 2 +- .../types/radar/ranking/domain_get_params.py | 4 ++-- .../types/radar/ranking_top_params.py | 4 ++-- .../radar/verified_bots/top_bots_response.py | 2 +- .../verified_bots/top_categories_response.py | 2 +- .../radar/attacks/layer3/test_top.py | 2 ++ .../radar/attacks/layer7/test_top.py | 2 ++ .../api_resources/radar/bgp/top/test_ases.py | 18 ++++++++++----- tests/api_resources/radar/test_bgp.py | 18 ++++++++++----- tests/api_resources/radar/test_datasets.py | 16 -------------- 117 files changed, 197 insertions(+), 173 deletions(-) delete mode 100644 src/cloudflare/types/radar/dataset_get_params.py diff --git a/.stats.yml b/.stats.yml index 4a8cb087804..76fac26c154 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 1348 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-9d1a5f2de8e753867ab88ca1b88d1d1cdc944a7834fb81506a7ace10ed151624.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-dfb8d2c58c029167d6eb04131ff40df5631570c1bc49279bc148b2331fa68dee.yml diff --git a/api.md b/api.md index 85216eb6939..98cdf91e9c3 100644 --- a/api.md +++ b/api.md @@ -6561,7 +6561,7 @@ Methods: - client.radar.datasets.list(\*\*params) -> DatasetListResponse - client.radar.datasets.download(\*\*params) -> DatasetDownloadResponse -- client.radar.datasets.get(alias, \*\*params) -> str +- client.radar.datasets.get(alias) -> str ## DNS diff --git a/src/cloudflare/resources/radar/attacks/layer3/top/top.py b/src/cloudflare/resources/radar/attacks/layer3/top/top.py index 984669786f7..42c7224e8d6 100644 --- a/src/cloudflare/resources/radar/attacks/layer3/top/top.py +++ b/src/cloudflare/resources/radar/attacks/layer3/top/top.py @@ -87,6 +87,7 @@ def attacks( limit_per_location: int | NotGiven = NOT_GIVEN, location: List[str] | NotGiven = NOT_GIVEN, name: List[str] | NotGiven = NOT_GIVEN, + normalization: Literal["PERCENTAGE", "MIN_MAX"] | NotGiven = NOT_GIVEN, protocol: List[Literal["UDP", "TCP", "ICMP", "GRE"]] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -134,6 +135,9 @@ def attacks( name: Array of names that will be used to name the series in responses. + normalization: Normalization method applied. Refer to + [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). + protocol: Array of L3/4 attack types. extra_headers: Send extra headers @@ -164,6 +168,7 @@ def attacks( "limit_per_location": limit_per_location, "location": location, "name": name, + "normalization": normalization, "protocol": protocol, }, top_attacks_params.TopAttacksParams, @@ -428,6 +433,7 @@ async def attacks( limit_per_location: int | NotGiven = NOT_GIVEN, location: List[str] | NotGiven = NOT_GIVEN, name: List[str] | NotGiven = NOT_GIVEN, + normalization: Literal["PERCENTAGE", "MIN_MAX"] | NotGiven = NOT_GIVEN, protocol: List[Literal["UDP", "TCP", "ICMP", "GRE"]] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -475,6 +481,9 @@ async def attacks( name: Array of names that will be used to name the series in responses. + normalization: Normalization method applied. Refer to + [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). + protocol: Array of L3/4 attack types. extra_headers: Send extra headers @@ -505,6 +514,7 @@ async def attacks( "limit_per_location": limit_per_location, "location": location, "name": name, + "normalization": normalization, "protocol": protocol, }, top_attacks_params.TopAttacksParams, diff --git a/src/cloudflare/resources/radar/attacks/layer7/top/top.py b/src/cloudflare/resources/radar/attacks/layer7/top/top.py index 38429445f3e..7ad637c5f91 100644 --- a/src/cloudflare/resources/radar/attacks/layer7/top/top.py +++ b/src/cloudflare/resources/radar/attacks/layer7/top/top.py @@ -100,6 +100,7 @@ def attacks( location: List[str] | NotGiven = NOT_GIVEN, magnitude: Literal["AFFECTED_ZONES", "MITIGATED_REQUESTS"] | NotGiven = NOT_GIVEN, name: List[str] | NotGiven = NOT_GIVEN, + normalization: Literal["PERCENTAGE", "MIN_MAX"] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -152,6 +153,9 @@ def attacks( name: Array of names that will be used to name the series in responses. + normalization: Normalization method applied. Refer to + [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -181,6 +185,7 @@ def attacks( "location": location, "magnitude": magnitude, "name": name, + "normalization": normalization, }, top_attacks_params.TopAttacksParams, ), @@ -445,6 +450,7 @@ async def attacks( location: List[str] | NotGiven = NOT_GIVEN, magnitude: Literal["AFFECTED_ZONES", "MITIGATED_REQUESTS"] | NotGiven = NOT_GIVEN, name: List[str] | NotGiven = NOT_GIVEN, + normalization: Literal["PERCENTAGE", "MIN_MAX"] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -497,6 +503,9 @@ async def attacks( name: Array of names that will be used to name the series in responses. + normalization: Normalization method applied. Refer to + [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -526,6 +535,7 @@ async def attacks( "location": location, "magnitude": magnitude, "name": name, + "normalization": normalization, }, top_attacks_params.TopAttacksParams, ), diff --git a/src/cloudflare/resources/radar/datasets.py b/src/cloudflare/resources/radar/datasets.py index 021724e8c30..68a0bf3e5f1 100644 --- a/src/cloudflare/resources/radar/datasets.py +++ b/src/cloudflare/resources/radar/datasets.py @@ -2,7 +2,7 @@ from __future__ import annotations -from typing import Type, Optional, cast +from typing import Type, cast from typing_extensions import Literal import httpx @@ -21,7 +21,7 @@ async_to_streamed_response_wrapper, ) from ..._wrappers import ResultWrapper -from ...types.radar import dataset_get_params, dataset_list_params, dataset_download_params +from ...types.radar import dataset_list_params, dataset_download_params from ..._base_client import ( make_request_options, ) @@ -139,7 +139,6 @@ def get( self, alias: str, *, - date: Optional[str] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -156,8 +155,6 @@ def get( Args: alias: Dataset alias or id - date: Filter dataset alias by date - extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -172,11 +169,7 @@ def get( return self._get( f"/radar/datasets/{alias}", options=make_request_options( - extra_headers=extra_headers, - extra_query=extra_query, - extra_body=extra_body, - timeout=timeout, - query=maybe_transform({"date": date}, dataset_get_params.DatasetGetParams), + extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout ), cast_to=str, ) @@ -290,7 +283,6 @@ async def get( self, alias: str, *, - date: Optional[str] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -307,8 +299,6 @@ async def get( Args: alias: Dataset alias or id - date: Filter dataset alias by date - extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -323,11 +313,7 @@ async def get( return await self._get( f"/radar/datasets/{alias}", options=make_request_options( - extra_headers=extra_headers, - extra_query=extra_query, - extra_body=extra_body, - timeout=timeout, - query=await async_maybe_transform({"date": date}, dataset_get_params.DatasetGetParams), + extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout ), cast_to=str, ) diff --git a/src/cloudflare/resources/radar/ranking/domain.py b/src/cloudflare/resources/radar/ranking/domain.py index 19aaa5d8e25..3cc705d7ad6 100644 --- a/src/cloudflare/resources/radar/ranking/domain.py +++ b/src/cloudflare/resources/radar/ranking/domain.py @@ -2,7 +2,7 @@ from __future__ import annotations -from typing import List, Type, Optional, cast +from typing import List, Type, cast from typing_extensions import Literal import httpx @@ -43,7 +43,7 @@ def get( self, domain: str, *, - date: List[Optional[str]] | NotGiven = NOT_GIVEN, + date: List[str] | NotGiven = NOT_GIVEN, format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN, limit: int | NotGiven = NOT_GIVEN, name: List[str] | NotGiven = NOT_GIVEN, @@ -119,7 +119,7 @@ async def get( self, domain: str, *, - date: List[Optional[str]] | NotGiven = NOT_GIVEN, + date: List[str] | NotGiven = NOT_GIVEN, format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN, limit: int | NotGiven = NOT_GIVEN, name: List[str] | NotGiven = NOT_GIVEN, diff --git a/src/cloudflare/resources/radar/ranking/ranking.py b/src/cloudflare/resources/radar/ranking/ranking.py index ecabe6a0154..fdbb566b907 100644 --- a/src/cloudflare/resources/radar/ranking/ranking.py +++ b/src/cloudflare/resources/radar/ranking/ranking.py @@ -2,7 +2,7 @@ from __future__ import annotations -from typing import List, Type, Union, Optional, cast +from typing import List, Type, Union, cast from datetime import datetime from typing_extensions import Literal @@ -153,7 +153,7 @@ def timeseries_groups( def top( self, *, - date: List[Optional[str]] | NotGiven = NOT_GIVEN, + date: List[str] | NotGiven = NOT_GIVEN, format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN, limit: int | NotGiven = NOT_GIVEN, location: List[str] | NotGiven = NOT_GIVEN, @@ -331,7 +331,7 @@ async def timeseries_groups( async def top( self, *, - date: List[Optional[str]] | NotGiven = NOT_GIVEN, + date: List[str] | NotGiven = NOT_GIVEN, format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN, limit: int | NotGiven = NOT_GIVEN, location: List[str] | NotGiven = NOT_GIVEN, diff --git a/src/cloudflare/types/radar/__init__.py b/src/cloudflare/types/radar/__init__.py index cab083c87f6..63e479b1721 100644 --- a/src/cloudflare/types/radar/__init__.py +++ b/src/cloudflare/types/radar/__init__.py @@ -3,7 +3,6 @@ from __future__ import annotations from .entity_get_params import EntityGetParams as EntityGetParams -from .dataset_get_params import DatasetGetParams as DatasetGetParams from .radar_email_series import RadarEmailSeries as RadarEmailSeries from .ranking_top_params import RankingTopParams as RankingTopParams from .dataset_list_params import DatasetListParams as DatasetListParams diff --git a/src/cloudflare/types/radar/as112/summary_dnssec_response.py b/src/cloudflare/types/radar/as112/summary_dnssec_response.py index 1dea9f500ff..b692d28f07f 100644 --- a/src/cloudflare/types/radar/as112/summary_dnssec_response.py +++ b/src/cloudflare/types/radar/as112/summary_dnssec_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/as112/summary_edns_response.py b/src/cloudflare/types/radar/as112/summary_edns_response.py index da899d3649d..48ca7517798 100644 --- a/src/cloudflare/types/radar/as112/summary_edns_response.py +++ b/src/cloudflare/types/radar/as112/summary_edns_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/as112/summary_ip_version_response.py b/src/cloudflare/types/radar/as112/summary_ip_version_response.py index e8515c06e80..6286c80dc1d 100644 --- a/src/cloudflare/types/radar/as112/summary_ip_version_response.py +++ b/src/cloudflare/types/radar/as112/summary_ip_version_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/as112/summary_protocol_response.py b/src/cloudflare/types/radar/as112/summary_protocol_response.py index 3af1df35781..473abd3666c 100644 --- a/src/cloudflare/types/radar/as112/summary_protocol_response.py +++ b/src/cloudflare/types/radar/as112/summary_protocol_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/as112/summary_query_type_response.py b/src/cloudflare/types/radar/as112/summary_query_type_response.py index d302fae8743..d5268d2eb3f 100644 --- a/src/cloudflare/types/radar/as112/summary_query_type_response.py +++ b/src/cloudflare/types/radar/as112/summary_query_type_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/as112/summary_response_codes_response.py b/src/cloudflare/types/radar/as112/summary_response_codes_response.py index 9ee9b90e7d0..9c916f07a98 100644 --- a/src/cloudflare/types/radar/as112/summary_response_codes_response.py +++ b/src/cloudflare/types/radar/as112/summary_response_codes_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/as112/top_dnssec_response.py b/src/cloudflare/types/radar/as112/top_dnssec_response.py index 6896a1eb516..a911d0d50b3 100644 --- a/src/cloudflare/types/radar/as112/top_dnssec_response.py +++ b/src/cloudflare/types/radar/as112/top_dnssec_response.py @@ -25,7 +25,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/as112/top_edns_response.py b/src/cloudflare/types/radar/as112/top_edns_response.py index 88dd69c3350..208c881c579 100644 --- a/src/cloudflare/types/radar/as112/top_edns_response.py +++ b/src/cloudflare/types/radar/as112/top_edns_response.py @@ -25,7 +25,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/as112/top_ip_version_response.py b/src/cloudflare/types/radar/as112/top_ip_version_response.py index 3ca89699881..3b48dfa0ca0 100644 --- a/src/cloudflare/types/radar/as112/top_ip_version_response.py +++ b/src/cloudflare/types/radar/as112/top_ip_version_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/as112/top_locations_response.py b/src/cloudflare/types/radar/as112/top_locations_response.py index ccfeff38397..671c3284576 100644 --- a/src/cloudflare/types/radar/as112/top_locations_response.py +++ b/src/cloudflare/types/radar/as112/top_locations_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/as112_timeseries_response.py b/src/cloudflare/types/radar/as112_timeseries_response.py index 169b4dc6611..3664bedad75 100644 --- a/src/cloudflare/types/radar/as112_timeseries_response.py +++ b/src/cloudflare/types/radar/as112_timeseries_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer3/summary_bitrate_response.py b/src/cloudflare/types/radar/attacks/layer3/summary_bitrate_response.py index 8669564cff6..b04e158c215 100644 --- a/src/cloudflare/types/radar/attacks/layer3/summary_bitrate_response.py +++ b/src/cloudflare/types/radar/attacks/layer3/summary_bitrate_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer3/summary_duration_response.py b/src/cloudflare/types/radar/attacks/layer3/summary_duration_response.py index 648f29c9030..a08fb88a43b 100644 --- a/src/cloudflare/types/radar/attacks/layer3/summary_duration_response.py +++ b/src/cloudflare/types/radar/attacks/layer3/summary_duration_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer3/summary_get_response.py b/src/cloudflare/types/radar/attacks/layer3/summary_get_response.py index 1465bcb67d6..e332260ec8e 100644 --- a/src/cloudflare/types/radar/attacks/layer3/summary_get_response.py +++ b/src/cloudflare/types/radar/attacks/layer3/summary_get_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer3/summary_ip_version_response.py b/src/cloudflare/types/radar/attacks/layer3/summary_ip_version_response.py index b4f96b8667e..e1a3995c7e5 100644 --- a/src/cloudflare/types/radar/attacks/layer3/summary_ip_version_response.py +++ b/src/cloudflare/types/radar/attacks/layer3/summary_ip_version_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer3/summary_protocol_response.py b/src/cloudflare/types/radar/attacks/layer3/summary_protocol_response.py index 1cf176e0a5e..7d749df3a2a 100644 --- a/src/cloudflare/types/radar/attacks/layer3/summary_protocol_response.py +++ b/src/cloudflare/types/radar/attacks/layer3/summary_protocol_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer3/summary_vector_response.py b/src/cloudflare/types/radar/attacks/layer3/summary_vector_response.py index 47fb5fed0c0..cf21e355719 100644 --- a/src/cloudflare/types/radar/attacks/layer3/summary_vector_response.py +++ b/src/cloudflare/types/radar/attacks/layer3/summary_vector_response.py @@ -25,7 +25,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer3/timeseries_group_get_response.py b/src/cloudflare/types/radar/attacks/layer3/timeseries_group_get_response.py index e7bf91ff7a1..ea55dbde517 100644 --- a/src/cloudflare/types/radar/attacks/layer3/timeseries_group_get_response.py +++ b/src/cloudflare/types/radar/attacks/layer3/timeseries_group_get_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer3/top/location_origin_response.py b/src/cloudflare/types/radar/attacks/layer3/top/location_origin_response.py index 486e59f89c0..102661bf56a 100644 --- a/src/cloudflare/types/radar/attacks/layer3/top/location_origin_response.py +++ b/src/cloudflare/types/radar/attacks/layer3/top/location_origin_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer3/top/location_target_response.py b/src/cloudflare/types/radar/attacks/layer3/top/location_target_response.py index 781bdd4f4f4..4641eb271e6 100644 --- a/src/cloudflare/types/radar/attacks/layer3/top/location_target_response.py +++ b/src/cloudflare/types/radar/attacks/layer3/top/location_target_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer3/top_attacks_params.py b/src/cloudflare/types/radar/attacks/layer3/top_attacks_params.py index 06f4f3147ac..ca4d349d09a 100644 --- a/src/cloudflare/types/radar/attacks/layer3/top_attacks_params.py +++ b/src/cloudflare/types/radar/attacks/layer3/top_attacks_params.py @@ -85,5 +85,12 @@ class TopAttacksParams(TypedDict, total=False): name: List[str] """Array of names that will be used to name the series in responses.""" + normalization: Literal["PERCENTAGE", "MIN_MAX"] + """Normalization method applied. + + Refer to + [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). + """ + protocol: List[Literal["UDP", "TCP", "ICMP", "GRE"]] """Array of L3/4 attack types.""" diff --git a/src/cloudflare/types/radar/attacks/layer3/top_attacks_response.py b/src/cloudflare/types/radar/attacks/layer3/top_attacks_response.py index 96160d6f724..100bfdc7d49 100644 --- a/src/cloudflare/types/radar/attacks/layer3/top_attacks_response.py +++ b/src/cloudflare/types/radar/attacks/layer3/top_attacks_response.py @@ -25,7 +25,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer3/top_industry_response.py b/src/cloudflare/types/radar/attacks/layer3/top_industry_response.py index 26420c75ec6..01b6e141308 100644 --- a/src/cloudflare/types/radar/attacks/layer3/top_industry_response.py +++ b/src/cloudflare/types/radar/attacks/layer3/top_industry_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer3/top_vertical_response.py b/src/cloudflare/types/radar/attacks/layer3/top_vertical_response.py index 5b236c7c4ae..83a240b3100 100644 --- a/src/cloudflare/types/radar/attacks/layer3/top_vertical_response.py +++ b/src/cloudflare/types/radar/attacks/layer3/top_vertical_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer7/summary_get_response.py b/src/cloudflare/types/radar/attacks/layer7/summary_get_response.py index 8b65b6328df..3830406025a 100644 --- a/src/cloudflare/types/radar/attacks/layer7/summary_get_response.py +++ b/src/cloudflare/types/radar/attacks/layer7/summary_get_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer7/summary_http_method_response.py b/src/cloudflare/types/radar/attacks/layer7/summary_http_method_response.py index 40b3d9de8d0..38203e4eb07 100644 --- a/src/cloudflare/types/radar/attacks/layer7/summary_http_method_response.py +++ b/src/cloudflare/types/radar/attacks/layer7/summary_http_method_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer7/summary_http_version_response.py b/src/cloudflare/types/radar/attacks/layer7/summary_http_version_response.py index 6fc2906c230..f78c229daaa 100644 --- a/src/cloudflare/types/radar/attacks/layer7/summary_http_version_response.py +++ b/src/cloudflare/types/radar/attacks/layer7/summary_http_version_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer7/summary_ip_version_response.py b/src/cloudflare/types/radar/attacks/layer7/summary_ip_version_response.py index b4f96b8667e..e1a3995c7e5 100644 --- a/src/cloudflare/types/radar/attacks/layer7/summary_ip_version_response.py +++ b/src/cloudflare/types/radar/attacks/layer7/summary_ip_version_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer7/summary_managed_rules_response.py b/src/cloudflare/types/radar/attacks/layer7/summary_managed_rules_response.py index 98285c0015c..c62312dffd7 100644 --- a/src/cloudflare/types/radar/attacks/layer7/summary_managed_rules_response.py +++ b/src/cloudflare/types/radar/attacks/layer7/summary_managed_rules_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer7/summary_mitigation_product_response.py b/src/cloudflare/types/radar/attacks/layer7/summary_mitigation_product_response.py index 2e1ac27eb10..f815da2375a 100644 --- a/src/cloudflare/types/radar/attacks/layer7/summary_mitigation_product_response.py +++ b/src/cloudflare/types/radar/attacks/layer7/summary_mitigation_product_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer7/timeseries_group_get_response.py b/src/cloudflare/types/radar/attacks/layer7/timeseries_group_get_response.py index 422b256d9cb..60c8a9d9117 100644 --- a/src/cloudflare/types/radar/attacks/layer7/timeseries_group_get_response.py +++ b/src/cloudflare/types/radar/attacks/layer7/timeseries_group_get_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer7/top/ase_origin_response.py b/src/cloudflare/types/radar/attacks/layer7/top/ase_origin_response.py index 10a3c3a5307..7c7bdac68f6 100644 --- a/src/cloudflare/types/radar/attacks/layer7/top/ase_origin_response.py +++ b/src/cloudflare/types/radar/attacks/layer7/top/ase_origin_response.py @@ -25,7 +25,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer7/top/location_origin_response.py b/src/cloudflare/types/radar/attacks/layer7/top/location_origin_response.py index 486e59f89c0..102661bf56a 100644 --- a/src/cloudflare/types/radar/attacks/layer7/top/location_origin_response.py +++ b/src/cloudflare/types/radar/attacks/layer7/top/location_origin_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer7/top/location_target_response.py b/src/cloudflare/types/radar/attacks/layer7/top/location_target_response.py index 781bdd4f4f4..4641eb271e6 100644 --- a/src/cloudflare/types/radar/attacks/layer7/top/location_target_response.py +++ b/src/cloudflare/types/radar/attacks/layer7/top/location_target_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer7/top_attacks_params.py b/src/cloudflare/types/radar/attacks/layer7/top_attacks_params.py index c279092fe73..62ec38abfb3 100644 --- a/src/cloudflare/types/radar/attacks/layer7/top_attacks_params.py +++ b/src/cloudflare/types/radar/attacks/layer7/top_attacks_params.py @@ -94,3 +94,10 @@ class TopAttacksParams(TypedDict, total=False): name: List[str] """Array of names that will be used to name the series in responses.""" + + normalization: Literal["PERCENTAGE", "MIN_MAX"] + """Normalization method applied. + + Refer to + [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). + """ diff --git a/src/cloudflare/types/radar/attacks/layer7/top_attacks_response.py b/src/cloudflare/types/radar/attacks/layer7/top_attacks_response.py index f9824a7d0b8..68577c2c62c 100644 --- a/src/cloudflare/types/radar/attacks/layer7/top_attacks_response.py +++ b/src/cloudflare/types/radar/attacks/layer7/top_attacks_response.py @@ -25,7 +25,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer7/top_industry_response.py b/src/cloudflare/types/radar/attacks/layer7/top_industry_response.py index 26420c75ec6..01b6e141308 100644 --- a/src/cloudflare/types/radar/attacks/layer7/top_industry_response.py +++ b/src/cloudflare/types/radar/attacks/layer7/top_industry_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer7/top_vertical_response.py b/src/cloudflare/types/radar/attacks/layer7/top_vertical_response.py index 5b236c7c4ae..83a240b3100 100644 --- a/src/cloudflare/types/radar/attacks/layer7/top_vertical_response.py +++ b/src/cloudflare/types/radar/attacks/layer7/top_vertical_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/attacks/layer7_timeseries_response.py b/src/cloudflare/types/radar/attacks/layer7_timeseries_response.py index 6cc4c9b2636..355696d9df5 100644 --- a/src/cloudflare/types/radar/attacks/layer7_timeseries_response.py +++ b/src/cloudflare/types/radar/attacks/layer7_timeseries_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/bgp/top/ase_get_params.py b/src/cloudflare/types/radar/bgp/top/ase_get_params.py index f24fe9c65e8..c5ea6aeafaf 100644 --- a/src/cloudflare/types/radar/bgp/top/ase_get_params.py +++ b/src/cloudflare/types/radar/bgp/top/ase_get_params.py @@ -69,10 +69,19 @@ class AseGetParams(TypedDict, total=False): """Array of BGP update types.""" -class Prefix(TypedDict, total=False): - location: Required[str] +_PrefixReservedKeywords = TypedDict( + "_PrefixReservedKeywords", + { + "in": str, + }, + total=False, +) + +class Prefix(_PrefixReservedKeywords, total=False): name: Required[str] + test: Required[float] + type: str """Network prefix, IPv4 or IPv6.""" diff --git a/src/cloudflare/types/radar/bgp_timeseries_params.py b/src/cloudflare/types/radar/bgp_timeseries_params.py index 53697dd7bf2..60be5fc3baf 100644 --- a/src/cloudflare/types/radar/bgp_timeseries_params.py +++ b/src/cloudflare/types/radar/bgp_timeseries_params.py @@ -73,10 +73,19 @@ class BGPTimeseriesParams(TypedDict, total=False): """Array of BGP update types.""" -class Prefix(TypedDict, total=False): - location: Required[str] +_PrefixReservedKeywords = TypedDict( + "_PrefixReservedKeywords", + { + "in": str, + }, + total=False, +) + +class Prefix(_PrefixReservedKeywords, total=False): name: Required[str] + test: Required[float] + type: str """Network prefix, IPv4 or IPv6.""" diff --git a/src/cloudflare/types/radar/bgp_timeseries_response.py b/src/cloudflare/types/radar/bgp_timeseries_response.py index 0d3f009785a..b3ca270daa5 100644 --- a/src/cloudflare/types/radar/bgp_timeseries_response.py +++ b/src/cloudflare/types/radar/bgp_timeseries_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/connection_tampering_summary_response.py b/src/cloudflare/types/radar/connection_tampering_summary_response.py index c2685cd0557..4f093b99de1 100644 --- a/src/cloudflare/types/radar/connection_tampering_summary_response.py +++ b/src/cloudflare/types/radar/connection_tampering_summary_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/connection_tampering_timeseries_groups_response.py b/src/cloudflare/types/radar/connection_tampering_timeseries_groups_response.py index 32bef3b657f..f6aeb05577b 100644 --- a/src/cloudflare/types/radar/connection_tampering_timeseries_groups_response.py +++ b/src/cloudflare/types/radar/connection_tampering_timeseries_groups_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/dataset_get_params.py b/src/cloudflare/types/radar/dataset_get_params.py deleted file mode 100644 index 69de9bfc200..00000000000 --- a/src/cloudflare/types/radar/dataset_get_params.py +++ /dev/null @@ -1,13 +0,0 @@ -# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. - -from __future__ import annotations - -from typing import Optional -from typing_extensions import TypedDict - -__all__ = ["DatasetGetParams"] - - -class DatasetGetParams(TypedDict, total=False): - date: Optional[str] - """Filter dataset alias by date""" diff --git a/src/cloudflare/types/radar/dns/top_ases_response.py b/src/cloudflare/types/radar/dns/top_ases_response.py index e1094d9a13e..e87c9d659f0 100644 --- a/src/cloudflare/types/radar/dns/top_ases_response.py +++ b/src/cloudflare/types/radar/dns/top_ases_response.py @@ -25,7 +25,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/dns/top_locations_response.py b/src/cloudflare/types/radar/dns/top_locations_response.py index e87ae114cf4..4be71f2a029 100644 --- a/src/cloudflare/types/radar/dns/top_locations_response.py +++ b/src/cloudflare/types/radar/dns/top_locations_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/routing/summary_arc_response.py b/src/cloudflare/types/radar/email/routing/summary_arc_response.py index 7b709e6be09..274e9a535ba 100644 --- a/src/cloudflare/types/radar/email/routing/summary_arc_response.py +++ b/src/cloudflare/types/radar/email/routing/summary_arc_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/routing/summary_dkim_response.py b/src/cloudflare/types/radar/email/routing/summary_dkim_response.py index 3baed82617a..df8a79048cd 100644 --- a/src/cloudflare/types/radar/email/routing/summary_dkim_response.py +++ b/src/cloudflare/types/radar/email/routing/summary_dkim_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/routing/summary_dmarc_response.py b/src/cloudflare/types/radar/email/routing/summary_dmarc_response.py index 311673b6b74..0563a742286 100644 --- a/src/cloudflare/types/radar/email/routing/summary_dmarc_response.py +++ b/src/cloudflare/types/radar/email/routing/summary_dmarc_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/routing/summary_encrypted_response.py b/src/cloudflare/types/radar/email/routing/summary_encrypted_response.py index 61c4957355f..5461181d3de 100644 --- a/src/cloudflare/types/radar/email/routing/summary_encrypted_response.py +++ b/src/cloudflare/types/radar/email/routing/summary_encrypted_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/routing/summary_ip_version_response.py b/src/cloudflare/types/radar/email/routing/summary_ip_version_response.py index b4f96b8667e..e1a3995c7e5 100644 --- a/src/cloudflare/types/radar/email/routing/summary_ip_version_response.py +++ b/src/cloudflare/types/radar/email/routing/summary_ip_version_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/routing/summary_spf_response.py b/src/cloudflare/types/radar/email/routing/summary_spf_response.py index 0c62ac60f1f..9cd062e392f 100644 --- a/src/cloudflare/types/radar/email/routing/summary_spf_response.py +++ b/src/cloudflare/types/radar/email/routing/summary_spf_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/security/summary_arc_response.py b/src/cloudflare/types/radar/email/security/summary_arc_response.py index 7b709e6be09..274e9a535ba 100644 --- a/src/cloudflare/types/radar/email/security/summary_arc_response.py +++ b/src/cloudflare/types/radar/email/security/summary_arc_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/security/summary_dkim_response.py b/src/cloudflare/types/radar/email/security/summary_dkim_response.py index 3baed82617a..df8a79048cd 100644 --- a/src/cloudflare/types/radar/email/security/summary_dkim_response.py +++ b/src/cloudflare/types/radar/email/security/summary_dkim_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/security/summary_dmarc_response.py b/src/cloudflare/types/radar/email/security/summary_dmarc_response.py index 311673b6b74..0563a742286 100644 --- a/src/cloudflare/types/radar/email/security/summary_dmarc_response.py +++ b/src/cloudflare/types/radar/email/security/summary_dmarc_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/security/summary_malicious_response.py b/src/cloudflare/types/radar/email/security/summary_malicious_response.py index 011e9d8e9a3..44426a6e84e 100644 --- a/src/cloudflare/types/radar/email/security/summary_malicious_response.py +++ b/src/cloudflare/types/radar/email/security/summary_malicious_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/security/summary_spam_response.py b/src/cloudflare/types/radar/email/security/summary_spam_response.py index cf8250de214..4fe4f3c5172 100644 --- a/src/cloudflare/types/radar/email/security/summary_spam_response.py +++ b/src/cloudflare/types/radar/email/security/summary_spam_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/security/summary_spf_response.py b/src/cloudflare/types/radar/email/security/summary_spf_response.py index 0c62ac60f1f..9cd062e392f 100644 --- a/src/cloudflare/types/radar/email/security/summary_spf_response.py +++ b/src/cloudflare/types/radar/email/security/summary_spf_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/security/summary_spoof_response.py b/src/cloudflare/types/radar/email/security/summary_spoof_response.py index cd55371280b..b9e738ea0e1 100644 --- a/src/cloudflare/types/radar/email/security/summary_spoof_response.py +++ b/src/cloudflare/types/radar/email/security/summary_spoof_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/security/summary_threat_category_response.py b/src/cloudflare/types/radar/email/security/summary_threat_category_response.py index 0ed00cba9cc..36e2d29bbdf 100644 --- a/src/cloudflare/types/radar/email/security/summary_threat_category_response.py +++ b/src/cloudflare/types/radar/email/security/summary_threat_category_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/security/summary_tls_version_response.py b/src/cloudflare/types/radar/email/security/summary_tls_version_response.py index ad9e0d52245..f9ea5ad0711 100644 --- a/src/cloudflare/types/radar/email/security/summary_tls_version_response.py +++ b/src/cloudflare/types/radar/email/security/summary_tls_version_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/security/top/tld_get_response.py b/src/cloudflare/types/radar/email/security/top/tld_get_response.py index d52b588621e..f9c3e48d916 100644 --- a/src/cloudflare/types/radar/email/security/top/tld_get_response.py +++ b/src/cloudflare/types/radar/email/security/top/tld_get_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/security/top/tlds/malicious_get_response.py b/src/cloudflare/types/radar/email/security/top/tlds/malicious_get_response.py index 715d0bc0f9c..1ad92077064 100644 --- a/src/cloudflare/types/radar/email/security/top/tlds/malicious_get_response.py +++ b/src/cloudflare/types/radar/email/security/top/tlds/malicious_get_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/security/top/tlds/spam_get_response.py b/src/cloudflare/types/radar/email/security/top/tlds/spam_get_response.py index 52a8f700e53..a2bf953b472 100644 --- a/src/cloudflare/types/radar/email/security/top/tlds/spam_get_response.py +++ b/src/cloudflare/types/radar/email/security/top/tlds/spam_get_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/email/security/top/tlds/spoof_get_response.py b/src/cloudflare/types/radar/email/security/top/tlds/spoof_get_response.py index 5c927efe84d..18a319011be 100644 --- a/src/cloudflare/types/radar/email/security/top/tlds/spoof_get_response.py +++ b/src/cloudflare/types/radar/email/security/top/tlds/spoof_get_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/ase_get_response.py b/src/cloudflare/types/radar/http/ase_get_response.py index 8daef594897..a606c25f81c 100644 --- a/src/cloudflare/types/radar/http/ase_get_response.py +++ b/src/cloudflare/types/radar/http/ase_get_response.py @@ -25,7 +25,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/ases/bot_class_get_response.py b/src/cloudflare/types/radar/http/ases/bot_class_get_response.py index f31bfef2e86..c48362beaed 100644 --- a/src/cloudflare/types/radar/http/ases/bot_class_get_response.py +++ b/src/cloudflare/types/radar/http/ases/bot_class_get_response.py @@ -25,7 +25,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/ases/browser_family_get_response.py b/src/cloudflare/types/radar/http/ases/browser_family_get_response.py index e7bd3b48901..f4d2f1fc2be 100644 --- a/src/cloudflare/types/radar/http/ases/browser_family_get_response.py +++ b/src/cloudflare/types/radar/http/ases/browser_family_get_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/ases/device_type_get_response.py b/src/cloudflare/types/radar/http/ases/device_type_get_response.py index f6392b8020c..a619785971d 100644 --- a/src/cloudflare/types/radar/http/ases/device_type_get_response.py +++ b/src/cloudflare/types/radar/http/ases/device_type_get_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/ases/http_method_get_response.py b/src/cloudflare/types/radar/http/ases/http_method_get_response.py index ea15fbf1f95..d4e4622fe36 100644 --- a/src/cloudflare/types/radar/http/ases/http_method_get_response.py +++ b/src/cloudflare/types/radar/http/ases/http_method_get_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/ases/http_protocol_get_response.py b/src/cloudflare/types/radar/http/ases/http_protocol_get_response.py index 14a1768cd08..3552fc7cad0 100644 --- a/src/cloudflare/types/radar/http/ases/http_protocol_get_response.py +++ b/src/cloudflare/types/radar/http/ases/http_protocol_get_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/ases/ip_version_get_response.py b/src/cloudflare/types/radar/http/ases/ip_version_get_response.py index f2af7dd18a2..cb714fbcdf2 100644 --- a/src/cloudflare/types/radar/http/ases/ip_version_get_response.py +++ b/src/cloudflare/types/radar/http/ases/ip_version_get_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/ases/os_get_response.py b/src/cloudflare/types/radar/http/ases/os_get_response.py index 1bbbd47f758..a8777949f24 100644 --- a/src/cloudflare/types/radar/http/ases/os_get_response.py +++ b/src/cloudflare/types/radar/http/ases/os_get_response.py @@ -25,7 +25,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/ases/tls_version_get_response.py b/src/cloudflare/types/radar/http/ases/tls_version_get_response.py index 132880a8088..1ffc7b6c327 100644 --- a/src/cloudflare/types/radar/http/ases/tls_version_get_response.py +++ b/src/cloudflare/types/radar/http/ases/tls_version_get_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/location_get_response.py b/src/cloudflare/types/radar/http/location_get_response.py index fbed118e87d..95a4c526fe3 100644 --- a/src/cloudflare/types/radar/http/location_get_response.py +++ b/src/cloudflare/types/radar/http/location_get_response.py @@ -25,7 +25,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/locations/bot_class_get_response.py b/src/cloudflare/types/radar/http/locations/bot_class_get_response.py index 929152ac6d2..9b7d9f6c23d 100644 --- a/src/cloudflare/types/radar/http/locations/bot_class_get_response.py +++ b/src/cloudflare/types/radar/http/locations/bot_class_get_response.py @@ -25,7 +25,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/locations/browser_family_get_response.py b/src/cloudflare/types/radar/http/locations/browser_family_get_response.py index faa107c1193..5f161c3903e 100644 --- a/src/cloudflare/types/radar/http/locations/browser_family_get_response.py +++ b/src/cloudflare/types/radar/http/locations/browser_family_get_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/locations/device_type_get_response.py b/src/cloudflare/types/radar/http/locations/device_type_get_response.py index fe44c5066f6..ed2f568faad 100644 --- a/src/cloudflare/types/radar/http/locations/device_type_get_response.py +++ b/src/cloudflare/types/radar/http/locations/device_type_get_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/locations/http_method_get_response.py b/src/cloudflare/types/radar/http/locations/http_method_get_response.py index cc7fa8f3096..ed56bfd057f 100644 --- a/src/cloudflare/types/radar/http/locations/http_method_get_response.py +++ b/src/cloudflare/types/radar/http/locations/http_method_get_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/locations/http_protocol_get_response.py b/src/cloudflare/types/radar/http/locations/http_protocol_get_response.py index 487174e2c48..6d9b31aad62 100644 --- a/src/cloudflare/types/radar/http/locations/http_protocol_get_response.py +++ b/src/cloudflare/types/radar/http/locations/http_protocol_get_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/locations/ip_version_get_response.py b/src/cloudflare/types/radar/http/locations/ip_version_get_response.py index 148244ac334..bb30d89b81e 100644 --- a/src/cloudflare/types/radar/http/locations/ip_version_get_response.py +++ b/src/cloudflare/types/radar/http/locations/ip_version_get_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/locations/os_get_response.py b/src/cloudflare/types/radar/http/locations/os_get_response.py index 0696ba3b166..31e24633774 100644 --- a/src/cloudflare/types/radar/http/locations/os_get_response.py +++ b/src/cloudflare/types/radar/http/locations/os_get_response.py @@ -25,7 +25,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/locations/tls_version_get_response.py b/src/cloudflare/types/radar/http/locations/tls_version_get_response.py index 158ddcdffaf..82d4b85eec7 100644 --- a/src/cloudflare/types/radar/http/locations/tls_version_get_response.py +++ b/src/cloudflare/types/radar/http/locations/tls_version_get_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/summary_bot_class_response.py b/src/cloudflare/types/radar/http/summary_bot_class_response.py index 133e6e9b160..d4c5847ae8d 100644 --- a/src/cloudflare/types/radar/http/summary_bot_class_response.py +++ b/src/cloudflare/types/radar/http/summary_bot_class_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/summary_device_type_response.py b/src/cloudflare/types/radar/http/summary_device_type_response.py index b59e448a726..7aa1bbd9fd7 100644 --- a/src/cloudflare/types/radar/http/summary_device_type_response.py +++ b/src/cloudflare/types/radar/http/summary_device_type_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/summary_http_protocol_response.py b/src/cloudflare/types/radar/http/summary_http_protocol_response.py index 5777d29f25d..3ee6ffef02f 100644 --- a/src/cloudflare/types/radar/http/summary_http_protocol_response.py +++ b/src/cloudflare/types/radar/http/summary_http_protocol_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/summary_http_version_response.py b/src/cloudflare/types/radar/http/summary_http_version_response.py index f8c1e4f3f9e..7c3c97a3d57 100644 --- a/src/cloudflare/types/radar/http/summary_http_version_response.py +++ b/src/cloudflare/types/radar/http/summary_http_version_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/summary_ip_version_response.py b/src/cloudflare/types/radar/http/summary_ip_version_response.py index e8515c06e80..6286c80dc1d 100644 --- a/src/cloudflare/types/radar/http/summary_ip_version_response.py +++ b/src/cloudflare/types/radar/http/summary_ip_version_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/summary_os_response.py b/src/cloudflare/types/radar/http/summary_os_response.py index eba9ffc9621..b9737a2dcf9 100644 --- a/src/cloudflare/types/radar/http/summary_os_response.py +++ b/src/cloudflare/types/radar/http/summary_os_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/summary_post_quantum_response.py b/src/cloudflare/types/radar/http/summary_post_quantum_response.py index 5a0ef8618f4..f244b9910b7 100644 --- a/src/cloudflare/types/radar/http/summary_post_quantum_response.py +++ b/src/cloudflare/types/radar/http/summary_post_quantum_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/summary_tls_version_response.py b/src/cloudflare/types/radar/http/summary_tls_version_response.py index 67c78083050..1a8ffeb3e19 100644 --- a/src/cloudflare/types/radar/http/summary_tls_version_response.py +++ b/src/cloudflare/types/radar/http/summary_tls_version_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/top_browser_families_response.py b/src/cloudflare/types/radar/http/top_browser_families_response.py index ca364af9b0a..34575a1c574 100644 --- a/src/cloudflare/types/radar/http/top_browser_families_response.py +++ b/src/cloudflare/types/radar/http/top_browser_families_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http/top_browsers_response.py b/src/cloudflare/types/radar/http/top_browsers_response.py index 587df8db78f..5f75affe2d0 100644 --- a/src/cloudflare/types/radar/http/top_browsers_response.py +++ b/src/cloudflare/types/radar/http/top_browsers_response.py @@ -26,7 +26,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/http_timeseries_response.py b/src/cloudflare/types/radar/http_timeseries_response.py index 00d0b8dada4..6b45e4c117c 100644 --- a/src/cloudflare/types/radar/http_timeseries_response.py +++ b/src/cloudflare/types/radar/http_timeseries_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/netflow_timeseries_response.py b/src/cloudflare/types/radar/netflow_timeseries_response.py index d58a81a7360..99701458c4d 100644 --- a/src/cloudflare/types/radar/netflow_timeseries_response.py +++ b/src/cloudflare/types/radar/netflow_timeseries_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/quality/iqi_summary_response.py b/src/cloudflare/types/radar/quality/iqi_summary_response.py index 9b9c2a25df7..3e241c1ed90 100644 --- a/src/cloudflare/types/radar/quality/iqi_summary_response.py +++ b/src/cloudflare/types/radar/quality/iqi_summary_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/quality/speed/top_ases_response.py b/src/cloudflare/types/radar/quality/speed/top_ases_response.py index 1f6fdf10cac..a67ff9d1ba8 100644 --- a/src/cloudflare/types/radar/quality/speed/top_ases_response.py +++ b/src/cloudflare/types/radar/quality/speed/top_ases_response.py @@ -25,7 +25,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/quality/speed/top_locations_response.py b/src/cloudflare/types/radar/quality/speed/top_locations_response.py index 588ddd56f4d..37420438e16 100644 --- a/src/cloudflare/types/radar/quality/speed/top_locations_response.py +++ b/src/cloudflare/types/radar/quality/speed/top_locations_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/quality/speed_summary_response.py b/src/cloudflare/types/radar/quality/speed_summary_response.py index a549509d36d..af59a84fb16 100644 --- a/src/cloudflare/types/radar/quality/speed_summary_response.py +++ b/src/cloudflare/types/radar/quality/speed_summary_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/ranking/domain_get_params.py b/src/cloudflare/types/radar/ranking/domain_get_params.py index bb013085bb8..98bbbaf27da 100644 --- a/src/cloudflare/types/radar/ranking/domain_get_params.py +++ b/src/cloudflare/types/radar/ranking/domain_get_params.py @@ -2,7 +2,7 @@ from __future__ import annotations -from typing import List, Optional +from typing import List from typing_extensions import Literal, Annotated, TypedDict from ...._utils import PropertyInfo @@ -11,7 +11,7 @@ class DomainGetParams(TypedDict, total=False): - date: List[Optional[str]] + date: List[str] """Array of dates to filter the ranking.""" format: Literal["JSON", "CSV"] diff --git a/src/cloudflare/types/radar/ranking_top_params.py b/src/cloudflare/types/radar/ranking_top_params.py index b848aa8b944..e482e6f9f96 100644 --- a/src/cloudflare/types/radar/ranking_top_params.py +++ b/src/cloudflare/types/radar/ranking_top_params.py @@ -2,7 +2,7 @@ from __future__ import annotations -from typing import List, Optional +from typing import List from typing_extensions import Literal, Annotated, TypedDict from ..._utils import PropertyInfo @@ -11,7 +11,7 @@ class RankingTopParams(TypedDict, total=False): - date: List[Optional[str]] + date: List[str] """Array of dates to filter the ranking.""" format: Literal["JSON", "CSV"] diff --git a/src/cloudflare/types/radar/verified_bots/top_bots_response.py b/src/cloudflare/types/radar/verified_bots/top_bots_response.py index b75b4174bc9..2e3ffc6a653 100644 --- a/src/cloudflare/types/radar/verified_bots/top_bots_response.py +++ b/src/cloudflare/types/radar/verified_bots/top_bots_response.py @@ -25,7 +25,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/src/cloudflare/types/radar/verified_bots/top_categories_response.py b/src/cloudflare/types/radar/verified_bots/top_categories_response.py index ddc083c00ac..46260e454ca 100644 --- a/src/cloudflare/types/radar/verified_bots/top_categories_response.py +++ b/src/cloudflare/types/radar/verified_bots/top_categories_response.py @@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel): event_type: str = FieldInfo(alias="eventType") - is_instantaneous: object = FieldInfo(alias="isInstantaneous") + is_instantaneous: bool = FieldInfo(alias="isInstantaneous") end_time: Optional[datetime] = FieldInfo(alias="endTime", default=None) diff --git a/tests/api_resources/radar/attacks/layer3/test_top.py b/tests/api_resources/radar/attacks/layer3/test_top.py index 6d2d7d36d7c..923af0d31f9 100644 --- a/tests/api_resources/radar/attacks/layer3/test_top.py +++ b/tests/api_resources/radar/attacks/layer3/test_top.py @@ -49,6 +49,7 @@ def test_method_attacks_with_all_params(self, client: Cloudflare) -> None: limit_per_location=10, location=["string", "string", "string"], name=["string", "string", "string"], + normalization="PERCENTAGE", protocol=["UDP", "TCP", "ICMP"], ) assert_matches_type(TopAttacksResponse, top, path=["response"]) @@ -202,6 +203,7 @@ async def test_method_attacks_with_all_params(self, async_client: AsyncCloudflar limit_per_location=10, location=["string", "string", "string"], name=["string", "string", "string"], + normalization="PERCENTAGE", protocol=["UDP", "TCP", "ICMP"], ) assert_matches_type(TopAttacksResponse, top, path=["response"]) diff --git a/tests/api_resources/radar/attacks/layer7/test_top.py b/tests/api_resources/radar/attacks/layer7/test_top.py index edce1b2472a..36016747df4 100644 --- a/tests/api_resources/radar/attacks/layer7/test_top.py +++ b/tests/api_resources/radar/attacks/layer7/test_top.py @@ -50,6 +50,7 @@ def test_method_attacks_with_all_params(self, client: Cloudflare) -> None: location=["string", "string", "string"], magnitude="MITIGATED_REQUESTS", name=["string", "string", "string"], + normalization="PERCENTAGE", ) assert_matches_type(TopAttacksResponse, top, path=["response"]) @@ -201,6 +202,7 @@ async def test_method_attacks_with_all_params(self, async_client: AsyncCloudflar location=["string", "string", "string"], magnitude="MITIGATED_REQUESTS", name=["string", "string", "string"], + normalization="PERCENTAGE", ) assert_matches_type(TopAttacksResponse, top, path=["response"]) diff --git a/tests/api_resources/radar/bgp/top/test_ases.py b/tests/api_resources/radar/bgp/top/test_ases.py index 137f86bd408..b9e15f5e751 100644 --- a/tests/api_resources/radar/bgp/top/test_ases.py +++ b/tests/api_resources/radar/bgp/top/test_ases.py @@ -43,18 +43,21 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None: name=["string", "string", "string"], prefix=[ { - "location": "query", + "in": "query", "name": "prefix", + "test": 12, "type": "1.1.1.0/24", }, { - "location": "query", + "in": "query", "name": "prefix", + "test": 12, "type": "1.1.1.0/24", }, { - "location": "query", + "in": "query", "name": "prefix", + "test": 12, "type": "1.1.1.0/24", }, ], @@ -145,18 +148,21 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) - name=["string", "string", "string"], prefix=[ { - "location": "query", + "in": "query", "name": "prefix", + "test": 12, "type": "1.1.1.0/24", }, { - "location": "query", + "in": "query", "name": "prefix", + "test": 12, "type": "1.1.1.0/24", }, { - "location": "query", + "in": "query", "name": "prefix", + "test": 12, "type": "1.1.1.0/24", }, ], diff --git a/tests/api_resources/radar/test_bgp.py b/tests/api_resources/radar/test_bgp.py index 2b50ea81066..38030a638fc 100644 --- a/tests/api_resources/radar/test_bgp.py +++ b/tests/api_resources/radar/test_bgp.py @@ -43,18 +43,21 @@ def test_method_timeseries_with_all_params(self, client: Cloudflare) -> None: name=["string", "string", "string"], prefix=[ { - "location": "query", + "in": "query", "name": "prefix", + "test": 12, "type": "1.1.1.0/24", }, { - "location": "query", + "in": "query", "name": "prefix", + "test": 12, "type": "1.1.1.0/24", }, { - "location": "query", + "in": "query", "name": "prefix", + "test": 12, "type": "1.1.1.0/24", }, ], @@ -111,18 +114,21 @@ async def test_method_timeseries_with_all_params(self, async_client: AsyncCloudf name=["string", "string", "string"], prefix=[ { - "location": "query", + "in": "query", "name": "prefix", + "test": 12, "type": "1.1.1.0/24", }, { - "location": "query", + "in": "query", "name": "prefix", + "test": 12, "type": "1.1.1.0/24", }, { - "location": "query", + "in": "query", "name": "prefix", + "test": 12, "type": "1.1.1.0/24", }, ], diff --git a/tests/api_resources/radar/test_datasets.py b/tests/api_resources/radar/test_datasets.py index f2cc9be2ae5..571fffac223 100644 --- a/tests/api_resources/radar/test_datasets.py +++ b/tests/api_resources/radar/test_datasets.py @@ -101,14 +101,6 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(str, dataset, path=["response"]) - @parametrize - def test_method_get_with_all_params(self, client: Cloudflare) -> None: - dataset = client.radar.datasets.get( - "ranking_top_1000", - date="string", - ) - assert_matches_type(str, dataset, path=["response"]) - @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.radar.datasets.with_raw_response.get( @@ -225,14 +217,6 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(str, dataset, path=["response"]) - @parametrize - async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -> None: - dataset = await async_client.radar.datasets.get( - "ranking_top_1000", - date="string", - ) - assert_matches_type(str, dataset, path=["response"]) - @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.radar.datasets.with_raw_response.get(