Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Mar 19, 2024
1 parent cfb5305 commit 9f3a5e7
Show file tree
Hide file tree
Showing 30 changed files with 1 addition and 2,431 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 1288
configured_endpoints: 1284
40 changes: 0 additions & 40 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1688,32 +1688,6 @@ Methods:
- <code title="post /zones/{zone_id}/dns_records/import">client.dns.records.<a href="./src/cloudflare/resources/dns/records.py">import\_</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/dns/record_import_params.py">params</a>) -> <a href="./src/cloudflare/types/dns/record_import_response.py">RecordImportResponse</a></code>
- <code title="post /zones/{zone_id}/dns_records/scan">client.dns.records.<a href="./src/cloudflare/resources/dns/records.py">scan</a>(\*, zone_id) -> <a href="./src/cloudflare/types/dns/record_scan_response.py">RecordScanResponse</a></code>

## Analytics

### Reports

Types:

```python
from cloudflare.types.dns.analytics import DNSDNSAnalyticsAPIReport
```

Methods:

- <code title="get /zones/{identifier}/dns_analytics/report">client.dns.analytics.reports.<a href="./src/cloudflare/resources/dns/analytics/reports/reports.py">get</a>(identifier, \*\*<a href="src/cloudflare/types/dns/analytics/report_get_params.py">params</a>) -> <a href="./src/cloudflare/types/dns/analytics/dns_dns_analytics_api_report.py">DNSDNSAnalyticsAPIReport</a></code>

#### Bytimes

Types:

```python
from cloudflare.types.dns.analytics.reports import DNSDNSAnalyticsAPIReportBytime
```

Methods:

- <code title="get /zones/{identifier}/dns_analytics/report/bytime">client.dns.analytics.reports.bytimes.<a href="./src/cloudflare/resources/dns/analytics/reports/bytimes.py">get</a>(identifier, \*\*<a href="src/cloudflare/types/dns/analytics/reports/bytime_get_params.py">params</a>) -> <a href="./src/cloudflare/types/dns/analytics/reports/dns_dns_analytics_api_report_bytime.py">DNSDNSAnalyticsAPIReportBytime</a></code>

## Firewall

Types:
Expand All @@ -1730,20 +1704,6 @@ Methods:
- <code title="patch /accounts/{account_id}/dns_firewall/{dns_firewall_id}">client.dns.firewall.<a href="./src/cloudflare/resources/dns/firewall/firewall.py">edit</a>(dns_firewall_id, \*, account_id, \*\*<a href="src/cloudflare/types/dns/firewall_edit_params.py">params</a>) -> <a href="./src/cloudflare/types/dns/dns_firewall_dns_firewall.py">DNSFirewallDNSFirewall</a></code>
- <code title="get /accounts/{account_id}/dns_firewall/{dns_firewall_id}">client.dns.firewall.<a href="./src/cloudflare/resources/dns/firewall/firewall.py">get</a>(dns_firewall_id, \*, account_id) -> <a href="./src/cloudflare/types/dns/dns_firewall_dns_firewall.py">DNSFirewallDNSFirewall</a></code>

### Analytics

#### Reports

Methods:

- <code title="get /accounts/{account_identifier}/dns_firewall/{identifier}/dns_analytics/report">client.dns.firewall.analytics.reports.<a href="./src/cloudflare/resources/dns/firewall/analytics/reports/reports.py">get</a>(identifier, \*, account_identifier, \*\*<a href="src/cloudflare/types/dns/firewall/analytics/report_get_params.py">params</a>) -> <a href="./src/cloudflare/types/dns/analytics/dns_dns_analytics_api_report.py">DNSDNSAnalyticsAPIReport</a></code>

##### Bytimes

Methods:

- <code title="get /accounts/{account_identifier}/dns_firewall/{identifier}/dns_analytics/report/bytime">client.dns.firewall.analytics.reports.bytimes.<a href="./src/cloudflare/resources/dns/firewall/analytics/reports/bytimes.py">get</a>(identifier, \*, account_identifier, \*\*<a href="src/cloudflare/types/dns/firewall/analytics/reports/bytime_get_params.py">params</a>) -> <a href="./src/cloudflare/types/dns/analytics/reports/dns_dns_analytics_api_report_bytime.py">DNSDNSAnalyticsAPIReportBytime</a></code>

# DNSSEC

Types:
Expand Down
14 changes: 0 additions & 14 deletions src/cloudflare/resources/dns/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@
FirewallWithStreamingResponse,
AsyncFirewallWithStreamingResponse,
)
from .analytics import (
Analytics,
AsyncAnalytics,
AnalyticsWithRawResponse,
AsyncAnalyticsWithRawResponse,
AnalyticsWithStreamingResponse,
AsyncAnalyticsWithStreamingResponse,
)

__all__ = [
"Records",
Expand All @@ -40,12 +32,6 @@
"AsyncRecordsWithRawResponse",
"RecordsWithStreamingResponse",
"AsyncRecordsWithStreamingResponse",
"Analytics",
"AsyncAnalytics",
"AnalyticsWithRawResponse",
"AsyncAnalyticsWithRawResponse",
"AnalyticsWithStreamingResponse",
"AsyncAnalyticsWithStreamingResponse",
"Firewall",
"AsyncFirewall",
"FirewallWithRawResponse",
Expand Down
33 changes: 0 additions & 33 deletions src/cloudflare/resources/dns/analytics/__init__.py

This file was deleted.

81 changes: 0 additions & 81 deletions src/cloudflare/resources/dns/analytics/analytics.py

This file was deleted.

33 changes: 0 additions & 33 deletions src/cloudflare/resources/dns/analytics/reports/__init__.py

This file was deleted.

Loading

0 comments on commit 9f3a5e7

Please sign in to comment.