Skip to content

Commit

Permalink
feat: OpenAPI spec update via Stainless API (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Feb 27, 2024
1 parent aec7370 commit bce0bda
Show file tree
Hide file tree
Showing 272 changed files with 9,970 additions and 2,388 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 1235
configured_endpoints: 1249
170 changes: 170 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -6461,6 +6461,176 @@ Methods:

### Security

#### Top

##### Ases

Types:

```python
from cloudflare.types.radar.email.security.top import AseGetResponse
```

Methods:

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

###### ARC

Types:

```python
from cloudflare.types.radar.email.security.top.ases import ARCGetResponse
```

Methods:

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

###### DKIM

Types:

```python
from cloudflare.types.radar.email.security.top.ases import DKIMGetResponse
```

Methods:

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

###### DMARC

Types:

```python
from cloudflare.types.radar.email.security.top.ases import DMARCGetResponse
```

Methods:

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

###### Malicious

Types:

```python
from cloudflare.types.radar.email.security.top.ases import MaliciousGetResponse
```

Methods:

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

###### Spam

Types:

```python
from cloudflare.types.radar.email.security.top.ases import SpamGetResponse
```

Methods:

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

###### SPF

Types:

```python
from cloudflare.types.radar.email.security.top.ases import SPFGetResponse
```

Methods:

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

##### Locations

Types:

```python
from cloudflare.types.radar.email.security.top import LocationGetResponse
```

Methods:

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

###### ARC

Types:

```python
from cloudflare.types.radar.email.security.top.locations import ARCGetResponse
```

Methods:

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

###### DKIM

Types:

```python
from cloudflare.types.radar.email.security.top.locations import DKIMGetResponse
```

Methods:

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

###### DMARC

Types:

```python
from cloudflare.types.radar.email.security.top.locations import DMARCGetResponse
```

Methods:

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

###### Malicious

Types:

```python
from cloudflare.types.radar.email.security.top.locations import MaliciousGetResponse
```

Methods:

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

###### Spam

Types:

```python
from cloudflare.types.radar.email.security.top.locations import SpamGetResponse
```

Methods:

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

###### SPF

Types:

```python
from cloudflare.types.radar.email.security.top.locations import SPFGetResponse
```

Methods:

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

#### Summary

Types:
Expand Down
12 changes: 0 additions & 12 deletions src/cloudflare/resources/radar/as112/as112.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ def timeseries(
*,
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
asn: List[str] | NotGiven = NOT_GIVEN,
continent: List[str] | NotGiven = NOT_GIVEN,
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
date_range: List[
Literal[
Expand Down Expand Up @@ -122,10 +121,6 @@ def timeseries(
For example, `-174, 3356` excludes results from AS174, but includes results from
AS3356.
continent: Array of comma separated list of continents (alpha-2 continent codes). Start
with `-` to exclude from results. For example, `-EU,NA` excludes results from
Europe, but includes results from North America.
date_end: End of the date range (inclusive).
date_range: For example, use `7d` and `7dControl` to compare this week with the previous
Expand Down Expand Up @@ -161,7 +156,6 @@ def timeseries(
{
"agg_interval": agg_interval,
"asn": asn,
"continent": continent,
"date_end": date_end,
"date_range": date_range,
"date_start": date_start,
Expand Down Expand Up @@ -203,7 +197,6 @@ async def timeseries(
*,
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
asn: List[str] | NotGiven = NOT_GIVEN,
continent: List[str] | NotGiven = NOT_GIVEN,
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
date_range: List[
Literal[
Expand Down Expand Up @@ -248,10 +241,6 @@ async def timeseries(
For example, `-174, 3356` excludes results from AS174, but includes results from
AS3356.
continent: Array of comma separated list of continents (alpha-2 continent codes). Start
with `-` to exclude from results. For example, `-EU,NA` excludes results from
Europe, but includes results from North America.
date_end: End of the date range (inclusive).
date_range: For example, use `7d` and `7dControl` to compare this week with the previous
Expand Down Expand Up @@ -287,7 +276,6 @@ async def timeseries(
{
"agg_interval": agg_interval,
"asn": asn,
"continent": continent,
"date_end": date_end,
"date_range": date_range,
"date_start": date_start,
Expand Down
Loading

0 comments on commit bce0bda

Please sign in to comment.