Skip to content

Commit 878ae25

Browse files
feat(api): manual updates (#2349)
1 parent 62ae025 commit 878ae25

29 files changed

+2594
-5
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
configured_endpoints: 1488
1+
configured_endpoints: 1493
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-de70b033c163b7a4d4a11c5c66a7bcf7162020c433006b0d6b2d3e43c5b24df4.yml

api.md

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2692,6 +2692,7 @@ from cloudflare.types.api_gateway import (
26922692
OperationCreateResponse,
26932693
OperationListResponse,
26942694
OperationDeleteResponse,
2695+
OperationBulkCreateResponse,
26952696
OperationBulkDeleteResponse,
26962697
OperationGetResponse,
26972698
)
@@ -2702,6 +2703,7 @@ Methods:
27022703
- <code title="post /zones/{zone_id}/api_gateway/operations/item">client.api_gateway.operations.<a href="./src/cloudflare/resources/api_gateway/operations/operations.py">create</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/api_gateway/operation_create_params.py">params</a>) -> <a href="./src/cloudflare/types/api_gateway/operation_create_response.py">OperationCreateResponse</a></code>
27032704
- <code title="get /zones/{zone_id}/api_gateway/operations">client.api_gateway.operations.<a href="./src/cloudflare/resources/api_gateway/operations/operations.py">list</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/api_gateway/operation_list_params.py">params</a>) -> <a href="./src/cloudflare/types/api_gateway/operation_list_response.py">SyncV4PagePaginationArray[OperationListResponse]</a></code>
27042705
- <code title="delete /zones/{zone_id}/api_gateway/operations/{operation_id}">client.api_gateway.operations.<a href="./src/cloudflare/resources/api_gateway/operations/operations.py">delete</a>(operation_id, \*, zone_id) -> <a href="./src/cloudflare/types/api_gateway/operation_delete_response.py">OperationDeleteResponse</a></code>
2706+
- <code title="post /zones/{zone_id}/api_gateway/operations">client.api_gateway.operations.<a href="./src/cloudflare/resources/api_gateway/operations/operations.py">bulk_create</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/api_gateway/operation_bulk_create_params.py">params</a>) -> <a href="./src/cloudflare/types/api_gateway/operation_bulk_create_response.py">OperationBulkCreateResponse</a></code>
27052707
- <code title="delete /zones/{zone_id}/api_gateway/operations">client.api_gateway.operations.<a href="./src/cloudflare/resources/api_gateway/operations/operations.py">bulk_delete</a>(\*, zone_id) -> <a href="./src/cloudflare/types/api_gateway/operation_bulk_delete_response.py">OperationBulkDeleteResponse</a></code>
27062708
- <code title="get /zones/{zone_id}/api_gateway/operations/{operation_id}">client.api_gateway.operations.<a href="./src/cloudflare/resources/api_gateway/operations/operations.py">get</a>(operation_id, \*, zone_id, \*\*<a href="src/cloudflare/types/api_gateway/operation_get_params.py">params</a>) -> <a href="./src/cloudflare/types/api_gateway/operation_get_response.py">OperationGetResponse</a></code>
27072709

@@ -5647,6 +5649,30 @@ Methods:
56475649
- <code title="post /accounts/{account_id}/dex/commands">client.zero_trust.dex.commands.<a href="./src/cloudflare/resources/zero_trust/dex/commands/commands.py">create</a>(\*, account_id, \*\*<a href="src/cloudflare/types/zero_trust/dex/command_create_params.py">params</a>) -> <a href="./src/cloudflare/types/zero_trust/dex/command_create_response.py">Optional[CommandCreateResponse]</a></code>
56485650
- <code title="get /accounts/{account_id}/dex/commands">client.zero_trust.dex.commands.<a href="./src/cloudflare/resources/zero_trust/dex/commands/commands.py">list</a>(\*, account_id, \*\*<a href="src/cloudflare/types/zero_trust/dex/command_list_params.py">params</a>) -> <a href="./src/cloudflare/types/zero_trust/dex/command_list_response.py">SyncV4PagePagination[Optional[CommandListResponse]]</a></code>
56495651

5652+
#### Users
5653+
5654+
Types:
5655+
5656+
```python
5657+
from cloudflare.types.zero_trust.dex.commands import UserListResponse
5658+
```
5659+
5660+
Methods:
5661+
5662+
- <code title="get /accounts/{account_id}/dex/commands/users">client.zero_trust.dex.commands.users.<a href="./src/cloudflare/resources/zero_trust/dex/commands/users.py">list</a>(\*, account_id, \*\*<a href="src/cloudflare/types/zero_trust/dex/commands/user_list_params.py">params</a>) -> <a href="./src/cloudflare/types/zero_trust/dex/commands/user_list_response.py">Optional[UserListResponse]</a></code>
5663+
5664+
#### Devices
5665+
5666+
Types:
5667+
5668+
```python
5669+
from cloudflare.types.zero_trust.dex.commands import DeviceListResponse
5670+
```
5671+
5672+
Methods:
5673+
5674+
- <code title="get /accounts/{account_id}/dex/commands/devices">client.zero_trust.dex.commands.devices.<a href="./src/cloudflare/resources/zero_trust/dex/commands/devices.py">list</a>(\*, account_id, \*\*<a href="src/cloudflare/types/zero_trust/dex/commands/device_list_params.py">params</a>) -> <a href="./src/cloudflare/types/zero_trust/dex/commands/device_list_response.py">SyncV4PagePagination[Optional[DeviceListResponse]]</a></code>
5675+
56505676
#### Downloads
56515677

56525678
Methods:
@@ -7804,11 +7830,15 @@ Methods:
78047830
Types:
78057831

78067832
```python
7807-
from cloudflare.types.origin_post_quantum_encryption import OriginPostQuantumEncryptionGetResponse
7833+
from cloudflare.types.origin_post_quantum_encryption import (
7834+
OriginPostQuantumEncryptionUpdateResponse,
7835+
OriginPostQuantumEncryptionGetResponse,
7836+
)
78087837
```
78097838

78107839
Methods:
78117840

7841+
- <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>
78127842
- <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>
78137843

78147844
# Speed
@@ -8484,6 +8514,18 @@ Methods:
84848514

84858515
- <code title="get /zones/{zone_id}/content-upload-scan/settings">client.content_scanning.settings.<a href="./src/cloudflare/resources/content_scanning/settings.py">get</a>(\*, zone_id) -> <a href="./src/cloudflare/types/content_scanning/setting_get_response.py">SettingGetResponse</a></code>
84868516

8517+
# AbuseReports
8518+
8519+
Types:
8520+
8521+
```python
8522+
from cloudflare.types.abuse_reports import AbuseReportCreateResponse
8523+
```
8524+
8525+
Methods:
8526+
8527+
- <code title="post /accounts/{account_id}/abuse-reports/{report_type}">client.abuse_reports.<a href="./src/cloudflare/resources/abuse_reports.py">create</a>(report_type, \*, account_id, \*\*<a href="src/cloudflare/types/abuse_reports/abuse_report_create_params.py">params</a>) -> <a href="./src/cloudflare/types/abuse_reports/abuse_report_create_response.py">str</a></code>
8528+
84878529
# AI
84888530

84898531
Types:

src/cloudflare/_client.py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
dns_firewall,
9393
healthchecks,
9494
security_txt,
95+
abuse_reports,
9596
email_routing,
9697
magic_transit,
9798
waiting_rooms,
@@ -150,6 +151,7 @@
150151
from .resources.speed.speed import SpeedResource, AsyncSpeedResource
151152
from .resources.zones.zones import ZonesResource, AsyncZonesResource
152153
from .resources.security_txt import SecurityTXTResource, AsyncSecurityTXTResource
154+
from .resources.abuse_reports import AbuseReportsResource, AsyncAbuseReportsResource
153155
from .resources.images.images import ImagesResource, AsyncImagesResource
154156
from .resources.queues.queues import QueuesResource, AsyncQueuesResource
155157
from .resources.stream.stream import StreamResource, AsyncStreamResource
@@ -818,6 +820,12 @@ def content_scanning(self) -> ContentScanningResource:
818820

819821
return ContentScanningResource(self)
820822

823+
@cached_property
824+
def abuse_reports(self) -> AbuseReportsResource:
825+
from .resources.abuse_reports import AbuseReportsResource
826+
827+
return AbuseReportsResource(self)
828+
821829
@cached_property
822830
def ai(self) -> AIResource:
823831
from .resources.ai import AIResource
@@ -1583,6 +1591,12 @@ def content_scanning(self) -> AsyncContentScanningResource:
15831591

15841592
return AsyncContentScanningResource(self)
15851593

1594+
@cached_property
1595+
def abuse_reports(self) -> AsyncAbuseReportsResource:
1596+
from .resources.abuse_reports import AsyncAbuseReportsResource
1597+
1598+
return AsyncAbuseReportsResource(self)
1599+
15861600
@cached_property
15871601
def ai(self) -> AsyncAIResource:
15881602
from .resources.ai import AsyncAIResource
@@ -2283,6 +2297,12 @@ def content_scanning(self) -> content_scanning.ContentScanningResourceWithRawRes
22832297

22842298
return ContentScanningResourceWithRawResponse(self._client.content_scanning)
22852299

2300+
@cached_property
2301+
def abuse_reports(self) -> abuse_reports.AbuseReportsResourceWithRawResponse:
2302+
from .resources.abuse_reports import AbuseReportsResourceWithRawResponse
2303+
2304+
return AbuseReportsResourceWithRawResponse(self._client.abuse_reports)
2305+
22862306
@cached_property
22872307
def ai(self) -> ai.AIResourceWithRawResponse:
22882308
from .resources.ai import AIResourceWithRawResponse
@@ -2802,6 +2822,12 @@ def content_scanning(self) -> content_scanning.AsyncContentScanningResourceWithR
28022822

28032823
return AsyncContentScanningResourceWithRawResponse(self._client.content_scanning)
28042824

2825+
@cached_property
2826+
def abuse_reports(self) -> abuse_reports.AsyncAbuseReportsResourceWithRawResponse:
2827+
from .resources.abuse_reports import AsyncAbuseReportsResourceWithRawResponse
2828+
2829+
return AsyncAbuseReportsResourceWithRawResponse(self._client.abuse_reports)
2830+
28052831
@cached_property
28062832
def ai(self) -> ai.AsyncAIResourceWithRawResponse:
28072833
from .resources.ai import AsyncAIResourceWithRawResponse
@@ -3321,6 +3347,12 @@ def content_scanning(self) -> content_scanning.ContentScanningResourceWithStream
33213347

33223348
return ContentScanningResourceWithStreamingResponse(self._client.content_scanning)
33233349

3350+
@cached_property
3351+
def abuse_reports(self) -> abuse_reports.AbuseReportsResourceWithStreamingResponse:
3352+
from .resources.abuse_reports import AbuseReportsResourceWithStreamingResponse
3353+
3354+
return AbuseReportsResourceWithStreamingResponse(self._client.abuse_reports)
3355+
33243356
@cached_property
33253357
def ai(self) -> ai.AIResourceWithStreamingResponse:
33263358
from .resources.ai import AIResourceWithStreamingResponse
@@ -3850,6 +3882,12 @@ def content_scanning(self) -> content_scanning.AsyncContentScanningResourceWithS
38503882

38513883
return AsyncContentScanningResourceWithStreamingResponse(self._client.content_scanning)
38523884

3885+
@cached_property
3886+
def abuse_reports(self) -> abuse_reports.AsyncAbuseReportsResourceWithStreamingResponse:
3887+
from .resources.abuse_reports import AsyncAbuseReportsResourceWithStreamingResponse
3888+
3889+
return AsyncAbuseReportsResourceWithStreamingResponse(self._client.abuse_reports)
3890+
38533891
@cached_property
38543892
def ai(self) -> ai.AsyncAIResourceWithStreamingResponse:
38553893
from .resources.ai import AsyncAIResourceWithStreamingResponse

0 commit comments

Comments
 (0)