Skip to content

Commit e428a7a

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

File tree

188 files changed

+16808
-1970
lines changed

Some content is hidden

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

188 files changed

+16808
-1970
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: 1784
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-dc74d0ad57a48a9c661dba02d85a87e2a3d49a5e28dfadfe220d121dc8f923a3.yml
3-
openapi_spec_hash: 74feca1304da3345536352544a3d4def
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
44
config_hash: 107e0f1f8a98b007260b319226b88b3c

api.md

Lines changed: 251 additions & 25 deletions
Large diffs are not rendered by default.

src/cloudflare/_client.py

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
rum,
4646
ssl,
4747
argo,
48+
logs,
4849
user,
4950
web3,
5051
cache,
@@ -74,6 +75,7 @@
7475
registrar,
7576
turnstile,
7677
vectorize,
78+
workflows,
7779
addressing,
7880
ai_gateway,
7981
audit_logs,
@@ -124,6 +126,7 @@
124126
origin_ca_certificates,
125127
origin_tls_client_auth,
126128
certificate_authorities,
129+
leaked_credential_checks,
127130
magic_network_monitoring,
128131
origin_post_quantum_encryption,
129132
)
@@ -139,6 +142,7 @@
139142
from .resources.rum.rum import RUMResource, AsyncRUMResource
140143
from .resources.ssl.ssl import SSLResource, AsyncSSLResource
141144
from .resources.argo.argo import ArgoResource, AsyncArgoResource
145+
from .resources.logs.logs import LogsResource, AsyncLogsResource
142146
from .resources.pipelines import PipelinesResource, AsyncPipelinesResource
143147
from .resources.user.user import UserResource, AsyncUserResource
144148
from .resources.web3.web3 import Web3Resource, AsyncWeb3Resource
@@ -180,6 +184,7 @@
180184
from .resources.registrar.registrar import RegistrarResource, AsyncRegistrarResource
181185
from .resources.turnstile.turnstile import TurnstileResource, AsyncTurnstileResource
182186
from .resources.vectorize.vectorize import VectorizeResource, AsyncVectorizeResource
187+
from .resources.workflows.workflows import WorkflowsResource, AsyncWorkflowsResource
183188
from .resources.keyless_certificates import KeylessCertificatesResource, AsyncKeylessCertificatesResource
184189
from .resources.addressing.addressing import AddressingResource, AsyncAddressingResource
185190
from .resources.ai_gateway.ai_gateway import AIGatewayResource, AsyncAIGatewayResource
@@ -239,6 +244,10 @@
239244
CertificateAuthoritiesResource,
240245
AsyncCertificateAuthoritiesResource,
241246
)
247+
from .resources.leaked_credential_checks.leaked_credential_checks import (
248+
LeakedCredentialChecksResource,
249+
AsyncLeakedCredentialChecksResource,
250+
)
242251
from .resources.magic_network_monitoring.magic_network_monitoring import (
243252
MagicNetworkMonitoringResource,
244253
AsyncMagicNetworkMonitoringResource,
@@ -484,6 +493,12 @@ def logpush(self) -> LogpushResource:
484493

485494
return LogpushResource(self)
486495

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

827842
return SecurityTXTResource(self)
828843

844+
@cached_property
845+
def workflows(self) -> WorkflowsResource:
846+
from .resources.workflows import WorkflowsResource
847+
848+
return WorkflowsResource(self)
849+
829850
@cached_property
830851
def resource_sharing(self) -> ResourceSharingResource:
831852
from .resources.resource_sharing import ResourceSharingResource
832853

833854
return ResourceSharingResource(self)
834855

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

12991326
return AsyncLogpushResource(self)
13001327

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

16411674
return AsyncSecurityTXTResource(self)
16421675

1676+
@cached_property
1677+
def workflows(self) -> AsyncWorkflowsResource:
1678+
from .resources.workflows import AsyncWorkflowsResource
1679+
1680+
return AsyncWorkflowsResource(self)
1681+
16431682
@cached_property
16441683
def resource_sharing(self) -> AsyncResourceSharingResource:
16451684
from .resources.resource_sharing import AsyncResourceSharingResource
16461685

16471686
return AsyncResourceSharingResource(self)
16481687

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

20412086
return LogpushResourceWithRawResponse(self._client.logpush)
20422087

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

23852436
return SecurityTXTResourceWithRawResponse(self._client.security_txt)
23862437

2438+
@cached_property
2439+
def workflows(self) -> workflows.WorkflowsResourceWithRawResponse:
2440+
from .resources.workflows import WorkflowsResourceWithRawResponse
2441+
2442+
return WorkflowsResourceWithRawResponse(self._client.workflows)
2443+
23872444
@cached_property
23882445
def resource_sharing(self) -> resource_sharing.ResourceSharingResourceWithRawResponse:
23892446
from .resources.resource_sharing import ResourceSharingResourceWithRawResponse
23902447

23912448
return ResourceSharingResourceWithRawResponse(self._client.resource_sharing)
23922449

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+
23932456
@cached_property
23942457
def content_scanning(self) -> content_scanning.ContentScanningResourceWithRawResponse:
23952458
from .resources.content_scanning import ContentScanningResourceWithRawResponse
@@ -2601,6 +2664,12 @@ def logpush(self) -> logpush.AsyncLogpushResourceWithRawResponse:
26012664

26022665
return AsyncLogpushResourceWithRawResponse(self._client.logpush)
26032666

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

29463015
return AsyncSecurityTXTResourceWithRawResponse(self._client.security_txt)
29473016

3017+
@cached_property
3018+
def workflows(self) -> workflows.AsyncWorkflowsResourceWithRawResponse:
3019+
from .resources.workflows import AsyncWorkflowsResourceWithRawResponse
3020+
3021+
return AsyncWorkflowsResourceWithRawResponse(self._client.workflows)
3022+
29483023
@cached_property
29493024
def resource_sharing(self) -> resource_sharing.AsyncResourceSharingResourceWithRawResponse:
29503025
from .resources.resource_sharing import AsyncResourceSharingResourceWithRawResponse
29513026

29523027
return AsyncResourceSharingResourceWithRawResponse(self._client.resource_sharing)
29533028

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+
29543035
@cached_property
29553036
def content_scanning(self) -> content_scanning.AsyncContentScanningResourceWithRawResponse:
29563037
from .resources.content_scanning import AsyncContentScanningResourceWithRawResponse
@@ -3162,6 +3243,12 @@ def logpush(self) -> logpush.LogpushResourceWithStreamingResponse:
31623243

31633244
return LogpushResourceWithStreamingResponse(self._client.logpush)
31643245

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

35073594
return SecurityTXTResourceWithStreamingResponse(self._client.security_txt)
35083595

3596+
@cached_property
3597+
def workflows(self) -> workflows.WorkflowsResourceWithStreamingResponse:
3598+
from .resources.workflows import WorkflowsResourceWithStreamingResponse
3599+
3600+
return WorkflowsResourceWithStreamingResponse(self._client.workflows)
3601+
35093602
@cached_property
35103603
def resource_sharing(self) -> resource_sharing.ResourceSharingResourceWithStreamingResponse:
35113604
from .resources.resource_sharing import ResourceSharingResourceWithStreamingResponse
35123605

35133606
return ResourceSharingResourceWithStreamingResponse(self._client.resource_sharing)
35143607

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+
35153614
@cached_property
35163615
def content_scanning(self) -> content_scanning.ContentScanningResourceWithStreamingResponse:
35173616
from .resources.content_scanning import ContentScanningResourceWithStreamingResponse
@@ -3725,6 +3824,12 @@ def logpush(self) -> logpush.AsyncLogpushResourceWithStreamingResponse:
37253824

37263825
return AsyncLogpushResourceWithStreamingResponse(self._client.logpush)
37273826

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

40764181
return AsyncSecurityTXTResourceWithStreamingResponse(self._client.security_txt)
40774182

4183+
@cached_property
4184+
def workflows(self) -> workflows.AsyncWorkflowsResourceWithStreamingResponse:
4185+
from .resources.workflows import AsyncWorkflowsResourceWithStreamingResponse
4186+
4187+
return AsyncWorkflowsResourceWithStreamingResponse(self._client.workflows)
4188+
40784189
@cached_property
40794190
def resource_sharing(self) -> resource_sharing.AsyncResourceSharingResourceWithStreamingResponse:
40804191
from .resources.resource_sharing import AsyncResourceSharingResourceWithStreamingResponse
40814192

40824193
return AsyncResourceSharingResourceWithStreamingResponse(self._client.resource_sharing)
40834194

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+
40844203
@cached_property
40854204
def content_scanning(self) -> content_scanning.AsyncContentScanningResourceWithStreamingResponse:
40864205
from .resources.content_scanning import AsyncContentScanningResourceWithStreamingResponse

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@
7272
ThreatEventsResourceWithStreamingResponse,
7373
AsyncThreatEventsResourceWithStreamingResponse,
7474
)
75+
from .indicator_types import (
76+
IndicatorTypesResource,
77+
AsyncIndicatorTypesResource,
78+
IndicatorTypesResourceWithRawResponse,
79+
AsyncIndicatorTypesResourceWithRawResponse,
80+
IndicatorTypesResourceWithStreamingResponse,
81+
AsyncIndicatorTypesResourceWithStreamingResponse,
82+
)
7583
from .target_industries import (
7684
TargetIndustriesResource,
7785
AsyncTargetIndustriesResource,
@@ -106,6 +114,12 @@
106114
"AsyncDatasetsResourceWithRawResponse",
107115
"DatasetsResourceWithStreamingResponse",
108116
"AsyncDatasetsResourceWithStreamingResponse",
117+
"IndicatorTypesResource",
118+
"AsyncIndicatorTypesResource",
119+
"IndicatorTypesResourceWithRawResponse",
120+
"AsyncIndicatorTypesResourceWithRawResponse",
121+
"IndicatorTypesResourceWithStreamingResponse",
122+
"AsyncIndicatorTypesResourceWithStreamingResponse",
109123
"RawResource",
110124
"AsyncRawResource",
111125
"RawResourceWithRawResponse",

0 commit comments

Comments
 (0)