Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#1168)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Jul 5, 2024
1 parent e78475a commit bce89eb
Show file tree
Hide file tree
Showing 270 changed files with 2,300 additions and 9,712 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1254
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-1c4b189384dd6c53416271abb9b2fe109b44c1ddbb06d3d892e56457bbe0af70.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-57d5393f478118c0b972617567a66d66ffd64916fddd3f2328cd012671a12860.yml
76 changes: 4 additions & 72 deletions src/cloudflare/resources/radar/annotations/outages.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,24 +46,7 @@ def get(
*,
asn: int | NotGiven = NOT_GIVEN,
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
date_range: Literal[
"1d",
"2d",
"7d",
"14d",
"28d",
"12w",
"24w",
"52w",
"1dControl",
"2dControl",
"7dControl",
"14dControl",
"28dControl",
"12wControl",
"24wControl",
]
| NotGiven = NOT_GIVEN,
date_range: str | NotGiven = NOT_GIVEN,
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
limit: int | NotGiven = NOT_GIVEN,
Expand Down Expand Up @@ -134,24 +117,7 @@ def locations(
self,
*,
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
date_range: Literal[
"1d",
"2d",
"7d",
"14d",
"28d",
"12w",
"24w",
"52w",
"1dControl",
"2dControl",
"7dControl",
"14dControl",
"28dControl",
"12wControl",
"24wControl",
]
| NotGiven = NOT_GIVEN,
date_range: str | NotGiven = NOT_GIVEN,
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
limit: int | NotGiven = NOT_GIVEN,
Expand Down Expand Up @@ -222,24 +188,7 @@ async def get(
*,
asn: int | NotGiven = NOT_GIVEN,
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
date_range: Literal[
"1d",
"2d",
"7d",
"14d",
"28d",
"12w",
"24w",
"52w",
"1dControl",
"2dControl",
"7dControl",
"14dControl",
"28dControl",
"12wControl",
"24wControl",
]
| NotGiven = NOT_GIVEN,
date_range: str | NotGiven = NOT_GIVEN,
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
limit: int | NotGiven = NOT_GIVEN,
Expand Down Expand Up @@ -310,24 +259,7 @@ async def locations(
self,
*,
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
date_range: Literal[
"1d",
"2d",
"7d",
"14d",
"28d",
"12w",
"24w",
"52w",
"1dControl",
"2dControl",
"7dControl",
"14dControl",
"28dControl",
"12wControl",
"24wControl",
]
| NotGiven = NOT_GIVEN,
date_range: str | NotGiven = NOT_GIVEN,
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
limit: int | NotGiven = NOT_GIVEN,
Expand Down
42 changes: 2 additions & 40 deletions src/cloudflare/resources/radar/as112/as112.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,26 +83,7 @@ def timeseries(
asn: List[str] | NotGiven = NOT_GIVEN,
continent: List[str] | NotGiven = NOT_GIVEN,
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
date_range: List[
Literal[
"1d",
"2d",
"7d",
"14d",
"28d",
"12w",
"24w",
"52w",
"1dControl",
"2dControl",
"7dControl",
"14dControl",
"28dControl",
"12wControl",
"24wControl",
]
]
| NotGiven = NOT_GIVEN,
date_range: List[str] | NotGiven = NOT_GIVEN,
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
location: List[str] | NotGiven = NOT_GIVEN,
Expand Down Expand Up @@ -209,26 +190,7 @@ async def timeseries(
asn: List[str] | NotGiven = NOT_GIVEN,
continent: List[str] | NotGiven = NOT_GIVEN,
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
date_range: List[
Literal[
"1d",
"2d",
"7d",
"14d",
"28d",
"12w",
"24w",
"52w",
"1dControl",
"2dControl",
"7dControl",
"14dControl",
"28dControl",
"12wControl",
"24wControl",
]
]
| NotGiven = NOT_GIVEN,
date_range: List[str] | NotGiven = NOT_GIVEN,
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
location: List[str] | NotGiven = NOT_GIVEN,
Expand Down
Loading

0 comments on commit bce89eb

Please sign in to comment.