Skip to content

Commit 0e36fce

Browse files
chore(api): update composite API spec
1 parent 52b7d70 commit 0e36fce

49 files changed

Lines changed: 3 additions & 4898 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 1812
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-6b48b0fcc5aad076c9e8610dcb068b9abc8935056a2894faa9a782a1be29c9b4.yml
3-
openapi_spec_hash: bf1601a44779e337eee7fa5c52db8590
1+
configured_endpoints: 1796
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-bf1e7e91f9f96239a1e75f7bbcdeeeff4a3764ed7dcc151955e58147cab2f6d2.yml
3+
openapi_spec_hash: 8ad35a62b36dc463980840ac51857e86
44
config_hash: 08d1e85e3d6166780e91482de72fa93c

api.md

Lines changed: 0 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,6 @@ Types:
340340
```python
341341
from cloudflare.types.zones import (
342342
AdvancedDDoS,
343-
Aegis,
344343
AlwaysOnline,
345344
AlwaysUseHTTPS,
346345
AutomaticHTTPSRewrites,
@@ -369,7 +368,6 @@ from cloudflare.types.zones import (
369368
OpportunisticOnion,
370369
OrangeToOrange,
371370
OriginErrorPagePassThru,
372-
OriginMaxHTTPVersion,
373371
Polish,
374372
PrefetchPreload,
375373
ProxyReadTimeout,
@@ -646,83 +644,6 @@ Methods:
646644

647645
- <code title="post /zones/{zone_id}/purge_cache">client.cache.<a href="./src/cloudflare/resources/cache/cache.py">purge</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/cache/cache_purge_params.py">params</a>) -> <a href="./src/cloudflare/types/cache/cache_purge_response.py">Optional[CachePurgeResponse]</a></code>
648646

649-
## CacheReserve
650-
651-
Types:
652-
653-
```python
654-
from cloudflare.types.cache import (
655-
CacheReserve,
656-
CacheReserveClear,
657-
State,
658-
CacheReserveClearResponse,
659-
CacheReserveEditResponse,
660-
CacheReserveGetResponse,
661-
CacheReserveStatusResponse,
662-
)
663-
```
664-
665-
Methods:
666-
667-
- <code title="post /zones/{zone_id}/cache/cache_reserve_clear">client.cache.cache_reserve.<a href="./src/cloudflare/resources/cache/cache_reserve.py">clear</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/cache/cache_reserve_clear_params.py">params</a>) -> <a href="./src/cloudflare/types/cache/cache_reserve_clear_response.py">Optional[CacheReserveClearResponse]</a></code>
668-
- <code title="patch /zones/{zone_id}/cache/cache_reserve">client.cache.cache_reserve.<a href="./src/cloudflare/resources/cache/cache_reserve.py">edit</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/cache/cache_reserve_edit_params.py">params</a>) -> <a href="./src/cloudflare/types/cache/cache_reserve_edit_response.py">Optional[CacheReserveEditResponse]</a></code>
669-
- <code title="get /zones/{zone_id}/cache/cache_reserve">client.cache.cache_reserve.<a href="./src/cloudflare/resources/cache/cache_reserve.py">get</a>(\*, zone_id) -> <a href="./src/cloudflare/types/cache/cache_reserve_get_response.py">Optional[CacheReserveGetResponse]</a></code>
670-
- <code title="get /zones/{zone_id}/cache/cache_reserve_clear">client.cache.cache_reserve.<a href="./src/cloudflare/resources/cache/cache_reserve.py">status</a>(\*, zone_id) -> <a href="./src/cloudflare/types/cache/cache_reserve_status_response.py">Optional[CacheReserveStatusResponse]</a></code>
671-
672-
## SmartTieredCache
673-
674-
Types:
675-
676-
```python
677-
from cloudflare.types.cache import (
678-
SmartTieredCacheDeleteResponse,
679-
SmartTieredCacheEditResponse,
680-
SmartTieredCacheGetResponse,
681-
)
682-
```
683-
684-
Methods:
685-
686-
- <code title="delete /zones/{zone_id}/cache/tiered_cache_smart_topology_enable">client.cache.smart_tiered_cache.<a href="./src/cloudflare/resources/cache/smart_tiered_cache.py">delete</a>(\*, zone_id) -> <a href="./src/cloudflare/types/cache/smart_tiered_cache_delete_response.py">Optional[SmartTieredCacheDeleteResponse]</a></code>
687-
- <code title="patch /zones/{zone_id}/cache/tiered_cache_smart_topology_enable">client.cache.smart_tiered_cache.<a href="./src/cloudflare/resources/cache/smart_tiered_cache.py">edit</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/cache/smart_tiered_cache_edit_params.py">params</a>) -> <a href="./src/cloudflare/types/cache/smart_tiered_cache_edit_response.py">Optional[SmartTieredCacheEditResponse]</a></code>
688-
- <code title="get /zones/{zone_id}/cache/tiered_cache_smart_topology_enable">client.cache.smart_tiered_cache.<a href="./src/cloudflare/resources/cache/smart_tiered_cache.py">get</a>(\*, zone_id) -> <a href="./src/cloudflare/types/cache/smart_tiered_cache_get_response.py">Optional[SmartTieredCacheGetResponse]</a></code>
689-
690-
## Variants
691-
692-
Types:
693-
694-
```python
695-
from cloudflare.types.cache import (
696-
CacheVariant,
697-
VariantDeleteResponse,
698-
VariantEditResponse,
699-
VariantGetResponse,
700-
)
701-
```
702-
703-
Methods:
704-
705-
- <code title="delete /zones/{zone_id}/cache/variants">client.cache.variants.<a href="./src/cloudflare/resources/cache/variants.py">delete</a>(\*, zone_id) -> <a href="./src/cloudflare/types/cache/variant_delete_response.py">Optional[VariantDeleteResponse]</a></code>
706-
- <code title="patch /zones/{zone_id}/cache/variants">client.cache.variants.<a href="./src/cloudflare/resources/cache/variants.py">edit</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/cache/variant_edit_params.py">params</a>) -> <a href="./src/cloudflare/types/cache/variant_edit_response.py">Optional[VariantEditResponse]</a></code>
707-
- <code title="get /zones/{zone_id}/cache/variants">client.cache.variants.<a href="./src/cloudflare/resources/cache/variants.py">get</a>(\*, zone_id) -> <a href="./src/cloudflare/types/cache/variant_get_response.py">Optional[VariantGetResponse]</a></code>
708-
709-
## RegionalTieredCache
710-
711-
Types:
712-
713-
```python
714-
from cloudflare.types.cache import (
715-
RegionalTieredCache,
716-
RegionalTieredCacheEditResponse,
717-
RegionalTieredCacheGetResponse,
718-
)
719-
```
720-
721-
Methods:
722-
723-
- <code title="patch /zones/{zone_id}/cache/regional_tiered_cache">client.cache.regional_tiered_cache.<a href="./src/cloudflare/resources/cache/regional_tiered_cache.py">edit</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/cache/regional_tiered_cache_edit_params.py">params</a>) -> <a href="./src/cloudflare/types/cache/regional_tiered_cache_edit_response.py">Optional[RegionalTieredCacheEditResponse]</a></code>
724-
- <code title="get /zones/{zone_id}/cache/regional_tiered_cache">client.cache.regional_tiered_cache.<a href="./src/cloudflare/resources/cache/regional_tiered_cache.py">get</a>(\*, zone_id) -> <a href="./src/cloudflare/types/cache/regional_tiered_cache_get_response.py">Optional[RegionalTieredCacheGetResponse]</a></code>
725-
726647
# SSL
727648

728649
## Analyze
@@ -837,19 +758,6 @@ Methods:
837758
- <code title="patch /zones/{zone_id}/argo/smart_routing">client.argo.smart_routing.<a href="./src/cloudflare/resources/argo/smart_routing.py">edit</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/argo/smart_routing_edit_params.py">params</a>) -> <a href="./src/cloudflare/types/argo/smart_routing_edit_response.py">SmartRoutingEditResponse</a></code>
838759
- <code title="get /zones/{zone_id}/argo/smart_routing">client.argo.smart_routing.<a href="./src/cloudflare/resources/argo/smart_routing.py">get</a>(\*, zone_id) -> <a href="./src/cloudflare/types/argo/smart_routing_get_response.py">SmartRoutingGetResponse</a></code>
839760

840-
## TieredCaching
841-
842-
Types:
843-
844-
```python
845-
from cloudflare.types.argo import TieredCachingEditResponse, TieredCachingGetResponse
846-
```
847-
848-
Methods:
849-
850-
- <code title="patch /zones/{zone_id}/argo/tiered_caching">client.argo.tiered_caching.<a href="./src/cloudflare/resources/argo/tiered_caching.py">edit</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/argo/tiered_caching_edit_params.py">params</a>) -> <a href="./src/cloudflare/types/argo/tiered_caching_edit_response.py">Optional[TieredCachingEditResponse]</a></code>
851-
- <code title="get /zones/{zone_id}/argo/tiered_caching">client.argo.tiered_caching.<a href="./src/cloudflare/resources/argo/tiered_caching.py">get</a>(\*, zone_id) -> <a href="./src/cloudflare/types/argo/tiered_caching_get_response.py">Optional[TieredCachingGetResponse]</a></code>
852-
853761
# CertificateAuthorities
854762

855763
## HostnameAssociations
@@ -8738,22 +8646,6 @@ Methods:
87388646
- <code title="put /zones/{zone_id}/bot_management">client.bot_management.<a href="./src/cloudflare/resources/bot_management.py">update</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/bot_management/bot_management_update_params.py">params</a>) -> <a href="./src/cloudflare/types/bot_management/bot_management_update_response.py">Optional[BotManagementUpdateResponse]</a></code>
87398647
- <code title="get /zones/{zone_id}/bot_management">client.bot_management.<a href="./src/cloudflare/resources/bot_management.py">get</a>(\*, zone_id) -> <a href="./src/cloudflare/types/bot_management/bot_management_get_response.py">Optional[BotManagementGetResponse]</a></code>
87408648

8741-
# OriginPostQuantumEncryption
8742-
8743-
Types:
8744-
8745-
```python
8746-
from cloudflare.types.origin_post_quantum_encryption import (
8747-
OriginPostQuantumEncryptionUpdateResponse,
8748-
OriginPostQuantumEncryptionGetResponse,
8749-
)
8750-
```
8751-
8752-
Methods:
8753-
8754-
- <code title="put /zones/{zone_id}/cache/origin_post_quantum_encryption">client.origin_post_quantum_encryption.<a href="./src/cloudflare/resources/origin_post_quantum_encryption.py">update</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/origin_post_quantum_encryption/origin_post_quantum_encryption_update_params.py">params</a>) -> <a href="./src/cloudflare/types/origin_post_quantum_encryption/origin_post_quantum_encryption_update_response.py">Optional[OriginPostQuantumEncryptionUpdateResponse]</a></code>
8755-
- <code title="get /zones/{zone_id}/cache/origin_post_quantum_encryption">client.origin_post_quantum_encryption.<a href="./src/cloudflare/resources/origin_post_quantum_encryption.py">get</a>(\*, zone_id) -> <a href="./src/cloudflare/types/origin_post_quantum_encryption/origin_post_quantum_encryption_get_response.py">Optional[OriginPostQuantumEncryptionGetResponse]</a></code>
8756-
87578649
# Zaraz
87588650

87598651
Types:

src/cloudflare/_client.py

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@
127127
certificate_authorities,
128128
leaked_credential_checks,
129129
magic_network_monitoring,
130-
origin_post_quantum_encryption,
131130
)
132131
from .resources.ips import IPsResource, AsyncIPsResource
133132
from .resources.ai.ai import AIResource, AsyncAIResource
@@ -204,10 +203,6 @@
204203
from .resources.cloudforce_one.cloudforce_one import CloudforceOneResource, AsyncCloudforceOneResource
205204
from .resources.email_security.email_security import EmailSecurityResource, AsyncEmailSecurityResource
206205
from .resources.load_balancers.load_balancers import LoadBalancersResource, AsyncLoadBalancersResource
207-
from .resources.origin_post_quantum_encryption import (
208-
OriginPostQuantumEncryptionResource,
209-
AsyncOriginPostQuantumEncryptionResource,
210-
)
211206
from .resources.cloud_connector.cloud_connector import CloudConnectorResource, AsyncCloudConnectorResource
212207
from .resources.durable_objects.durable_objects import DurableObjectsResource, AsyncDurableObjectsResource
213208
from .resources.request_tracers.request_tracers import RequestTracersResource, AsyncRequestTracersResource
@@ -761,12 +756,6 @@ def bot_management(self) -> BotManagementResource:
761756

762757
return BotManagementResource(self)
763758

764-
@cached_property
765-
def origin_post_quantum_encryption(self) -> OriginPostQuantumEncryptionResource:
766-
from .resources.origin_post_quantum_encryption import OriginPostQuantumEncryptionResource
767-
768-
return OriginPostQuantumEncryptionResource(self)
769-
770759
@cached_property
771760
def zaraz(self) -> ZarazResource:
772761
from .resources.zaraz import ZarazResource
@@ -1587,12 +1576,6 @@ def bot_management(self) -> AsyncBotManagementResource:
15871576

15881577
return AsyncBotManagementResource(self)
15891578

1590-
@cached_property
1591-
def origin_post_quantum_encryption(self) -> AsyncOriginPostQuantumEncryptionResource:
1592-
from .resources.origin_post_quantum_encryption import AsyncOriginPostQuantumEncryptionResource
1593-
1594-
return AsyncOriginPostQuantumEncryptionResource(self)
1595-
15961579
@cached_property
15971580
def zaraz(self) -> AsyncZarazResource:
15981581
from .resources.zaraz import AsyncZarazResource
@@ -2341,14 +2324,6 @@ def bot_management(self) -> bot_management.BotManagementResourceWithRawResponse:
23412324

23422325
return BotManagementResourceWithRawResponse(self._client.bot_management)
23432326

2344-
@cached_property
2345-
def origin_post_quantum_encryption(
2346-
self,
2347-
) -> origin_post_quantum_encryption.OriginPostQuantumEncryptionResourceWithRawResponse:
2348-
from .resources.origin_post_quantum_encryption import OriginPostQuantumEncryptionResourceWithRawResponse
2349-
2350-
return OriginPostQuantumEncryptionResourceWithRawResponse(self._client.origin_post_quantum_encryption)
2351-
23522327
@cached_property
23532328
def zaraz(self) -> zaraz.ZarazResourceWithRawResponse:
23542329
from .resources.zaraz import ZarazResourceWithRawResponse
@@ -2914,14 +2889,6 @@ def bot_management(self) -> bot_management.AsyncBotManagementResourceWithRawResp
29142889

29152890
return AsyncBotManagementResourceWithRawResponse(self._client.bot_management)
29162891

2917-
@cached_property
2918-
def origin_post_quantum_encryption(
2919-
self,
2920-
) -> origin_post_quantum_encryption.AsyncOriginPostQuantumEncryptionResourceWithRawResponse:
2921-
from .resources.origin_post_quantum_encryption import AsyncOriginPostQuantumEncryptionResourceWithRawResponse
2922-
2923-
return AsyncOriginPostQuantumEncryptionResourceWithRawResponse(self._client.origin_post_quantum_encryption)
2924-
29252892
@cached_property
29262893
def zaraz(self) -> zaraz.AsyncZarazResourceWithRawResponse:
29272894
from .resources.zaraz import AsyncZarazResourceWithRawResponse
@@ -3487,14 +3454,6 @@ def bot_management(self) -> bot_management.BotManagementResourceWithStreamingRes
34873454

34883455
return BotManagementResourceWithStreamingResponse(self._client.bot_management)
34893456

3490-
@cached_property
3491-
def origin_post_quantum_encryption(
3492-
self,
3493-
) -> origin_post_quantum_encryption.OriginPostQuantumEncryptionResourceWithStreamingResponse:
3494-
from .resources.origin_post_quantum_encryption import OriginPostQuantumEncryptionResourceWithStreamingResponse
3495-
3496-
return OriginPostQuantumEncryptionResourceWithStreamingResponse(self._client.origin_post_quantum_encryption)
3497-
34983457
@cached_property
34993458
def zaraz(self) -> zaraz.ZarazResourceWithStreamingResponse:
35003459
from .resources.zaraz import ZarazResourceWithStreamingResponse
@@ -4064,18 +4023,6 @@ def bot_management(self) -> bot_management.AsyncBotManagementResourceWithStreami
40644023

40654024
return AsyncBotManagementResourceWithStreamingResponse(self._client.bot_management)
40664025

4067-
@cached_property
4068-
def origin_post_quantum_encryption(
4069-
self,
4070-
) -> origin_post_quantum_encryption.AsyncOriginPostQuantumEncryptionResourceWithStreamingResponse:
4071-
from .resources.origin_post_quantum_encryption import (
4072-
AsyncOriginPostQuantumEncryptionResourceWithStreamingResponse,
4073-
)
4074-
4075-
return AsyncOriginPostQuantumEncryptionResourceWithStreamingResponse(
4076-
self._client.origin_post_quantum_encryption
4077-
)
4078-
40794026
@cached_property
40804027
def zaraz(self) -> zaraz.AsyncZarazResourceWithStreamingResponse:
40814028
from .resources.zaraz import AsyncZarazResourceWithStreamingResponse

src/cloudflare/resources/argo/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@
1616
SmartRoutingResourceWithStreamingResponse,
1717
AsyncSmartRoutingResourceWithStreamingResponse,
1818
)
19-
from .tiered_caching import (
20-
TieredCachingResource,
21-
AsyncTieredCachingResource,
22-
TieredCachingResourceWithRawResponse,
23-
AsyncTieredCachingResourceWithRawResponse,
24-
TieredCachingResourceWithStreamingResponse,
25-
AsyncTieredCachingResourceWithStreamingResponse,
26-
)
2719

2820
__all__ = [
2921
"SmartRoutingResource",
@@ -32,12 +24,6 @@
3224
"AsyncSmartRoutingResourceWithRawResponse",
3325
"SmartRoutingResourceWithStreamingResponse",
3426
"AsyncSmartRoutingResourceWithStreamingResponse",
35-
"TieredCachingResource",
36-
"AsyncTieredCachingResource",
37-
"TieredCachingResourceWithRawResponse",
38-
"AsyncTieredCachingResourceWithRawResponse",
39-
"TieredCachingResourceWithStreamingResponse",
40-
"AsyncTieredCachingResourceWithStreamingResponse",
4127
"ArgoResource",
4228
"AsyncArgoResource",
4329
"ArgoResourceWithRawResponse",

src/cloudflare/resources/argo/argo.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@
1212
SmartRoutingResourceWithStreamingResponse,
1313
AsyncSmartRoutingResourceWithStreamingResponse,
1414
)
15-
from .tiered_caching import (
16-
TieredCachingResource,
17-
AsyncTieredCachingResource,
18-
TieredCachingResourceWithRawResponse,
19-
AsyncTieredCachingResourceWithRawResponse,
20-
TieredCachingResourceWithStreamingResponse,
21-
AsyncTieredCachingResourceWithStreamingResponse,
22-
)
2315

2416
__all__ = ["ArgoResource", "AsyncArgoResource"]
2517

@@ -29,10 +21,6 @@ class ArgoResource(SyncAPIResource):
2921
def smart_routing(self) -> SmartRoutingResource:
3022
return SmartRoutingResource(self._client)
3123

32-
@cached_property
33-
def tiered_caching(self) -> TieredCachingResource:
34-
return TieredCachingResource(self._client)
35-
3624
@cached_property
3725
def with_raw_response(self) -> ArgoResourceWithRawResponse:
3826
"""
@@ -58,10 +46,6 @@ class AsyncArgoResource(AsyncAPIResource):
5846
def smart_routing(self) -> AsyncSmartRoutingResource:
5947
return AsyncSmartRoutingResource(self._client)
6048

61-
@cached_property
62-
def tiered_caching(self) -> AsyncTieredCachingResource:
63-
return AsyncTieredCachingResource(self._client)
64-
6549
@cached_property
6650
def with_raw_response(self) -> AsyncArgoResourceWithRawResponse:
6751
"""
@@ -90,10 +74,6 @@ def __init__(self, argo: ArgoResource) -> None:
9074
def smart_routing(self) -> SmartRoutingResourceWithRawResponse:
9175
return SmartRoutingResourceWithRawResponse(self._argo.smart_routing)
9276

93-
@cached_property
94-
def tiered_caching(self) -> TieredCachingResourceWithRawResponse:
95-
return TieredCachingResourceWithRawResponse(self._argo.tiered_caching)
96-
9777

9878
class AsyncArgoResourceWithRawResponse:
9979
def __init__(self, argo: AsyncArgoResource) -> None:
@@ -103,10 +83,6 @@ def __init__(self, argo: AsyncArgoResource) -> None:
10383
def smart_routing(self) -> AsyncSmartRoutingResourceWithRawResponse:
10484
return AsyncSmartRoutingResourceWithRawResponse(self._argo.smart_routing)
10585

106-
@cached_property
107-
def tiered_caching(self) -> AsyncTieredCachingResourceWithRawResponse:
108-
return AsyncTieredCachingResourceWithRawResponse(self._argo.tiered_caching)
109-
11086

11187
class ArgoResourceWithStreamingResponse:
11288
def __init__(self, argo: ArgoResource) -> None:
@@ -116,10 +92,6 @@ def __init__(self, argo: ArgoResource) -> None:
11692
def smart_routing(self) -> SmartRoutingResourceWithStreamingResponse:
11793
return SmartRoutingResourceWithStreamingResponse(self._argo.smart_routing)
11894

119-
@cached_property
120-
def tiered_caching(self) -> TieredCachingResourceWithStreamingResponse:
121-
return TieredCachingResourceWithStreamingResponse(self._argo.tiered_caching)
122-
12395

12496
class AsyncArgoResourceWithStreamingResponse:
12597
def __init__(self, argo: AsyncArgoResource) -> None:
@@ -128,7 +100,3 @@ def __init__(self, argo: AsyncArgoResource) -> None:
128100
@cached_property
129101
def smart_routing(self) -> AsyncSmartRoutingResourceWithStreamingResponse:
130102
return AsyncSmartRoutingResourceWithStreamingResponse(self._argo.smart_routing)
131-
132-
@cached_property
133-
def tiered_caching(self) -> AsyncTieredCachingResourceWithStreamingResponse:
134-
return AsyncTieredCachingResourceWithStreamingResponse(self._argo.tiered_caching)

0 commit comments

Comments
 (0)