Skip to content

Commit 9fd6645

Browse files
chore(api): update composite API spec
1 parent 19d1d96 commit 9fd6645

298 files changed

Lines changed: 17579 additions & 21650 deletions

File tree

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: 1839
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-ca8fbfa82d19dca400ec61b8c93392de1acd157860e435419f9a5e9ec8c586e0.yml
3-
openapi_spec_hash: 77d55c70bc3824ac61bd056e2319ee18
1+
configured_endpoints: 1814
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-cceecd20dfd89884f795e75b433848994bed610b79802c65104f0c70d3ada54e.yml
3+
openapi_spec_hash: c33c0e26e48c004c1781a36748d0144c
44
config_hash: eab23d0b8fa818f1d1dc0e9e18de4266

api.md

Lines changed: 80 additions & 256 deletions
Large diffs are not rendered by default.

src/cloudflare/_client.py

Lines changed: 0 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
rum,
4646
ssl,
4747
argo,
48-
logs,
4948
user,
5049
web3,
5150
cache,
@@ -75,7 +74,6 @@
7574
registrar,
7675
turnstile,
7776
vectorize,
78-
workflows,
7977
addressing,
8078
ai_gateway,
8179
audit_logs,
@@ -127,7 +125,6 @@
127125
origin_ca_certificates,
128126
origin_tls_client_auth,
129127
certificate_authorities,
130-
leaked_credential_checks,
131128
magic_network_monitoring,
132129
origin_post_quantum_encryption,
133130
)
@@ -143,7 +140,6 @@
143140
from .resources.rum.rum import RUMResource, AsyncRUMResource
144141
from .resources.ssl.ssl import SSLResource, AsyncSSLResource
145142
from .resources.argo.argo import ArgoResource, AsyncArgoResource
146-
from .resources.logs.logs import LogsResource, AsyncLogsResource
147143
from .resources.pipelines import PipelinesResource, AsyncPipelinesResource
148144
from .resources.user.user import UserResource, AsyncUserResource
149145
from .resources.web3.web3 import Web3Resource, AsyncWeb3Resource
@@ -185,7 +181,6 @@
185181
from .resources.registrar.registrar import RegistrarResource, AsyncRegistrarResource
186182
from .resources.turnstile.turnstile import TurnstileResource, AsyncTurnstileResource
187183
from .resources.vectorize.vectorize import VectorizeResource, AsyncVectorizeResource
188-
from .resources.workflows.workflows import WorkflowsResource, AsyncWorkflowsResource
189184
from .resources.keyless_certificates import KeylessCertificatesResource, AsyncKeylessCertificatesResource
190185
from .resources.addressing.addressing import AddressingResource, AsyncAddressingResource
191186
from .resources.ai_gateway.ai_gateway import AIGatewayResource, AsyncAIGatewayResource
@@ -246,10 +241,6 @@
246241
CertificateAuthoritiesResource,
247242
AsyncCertificateAuthoritiesResource,
248243
)
249-
from .resources.leaked_credential_checks.leaked_credential_checks import (
250-
LeakedCredentialChecksResource,
251-
AsyncLeakedCredentialChecksResource,
252-
)
253244
from .resources.magic_network_monitoring.magic_network_monitoring import (
254245
MagicNetworkMonitoringResource,
255246
AsyncMagicNetworkMonitoringResource,
@@ -501,12 +492,6 @@ def logpush(self) -> LogpushResource:
501492

502493
return LogpushResource(self)
503494

504-
@cached_property
505-
def logs(self) -> LogsResource:
506-
from .resources.logs import LogsResource
507-
508-
return LogsResource(self)
509-
510495
@cached_property
511496
def origin_tls_client_auth(self) -> OriginTLSClientAuthResource:
512497
from .resources.origin_tls_client_auth import OriginTLSClientAuthResource
@@ -849,24 +834,12 @@ def security_txt(self) -> SecurityTXTResource:
849834

850835
return SecurityTXTResource(self)
851836

852-
@cached_property
853-
def workflows(self) -> WorkflowsResource:
854-
from .resources.workflows import WorkflowsResource
855-
856-
return WorkflowsResource(self)
857-
858837
@cached_property
859838
def resource_sharing(self) -> ResourceSharingResource:
860839
from .resources.resource_sharing import ResourceSharingResource
861840

862841
return ResourceSharingResource(self)
863842

864-
@cached_property
865-
def leaked_credential_checks(self) -> LeakedCredentialChecksResource:
866-
from .resources.leaked_credential_checks import LeakedCredentialChecksResource
867-
868-
return LeakedCredentialChecksResource(self)
869-
870843
@cached_property
871844
def content_scanning(self) -> ContentScanningResource:
872845
from .resources.content_scanning import ContentScanningResource
@@ -1339,12 +1312,6 @@ def logpush(self) -> AsyncLogpushResource:
13391312

13401313
return AsyncLogpushResource(self)
13411314

1342-
@cached_property
1343-
def logs(self) -> AsyncLogsResource:
1344-
from .resources.logs import AsyncLogsResource
1345-
1346-
return AsyncLogsResource(self)
1347-
13481315
@cached_property
13491316
def origin_tls_client_auth(self) -> AsyncOriginTLSClientAuthResource:
13501317
from .resources.origin_tls_client_auth import AsyncOriginTLSClientAuthResource
@@ -1687,24 +1654,12 @@ def security_txt(self) -> AsyncSecurityTXTResource:
16871654

16881655
return AsyncSecurityTXTResource(self)
16891656

1690-
@cached_property
1691-
def workflows(self) -> AsyncWorkflowsResource:
1692-
from .resources.workflows import AsyncWorkflowsResource
1693-
1694-
return AsyncWorkflowsResource(self)
1695-
16961657
@cached_property
16971658
def resource_sharing(self) -> AsyncResourceSharingResource:
16981659
from .resources.resource_sharing import AsyncResourceSharingResource
16991660

17001661
return AsyncResourceSharingResource(self)
17011662

1702-
@cached_property
1703-
def leaked_credential_checks(self) -> AsyncLeakedCredentialChecksResource:
1704-
from .resources.leaked_credential_checks import AsyncLeakedCredentialChecksResource
1705-
1706-
return AsyncLeakedCredentialChecksResource(self)
1707-
17081663
@cached_property
17091664
def content_scanning(self) -> AsyncContentScanningResource:
17101665
from .resources.content_scanning import AsyncContentScanningResource
@@ -2105,12 +2060,6 @@ def logpush(self) -> logpush.LogpushResourceWithRawResponse:
21052060

21062061
return LogpushResourceWithRawResponse(self._client.logpush)
21072062

2108-
@cached_property
2109-
def logs(self) -> logs.LogsResourceWithRawResponse:
2110-
from .resources.logs import LogsResourceWithRawResponse
2111-
2112-
return LogsResourceWithRawResponse(self._client.logs)
2113-
21142063
@cached_property
21152064
def origin_tls_client_auth(self) -> origin_tls_client_auth.OriginTLSClientAuthResourceWithRawResponse:
21162065
from .resources.origin_tls_client_auth import OriginTLSClientAuthResourceWithRawResponse
@@ -2455,24 +2404,12 @@ def security_txt(self) -> security_txt.SecurityTXTResourceWithRawResponse:
24552404

24562405
return SecurityTXTResourceWithRawResponse(self._client.security_txt)
24572406

2458-
@cached_property
2459-
def workflows(self) -> workflows.WorkflowsResourceWithRawResponse:
2460-
from .resources.workflows import WorkflowsResourceWithRawResponse
2461-
2462-
return WorkflowsResourceWithRawResponse(self._client.workflows)
2463-
24642407
@cached_property
24652408
def resource_sharing(self) -> resource_sharing.ResourceSharingResourceWithRawResponse:
24662409
from .resources.resource_sharing import ResourceSharingResourceWithRawResponse
24672410

24682411
return ResourceSharingResourceWithRawResponse(self._client.resource_sharing)
24692412

2470-
@cached_property
2471-
def leaked_credential_checks(self) -> leaked_credential_checks.LeakedCredentialChecksResourceWithRawResponse:
2472-
from .resources.leaked_credential_checks import LeakedCredentialChecksResourceWithRawResponse
2473-
2474-
return LeakedCredentialChecksResourceWithRawResponse(self._client.leaked_credential_checks)
2475-
24762413
@cached_property
24772414
def content_scanning(self) -> content_scanning.ContentScanningResourceWithRawResponse:
24782415
from .resources.content_scanning import ContentScanningResourceWithRawResponse
@@ -2690,12 +2627,6 @@ def logpush(self) -> logpush.AsyncLogpushResourceWithRawResponse:
26902627

26912628
return AsyncLogpushResourceWithRawResponse(self._client.logpush)
26922629

2693-
@cached_property
2694-
def logs(self) -> logs.AsyncLogsResourceWithRawResponse:
2695-
from .resources.logs import AsyncLogsResourceWithRawResponse
2696-
2697-
return AsyncLogsResourceWithRawResponse(self._client.logs)
2698-
26992630
@cached_property
27002631
def origin_tls_client_auth(self) -> origin_tls_client_auth.AsyncOriginTLSClientAuthResourceWithRawResponse:
27012632
from .resources.origin_tls_client_auth import AsyncOriginTLSClientAuthResourceWithRawResponse
@@ -3040,24 +2971,12 @@ def security_txt(self) -> security_txt.AsyncSecurityTXTResourceWithRawResponse:
30402971

30412972
return AsyncSecurityTXTResourceWithRawResponse(self._client.security_txt)
30422973

3043-
@cached_property
3044-
def workflows(self) -> workflows.AsyncWorkflowsResourceWithRawResponse:
3045-
from .resources.workflows import AsyncWorkflowsResourceWithRawResponse
3046-
3047-
return AsyncWorkflowsResourceWithRawResponse(self._client.workflows)
3048-
30492974
@cached_property
30502975
def resource_sharing(self) -> resource_sharing.AsyncResourceSharingResourceWithRawResponse:
30512976
from .resources.resource_sharing import AsyncResourceSharingResourceWithRawResponse
30522977

30532978
return AsyncResourceSharingResourceWithRawResponse(self._client.resource_sharing)
30542979

3055-
@cached_property
3056-
def leaked_credential_checks(self) -> leaked_credential_checks.AsyncLeakedCredentialChecksResourceWithRawResponse:
3057-
from .resources.leaked_credential_checks import AsyncLeakedCredentialChecksResourceWithRawResponse
3058-
3059-
return AsyncLeakedCredentialChecksResourceWithRawResponse(self._client.leaked_credential_checks)
3060-
30612980
@cached_property
30622981
def content_scanning(self) -> content_scanning.AsyncContentScanningResourceWithRawResponse:
30632982
from .resources.content_scanning import AsyncContentScanningResourceWithRawResponse
@@ -3275,12 +3194,6 @@ def logpush(self) -> logpush.LogpushResourceWithStreamingResponse:
32753194

32763195
return LogpushResourceWithStreamingResponse(self._client.logpush)
32773196

3278-
@cached_property
3279-
def logs(self) -> logs.LogsResourceWithStreamingResponse:
3280-
from .resources.logs import LogsResourceWithStreamingResponse
3281-
3282-
return LogsResourceWithStreamingResponse(self._client.logs)
3283-
32843197
@cached_property
32853198
def origin_tls_client_auth(self) -> origin_tls_client_auth.OriginTLSClientAuthResourceWithStreamingResponse:
32863199
from .resources.origin_tls_client_auth import OriginTLSClientAuthResourceWithStreamingResponse
@@ -3625,24 +3538,12 @@ def security_txt(self) -> security_txt.SecurityTXTResourceWithStreamingResponse:
36253538

36263539
return SecurityTXTResourceWithStreamingResponse(self._client.security_txt)
36273540

3628-
@cached_property
3629-
def workflows(self) -> workflows.WorkflowsResourceWithStreamingResponse:
3630-
from .resources.workflows import WorkflowsResourceWithStreamingResponse
3631-
3632-
return WorkflowsResourceWithStreamingResponse(self._client.workflows)
3633-
36343541
@cached_property
36353542
def resource_sharing(self) -> resource_sharing.ResourceSharingResourceWithStreamingResponse:
36363543
from .resources.resource_sharing import ResourceSharingResourceWithStreamingResponse
36373544

36383545
return ResourceSharingResourceWithStreamingResponse(self._client.resource_sharing)
36393546

3640-
@cached_property
3641-
def leaked_credential_checks(self) -> leaked_credential_checks.LeakedCredentialChecksResourceWithStreamingResponse:
3642-
from .resources.leaked_credential_checks import LeakedCredentialChecksResourceWithStreamingResponse
3643-
3644-
return LeakedCredentialChecksResourceWithStreamingResponse(self._client.leaked_credential_checks)
3645-
36463547
@cached_property
36473548
def content_scanning(self) -> content_scanning.ContentScanningResourceWithStreamingResponse:
36483549
from .resources.content_scanning import ContentScanningResourceWithStreamingResponse
@@ -3862,12 +3763,6 @@ def logpush(self) -> logpush.AsyncLogpushResourceWithStreamingResponse:
38623763

38633764
return AsyncLogpushResourceWithStreamingResponse(self._client.logpush)
38643765

3865-
@cached_property
3866-
def logs(self) -> logs.AsyncLogsResourceWithStreamingResponse:
3867-
from .resources.logs import AsyncLogsResourceWithStreamingResponse
3868-
3869-
return AsyncLogsResourceWithStreamingResponse(self._client.logs)
3870-
38713766
@cached_property
38723767
def origin_tls_client_auth(self) -> origin_tls_client_auth.AsyncOriginTLSClientAuthResourceWithStreamingResponse:
38733768
from .resources.origin_tls_client_auth import AsyncOriginTLSClientAuthResourceWithStreamingResponse
@@ -4218,26 +4113,12 @@ def security_txt(self) -> security_txt.AsyncSecurityTXTResourceWithStreamingResp
42184113

42194114
return AsyncSecurityTXTResourceWithStreamingResponse(self._client.security_txt)
42204115

4221-
@cached_property
4222-
def workflows(self) -> workflows.AsyncWorkflowsResourceWithStreamingResponse:
4223-
from .resources.workflows import AsyncWorkflowsResourceWithStreamingResponse
4224-
4225-
return AsyncWorkflowsResourceWithStreamingResponse(self._client.workflows)
4226-
42274116
@cached_property
42284117
def resource_sharing(self) -> resource_sharing.AsyncResourceSharingResourceWithStreamingResponse:
42294118
from .resources.resource_sharing import AsyncResourceSharingResourceWithStreamingResponse
42304119

42314120
return AsyncResourceSharingResourceWithStreamingResponse(self._client.resource_sharing)
42324121

4233-
@cached_property
4234-
def leaked_credential_checks(
4235-
self,
4236-
) -> leaked_credential_checks.AsyncLeakedCredentialChecksResourceWithStreamingResponse:
4237-
from .resources.leaked_credential_checks import AsyncLeakedCredentialChecksResourceWithStreamingResponse
4238-
4239-
return AsyncLeakedCredentialChecksResourceWithStreamingResponse(self._client.leaked_credential_checks)
4240-
42414122
@cached_property
42424123
def content_scanning(self) -> content_scanning.AsyncContentScanningResourceWithStreamingResponse:
42434124
from .resources.content_scanning import AsyncContentScanningResourceWithStreamingResponse

src/cloudflare/resources/alerting/policies.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def create(
5656
*,
5757
account_id: str,
5858
alert_type: Literal[
59+
"abuse_report_alert",
5960
"access_custom_certificate_expiration_type",
6061
"advanced_ddos_attack_l4_alert",
6162
"advanced_ddos_attack_l7_alert",
@@ -204,6 +205,7 @@ def update(
204205
account_id: str,
205206
alert_interval: str | Omit = omit,
206207
alert_type: Literal[
208+
"abuse_report_alert",
207209
"access_custom_certificate_expiration_type",
208210
"advanced_ddos_attack_l4_alert",
209211
"advanced_ddos_attack_l7_alert",
@@ -495,6 +497,7 @@ async def create(
495497
*,
496498
account_id: str,
497499
alert_type: Literal[
500+
"abuse_report_alert",
498501
"access_custom_certificate_expiration_type",
499502
"advanced_ddos_attack_l4_alert",
500503
"advanced_ddos_attack_l7_alert",
@@ -643,6 +646,7 @@ async def update(
643646
account_id: str,
644647
alert_interval: str | Omit = omit,
645648
alert_type: Literal[
649+
"abuse_report_alert",
646650
"access_custom_certificate_expiration_type",
647651
"advanced_ddos_attack_l4_alert",
648652
"advanced_ddos_attack_l7_alert",

src/cloudflare/resources/cloudforce_one/threat_events/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,6 @@
7272
ThreatEventsResourceWithStreamingResponse,
7373
AsyncThreatEventsResourceWithStreamingResponse,
7474
)
75-
from .indicator_types import (
76-
IndicatorTypesResource,
77-
AsyncIndicatorTypesResource,
78-
IndicatorTypesResourceWithRawResponse,
79-
AsyncIndicatorTypesResourceWithRawResponse,
80-
IndicatorTypesResourceWithStreamingResponse,
81-
AsyncIndicatorTypesResourceWithStreamingResponse,
82-
)
8375
from .target_industries import (
8476
TargetIndustriesResource,
8577
AsyncTargetIndustriesResource,
@@ -114,12 +106,6 @@
114106
"AsyncDatasetsResourceWithRawResponse",
115107
"DatasetsResourceWithStreamingResponse",
116108
"AsyncDatasetsResourceWithStreamingResponse",
117-
"IndicatorTypesResource",
118-
"AsyncIndicatorTypesResource",
119-
"IndicatorTypesResourceWithRawResponse",
120-
"AsyncIndicatorTypesResourceWithRawResponse",
121-
"IndicatorTypesResourceWithStreamingResponse",
122-
"AsyncIndicatorTypesResourceWithStreamingResponse",
123109
"RawResource",
124110
"AsyncRawResource",
125111
"RawResourceWithRawResponse",

0 commit comments

Comments
 (0)