Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1490
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-b46e31e5f69309fc518f386002c3df2afeb03c0361127704253f9197d52d11d9.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-85569f0482730af4e8c6afc9b33c7ba894e47b2d8fa36a3e013daf5390adb647.yml
10 changes: 10 additions & 0 deletions src/cloudflare/resources/radar/ai/bots/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def user_agent(
date_range: List[str] | NotGiven = NOT_GIVEN,
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
limit_per_group: int | NotGiven = NOT_GIVEN,
location: List[str] | NotGiven = NOT_GIVEN,
name: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -90,6 +91,9 @@ def user_agent(

format: Format results are returned in.

limit_per_group: Limit the number of objects (eg browsers, verticals, etc) to the top items over
the time range.

location: Array of comma separated list of locations (alpha-2 country codes). Start with
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
but includes results from PT.
Expand Down Expand Up @@ -119,6 +123,7 @@ def user_agent(
"date_range": date_range,
"date_start": date_start,
"format": format,
"limit_per_group": limit_per_group,
"location": location,
"name": name,
},
Expand Down Expand Up @@ -159,6 +164,7 @@ async def user_agent(
date_range: List[str] | NotGiven = NOT_GIVEN,
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
limit_per_group: int | NotGiven = NOT_GIVEN,
location: List[str] | NotGiven = NOT_GIVEN,
name: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -191,6 +197,9 @@ async def user_agent(

format: Format results are returned in.

limit_per_group: Limit the number of objects (eg browsers, verticals, etc) to the top items over
the time range.

location: Array of comma separated list of locations (alpha-2 country codes). Start with
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
but includes results from PT.
Expand Down Expand Up @@ -220,6 +229,7 @@ async def user_agent(
"date_range": date_range,
"date_start": date_start,
"format": format,
"limit_per_group": limit_per_group,
"location": location,
"name": name,
},
Expand Down
20 changes: 20 additions & 0 deletions src/cloudflare/resources/radar/as112/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ def query_type(
date_range: List[str] | NotGiven = NOT_GIVEN,
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
limit_per_group: int | NotGiven = NOT_GIVEN,
location: List[str] | NotGiven = NOT_GIVEN,
name: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -417,6 +418,9 @@ def query_type(

format: Format results are returned in.

limit_per_group: Limit the number of objects (eg browsers, verticals, etc) to the top items over
the time range.

location: Array of comma separated list of locations (alpha-2 country codes). Start with
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
but includes results from PT.
Expand Down Expand Up @@ -446,6 +450,7 @@ def query_type(
"date_range": date_range,
"date_start": date_start,
"format": format,
"limit_per_group": limit_per_group,
"location": location,
"name": name,
},
Expand All @@ -465,6 +470,7 @@ def response_codes(
date_range: List[str] | NotGiven = NOT_GIVEN,
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
limit_per_group: int | NotGiven = NOT_GIVEN,
location: List[str] | NotGiven = NOT_GIVEN,
name: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -496,6 +502,9 @@ def response_codes(

format: Format results are returned in.

limit_per_group: Limit the number of objects (eg browsers, verticals, etc) to the top items over
the time range.

location: Array of comma separated list of locations (alpha-2 country codes). Start with
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
but includes results from PT.
Expand Down Expand Up @@ -525,6 +534,7 @@ def response_codes(
"date_range": date_range,
"date_start": date_start,
"format": format,
"limit_per_group": limit_per_group,
"location": location,
"name": name,
},
Expand Down Expand Up @@ -881,6 +891,7 @@ async def query_type(
date_range: List[str] | NotGiven = NOT_GIVEN,
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
limit_per_group: int | NotGiven = NOT_GIVEN,
location: List[str] | NotGiven = NOT_GIVEN,
name: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -912,6 +923,9 @@ async def query_type(

format: Format results are returned in.

limit_per_group: Limit the number of objects (eg browsers, verticals, etc) to the top items over
the time range.

location: Array of comma separated list of locations (alpha-2 country codes). Start with
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
but includes results from PT.
Expand Down Expand Up @@ -941,6 +955,7 @@ async def query_type(
"date_range": date_range,
"date_start": date_start,
"format": format,
"limit_per_group": limit_per_group,
"location": location,
"name": name,
},
Expand All @@ -960,6 +975,7 @@ async def response_codes(
date_range: List[str] | NotGiven = NOT_GIVEN,
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
limit_per_group: int | NotGiven = NOT_GIVEN,
location: List[str] | NotGiven = NOT_GIVEN,
name: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -991,6 +1007,9 @@ async def response_codes(

format: Format results are returned in.

limit_per_group: Limit the number of objects (eg browsers, verticals, etc) to the top items over
the time range.

location: Array of comma separated list of locations (alpha-2 country codes). Start with
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
but includes results from PT.
Expand Down Expand Up @@ -1020,6 +1039,7 @@ async def response_codes(
"date_range": date_range,
"date_start": date_start,
"format": format,
"limit_per_group": limit_per_group,
"location": location,
"name": name,
},
Expand Down
20 changes: 20 additions & 0 deletions src/cloudflare/resources/radar/as112/timeseries_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ def query_type(
date_range: List[str] | NotGiven = NOT_GIVEN,
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
limit_per_group: int | NotGiven = NOT_GIVEN,
location: List[str] | NotGiven = NOT_GIVEN,
name: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -446,6 +447,9 @@ def query_type(

format: Format results are returned in.

limit_per_group: Limit the number of objects (eg browsers, verticals, etc) to the top items over
the time range.

location: Array of comma separated list of locations (alpha-2 country codes). Start with
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
but includes results from PT.
Expand Down Expand Up @@ -476,6 +480,7 @@ def query_type(
"date_range": date_range,
"date_start": date_start,
"format": format,
"limit_per_group": limit_per_group,
"location": location,
"name": name,
},
Expand All @@ -496,6 +501,7 @@ def response_codes(
date_range: List[str] | NotGiven = NOT_GIVEN,
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
limit_per_group: int | NotGiven = NOT_GIVEN,
location: List[str] | NotGiven = NOT_GIVEN,
name: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -532,6 +538,9 @@ def response_codes(

format: Format results are returned in.

limit_per_group: Limit the number of objects (eg browsers, verticals, etc) to the top items over
the time range.

location: Array of comma separated list of locations (alpha-2 country codes). Start with
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
but includes results from PT.
Expand Down Expand Up @@ -562,6 +571,7 @@ def response_codes(
"date_range": date_range,
"date_start": date_start,
"format": format,
"limit_per_group": limit_per_group,
"location": location,
"name": name,
},
Expand Down Expand Up @@ -945,6 +955,7 @@ async def query_type(
date_range: List[str] | NotGiven = NOT_GIVEN,
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
limit_per_group: int | NotGiven = NOT_GIVEN,
location: List[str] | NotGiven = NOT_GIVEN,
name: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -980,6 +991,9 @@ async def query_type(

format: Format results are returned in.

limit_per_group: Limit the number of objects (eg browsers, verticals, etc) to the top items over
the time range.

location: Array of comma separated list of locations (alpha-2 country codes). Start with
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
but includes results from PT.
Expand Down Expand Up @@ -1010,6 +1024,7 @@ async def query_type(
"date_range": date_range,
"date_start": date_start,
"format": format,
"limit_per_group": limit_per_group,
"location": location,
"name": name,
},
Expand All @@ -1030,6 +1045,7 @@ async def response_codes(
date_range: List[str] | NotGiven = NOT_GIVEN,
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
limit_per_group: int | NotGiven = NOT_GIVEN,
location: List[str] | NotGiven = NOT_GIVEN,
name: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -1066,6 +1082,9 @@ async def response_codes(

format: Format results are returned in.

limit_per_group: Limit the number of objects (eg browsers, verticals, etc) to the top items over
the time range.

location: Array of comma separated list of locations (alpha-2 country codes). Start with
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
but includes results from PT.
Expand Down Expand Up @@ -1096,6 +1115,7 @@ async def response_codes(
"date_range": date_range,
"date_start": date_start,
"format": format,
"limit_per_group": limit_per_group,
"location": location,
"name": name,
},
Expand Down
10 changes: 10 additions & 0 deletions src/cloudflare/resources/radar/attacks/layer3/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ def vector(
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
limit_per_group: int | NotGiven = NOT_GIVEN,
location: List[str] | NotGiven = NOT_GIVEN,
name: List[str] | NotGiven = NOT_GIVEN,
protocol: List[Literal["UDP", "TCP", "ICMP", "GRE"]] | NotGiven = NOT_GIVEN,
Expand Down Expand Up @@ -520,6 +521,9 @@ def vector(

ip_version: Filter for ip version.

limit_per_group: Limit the number of objects (eg browsers, verticals, etc) to the top items over
the time range.

location: Array of comma separated list of locations (alpha-2 country codes). Start with
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
but includes results from PT.
Expand Down Expand Up @@ -552,6 +556,7 @@ def vector(
"direction": direction,
"format": format,
"ip_version": ip_version,
"limit_per_group": limit_per_group,
"location": location,
"name": name,
"protocol": protocol,
Expand Down Expand Up @@ -1010,6 +1015,7 @@ async def vector(
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
limit_per_group: int | NotGiven = NOT_GIVEN,
location: List[str] | NotGiven = NOT_GIVEN,
name: List[str] | NotGiven = NOT_GIVEN,
protocol: List[Literal["UDP", "TCP", "ICMP", "GRE"]] | NotGiven = NOT_GIVEN,
Expand Down Expand Up @@ -1043,6 +1049,9 @@ async def vector(

ip_version: Filter for ip version.

limit_per_group: Limit the number of objects (eg browsers, verticals, etc) to the top items over
the time range.

location: Array of comma separated list of locations (alpha-2 country codes). Start with
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
but includes results from PT.
Expand Down Expand Up @@ -1075,6 +1084,7 @@ async def vector(
"direction": direction,
"format": format,
"ip_version": ip_version,
"limit_per_group": limit_per_group,
"location": location,
"name": name,
"protocol": protocol,
Expand Down
Loading