Skip to content

Commit

Permalink
feat(api): api update (#2151)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Nov 14, 2024
1 parent 99d9133 commit 0ac8d45
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 722 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: 1417
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-2959676ecfc112a904ecea7f0874900dd48e4e15ea12ab641b3428db5dade9aa.yml
configured_endpoints: 1416
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-cc1685d89cdcb1a8b9f5eada60808601470876a497be8898010890736c20e77f.yml
12 changes: 0 additions & 12 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4812,18 +4812,6 @@ Methods:
- <code title="delete /accounts/{account_id}/devices/networks/{network_id}">client.zero_trust.devices.networks.<a href="./src/cloudflare/resources/zero_trust/devices/networks.py">delete</a>(network_id, \*, account_id) -> <a href="./src/cloudflare/types/zero_trust/devices/network_delete_response.py">Optional</a></code>
- <code title="get /accounts/{account_id}/devices/networks/{network_id}">client.zero_trust.devices.networks.<a href="./src/cloudflare/resources/zero_trust/devices/networks.py">get</a>(network_id, \*, account_id) -> <a href="./src/cloudflare/types/zero_trust/devices/device_network.py">Optional</a></code>

### FleetStatus

Types:

```python
from cloudflare.types.zero_trust.devices import FleetStatusGetResponse
```

Methods:

- <code title="get /accounts/{accountTag}/devices/{deviceId}/fleet-status/live">client.zero_trust.devices.fleet_status.<a href="./src/cloudflare/resources/zero_trust/devices/fleet_status.py">get</a>(device_id, \*, account_tag, \*\*<a href="src/cloudflare/types/zero_trust/devices/fleet_status_get_params.py">params</a>) -> <a href="./src/cloudflare/types/zero_trust/devices/fleet_status_get_response.py">FleetStatusGetResponse</a></code>

### Policies

Types:
Expand Down
14 changes: 0 additions & 14 deletions src/cloudflare/resources/zero_trust/devices/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,6 @@
DEXTestsResourceWithStreamingResponse,
AsyncDEXTestsResourceWithStreamingResponse,
)
from .fleet_status import (
FleetStatusResource,
AsyncFleetStatusResource,
FleetStatusResourceWithRawResponse,
AsyncFleetStatusResourceWithRawResponse,
FleetStatusResourceWithStreamingResponse,
AsyncFleetStatusResourceWithStreamingResponse,
)
from .override_codes import (
OverrideCodesResource,
AsyncOverrideCodesResource,
Expand All @@ -94,12 +86,6 @@
"AsyncNetworksResourceWithRawResponse",
"NetworksResourceWithStreamingResponse",
"AsyncNetworksResourceWithStreamingResponse",
"FleetStatusResource",
"AsyncFleetStatusResource",
"FleetStatusResourceWithRawResponse",
"AsyncFleetStatusResourceWithRawResponse",
"FleetStatusResourceWithStreamingResponse",
"AsyncFleetStatusResourceWithStreamingResponse",
"PoliciesResource",
"AsyncPoliciesResource",
"PoliciesResourceWithRawResponse",
Expand Down
32 changes: 0 additions & 32 deletions src/cloudflare/resources/zero_trust/devices/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,6 @@
async_to_streamed_response_wrapper,
)
from ...._wrappers import ResultWrapper
from .fleet_status import (
FleetStatusResource,
AsyncFleetStatusResource,
FleetStatusResourceWithRawResponse,
AsyncFleetStatusResourceWithRawResponse,
FleetStatusResourceWithStreamingResponse,
AsyncFleetStatusResourceWithStreamingResponse,
)
from ....pagination import SyncSinglePage, AsyncSinglePage
from .override_codes import (
OverrideCodesResource,
Expand Down Expand Up @@ -107,10 +99,6 @@ def dex_tests(self) -> DEXTestsResource:
def networks(self) -> NetworksResource:
return NetworksResource(self._client)

@cached_property
def fleet_status(self) -> FleetStatusResource:
return FleetStatusResource(self._client)

@cached_property
def policies(self) -> PoliciesResource:
return PoliciesResource(self._client)
Expand Down Expand Up @@ -245,10 +233,6 @@ def dex_tests(self) -> AsyncDEXTestsResource:
def networks(self) -> AsyncNetworksResource:
return AsyncNetworksResource(self._client)

@cached_property
def fleet_status(self) -> AsyncFleetStatusResource:
return AsyncFleetStatusResource(self._client)

@cached_property
def policies(self) -> AsyncPoliciesResource:
return AsyncPoliciesResource(self._client)
Expand Down Expand Up @@ -393,10 +377,6 @@ def dex_tests(self) -> DEXTestsResourceWithRawResponse:
def networks(self) -> NetworksResourceWithRawResponse:
return NetworksResourceWithRawResponse(self._devices.networks)

@cached_property
def fleet_status(self) -> FleetStatusResourceWithRawResponse:
return FleetStatusResourceWithRawResponse(self._devices.fleet_status)

@cached_property
def policies(self) -> PoliciesResourceWithRawResponse:
return PoliciesResourceWithRawResponse(self._devices.policies)
Expand Down Expand Up @@ -441,10 +421,6 @@ def dex_tests(self) -> AsyncDEXTestsResourceWithRawResponse:
def networks(self) -> AsyncNetworksResourceWithRawResponse:
return AsyncNetworksResourceWithRawResponse(self._devices.networks)

@cached_property
def fleet_status(self) -> AsyncFleetStatusResourceWithRawResponse:
return AsyncFleetStatusResourceWithRawResponse(self._devices.fleet_status)

@cached_property
def policies(self) -> AsyncPoliciesResourceWithRawResponse:
return AsyncPoliciesResourceWithRawResponse(self._devices.policies)
Expand Down Expand Up @@ -489,10 +465,6 @@ def dex_tests(self) -> DEXTestsResourceWithStreamingResponse:
def networks(self) -> NetworksResourceWithStreamingResponse:
return NetworksResourceWithStreamingResponse(self._devices.networks)

@cached_property
def fleet_status(self) -> FleetStatusResourceWithStreamingResponse:
return FleetStatusResourceWithStreamingResponse(self._devices.fleet_status)

@cached_property
def policies(self) -> PoliciesResourceWithStreamingResponse:
return PoliciesResourceWithStreamingResponse(self._devices.policies)
Expand Down Expand Up @@ -537,10 +509,6 @@ def dex_tests(self) -> AsyncDEXTestsResourceWithStreamingResponse:
def networks(self) -> AsyncNetworksResourceWithStreamingResponse:
return AsyncNetworksResourceWithStreamingResponse(self._devices.networks)

@cached_property
def fleet_status(self) -> AsyncFleetStatusResourceWithStreamingResponse:
return AsyncFleetStatusResourceWithStreamingResponse(self._devices.fleet_status)

@cached_property
def policies(self) -> AsyncPoliciesResourceWithStreamingResponse:
return AsyncPoliciesResourceWithStreamingResponse(self._devices.policies)
Expand Down
220 changes: 0 additions & 220 deletions src/cloudflare/resources/zero_trust/devices/fleet_status.py

This file was deleted.

2 changes: 0 additions & 2 deletions src/cloudflare/types/zero_trust/devices/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,13 @@
from .unique_client_id_input import UniqueClientIDInput as UniqueClientIDInput
from .unrevoke_create_params import UnrevokeCreateParams as UnrevokeCreateParams
from .crowdstrike_input_param import CrowdstrikeInputParam as CrowdstrikeInputParam
from .fleet_status_get_params import FleetStatusGetParams as FleetStatusGetParams
from .network_delete_response import NetworkDeleteResponse as NetworkDeleteResponse
from .posture_delete_response import PostureDeleteResponse as PostureDeleteResponse
from .sentinelone_input_param import SentineloneInputParam as SentineloneInputParam
from .client_certificate_input import ClientCertificateInput as ClientCertificateInput
from .dex_test_delete_response import DEXTestDeleteResponse as DEXTestDeleteResponse
from .unrevoke_create_response import UnrevokeCreateResponse as UnrevokeCreateResponse
from .domain_joined_input_param import DomainJoinedInputParam as DomainJoinedInputParam
from .fleet_status_get_response import FleetStatusGetResponse as FleetStatusGetResponse
from .workspace_one_input_param import WorkspaceOneInputParam as WorkspaceOneInputParam
from .split_tunnel_exclude_param import SplitTunnelExcludeParam as SplitTunnelExcludeParam
from .split_tunnel_include_param import SplitTunnelIncludeParam as SplitTunnelIncludeParam
Expand Down
22 changes: 0 additions & 22 deletions src/cloudflare/types/zero_trust/devices/fleet_status_get_params.py

This file was deleted.

Loading

0 comments on commit 0ac8d45

Please sign in to comment.