Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#1176)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Jul 11, 2024
1 parent fc5c21b commit d6580d0
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 1,019 deletions.
4 changes: 2 additions & 2 deletions .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-095c75ce419923a8f7a92dc55b139890dfd0ad55f642c1abe42f63bc124a047c.yml
configured_endpoints: 1252
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-08160758435c3d32f9f1d296fcd9664e5b67e7c453403bf02ac81f023ec470a3.yml
16 changes: 0 additions & 16 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -6125,22 +6125,6 @@ Methods:
- <code title="get /radar/as112/top/locations/ip_version/{ip_version}">client.radar.as112.top.<a href="./src/cloudflare/resources/radar/as112/top.py">ip_version</a>(ip_version, \*\*<a href="src/cloudflare/types/radar/as112/top_ip_version_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/as112/top_ip_version_response.py">TopIPVersionResponse</a></code>
- <code title="get /radar/as112/top/locations">client.radar.as112.top.<a href="./src/cloudflare/resources/radar/as112/top.py">locations</a>(\*\*<a href="src/cloudflare/types/radar/as112/top_locations_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/as112/top_locations_response.py">TopLocationsResponse</a></code>

## ConnectionTampering

Types:

```python
from cloudflare.types.radar import (
ConnectionTamperingSummaryResponse,
ConnectionTamperingTimeseriesGroupsResponse,
)
```

Methods:

- <code title="get /radar/connection_tampering/summary">client.radar.connection_tampering.<a href="./src/cloudflare/resources/radar/connection_tampering.py">summary</a>(\*\*<a href="src/cloudflare/types/radar/connection_tampering_summary_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/connection_tampering_summary_response.py">ConnectionTamperingSummaryResponse</a></code>
- <code title="get /radar/connection_tampering/timeseries_groups">client.radar.connection_tampering.<a href="./src/cloudflare/resources/radar/connection_tampering.py">timeseries_groups</a>(\*\*<a href="src/cloudflare/types/radar/connection_tampering_timeseries_groups_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/connection_tampering_timeseries_groups_response.py">ConnectionTamperingTimeseriesGroupsResponse</a></code>

## Email

Types:
Expand Down
14 changes: 0 additions & 14 deletions src/cloudflare/resources/radar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,6 @@
TrafficAnomaliesResourceWithStreamingResponse,
AsyncTrafficAnomaliesResourceWithStreamingResponse,
)
from .connection_tampering import (
ConnectionTamperingResource,
AsyncConnectionTamperingResource,
ConnectionTamperingResourceWithRawResponse,
AsyncConnectionTamperingResourceWithRawResponse,
ConnectionTamperingResourceWithStreamingResponse,
AsyncConnectionTamperingResourceWithStreamingResponse,
)

__all__ = [
"AnnotationsResource",
Expand Down Expand Up @@ -186,12 +178,6 @@
"AsyncAS112ResourceWithRawResponse",
"AS112ResourceWithStreamingResponse",
"AsyncAS112ResourceWithStreamingResponse",
"ConnectionTamperingResource",
"AsyncConnectionTamperingResource",
"ConnectionTamperingResourceWithRawResponse",
"AsyncConnectionTamperingResourceWithRawResponse",
"ConnectionTamperingResourceWithStreamingResponse",
"AsyncConnectionTamperingResourceWithStreamingResponse",
"EmailResource",
"AsyncEmailResource",
"EmailResourceWithRawResponse",
Expand Down
432 changes: 0 additions & 432 deletions src/cloudflare/resources/radar/connection_tampering.py

This file was deleted.

32 changes: 0 additions & 32 deletions src/cloudflare/resources/radar/radar.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,6 @@
TrafficAnomaliesResourceWithStreamingResponse,
AsyncTrafficAnomaliesResourceWithStreamingResponse,
)
from .connection_tampering import (
ConnectionTamperingResource,
AsyncConnectionTamperingResource,
ConnectionTamperingResourceWithRawResponse,
AsyncConnectionTamperingResourceWithRawResponse,
ConnectionTamperingResourceWithStreamingResponse,
AsyncConnectionTamperingResourceWithStreamingResponse,
)
from .annotations.annotations import AnnotationsResource, AsyncAnnotationsResource
from .verified_bots.verified_bots import VerifiedBotsResource, AsyncVerifiedBotsResource
from .traffic_anomalies.traffic_anomalies import TrafficAnomaliesResource, AsyncTrafficAnomaliesResource
Expand Down Expand Up @@ -182,10 +174,6 @@ def verified_bots(self) -> VerifiedBotsResource:
def as112(self) -> AS112Resource:
return AS112Resource(self._client)

@cached_property
def connection_tampering(self) -> ConnectionTamperingResource:
return ConnectionTamperingResource(self._client)

@cached_property
def email(self) -> EmailResource:
return EmailResource(self._client)
Expand Down Expand Up @@ -256,10 +244,6 @@ def verified_bots(self) -> AsyncVerifiedBotsResource:
def as112(self) -> AsyncAS112Resource:
return AsyncAS112Resource(self._client)

@cached_property
def connection_tampering(self) -> AsyncConnectionTamperingResource:
return AsyncConnectionTamperingResource(self._client)

@cached_property
def email(self) -> AsyncEmailResource:
return AsyncEmailResource(self._client)
Expand Down Expand Up @@ -333,10 +317,6 @@ def verified_bots(self) -> VerifiedBotsResourceWithRawResponse:
def as112(self) -> AS112ResourceWithRawResponse:
return AS112ResourceWithRawResponse(self._radar.as112)

@cached_property
def connection_tampering(self) -> ConnectionTamperingResourceWithRawResponse:
return ConnectionTamperingResourceWithRawResponse(self._radar.connection_tampering)

@cached_property
def email(self) -> EmailResourceWithRawResponse:
return EmailResourceWithRawResponse(self._radar.email)
Expand Down Expand Up @@ -402,10 +382,6 @@ def verified_bots(self) -> AsyncVerifiedBotsResourceWithRawResponse:
def as112(self) -> AsyncAS112ResourceWithRawResponse:
return AsyncAS112ResourceWithRawResponse(self._radar.as112)

@cached_property
def connection_tampering(self) -> AsyncConnectionTamperingResourceWithRawResponse:
return AsyncConnectionTamperingResourceWithRawResponse(self._radar.connection_tampering)

@cached_property
def email(self) -> AsyncEmailResourceWithRawResponse:
return AsyncEmailResourceWithRawResponse(self._radar.email)
Expand Down Expand Up @@ -471,10 +447,6 @@ def verified_bots(self) -> VerifiedBotsResourceWithStreamingResponse:
def as112(self) -> AS112ResourceWithStreamingResponse:
return AS112ResourceWithStreamingResponse(self._radar.as112)

@cached_property
def connection_tampering(self) -> ConnectionTamperingResourceWithStreamingResponse:
return ConnectionTamperingResourceWithStreamingResponse(self._radar.connection_tampering)

@cached_property
def email(self) -> EmailResourceWithStreamingResponse:
return EmailResourceWithStreamingResponse(self._radar.email)
Expand Down Expand Up @@ -540,10 +512,6 @@ def verified_bots(self) -> AsyncVerifiedBotsResourceWithStreamingResponse:
def as112(self) -> AsyncAS112ResourceWithStreamingResponse:
return AsyncAS112ResourceWithStreamingResponse(self._radar.as112)

@cached_property
def connection_tampering(self) -> AsyncConnectionTamperingResourceWithStreamingResponse:
return AsyncConnectionTamperingResourceWithStreamingResponse(self._radar.connection_tampering)

@cached_property
def email(self) -> AsyncEmailResourceWithStreamingResponse:
return AsyncEmailResourceWithStreamingResponse(self._radar.email)
Expand Down
10 changes: 0 additions & 10 deletions src/cloudflare/types/radar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,3 @@
from .traffic_anomaly_get_response import TrafficAnomalyGetResponse as TrafficAnomalyGetResponse
from .ranking_timeseries_groups_params import RankingTimeseriesGroupsParams as RankingTimeseriesGroupsParams
from .ranking_timeseries_groups_response import RankingTimeseriesGroupsResponse as RankingTimeseriesGroupsResponse
from .connection_tampering_summary_params import ConnectionTamperingSummaryParams as ConnectionTamperingSummaryParams
from .connection_tampering_summary_response import (
ConnectionTamperingSummaryResponse as ConnectionTamperingSummaryResponse,
)
from .connection_tampering_timeseries_groups_params import (
ConnectionTamperingTimeseriesGroupsParams as ConnectionTamperingTimeseriesGroupsParams,
)
from .connection_tampering_timeseries_groups_response import (
ConnectionTamperingTimeseriesGroupsResponse as ConnectionTamperingTimeseriesGroupsResponse,
)
53 changes: 0 additions & 53 deletions src/cloudflare/types/radar/connection_tampering_summary_params.py

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit d6580d0

Please sign in to comment.