10000 feat(api): api update · GameRoMan/cloudflare-python@607deba · GitHub
[go: up one dir, main page]

Skip to content

Commit 607deba

Browse files
feat(api): api update
1 parent 3a38efd commit 607deba

File tree

14 files changed

+4
-1796
lines changed

14 files changed

+4
-1796
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 1739
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-3bcbff61e51911a9f7dc10e8d468a0848ecc706a1694d3b49433dd6b739b3665.yml
3-
openapi_spec_hash: 2fa4d4a482c9f2612ab00e57b9bad971
1+
configured_endpoints: 1734
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-f54e9bb9f184af84af3654c0e3477d481beabb3d2abf4b25645012d8a6597605.yml
3+
openapi_spec_hash: d124b128eb080ed85f6ff18ee34e8fc3
44
config_hash: 7e270b3449efce600e3469937a344c2d

api.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5329,25 +5329,9 @@ Methods:
53295329
Types:
53305330

53315331
```python
5332-
from cloudflare.types.zero_trust.devices import (
5333-
SchemaData,
5334-
SchemaHTTP,
5335-
DEXTestCreateResponse,
5336-
DEXTestUpdateResponse,
5337-
DEXTestListResponse,
5338-
DEXTestDeleteResponse,
5339-
DEXTestGetResponse,
5340-
)
5332+
from cloudflare.types.zero_trust.devices import SchemaData, SchemaHTTP
53415333
```
53425334

5343-
Methods:
5344-
5345-
- <code title="post /accounts/{account_id}/devices/dex_tests">client.zero_trust.devices.dex_tests.<a href="./src/cloudflare/resources/zero_trust/devices/dex_tests.py">create</a>(\*, account_id, \*\*<a href="src/cloudflare/types/zero_trust/devices/dex_test_create_params.py">params</a>) -> <a href="./src/cloudflare/types/zero_trust/devices/dex_test_create_response.py">Optional[DEXTestCreateResponse]</a></code>
5346-
- <code title="put /accounts/{account_id}/devices/dex_tests/{dex_test_id}">client.zero_trust.devices.dex_tests.<a href="./src/cloudflare/resources/zero_trust/devices/dex_tests.py">update</a>(dex_test_id, \*, account_id, \*\*<a href="src/cloudflare/types/zero_trust/devices/dex_test_update_params.py">params</a>) -> <a href="./src/cloudflare/types/zero_trust/devices/dex_test_update_response.py">Optional[DEXTestUpdateResponse]</a></code>
5347-
- <code title="get /accounts/{account_id}/devices/dex_tests">client.zero_trust.devices.dex_tests.<a href="./src/cloudflare/resources/zero_trust/devices/dex_tests.py">list</a>(\*, account_id) -> <a href="./src/cloudflare/types/zero_trust/devices/dex_test_list_response.py">SyncSinglePage[DEXTestListResponse]</a></code>
5348-
- <code title="delete /accounts/{account_id}/devices/dex_tests/{dex_test_id}">client.zero_trust.devices.dex_tests.<a href="./src/cloudflare/resources/zero_trust/devices/dex_tests.py">delete</a>(dex_test_id, \*, account_id) -> <a href="./src/cloudflare/types/zero_trust/devices/dex_test_delete_response.py">Optional[DEXTestDeleteResponse]</a></code>
5349-
- <code title="get /accounts/{account_id}/devices/dex_tests/{dex_test_id}">client.zero_trust.devices.dex_tests.<a href="./src/cloudflare/resources/zero_trust/devices/dex_tests.py">get</a>(dex_test_id, \*, account_id) -> <a href="./src/cloudflare/types/zero_trust/devices/dex_test_get_response.py">Optional[DEXTestGetResponse]</a></code>
5350-
53515335
### Networks
53525336

53535337
Types:

src/cloudflare/resources/zero_trust/devices/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,6 @@
5656
UnrevokeResourceWithStreamingResponse,
5757
AsyncUnrevokeResourceWithStreamingResponse,
5858
)
59-
from .dex_tests import (
60-
DEXTestsResource,
61-
AsyncDEXTestsResource,
62-
DEXTestsResourceWithRawResponse,
63-
AsyncDEXTestsResourceWithRawResponse,
64-
DEXTestsResourceWithStreamingResponse,
65-
AsyncDEXTestsResourceWithStreamingResponse,
66-
)
6759
from .resilience import (
6860
ResilienceResource,
6961
AsyncResilienceResource,
@@ -110,12 +102,6 @@
110102
"AsyncRegistrationsResourceWithRawResponse",
111103
"RegistrationsResourceWithStreamingResponse",
112104
"AsyncRegistrationsResourceWithStreamingResponse",
113-
"DEXTestsResource",
114-
"AsyncDEXTestsResource",
115-
"DEXTestsResourceWithRawResponse",
116-
"AsyncDEXTestsResourceWithRawResponse",
117-
"DEXTestsResourceWithStreamingResponse",
118-
"AsyncDEXTestsResourceWithStreamingResponse",
119105
"NetworksResource",
120106
"AsyncNetworksResource",
121107
"NetworksResourceWithRawResponse",

src/cloudflare/resources/zero_trust/devices/devices.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,6 @@
4040
AsyncUnrevokeResourceWithStreamingResponse,
4141
)
4242
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
43-
from .dex_tests import (
44-
DEXTestsResource,
45-
AsyncDEXTestsResource,
46-
DEXTestsResourceWithRawResponse,
47-
AsyncDEXTestsResourceWithRawResponse,
48-
DEXTestsResourceWithStreamingResponse,
49-
AsyncDEXTestsResourceWithStreamingResponse,
50-
)
5143
from ...._compat import cached_property
5244
from ...._resource import SyncAPIResource, AsyncAPIResource
5345
from ...._response import (
@@ -126,10 +118,6 @@ def resilience(self) -> ResilienceResource:
126118
def registrations(self) -> RegistrationsResource:
127119
return RegistrationsResource(self._client)
128120

129-
@cached_property
130-
def dex_tests(self) -> DEXTestsResource:
131-
return DEXTestsResource(self._client)
132-
133121
@cached_property
134122
def networks(self) -> NetworksResource:
135123
return NetworksResource(self._client)
@@ -282,10 +270,6 @@ def resilience(self) -> AsyncResilienceResource:
282270
def registrations(self) -> AsyncRegistrationsResource:
283271
return AsyncRegistrationsResource(self._client)
284272

285-
@cached_property
286-
def dex_tests(self) -> AsyncDEXTestsResource:
287-
return AsyncDEXTestsResource(self._client)
288-
289273
@cached_property
290274
def networks(self) -> AsyncNetworksResource:
291275
return AsyncNetworksResource(self._client)
@@ -448,10 +432,6 @@ def resilience(self) -> ResilienceResourceWithRawResponse:
448432
def registrations(self) -> RegistrationsResourceWithRawResponse:
449433
return RegistrationsResourceWithRawResponse(self._devices.registrations)
450434

451-
@cached_property
452-
def dex_tests(self) -> DEXTestsResourceWithRawResponse:
453-
return DEXTestsResourceWithRawResponse(self._devices.dex_tests)
454-
455435
@cached_property
456436
def networks(self) -> NetworksResourceWithRawResponse:
457437
return NetworksResourceWithRawResponse(self._devices.networks)
@@ -508,10 +488,6 @@ def resilience(self) -> AsyncResilienceResourceWithRawResponse:
508488
def registrations(self) -> AsyncRegistrationsResourceWithRawResponse:
509489
return AsyncRegistrationsResourceWithRawResponse(self._devices.registrations)
510490

511-
@cached_property
512-
def dex_tests(self) -> AsyncDEXTestsResourceWithRawResponse:
513-
return AsyncDEXTestsResourceWithRawResponse(self._devices.dex_tests)
514-
515491
@cached_property
516492
def networks(self) -> AsyncNetworksResourceWithRawResponse:
517493
return AsyncNetworksResourceWithRawResponse(self._devices.networks)
@@ -568,10 +544,6 @@ def resilience(self) -> ResilienceResourceWithStreamingResponse:
568544
def registrations(self) -> RegistrationsResourceWithStreamingResponse:
569545
return RegistrationsResourceWithStreamingResponse(self._devices.registrations)
570546

571-
@cached_property
572-
def dex_tests(self) -> DEXTestsResourceWithStreamingResponse:
573-
return DEXTestsResourceWithStreamingResponse(self._devices.dex_tests)
574-
575547
@cached_property
576548
def networks(self) -> NetworksResourceWithStreamingResponse:
577549
return NetworksResourceWithStreamingResponse(self._devices.networks)
@@ -628,10 +600,6 @@ def resilience(self) -> AsyncResilienceResourceWithStreamingResponse:
628600
def registrations(self) -> AsyncRegistrationsResourceWithStreamingResponse:
629601
return AsyncRegistrationsResourceWithStreamingResponse(self._devices.registrations)
630602

631-
@cached_property
632-
def dex_tests(self) -> AsyncDEXTestsResourceWithStreamingResponse:
633-
return AsyncDEXTestsResourceWithStreamingResponse(self._devices.dex_tests)
634-
635603
@cached_property
636604
def networks(self) -> AsyncNetworksResourceWithStreamingResponse:
637605
return AsyncNetworksResourceWithStreamingResponse(self._devices.networks)

0 commit comments

Comments
 (0)
0