Skip to content

Commit 4e9deac

Browse files
chore(api): update composite API spec
1 parent dfd1c88 commit 4e9deac

File tree

421 files changed

+15747
-33922
lines changed

Some content is hidden

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

421 files changed

+15747
-33922
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: 1891
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-89df194221a96f898605234ab6479d4d899f10b54138bcb0325dfd0102827235.yml
3-
openapi_spec_hash: 747959ced7aca1e8d798bd493f3eadd5
1+
configured_endpoints: 1864
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-c0392dcf61647dfd80bd9cfba1b84336aa6348d8e85b59199172c0cf5a2e30c2.yml
3+
openapi_spec_hash: ddde86af37159dac5dc0f678abffcb72
44
config_hash: f02bc3ad56bdede6c515f996ca86012c

api.md

Lines changed: 66 additions & 182 deletions
Large diffs are not rendered by default.

src/cloudflare/_client.py

Lines changed: 0 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@
9494
dns_firewall,
9595
healthchecks,
9696
security_txt,
97-
abuse_reports,
9897
email_routing,
9998
magic_transit,
10099
organizations,
@@ -113,7 +112,6 @@
113112
content_scanning,
114113
custom_hostnames,
115114
resource_sharing,
116-
token_validation,
117115
browser_rendering,
118116
mtls_certificates,
119117
schema_validation,
@@ -164,7 +162,6 @@
164162
from .resources.zones.zones import ZonesResource, AsyncZonesResource
165163
from .resources.custom_pages import CustomPagesResource, AsyncCustomPagesResource
166164
from .resources.security_txt import SecurityTXTResource, AsyncSecurityTXTResource
167-
from .resources.abuse_reports import AbuseReportsResource, AsyncAbuseReportsResource
168165
from .resources.images.images import ImagesResource, AsyncImagesResource
169166
from .resources.queues.queues import QueuesResource, AsyncQueuesResource
170167
from .resources.stream.stream import StreamResource, AsyncStreamResource
@@ -222,7 +219,6 @@
222219
from .resources.content_scanning.content_scanning import ContentScanningResource, AsyncContentScanningResource
223220
from .resources.custom_hostnames.custom_hostnames import CustomHostnamesResource, AsyncCustomHostnamesResource
224221
from .resources.resource_sharing.resource_sharing import ResourceSharingResource, AsyncResourceSharingResource
225-
from .resources.token_validation.token_validation import TokenValidationResource, AsyncTokenValidationResource
226222
from .resources.browser_rendering.browser_rendering import BrowserRenderingResource, AsyncBrowserRenderingResource
227223
from .resources.mtls_certificates.mtls_certificates import MTLSCertificatesResource, AsyncMTLSCertificatesResource
228224
from .resources.schema_validation.schema_validation import SchemaValidationResource, AsyncSchemaValidationResource
@@ -883,12 +879,6 @@ def content_scanning(self) -> ContentScanningResource:
883879

884880
return ContentScanningResource(self)
885881

886-
@cached_property
887-
def abuse_reports(self) -> AbuseReportsResource:
888-
from .resources.abuse_reports import AbuseReportsResource
889-
890-
return AbuseReportsResource(self)
891-
892882
@cached_property
893883
def ai(self) -> AIResource:
894884
from .resources.ai import AIResource
@@ -931,12 +921,6 @@ def schema_validation(self) -> SchemaValidationResource:
931921

932922
return SchemaValidationResource(self)
933923

934-
@cached_property
935-
def token_validation(self) -> TokenValidationResource:
936-
from .resources.token_validation import TokenValidationResource
937-
938-
return TokenValidationResource(self)
939-
940924
@cached_property
941925
def with_raw_response(self) -> CloudflareWithRawResponse:
942926
return CloudflareWithRawResponse(self)
@@ -1733,12 +1717,6 @@ def content_scanning(self) -> AsyncContentScanningResource:
17331717

17341718
return AsyncContentScanningResource(self)
17351719

1736-
@cached_property
1737-
def abuse_reports(self) -> AsyncAbuseReportsResource:
1738-
from .resources.abuse_reports import AsyncAbuseReportsResource
1739-
1740-
return AsyncAbuseReportsResource(self)
1741-
17421720
@cached_property
17431721
def ai(self) -> AsyncAIResource:
17441722
from .resources.ai import AsyncAIResource
@@ -1781,12 +1759,6 @@ def schema_validation(self) -> AsyncSchemaValidationResource:
17811759

17821760
return AsyncSchemaValidationResource(self)
17831761

1784-
@cached_property
1785-
def token_validation(self) -> AsyncTokenValidationResource:
1786-
from .resources.token_validation import AsyncTokenValidationResource
1787-
1788-
return AsyncTokenValidationResource(self)
1789-
17901762
@cached_property
17911763
def with_raw_response(self) -> AsyncCloudflareWithRawResponse:
17921764
return AsyncCloudflareWithRawResponse(self)
@@ -2513,12 +2485,6 @@ def content_scanning(self) -> content_scanning.ContentScanningResourceWithRawRes
25132485

25142486
return ContentScanningResourceWithRawResponse(self._client.content_scanning)
25152487

2516-
@cached_property
2517-
def abuse_reports(self) -> abuse_reports.AbuseReportsResourceWithRawResponse:
2518-
from .resources.abuse_reports import AbuseReportsResourceWithRawResponse
2519-
2520-
return AbuseReportsResourceWithRawResponse(self._client.abuse_reports)
2521-
25222488
@cached_property
25232489
def ai(self) -> ai.AIResourceWithRawResponse:
25242490
from .resources.ai import AIResourceWithRawResponse
@@ -2561,12 +2527,6 @@ def schema_validation(self) -> schema_validation.SchemaValidationResourceWithRaw
25612527

25622528
return SchemaValidationResourceWithRawResponse(self._client.schema_validation)
25632529

2564-
@cached_property
2565-
def token_validation(self) -> token_validation.TokenValidationResourceWithRawResponse:
2566-
from .resources.token_validation import TokenValidationResourceWithRawResponse
2567-
2568-
return TokenValidationResourceWithRawResponse(self._client.token_validation)
2569-
25702530

25712531
class AsyncCloudflareWithRawResponse:
25722532
_client: AsyncCloudflare
@@ -3110,12 +3070,6 @@ def content_scanning(self) -> content_scanning.AsyncContentScanningResourceWithR
31103070

31113071
return AsyncContentScanningResourceWithRawResponse(self._client.content_scanning)
31123072

3113-
@cached_property
3114-
def abuse_reports(self) -> abuse_reports.AsyncAbuseReportsResourceWithRawResponse:
3115-
from .resources.abuse_reports import AsyncAbuseReportsResourceWithRawResponse
3116-
3117-
return AsyncAbuseReportsResourceWithRawResponse(self._client.abuse_reports)
3118-
31193073
@cached_property
31203074
def ai(self) -> ai.AsyncAIResourceWithRawResponse:
31213075
from .resources.ai import AsyncAIResourceWithRawResponse
@@ -3158,12 +3112,6 @@ def schema_validation(self) -> schema_validation.AsyncSchemaValidationResourceWi
31583112

31593113
return AsyncSchemaValidationResourceWithRawResponse(self._client.schema_validation)
31603114

3161-
@cached_property
3162-
def token_validation(self) -> token_validation.AsyncTokenValidationResourceWithRawResponse:
3163-
from .resources.token_validation import AsyncTokenValidationResourceWithRawResponse
3164-
3165-
return AsyncTokenValidationResourceWithRawResponse(self._client.token_validation)
3166-
31673115

31683116
class CloudflareWithStreamedResponse:
31693117
_client: Cloudflare
@@ -3707,12 +3655,6 @@ def content_scanning(self) -> content_scanning.ContentScanningResourceWithStream
37073655

37083656
return ContentScanningResourceWithStreamingResponse(self._client.content_scanning)
37093657

3710-
@cached_property
3711-
def abuse_reports(self) -> abuse_reports.AbuseReportsResourceWithStreamingResponse:
3712-
from .resources.abuse_reports import AbuseReportsResourceWithStreamingResponse
3713-
3714-
return AbuseReportsResourceWithStreamingResponse(self._client.abuse_reports)
3715-
37163658
@cached_property
37173659
def ai(self) -> ai.AIResourceWithStreamingResponse:
37183660
from .resources.ai import AIResourceWithStreamingResponse
@@ -3755,12 +3697,6 @@ def schema_validation(self) -> schema_validation.SchemaValidationResourceWithStr
37553697

37563698
return SchemaValidationResourceWithStreamingResponse(self._client.schema_validation)
37573699

3758-
@cached_property
3759-
def token_validation(self) -> token_validation.TokenValidationResourceWithStreamingResponse:
3760-
from .resources.token_validation import TokenValidationResourceWithStreamingResponse
3761-
3762-
return TokenValidationResourceWithStreamingResponse(self._client.token_validation)
3763-
37643700

37653701
class AsyncCloudflareWithStreamedResponse:
37663702
_client: AsyncCloudflare
@@ -4314,12 +4250,6 @@ def content_scanning(self) -> content_scanning.AsyncContentScanningResourceWithS
43144250

43154251
return AsyncContentScanningResourceWithStreamingResponse(self._client.content_scanning)
43164252

4317-
@cached_property
4318-
def abuse_reports(self) -> abuse_reports.AsyncAbuseReportsResourceWithStreamingResponse:
4319-
from .resources.abuse_reports import AsyncAbuseReportsResourceWithStreamingResponse
4320-
4321-
return AsyncAbuseReportsResourceWithStreamingResponse(self._client.abuse_reports)
4322-
43234253
@cached_property
43244254
def ai(self) -> ai.AsyncAIResourceWithStreamingResponse:
43254255
from .resources.ai import AsyncAIResourceWithStreamingResponse
@@ -4362,12 +4292,6 @@ def schema_validation(self) -> schema_validation.AsyncSchemaValidationResourceWi
43624292

43634293
return AsyncSchemaValidationResourceWithStreamingResponse(self._client.schema_validation)
43644294

4365-
@cached_property
4366-
def token_validation(self) -> token_validation.AsyncTokenValidationResourceWithStreamingResponse:
4367-
from .resources.token_validation import AsyncTokenValidationResourceWithStreamingResponse
4368-
4369-
return AsyncTokenValidationResourceWithStreamingResponse(self._client.token_validation)
4370-
43714295

43724296
Client = Cloudflare
43734297

0 commit comments

Comments
 (0)