Skip to content

Commit 4d6fa5a

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat: OpenAPI spec update via Stainless API (#65)
1 parent 413c159 commit 4d6fa5a

File tree

272 files changed

+2388
-9970
lines changed

Some content is hidden

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

272 files changed

+2388
-9970
lines changed

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
configured_endpoints: 1249
1+
configured_endpoints: 1235

api.md

-170
Original file line numberDiff line numberDiff line change
@@ -6461,176 +6461,6 @@ Methods:
64616461

64626462
### Security
64636463

6464-
#### Top
6465-
6466-
##### Ases
6467-
6468-
Types:
6469-
6470-
```python
6471-
from cloudflare.types.radar.email.security.top import AseGetResponse
6472-
```
6473-
6474-
Methods:
6475-
6476-
- <code title="get /radar/email/security/top/ases">client.radar.email.security.top.ases.<a href="./src/cloudflare/resources/radar/email/security/top/ases/ases.py">get</a>(\*\*<a href="src/cloudflare/types/radar/email/security/top/ase_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/security/top/ase_get_response.py">AseGetResponse</a></code>
6477-
6478-
###### ARC
6479-
6480-
Types:
6481-
6482-
```python
6483-
from cloudflare.types.radar.email.security.top.ases import ARCGetResponse
6484-
```
6485-
6486-
Methods:
6487-
6488-
- <code title="get /radar/email/security/top/ases/arc/{arc}">client.radar.email.security.top.ases.arc.<a href="./src/cloudflare/resources/radar/email/security/top/ases/arc.py">get</a>(arc, \*\*<a href="src/cloudflare/types/radar/email/security/top/ases/arc_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/security/top/ases/arc_get_response.py">ARCGetResponse</a></code>
6489-
6490-
###### DKIM
6491-
6492-
Types:
6493-
6494-
```python
6495-
from cloudflare.types.radar.email.security.top.ases import DKIMGetResponse
6496-
```
6497-
6498-
Methods:
6499-
6500-
- <code title="get /radar/email/security/top/ases/dkim/{dkim}">client.radar.email.security.top.ases.dkim.<a href="./src/cloudflare/resources/radar/email/security/top/ases/dkim.py">get</a>(dkim, \*\*<a href="src/cloudflare/types/radar/email/security/top/ases/dkim_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/security/top/ases/dkim_get_response.py">DKIMGetResponse</a></code>
6501-
6502-
###### DMARC
6503-
6504-
Types:
6505-
6506-
```python
6507-
from cloudflare.types.radar.email.security.top.ases import DMARCGetResponse
6508-
```
6509-
6510-
Methods:
6511-
6512-
- <code title="get /radar/email/security/top/ases/dmarc/{dmarc}">client.radar.email.security.top.ases.dmarc.<a href="./src/cloudflare/resources/radar/email/security/top/ases/dmarc.py">get</a>(dmarc, \*\*<a href="src/cloudflare/types/radar/email/security/top/ases/dmarc_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/security/top/ases/dmarc_get_response.py">DMARCGetResponse</a></code>
6513-
6514-
###### Malicious
6515-
6516-
Types:
6517-
6518-
```python
6519-
from cloudflare.types.radar.email.security.top.ases import MaliciousGetResponse
6520-
```
6521-
6522-
Methods:
6523-
6524-
- <code title="get /radar/email/security/top/ases/malicious/{malicious}">client.radar.email.security.top.ases.malicious.<a href="./src/cloudflare/resources/radar/email/security/top/ases/malicious.py">get</a>(malicious, \*\*<a href="src/cloudflare/types/radar/email/security/top/ases/malicious_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/security/top/ases/malicious_get_response.py">MaliciousGetResponse</a></code>
6525-
6526-
###### Spam
6527-
6528-
Types:
6529-
6530-
```python
6531-
from cloudflare.types.radar.email.security.top.ases import SpamGetResponse
6532-
```
6533-
6534-
Methods:
6535-
6536-
- <code title="get /radar/email/security/top/ases/spam/{spam}">client.radar.email.security.top.ases.spam.<a href="./src/cloudflare/resources/radar/email/security/top/ases/spam.py">get</a>(spam, \*\*<a href="src/cloudflare/types/radar/email/security/top/ases/spam_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/security/top/ases/spam_get_response.py">SpamGetResponse</a></code>
6537-
6538-
###### SPF
6539-
6540-
Types:
6541-
6542-
```python
6543-
from cloudflare.types.radar.email.security.top.ases import SPFGetResponse
6544-
```
6545-
6546-
Methods:
6547-
6548-
- <code title="get /radar/email/security/top/ases/spf/{spf}">client.radar.email.security.top.ases.spf.<a href="./src/cloudflare/resources/radar/email/security/top/ases/spf.py">get</a>(spf, \*\*<a href="src/cloudflare/types/radar/email/security/top/ases/spf_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/security/top/ases/spf_get_response.py">SPFGetResponse</a></code>
6549-
6550-
##### Locations
6551-
6552-
Types:
6553-
6554-
```python
6555-
from cloudflare.types.radar.email.security.top import LocationGetResponse
6556-
```
6557-
6558-
Methods:
6559-
6560-
- <code title="get /radar/email/security/top/locations">client.radar.email.security.top.locations.<a href="./src/cloudflare/resources/radar/email/security/top/locations/locations.py">get</a>(\*\*<a href="src/cloudflare/types/radar/email/security/top/location_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/security/top/location_get_response.py">LocationGetResponse</a></code>
6561-
6562-
###### ARC
6563-
6564-
Types:
6565-
6566-
```python
6567-
from cloudflare.types.radar.email.security.top.locations import ARCGetResponse
6568-
```
6569-
6570-
Methods:
6571-
6572-
- <code title="get /radar/email/security/top/locations/arc/{arc}">client.radar.email.security.top.locations.arc.<a href="./src/cloudflare/resources/radar/email/security/top/locations/arc.py">get</a>(arc, \*\*<a href="src/cloudflare/types/radar/email/security/top/locations/arc_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/security/top/locations/arc_get_response.py">ARCGetResponse</a></code>
6573-
6574-
###### DKIM
6575-
6576-
Types:
6577-
6578-
```python
6579-
from cloudflare.types.radar.email.security.top.locations import DKIMGetResponse
6580-
```
6581-
6582-
Methods:
6583-
6584-
- <code title="get /radar/email/security/top/locations/dkim/{dkim}">client.radar.email.security.top.locations.dkim.<a href="./src/cloudflare/resources/radar/email/security/top/locations/dkim.py">get</a>(dkim, \*\*<a href="src/cloudflare/types/radar/email/security/top/locations/dkim_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/security/top/locations/dkim_get_response.py">DKIMGetResponse</a></code>
6585-
6586-
###### DMARC
6587-
6588-
Types:
6589-
6590-
```python
6591-
from cloudflare.types.radar.email.security.top.locations import DMARCGetResponse
6592-
```
6593-
6594-
Methods:
6595-
6596-
- <code title="get /radar/email/security/top/locations/dmarc/{dmarc}">client.radar.email.security.top.locations.dmarc.<a href="./src/cloudflare/resources/radar/email/security/top/locations/dmarc.py">get</a>(dmarc, \*\*<a href="src/cloudflare/types/radar/email/security/top/locations/dmarc_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/security/top/locations/dmarc_get_response.py">DMARCGetResponse</a></code>
6597-
6598-
###### Malicious
6599-
6600-
Types:
6601-
6602-
```python
6603-
from cloudflare.types.radar.email.security.top.locations import MaliciousGetResponse
6604-
```
6605-
6606-
Methods:
6607-
6608-
- <code title="get /radar/email/security/top/locations/malicious/{malicious}">client.radar.email.security.top.locations.malicious.<a href="./src/cloudflare/resources/radar/email/security/top/locations/malicious.py">get</a>(malicious, \*\*<a href="src/cloudflare/types/radar/email/security/top/locations/malicious_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/security/top/locations/malicious_get_response.py">MaliciousGetResponse</a></code>
6609-
6610-
###### Spam
6611-
6612-
Types:
6613-
6614-
```python
6615-
from cloudflare.types.radar.email.security.top.locations import SpamGetResponse
6616-
```
6617-
6618-
Methods:
6619-
6620-
- <code title="get /radar/email/security/top/locations/spam/{spam}">client.radar.email.security.top.locations.spam.<a href="./src/cloudflare/resources/radar/email/security/top/locations/spam.py">get</a>(spam, \*\*<a href="src/cloudflare/types/radar/email/security/top/locations/spam_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/security/top/locations/spam_get_response.py">SpamGetResponse</a></code>
6621-
6622-
###### SPF
6623-
6624-
Types:
6625-
6626-
```python
6627-
from cloudflare.types.radar.email.security.top.locations import SPFGetResponse
6628-
```
6629-
6630-
Methods:
6631-
6632-
- <code title="get /radar/email/security/top/locations/spf/{spf}">client.radar.email.security.top.locations.spf.<a href="./src/cloudflare/resources/radar/email/security/top/locations/spf.py">get</a>(spf, \*\*<a href="src/cloudflare/types/radar/email/security/top/locations/spf_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/email/security/top/locations/spf_get_response.py">SPFGetResponse</a></code>
6633-
66346464
#### Summary
66356465

66366466
Types:

src/cloudflare/resources/radar/as112/as112.py

+12
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def timeseries(
7777
*,
7878
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
7979
asn: List[str] | NotGiven = NOT_GIVEN,
80+
continent: List[str] | NotGiven = NOT_GIVEN,
8081
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
8182
date_range: List[
8283
Literal[
@@ -121,6 +122,10 @@ def timeseries(
121122
For example, `-174, 3356` excludes results from AS174, but includes results from
122123
AS3356.
123124
125+
continent: Array of comma separated list of continents (alpha-2 continent codes). Start
126+
with `-` to exclude from results. For example, `-EU,NA` excludes results from
127+
Europe, but includes results from North America.
128+
124129
date_end: End of the date range (inclusive).
125130
126131
date_range: For example, use `7d` and `7dControl` to compare this week with the previous
@@ -156,6 +161,7 @@ def timeseries(
156161
{
157162
"agg_interval": agg_interval,
158163
"asn": asn,
164+
"continent": continent,
159165
"date_end": date_end,
160166
"date_range": date_range,
161167
"date_start": date_start,
@@ -197,6 +203,7 @@ async def timeseries(
197203
*,
198204
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
199205
asn: List[str] | NotGiven = NOT_GIVEN,
206+
continent: List[str] | NotGiven = NOT_GIVEN,
200207
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
201208
date_range: List[
202209
Literal[
@@ -241,6 +248,10 @@ async def timeseries(
241248
For example, `-174, 3356` excludes results from AS174, but includes results from
242249
AS3356.
243250
251+
continent: Array of comma separated list of continents (alpha-2 continent codes). Start
252+
with `-` to exclude from results. For example, `-EU,NA` excludes results from
253+
Europe, but includes results from North America.
254+
244255
date_end: End of the date range (inclusive).
245256
246257
date_range: For example, use `7d` and `7dControl` to compare this week with the previous
@@ -276,6 +287,7 @@ async def timeseries(
276287
{
277288
"agg_interval": agg_interval,
278289
"asn": asn,
290+
"continent": continent,
279291
"date_end": date_end,
280292
"date_range": date_range,
281293
"date_start": date_start,

0 commit comments

Comments
 (0)