Skip to content

Commit 7476108

Browse files
chore(api): update composite API spec
1 parent 36ca7ff commit 7476108

188 files changed

Lines changed: 1970 additions & 16808 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: 1822
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-7492bc33f84221ee63fe654c22680333788bfd2dfe8985c58f9d3db555ffca2b.yml
3-
openapi_spec_hash: b454db8aa8af2160a780a5b69445f3a4
1+
configured_endpoints: 1784
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-dc74d0ad57a48a9c661dba02d85a87e2a3d49a5e28dfadfe220d121dc8f923a3.yml
3+
openapi_spec_hash: 74feca1304da3345536352544a3d4def
44
config_hash: 107e0f1f8a98b007260b319226b88b3c

api.md

Lines changed: 25 additions & 251 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,
@@ -126,7 +124,6 @@
126124
origin_ca_certificates,
127125
origin_tls_client_auth,
128126
certificate_authorities,
129-
leaked_credential_checks,
130127
magic_network_monitoring,
131128
origin_post_quantum_encryption,
132129
)
@@ -142,7 +139,6 @@
142139
from .resources.rum.rum import RUMResource, AsyncRUMResource
143140
from .resources.ssl.ssl import SSLResource, AsyncSSLResource
144141
from .resources.argo.argo import ArgoResource, AsyncArgoResource
145-
from .resources.logs.logs import LogsResource, AsyncLogsResource
146142
from .resources.pipelines import PipelinesResource, AsyncPipelinesResource
147143
from .resources.user.user import UserResource, AsyncUserResource
148144
from .resources.web3.web3 import Web3Resource, AsyncWeb3Resource
@@ -184,7 +180,6 @@
184180
from .resources.registrar.registrar import RegistrarResource, AsyncRegistrarResource
185181
from .resources.turnstile.turnstile import TurnstileResource, AsyncTurnstileResource
186182
from .resources.vectorize.vectorize import VectorizeResource, AsyncVectorizeResource
187-
from .resources.workflows.workflows import WorkflowsResource, AsyncWorkflowsResource
188183
from .resources.keyless_certificates import KeylessCertificatesResource, AsyncKeylessCertificatesResource
189184
from .resources.addressing.addressing import AddressingResource, AsyncAddressingResource
190185
from .resources.ai_gateway.ai_gateway import AIGatewayResource, AsyncAIGatewayResource
@@ -244,10 +239,6 @@
244239
CertificateAuthoritiesResource,
245240
AsyncCertificateAuthoritiesResource,
246241
)
247-
from .resources.leaked_credential_checks.leaked_credential_checks import (
248-
LeakedCredentialChecksResource,
249-
AsyncLeakedCredentialChecksResource,
250-
)
251242
from .resources.magic_network_monitoring.magic_network_monitoring import (
252243
MagicNetworkMonitoringResource,
253244
AsyncMagicNetworkMonitoringResource,
@@ -493,12 +484,6 @@ def logpush(self) -> LogpushResource:
493484

494485
return LogpushResource(self)
495486

496-
@cached_property
497-
def logs(self) -> LogsResource:
498-
from .resources.logs import LogsResource
499-
500-
return LogsResource(self)
501-
502487
@cached_property
503488
def origin_tls_client_auth(self) -> OriginTLSClientAuthResource:
504489
from .resources.origin_tls_client_auth import OriginTLSClientAuthResource
@@ -841,24 +826,12 @@ def security_txt(self) -> SecurityTXTResource:
841826

842827
return SecurityTXTResource(self)
843828

844-
@cached_property
845-
def workflows(self) -> WorkflowsResource:
846-
from .resources.workflows import WorkflowsResource
847-
848-
return WorkflowsResource(self)
849-
850829
@cached_property
851830
def resource_sharing(self) -> ResourceSharingResource:
852831
from .resources.resource_sharing import ResourceSharingResource
853832

854833
return ResourceSharingResource(self)
855834

856-
@cached_property
857-
def leaked_credential_checks(self) -> LeakedCredentialChecksResource:
858-
from .resources.leaked_credential_checks import LeakedCredentialChecksResource
859-
860-
return LeakedCredentialChecksResource(self)
861-
862835
@cached_property
863836
def content_scanning(self) -> ContentScanningResource:
864837
from .resources.content_scanning import ContentScanningResource
@@ -1325,12 +1298,6 @@ def logpush(self) -> AsyncLogpushResource:
13251298

13261299
return AsyncLogpushResource(self)
13271300

1328-
@cached_property
1329-
def logs(self) -> AsyncLogsResource:
1330-
from .resources.logs import AsyncLogsResource
1331-
1332-
return AsyncLogsResource(self)
1333-
13341301
@cached_property
13351302
def origin_tls_client_auth(self) -> AsyncOriginTLSClientAuthResource:
13361303
from .resources.origin_tls_client_auth import AsyncOriginTLSClientAuthResource
@@ -1673,24 +1640,12 @@ def security_txt(self) -> AsyncSecurityTXTResource:
16731640

16741641
return AsyncSecurityTXTResource(self)
16751642

1676-
@cached_property
1677-
def workflows(self) -> AsyncWorkflowsResource:
1678-
from .resources.workflows import AsyncWorkflowsResource
1679-
1680-
return AsyncWorkflowsResource(self)
1681-
16821643
@cached_property
16831644
def resource_sharing(self) -> AsyncResourceSharingResource:
16841645
from .resources.resource_sharing import AsyncResourceSharingResource
16851646

16861647
return AsyncResourceSharingResource(self)
16871648

1688-
@cached_property
1689-
def leaked_credential_checks(self) -> AsyncLeakedCredentialChecksResource:
1690-
from .resources.leaked_credential_checks import AsyncLeakedCredentialChecksResource
1691-
1692-
return AsyncLeakedCredentialChecksResource(self)
1693-
16941649
@cached_property
16951650
def content_scanning(self) -> AsyncContentScanningResource:
16961651
from .resources.content_scanning import AsyncContentScanningResource
@@ -2085,12 +2040,6 @@ def logpush(self) -> logpush.LogpushResourceWithRawResponse:
20852040

20862041
return LogpushResourceWithRawResponse(self._client.logpush)
20872042

2088-
@cached_property
2089-
def logs(self) -> logs.LogsResourceWithRawResponse:
2090-
from .resources.logs import LogsResourceWithRawResponse
2091-
2092-
return LogsResourceWithRawResponse(self._client.logs)
2093-
20942043
@cached_property
20952044
def origin_tls_client_auth(self) -> origin_tls_client_auth.OriginTLSClientAuthResourceWithRawResponse:
20962045
from .resources.origin_tls_client_auth import OriginTLSClientAuthResourceWithRawResponse
@@ -2435,24 +2384,12 @@ def security_txt(self) -> security_txt.SecurityTXTResourceWithRawResponse:
24352384

24362385
return SecurityTXTResourceWithRawResponse(self._client.security_txt)
24372386

2438-
@cached_property
2439-
def workflows(self) -> workflows.WorkflowsResourceWithRawResponse:
2440-
from .resources.workflows import WorkflowsResourceWithRawResponse
2441-
2442-
return WorkflowsResourceWithRawResponse(self._client.workflows)
2443-
24442387
@cached_property
24452388
def resource_sharing(self) -> resource_sharing.ResourceSharingResourceWithRawResponse:
24462389
from .resources.resource_sharing import ResourceSharingResourceWithRawResponse
24472390

24482391
return ResourceSharingResourceWithRawResponse(self._client.resource_sharing)
24492392

2450-
@cached_property
2451-
def leaked_credential_checks(self) -> leaked_credential_checks.LeakedCredentialChecksResourceWithRawResponse:
2452-
from .resources.leaked_credential_checks import LeakedCredentialChecksResourceWithRawResponse
2453-
2454-
return LeakedCredentialChecksResourceWithRawResponse(self._client.leaked_credential_checks)
2455-
24562393
@cached_property
24572394
def content_scanning(self) -> content_scanning.ContentScanningResourceWithRawResponse:
24582395
from .resources.content_scanning import ContentScanningResourceWithRawResponse
@@ -2664,12 +2601,6 @@ def logpush(self) -> logpush.AsyncLogpushResourceWithRawResponse:
26642601

26652602
return AsyncLogpushResourceWithRawResponse(self._client.logpush)
26662603

2667-
@cached_property
2668-
def logs(self) -> logs.AsyncLogsResourceWithRawResponse:
2669-
from .resources.logs import AsyncLogsResourceWithRawResponse
2670-
2671-
return AsyncLogsResourceWithRawResponse(self._client.logs)
2672-
26732604
@cached_property
26742605
def origin_tls_client_auth(self) -> origin_tls_client_auth.AsyncOriginTLSClientAuthResourceWithRawResponse:
26752606
from .resources.origin_tls_client_auth import AsyncOriginTLSClientAuthResourceWithRawResponse
@@ -3014,24 +2945,12 @@ def security_txt(self) -> security_txt.AsyncSecurityTXTResourceWithRawResponse:
30142945

30152946
return AsyncSecurityTXTResourceWithRawResponse(self._client.security_txt)
30162947

3017-
@cached_property
3018-
def workflows(self) -> workflows.AsyncWorkflowsResourceWithRawResponse:
3019-
from .resources.workflows import AsyncWorkflowsResourceWithRawResponse
3020-
3021-
return AsyncWorkflowsResourceWithRawResponse(self._client.workflows)
3022-
30232948
@cached_property
30242949
def resource_sharing(self) -> resource_sharing.AsyncResourceSharingResourceWithRawResponse:
30252950
from .resources.resource_sharing import AsyncResourceSharingResourceWithRawResponse
30262951

30272952
return AsyncResourceSharingResourceWithRawResponse(self._client.resource_sharing)
30282953

3029-
@cached_property
3030-
def leaked_credential_checks(self) -> leaked_credential_checks.AsyncLeakedCredentialChecksResourceWithRawResponse:
3031-
from .resources.leaked_credential_checks import AsyncLeakedCredentialChecksResourceWithRawResponse
3032-
3033-
return AsyncLeakedCredentialChecksResourceWithRawResponse(self._client.leaked_credential_checks)
3034-
30352954
@cached_property
30362955
def content_scanning(self) -> content_scanning.AsyncContentScanningResourceWithRawResponse:
30372956
from .resources.content_scanning import AsyncContentScanningResourceWithRawResponse
@@ -3243,12 +3162,6 @@ def logpush(self) -> logpush.LogpushResourceWithStreamingResponse:
32433162

32443163
return LogpushResourceWithStreamingResponse(self._client.logpush)
32453164

3246-
@cached_property
3247-
def logs(self) -> logs.LogsResourceWithStreamingResponse:
3248-
from .resources.logs import LogsResourceWithStreamingResponse
3249-
3250-
return LogsResourceWithStreamingResponse(self._client.logs)
3251-
32523165
@cached_property
32533166
def origin_tls_client_auth(self) -> origin_tls_client_auth.OriginTLSClientAuthResourceWithStreamingResponse:
32543167
from .resources.origin_tls_client_auth import OriginTLSClientAuthResourceWithStreamingResponse
@@ -3593,24 +3506,12 @@ def security_txt(self) -> security_txt.SecurityTXTResourceWithStreamingResponse:
35933506

35943507
return SecurityTXTResourceWithStreamingResponse(self._client.security_txt)
35953508

3596-
@cached_property
3597-
def workflows(self) -> workflows.WorkflowsResourceWithStreamingResponse:
3598-
from .resources.workflows import WorkflowsResourceWithStreamingResponse
3599-
3600-
return WorkflowsResourceWithStreamingResponse(self._client.workflows)
3601-
36023509
@cached_property
36033510
def resource_sharing(self) -> resource_sharing.ResourceSharingResourceWithStreamingResponse:
36043511
from .resources.resource_sharing import ResourceSharingResourceWithStreamingResponse
36053512

36063513
return ResourceSharingResourceWithStreamingResponse(self._client.resource_sharing)
36073514

3608-
@cached_property
3609-
def leaked_credential_checks(self) -> leaked_credential_checks.LeakedCredentialChecksResourceWithStreamingResponse:
3610-
from .resources.leaked_credential_checks import LeakedCredentialChecksResourceWithStreamingResponse
3611-
3612-
return LeakedCredentialChecksResourceWithStreamingResponse(self._client.leaked_credential_checks)
3613-
36143515
@cached_property
36153516
def content_scanning(self) -> content_scanning.ContentScanningResourceWithStreamingResponse:
36163517
from .resources.content_scanning import ContentScanningResourceWithStreamingResponse
@@ -3824,12 +3725,6 @@ def logpush(self) -> logpush.AsyncLogpushResourceWithStreamingResponse:
38243725

38253726
return AsyncLogpushResourceWithStreamingResponse(self._client.logpush)
38263727

3827-
@cached_property
3828-
def logs(self) -> logs.AsyncLogsResourceWithStreamingResponse:
3829-
from .resources.logs import AsyncLogsResourceWithStreamingResponse
3830-
3831-
return AsyncLogsResourceWithStreamingResponse(self._client.logs)
3832-
38333728
@cached_property
38343729
def origin_tls_client_auth(self) -> origin_tls_client_auth.AsyncOriginTLSClientAuthResourceWithStreamingResponse:
38353730
from .resources.origin_tls_client_auth import AsyncOriginTLSClientAuthResourceWithStreamingResponse
@@ -4180,26 +4075,12 @@ def security_txt(self) -> security_txt.AsyncSecurityTXTResourceWithStreamingResp
41804075

41814076
return AsyncSecurityTXTResourceWithStreamingResponse(self._client.security_txt)
41824077

4183-
@cached_property
4184-
def workflows(self) -> workflows.AsyncWorkflowsResourceWithStreamingResponse:
4185-
from .resources.workflows import AsyncWorkflowsResourceWithStreamingResponse
4186-
4187-
return AsyncWorkflowsResourceWithStreamingResponse(self._client.workflows)
4188-
41894078
@cached_property
41904079
def resource_sharing(self) -> resource_sharing.AsyncResourceSharingResourceWithStreamingResponse:
41914080
from .resources.resource_sharing import AsyncResourceSharingResourceWithStreamingResponse
41924081

41934082
return AsyncResourceSharingResourceWithStreamingResponse(self._client.resource_sharing)
41944083

4195-
@cached_property
4196-
def leaked_credential_checks(
4197-
self,
4198-
) -> leaked_credential_checks.AsyncLeakedCredentialChecksResourceWithStreamingResponse:
4199-
from .resources.leaked_credential_checks import AsyncLeakedCredentialChecksResourceWithStreamingResponse
4200-
4201-
return AsyncLeakedCredentialChecksResourceWithStreamingResponse(self._client.leaked_credential_checks)
4202-
42034084
@cached_property
42044085
def content_scanning(self) -> content_scanning.AsyncContentScanningResourceWithStreamingResponse:
42054086
from .resources.content_scanning import AsyncContentScanningResourceWithStreamingResponse

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)