Skip to content

Commit 68ea77d

Browse files
chore(api): update composite API spec
1 parent 9a6518a commit 68ea77d

91 files changed

Lines changed: 3781 additions & 19 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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 2185
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-ea5d30bcded86d4f9fca4175a9bfdd0713e6dea3b9224506ebf03c104e652df7.yml
3-
openapi_spec_hash: 85e897c979f187c5170264420489e9f0
4-
config_hash: 95239e8fc62638979bc21e538307bbe3
1+
configured_endpoints: 2195
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a6c352830d1270d0abb5bb983058ea21815e1bb7d2e163965335dcb0e706f057.yml
3+
openapi_spec_hash: 04d3f0746288b539043c14a9eaab066d
4+
config_hash: 763a29f9838b6c535ff5a0e883bd3209

src/cloudflare/resources/botnet_feed/asn.py

100755100644
File mode changed.

src/cloudflare/resources/botnet_feed/botnet_feed.py

100755100644
File mode changed.

src/cloudflare/resources/botnet_feed/configs/__init__.py

100755100644
File mode changed.

src/cloudflare/resources/botnet_feed/configs/asn.py

100755100644
File mode changed.

src/cloudflare/resources/botnet_feed/configs/configs.py

100755100644
File mode changed.

src/cloudflare/resources/email_security/api.md

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,82 @@
55
Types:
66

77
```python
8-
from cloudflare.types.email_security import InvestigateListResponse
8+
from cloudflare.types.email_security import InvestigateListResponse, InvestigateGetResponse
99
```
1010

1111
Methods:
1212

1313
- <code title="get /accounts/{account_id}/email-security/investigate">client.email_security.investigate.<a href="./src/cloudflare/resources/email_security/investigate/investigate.py">list</a>(\*, account_id, \*\*<a href="src/cloudflare/types/email_security/investigate_list_params.py">params</a>) -> <a href="./src/cloudflare/types/email_security/investigate_list_response.py">SyncV4PagePaginationArray[InvestigateListResponse]</a></code>
14+
- <code title="get /accounts/{account_id}/email-security/investigate/{investigate_id}">client.email_security.investigate.<a href="./src/cloudflare/resources/email_security/investigate/investigate.py">get</a>(investigate_id, \*, account_id, \*\*<a href="src/cloudflare/types/email_security/investigate_get_params.py">params</a>) -> <a href="./src/cloudflare/types/email_security/investigate_get_response.py">InvestigateGetResponse</a></code>
15+
16+
### Detections
17+
18+
Types:
19+
20+
```python
21+
from cloudflare.types.email_security.investigate import DetectionGetResponse
22+
```
23+
24+
Methods:
25+
26+
- <code title="get /accounts/{account_id}/email-security/investigate/{investigate_id}/detections">client.email_security.investigate.detections.<a href="./src/cloudflare/resources/email_security/investigate/detections.py">get</a>(investigate_id, \*, account_id) -> <a href="./src/cloudflare/types/email_security/investigate/detection_get_response.py">DetectionGetResponse</a></code>
1427

1528
### Preview
1629

1730
Types:
1831

1932
```python
20-
from cloudflare.types.email_security.investigate import PreviewCreateResponse
33+
from cloudflare.types.email_security.investigate import PreviewCreateResponse, PreviewGetResponse
2134
```
2235

2336
Methods:
2437

2538
- <code title="post /accounts/{account_id}/email-security/investigate/preview">client.email_security.investigate.preview.<a href="./src/cloudflare/resources/email_security/investigate/preview.py">create</a>(\*, account_id, \*\*<a href="src/cloudflare/types/email_security/investigate/preview_create_params.py">params</a>) -> <a href="./src/cloudflare/types/email_security/investigate/preview_create_response.py">PreviewCreateResponse</a></code>
39+
- <code title="get /accounts/{account_id}/email-security/investigate/{investigate_id}/preview">client.email_security.investigate.preview.<a href="./src/cloudflare/resources/email_security/investigate/preview.py">get</a>(investigate_id, \*, account_id) -> <a href="./src/cloudflare/types/email_security/investigate/preview_get_response.py">PreviewGetResponse</a></code>
40+
41+
### Raw
42+
43+
Types:
44+
45+
```python
46+
from cloudflare.types.email_security.investigate import RawGetResponse
47+
```
48+
49+
Methods:
50+
51+
- <code title="get /accounts/{account_id}/email-security/investigate/{investigate_id}/raw">client.email_security.investigate.raw.<a href="./src/cloudflare/resources/email_security/investigate/raw.py">get</a>(investigate_id, \*, account_id) -> <a href="./src/cloudflare/types/email_security/investigate/raw_get_response.py">RawGetResponse</a></code>
52+
53+
### Trace
54+
55+
Types:
56+
57+
```python
58+
from cloudflare.types.email_security.investigate import TraceGetResponse
59+
```
60+
61+
Methods:
62+
63+
- <code title="get /accounts/{account_id}/email-security/investigate/{investigate_id}/trace">client.email_security.investigate.trace.<a href="./src/cloudflare/resources/email_security/investigate/trace.py">get</a>(investigate_id, \*, account_id) -> <a href="./src/cloudflare/types/email_security/investigate/trace_get_response.py">TraceGetResponse</a></code>
2664

2765
### Move
2866

2967
Types:
3068

3169
```python
32-
from cloudflare.types.email_security.investigate import MoveBulkResponse
70+
from cloudflare.types.email_security.investigate import MoveCreateResponse, MoveBulkResponse
3371
```
3472

3573
Methods:
3674

75+
- <code title="post /accounts/{account_id}/email-security/investigate/{investigate_id}/move">client.email_security.investigate.move.<a href="./src/cloudflare/resources/email_security/investigate/move.py">create</a>(investigate_id, \*, account_id, \*\*<a href="src/cloudflare/types/email_security/investigate/move_create_params.py">params</a>) -> <a href="./src/cloudflare/types/email_security/investigate/move_create_response.py">SyncSinglePage[MoveCreateResponse]</a></code>
3776
- <code title="post /accounts/{account_id}/email-security/investigate/move">client.email_security.investigate.move.<a href="./src/cloudflare/resources/email_security/investigate/move.py">bulk</a>(\*, account_id, \*\*<a href="src/cloudflare/types/email_security/investigate/move_bulk_params.py">params</a>) -> <a href="./src/cloudflare/types/email_security/investigate/move_bulk_response.py">SyncSinglePage[MoveBulkResponse]</a></code>
3877

78+
### Reclassify
79+
80+
Methods:
81+
82+
- <code title="post /accounts/{account_id}/email-security/investigate/{investigate_id}/reclassify">client.email_security.investigate.reclassify.<a href="./src/cloudflare/resources/email_security/investigate/reclassify.py">create</a>(investigate_id, \*, account_id, \*\*<a href="src/cloudflare/types/email_security/investigate/reclassify_create_params.py">params</a>) -> object</code>
83+
3984
### Release
4085

4186
Types:
@@ -136,13 +181,19 @@ Types:
136181
from cloudflare.types.email_security.settings import (
137182
ImpersonationRegistryCreateResponse,
138183
ImpersonationRegistryListResponse,
184+
ImpersonationRegistryDeleteResponse,
185+
ImpersonationRegistryEditResponse,
186+
ImpersonationRegistryGetResponse,
139187
)
140188
```
141189

142190
Methods:
143191

144192
- <code title="post /accounts/{account_id}/email-security/settings/impersonation_registry">client.email_security.settings.impersonation_registry.<a href="./src/cloudflare/resources/email_security/settings/impersonation_registry.py">create</a>(\*, account_id, \*\*<a href="src/cloudflare/types/email_security/settings/impersonation_registry_create_params.py">params</a>) -> <a href="./src/cloudflare/types/email_security/settings/impersonation_registry_create_response.py">Optional[ImpersonationRegistryCreateResponse]</a></code>
145193
- <code title="get /accounts/{account_id}/email-security/settings/impersonation_registry">client.email_security.settings.impersonation_registry.<a href="./src/cloudflare/resources/email_security/settings/impersonation_registry.py">list</a>(\*, account_id, \*\*<a href="src/cloudflare/types/email_security/settings/impersonation_registry_list_params.py">params</a>) -> <a href="./src/cloudflare/types/email_security/settings/impersonation_registry_list_response.py">SyncV4PagePaginationArray[ImpersonationRegistryListResponse]</a></code>
194+
- <code title="delete /accounts/{account_id}/email-security/settings/impersonation_registry/{impersonation_registry_id}">client.email_security.settings.impersonation_registry.<a href="./src/cloudflare/resources/email_security/settings/impersonation_registry.py">delete</a>(impersonation_registry_id, \*, account_id) -> <a href="./src/cloudflare/types/email_security/settings/impersonation_registry_delete_response.py">Optional[ImpersonationRegistryDeleteResponse]</a></code>
195+
- <code title="patch /accounts/{account_id}/email-security/settings/impersonation_registry/{impersonation_registry_id}">client.email_security.settings.impersonation_registry.<a href="./src/cloudflare/resources/email_security/settings/impersonation_registry.py">edit</a>(impersonation_registry_id, \*, account_id, \*\*<a href="src/cloudflare/types/email_security/settings/impersonation_registry_edit_params.py">params</a>) -> <a href="./src/cloudflare/types/email_security/settings/impersonation_registry_edit_response.py">Optional[ImpersonationRegistryEditResponse]</a></code>
196+
- <code title="get /accounts/{account_id}/email-security/settings/impersonation_registry/{impersonation_registry_id}">client.email_security.settings.impersonation_registry.<a href="./src/cloudflare/resources/email_security/settings/impersonation_registry.py">get</a>(impersonation_registry_id, \*, account_id) -> <a href="./src/cloudflare/types/email_security/settings/impersonation_registry_get_response.py">Optional[ImpersonationRegistryGetResponse]</a></code>
146197

147198
### TrustedDomains
148199

src/cloudflare/resources/email_security/investigate/__init__.py

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3+
from .raw import (
4+
RawResource,
5+
AsyncRawResource,
6+
RawResourceWithRawResponse,
7+
AsyncRawResourceWithRawResponse,
8+
RawResourceWithStreamingResponse,
9+
AsyncRawResourceWithStreamingResponse,
10+
)
311
from .move import (
412
MoveResource,
513
AsyncMoveResource,
@@ -8,6 +16,14 @@
816
MoveResourceWithStreamingResponse,
917
AsyncMoveResourceWithStreamingResponse,
1018
)
19+
from .trace import (
20+
TraceResource,
21+
AsyncTraceResource,
22+
TraceResourceWithRawResponse,
23+
AsyncTraceResourceWithRawResponse,
24+
TraceResourceWithStreamingResponse,
25+
AsyncTraceResourceWithStreamingResponse,
26+
)
1127
from .preview import (
1228
PreviewResource,
1329
AsyncPreviewResource,
@@ -24,6 +40,22 @@
2440
ReleaseResourceWithStreamingResponse,
2541
AsyncReleaseResourceWithStreamingResponse,
2642
)
43+
from .detections import (
44+
DetectionsResource,
45+
AsyncDetectionsResource,
46+
DetectionsResourceWithRawResponse,
47+
AsyncDetectionsResourceWithRawResponse,
48+
DetectionsResourceWithStreamingResponse,
49+
AsyncDetectionsResourceWithStreamingResponse,
50+
)
51+
from .reclassify import (
52+
ReclassifyResource,
53+
AsyncReclassifyResource,
54+
ReclassifyResourceWithRawResponse,
55+
AsyncReclassifyResourceWithRawResponse,
56+
ReclassifyResourceWithStreamingResponse,
57+
AsyncReclassifyResourceWithStreamingResponse,
58+
)
2759
from .investigate import (
2860
InvestigateResource,
2961
AsyncInvestigateResource,
@@ -34,18 +66,42 @@
3466
)
3567

3668
__all__ = [
69+
"DetectionsResource",
70+
"AsyncDetectionsResource",
71+
"DetectionsResourceWithRawResponse",
72+
"AsyncDetectionsResourceWithRawResponse",
73+
"DetectionsResourceWithStreamingResponse",
74+
"AsyncDetectionsResourceWithStreamingResponse",
3775
"PreviewResource",
3876
"AsyncPreviewResource",
3977
"PreviewResourceWithRawResponse",
4078
"AsyncPreviewResourceWithRawResponse",
4179
"PreviewResourceWithStreamingResponse",
4280
"AsyncPreviewResourceWithStreamingResponse",
81+
"RawResource",
82+
"AsyncRawResource",
83+
"RawResourceWithRawResponse",
84+
"AsyncRawResourceWithRawResponse",
85+
"RawResourceWithStreamingResponse",
86+
"AsyncRawResourceWithStreamingResponse",
87+
"TraceResource",
88+
"AsyncTraceResource",
89+
"TraceResourceWithRawResponse",
90+
"AsyncTraceResourceWithRawResponse",
91+
"TraceResourceWithStreamingResponse",
92+
"AsyncTraceResourceWithStreamingResponse",
4393
"MoveResource",
4494
"AsyncMoveResource",
4595
"MoveResourceWithRawResponse",
4696
"AsyncMoveResourceWithRawResponse",
4797
"MoveResourceWithStreamingResponse",
4898
"AsyncMoveResourceWithStreamingResponse",
99+
"ReclassifyResource",
100+
"AsyncReclassifyResource",
101+
"ReclassifyResourceWithRawResponse",
102+
"AsyncReclassifyResourceWithRawResponse",
103+
"ReclassifyResourceWithStreamingResponse",
104+
"AsyncReclassifyResourceWithStreamingResponse",
49105
"ReleaseResource",
50106
"AsyncReleaseResource",
51107
"ReleaseResourceWithRawResponse",

0 commit comments

Comments
 (0)