Skip to content

Commit 412ed20

Browse files
chore(api): update composite API spec
1 parent ec90778 commit 412ed20

8 files changed

Lines changed: 3 additions & 4647 deletions

File tree

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 1828
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-7a82c42f729d63b7f6ac232f6c30b71a959346d1aa52daf9e50eb1f43d70d1ac.yml
3-
openapi_spec_hash: b93acd5c37e6f6119efc0f466c724f5a
1+
configured_endpoints: 1827
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-bcf05cc2684715bb6e8caf4a1807cdc5778b8df0155a672d51b29669a312b134.yml
3+
openapi_spec_hash: 035b50ae08f7cae174a7be8be49e72cb
44
config_hash: 293d685513e3b1277b3451ba4b08f40b

api.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9809,18 +9809,6 @@ Methods:
98099809

98109810
- <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>
98119811

9812-
# AbuseReports
9813-
9814-
Types:
9815-
9816-
```python
9817-
from cloudflare.types.abuse_reports import AbuseReportCreateResponse
9818-
```
9819-
9820-
Methods:
9821-
9822-
- <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>
9823-
98249812
# AI
98259813

98269814
Types:

src/cloudflare/_client.py

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@
9393
dns_firewall,
9494
healthchecks,
9595
security_txt,
96-
abuse_reports,
9796
email_routing,
9897
magic_transit,
9998
organizations,
@@ -162,7 +161,6 @@
162161
from .resources.zones.zones import ZonesResource, AsyncZonesResource
163162
from .resources.custom_pages import CustomPagesResource, AsyncCustomPagesResource
164163
from .resources.security_txt import SecurityTXTResource, AsyncSecurityTXTResource
165-
from .resources.abuse_reports import AbuseReportsResource, AsyncAbuseReportsResource
166164
from .resources.images.images import ImagesResource, AsyncImagesResource
167165
from .resources.queues.queues import QueuesResource, AsyncQueuesResource
168166
from .resources.stream.stream import StreamResource, AsyncStreamResource
@@ -873,12 +871,6 @@ def content_scanning(self) -> ContentScanningResource:
873871

874872
return ContentScanningResource(self)
875873

876-
@cached_property
877-
def abuse_reports(self) -> AbuseReportsResource:
878-
from .resources.abuse_reports import AbuseReportsResource
879-
880-
return AbuseReportsResource(self)
881-
882874
@cached_property
883875
def ai(self) -> AIResource:
884876
from .resources.ai import AIResource
@@ -1711,12 +1703,6 @@ def content_scanning(self) -> AsyncContentScanningResource:
17111703

17121704
return AsyncContentScanningResource(self)
17131705

1714-
@cached_property
1715-
def abuse_reports(self) -> AsyncAbuseReportsResource:
1716-
from .resources.abuse_reports import AsyncAbuseReportsResource
1717-
1718-
return AsyncAbuseReportsResource(self)
1719-
17201706
@cached_property
17211707
def ai(self) -> AsyncAIResource:
17221708
from .resources.ai import AsyncAIResource
@@ -2479,12 +2465,6 @@ def content_scanning(self) -> content_scanning.ContentScanningResourceWithRawRes
24792465

24802466
return ContentScanningResourceWithRawResponse(self._client.content_scanning)
24812467

2482-
@cached_property
2483-
def abuse_reports(self) -> abuse_reports.AbuseReportsResourceWithRawResponse:
2484-
from .resources.abuse_reports import AbuseReportsResourceWithRawResponse
2485-
2486-
return AbuseReportsResourceWithRawResponse(self._client.abuse_reports)
2487-
24882468
@cached_property
24892469
def ai(self) -> ai.AIResourceWithRawResponse:
24902470
from .resources.ai import AIResourceWithRawResponse
@@ -3064,12 +3044,6 @@ def content_scanning(self) -> content_scanning.AsyncContentScanningResourceWithR
30643044

30653045
return AsyncContentScanningResourceWithRawResponse(self._client.content_scanning)
30663046

3067-
@cached_property
3068-
def abuse_reports(self) -> abuse_reports.AsyncAbuseReportsResourceWithRawResponse:
3069-
from .resources.abuse_reports import AsyncAbuseReportsResourceWithRawResponse
3070-
3071-
return AsyncAbuseReportsResourceWithRawResponse(self._client.abuse_reports)
3072-
30733047
@cached_property
30743048
def ai(self) -> ai.AsyncAIResourceWithRawResponse:
30753049
from .resources.ai import AsyncAIResourceWithRawResponse
@@ -3649,12 +3623,6 @@ def content_scanning(self) -> content_scanning.ContentScanningResourceWithStream
36493623

36503624
return ContentScanningResourceWithStreamingResponse(self._client.content_scanning)
36513625

3652-
@cached_property
3653-
def abuse_reports(self) -> abuse_reports.AbuseReportsResourceWithStreamingResponse:
3654-
from .resources.abuse_reports import AbuseReportsResourceWithStreamingResponse
3655-
3656-
return AbuseReportsResourceWithStreamingResponse(self._client.abuse_reports)
3657-
36583626
@cached_property
36593627
def ai(self) -> ai.AIResourceWithStreamingResponse:
36603628
from .resources.ai import AIResourceWithStreamingResponse
@@ -4244,12 +4212,6 @@ def content_scanning(self) -> content_scanning.AsyncContentScanningResourceWithS
42444212

42454213
return AsyncContentScanningResourceWithStreamingResponse(self._client.content_scanning)
42464214

4247-
@cached_property
4248-
def abuse_reports(self) -> abuse_reports.AsyncAbuseReportsResourceWithStreamingResponse:
4249-
from .resources.abuse_reports import AsyncAbuseReportsResourceWithStreamingResponse
4250-
4251-
return AsyncAbuseReportsResourceWithStreamingResponse(self._client.abuse_reports)
4252-
42534215
@cached_property
42544216
def ai(self) -> ai.AsyncAIResourceWithStreamingResponse:
42554217
from .resources.ai import AsyncAIResourceWithStreamingResponse

0 commit comments

Comments
 (0)