Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbfd27f8

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): api update (#2170)
1 parent94403aa commitbfd27f8

27 files changed

+15
-2408
lines changed

‎.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
configured_endpoints:1417
2-
openapi_spec_url:https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4c49562d088783434a838d9fb04f3a71514aaf0ee9096dabf65e3ae0825b8756.yml
1+
configured_endpoints:1411
2+
openapi_spec_url:https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-d8a11058191753bacee9c070940904a1318942d364a2420ad1e253bd450b2bcf.yml

‎api.md

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,42 +1193,8 @@ Methods:
11931193
- <code title="get /accounts/{account_id}/email-security/investigate/{postfix_id}/raw">client.email_security.investigate.<a href="./src/cloudflare/resources/email_security/investigate.py">raw</a>(postfix_id, \*, account_id) -> <a href="./src/cloudflare/types/email_security/investigate_raw_response.py">InvestigateRawResponse</a></code>
11941194
- <code title="get /accounts/{account_id}/email-security/investigate/{postfix_id}/trace">client.email_security.investigate.<a href="./src/cloudflare/resources/email_security/investigate.py">trace</a>(postfix_id, \*, account_id) -> <a href="./src/cloudflare/types/email_security/investigate_trace_response.py">InvestigateTraceResponse</a></code>
11951195

1196-
## Phishguard
1197-
1198-
Types:
1199-
1200-
```python
1201-
from cloudflare.types.email_security import PhishguardListResponse
1202-
```
1203-
1204-
Methods:
1205-
1206-
- <code title="get /accounts/{account_id}/email-security/phishguard/reports">client.email_security.phishguard.<a href="./src/cloudflare/resources/email_security/phishguard.py">list</a>(\*, account_id, \*\*<a href="src/cloudflare/types/email_security/phishguard_list_params.py">params</a>) -> <a href="./src/cloudflare/types/email_security/phishguard_list_response.py">SyncSinglePage[PhishguardListResponse]</a></code>
1207-
12081196
## Settings
12091197

1210-
### AllowPatterns
1211-
1212-
Types:
1213-
1214-
```python
1215-
from cloudflare.types.email_security.settings import (
1216-
AllowPatternCreateResponse,
1217-
AllowPatternListResponse,
1218-
AllowPatternDeleteResponse,
1219-
AllowPatternEditResponse,
1220-
AllowPatternGetResponse,
1221-
)
1222-
```
1223-
1224-
Methods:
1225-
1226-
- <code title="post /accounts/{account_id}/email-security/settings/allow_patterns">client.email_security.settings.allow_patterns.<a href="./src/cloudflare/resources/email_security/settings/allow_patterns.py">create</a>(\*, account_id, \*\*<a href="src/cloudflare/types/email_security/settings/allow_pattern_create_params.py">params</a>) -> <a href="./src/cloudflare/types/email_security/settings/allow_pattern_create_response.py">AllowPatternCreateResponse</a></code>
1227-
- <code title="get /accounts/{account_id}/email-security/settings/allow_patterns">client.email_security.settings.allow_patterns.<a href="./src/cloudflare/resources/email_security/settings/allow_patterns.py">list</a>(\*, account_id, \*\*<a href="src/cloudflare/types/email_security/settings/allow_pattern_list_params.py">params</a>) -> <a href="./src/cloudflare/types/email_security/settings/allow_pattern_list_response.py">SyncV4PagePaginationArray[AllowPatternListResponse]</a></code>
1228-
- <code title="delete /accounts/{account_id}/email-security/settings/allow_patterns/{pattern_id}">client.email_security.settings.allow_patterns.<a href="./src/cloudflare/resources/email_security/settings/allow_patterns.py">delete</a>(pattern_id, \*, account_id) -> <a href="./src/cloudflare/types/email_security/settings/allow_pattern_delete_response.py">AllowPatternDeleteResponse</a></code>
1229-
- <code title="patch /accounts/{account_id}/email-security/settings/allow_patterns/{pattern_id}">client.email_security.settings.allow_patterns.<a href="./src/cloudflare/resources/email_security/settings/allow_patterns.py">edit</a>(pattern_id, \*, account_id, \*\*<a href="src/cloudflare/types/email_security/settings/allow_pattern_edit_params.py">params</a>) -> <a href="./src/cloudflare/types/email_security/settings/allow_pattern_edit_response.py">AllowPatternEditResponse</a></code>
1230-
- <code title="get /accounts/{account_id}/email-security/settings/allow_patterns/{pattern_id}">client.email_security.settings.allow_patterns.<a href="./src/cloudflare/resources/email_security/settings/allow_patterns.py">get</a>(pattern_id, \*, account_id) -> <a href="./src/cloudflare/types/email_security/settings/allow_pattern_get_response.py">AllowPatternGetResponse</a></code>
1231-
12321198
### BlockSenders
12331199

12341200
Types:

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

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@
88
SettingsResourceWithStreamingResponse,
99
AsyncSettingsResourceWithStreamingResponse,
1010
)
11-
from .phishguardimport (
12-
PhishguardResource,
13-
AsyncPhishguardResource,
14-
PhishguardResourceWithRawResponse,
15-
AsyncPhishguardResourceWithRawResponse,
16-
PhishguardResourceWithStreamingResponse,
17-
AsyncPhishguardResourceWithStreamingResponse,
18-
)
1911
from .investigateimport (
2012
InvestigateResource,
2113
AsyncInvestigateResource,
@@ -40,12 +32,6 @@
4032
"AsyncInvestigateResourceWithRawResponse",
4133
"InvestigateResourceWithStreamingResponse",
4234
"AsyncInvestigateResourceWithStreamingResponse",
43-
"PhishguardResource",
44-
"AsyncPhishguardResource",
45-
"PhishguardResourceWithRawResponse",
46-
"AsyncPhishguardResourceWithRawResponse",
47-
"PhishguardResourceWithStreamingResponse",
48-
"AsyncPhishguardResourceWithStreamingResponse",
4935
"SettingsResource",
5036
"AsyncSettingsResource",
5137
"SettingsResourceWithRawResponse",

‎src/cloudflare/resources/email_security/email_security.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@
1111
AsyncSettingsResourceWithStreamingResponse,
1212
)
1313
from ..._compatimportcached_property
14-
from .phishguardimport (
15-
PhishguardResource,
16-
AsyncPhishguardResource,
17-
PhishguardResourceWithRawResponse,
18-
AsyncPhishguardResourceWithRawResponse,
19-
PhishguardResourceWithStreamingResponse,
20-
AsyncPhishguardResourceWithStreamingResponse,
21-
)
2214
from ..._resourceimportSyncAPIResource,AsyncAPIResource
2315
from .investigateimport (
2416
InvestigateResource,
@@ -38,10 +30,6 @@ class EmailSecurityResource(SyncAPIResource):
3830
definvestigate(self)->InvestigateResource:
3931
returnInvestigateResource(self._client)
4032

41-
@cached_property
42-
defphishguard(self)->PhishguardResource:
43-
returnPhishguardResource(self._client)
44-
4533
@cached_property
4634
defsettings(self)->SettingsResource:
4735
returnSettingsResource(self._client)
@@ -71,10 +59,6 @@ class AsyncEmailSecurityResource(AsyncAPIResource):
7159
definvestigate(self)->AsyncInvestigateResource:
7260
returnAsyncInvestigateResource(self._client)
7361

74-
@cached_property
75-
defphishguard(self)->AsyncPhishguardResource:
76-
returnAsyncPhishguardResource(self._client)
77-
7862
@cached_property
7963
defsettings(self)->AsyncSettingsResource:
8064
returnAsyncSettingsResource(self._client)
@@ -107,10 +91,6 @@ def __init__(self, email_security: EmailSecurityResource) -> None:
10791
definvestigate(self)->InvestigateResourceWithRawResponse:
10892
returnInvestigateResourceWithRawResponse(self._email_security.investigate)
10993

110-
@cached_property
111-
defphishguard(self)->PhishguardResourceWithRawResponse:
112-
returnPhishguardResourceWithRawResponse(self._email_security.phishguard)
113-
11494
@cached_property
11595
defsettings(self)->SettingsResourceWithRawResponse:
11696
returnSettingsResourceWithRawResponse(self._email_security.settings)
@@ -124,10 +104,6 @@ def __init__(self, email_security: AsyncEmailSecurityResource) -> None:
124104
definvestigate(self)->AsyncInvestigateResourceWithRawResponse:
125105
returnAsyncInvestigateResourceWithRawResponse(self._email_security.investigate)
126106

127-
@cached_property
128-
defphishguard(self)->AsyncPhishguardResourceWithRawResponse:
129-
returnAsyncPhishguardResourceWithRawResponse(self._email_security.phishguard)
130-
131107
@cached_property
132108
defsettings(self)->AsyncSettingsResourceWithRawResponse:
133109
returnAsyncSettingsResourceWithRawResponse(self._email_security.settings)
@@ -141,10 +117,6 @@ def __init__(self, email_security: EmailSecurityResource) -> None:
141117
definvestigate(self)->InvestigateResourceWithStreamingResponse:
142118
returnInvestigateResourceWithStreamingResponse(self._email_security.investigate)
143119

144-
@cached_property
145-
defphishguard(self)->PhishguardResourceWithStreamingResponse:
146-
returnPhishguardResourceWithStreamingResponse(self._email_security.phishguard)
147-
148120
@cached_property
149121
defsettings(self)->SettingsResourceWithStreamingResponse:
150122
returnSettingsResourceWithStreamingResponse(self._email_security.settings)
@@ -158,10 +130,6 @@ def __init__(self, email_security: AsyncEmailSecurityResource) -> None:
158130
definvestigate(self)->AsyncInvestigateResourceWithStreamingResponse:
159131
returnAsyncInvestigateResourceWithStreamingResponse(self._email_security.investigate)
160132

161-
@cached_property
162-
defphishguard(self)->AsyncPhishguardResourceWithStreamingResponse:
163-
returnAsyncPhishguardResourceWithStreamingResponse(self._email_security.phishguard)
164-
165133
@cached_property
166134
defsettings(self)->AsyncSettingsResourceWithStreamingResponse:
167135
returnAsyncSettingsResourceWithStreamingResponse(self._email_security.settings)

‎src/cloudflare/resources/email_security/phishguard.py

Lines changed: 0 additions & 199 deletions
This file was deleted.

‎src/cloudflare/resources/email_security/settings/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@
2424
BlockSendersResourceWithStreamingResponse,
2525
AsyncBlockSendersResourceWithStreamingResponse,
2626
)
27-
from .allow_patternsimport (
28-
AllowPatternsResource,
29-
AsyncAllowPatternsResource,
30-
AllowPatternsResourceWithRawResponse,
31-
AsyncAllowPatternsResourceWithRawResponse,
32-
AllowPatternsResourceWithStreamingResponse,
33-
AsyncAllowPatternsResourceWithStreamingResponse,
34-
)
3527
from .trusted_domainsimport (
3628
TrustedDomainsResource,
3729
AsyncTrustedDomainsResource,
@@ -50,12 +42,6 @@
5042
)
5143

5244
__all__= [
53-
"AllowPatternsResource",
54-
"AsyncAllowPatternsResource",
55-
"AllowPatternsResourceWithRawResponse",
56-
"AsyncAllowPatternsResourceWithRawResponse",
57-
"AllowPatternsResourceWithStreamingResponse",
58-
"AsyncAllowPatternsResourceWithStreamingResponse",
5945
"BlockSendersResource",
6046
"AsyncBlockSendersResource",
6147
"BlockSendersResourceWithRawResponse",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp