Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Mar 19, 2024
1 parent fd64895 commit 814d0ca
Show file tree
Hide file tree
Showing 81 changed files with 1 addition and 13,921 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 1284
configured_endpoints: 1244
178 changes: 0 additions & 178 deletions api.md

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions src/cloudflare/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ class Cloudflare(SyncAPIClient):
diagnostics: resources.Diagnostics
images: resources.Images
intel: resources.Intel
magic_transit: resources.MagicTransit
magic_network_monitoring: resources.MagicNetworkMonitoring
mtls_certificates: resources.MTLSCertificates
pages: resources.Pages
Expand Down Expand Up @@ -250,7 +249,6 @@ def __init__(
self.diagnostics = resources.Diagnostics(self)
self.images = resources.Images(self)
self.intel = resources.Intel(self)
self.magic_transit = resources.MagicTransit(self)
self.magic_network_monitoring = resources.MagicNetworkMonitoring(self)
self.mtls_certificates = resources.MTLSCertificates(self)
self.pages = resources.Pages(self)
Expand Down Expand Up @@ -508,7 +506,6 @@ class AsyncCloudflare(AsyncAPIClient):
diagnostics: resources.AsyncDiagnostics
images: resources.AsyncImages
intel: resources.AsyncIntel
magic_transit: resources.AsyncMagicTransit
magic_network_monitoring: resources.AsyncMagicNetworkMonitoring
mtls_certificates: resources.AsyncMTLSCertificates
pages: resources.AsyncPages
Expand Down Expand Up @@ -661,7 +658,6 @@ def __init__(
self.diagnostics = resources.AsyncDiagnostics(self)
self.images = resources.AsyncImages(self)
self.intel = resources.AsyncIntel(self)
self.magic_transit = resources.AsyncMagicTransit(self)
self.magic_network_monitoring = resources.AsyncMagicNetworkMonitoring(self)
self.mtls_certificates = resources.AsyncMTLSCertificates(self)
self.pages = resources.AsyncPages(self)
Expand Down Expand Up @@ -920,7 +916,6 @@ def __init__(self, client: Cloudflare) -> None:
self.diagnostics = resources.DiagnosticsWithRawResponse(client.diagnostics)
self.images = resources.ImagesWithRawResponse(client.images)
self.intel = resources.IntelWithRawResponse(client.intel)
self.magic_transit = resources.MagicTransitWithRawResponse(client.magic_transit)
self.magic_network_monitoring = resources.MagicNetworkMonitoringWithRawResponse(client.magic_network_monitoring)
self.mtls_certificates = resources.MTLSCertificatesWithRawResponse(client.mtls_certificates)
self.pages = resources.PagesWithRawResponse(client.pages)
Expand Down Expand Up @@ -1008,7 +1003,6 @@ def __init__(self, client: AsyncCloudflare) -> None:
self.diagnostics = resources.AsyncDiagnosticsWithRawResponse(client.diagnostics)
self.images = resources.AsyncImagesWithRawResponse(client.images)
self.intel = resources.AsyncIntelWithRawResponse(client.intel)
self.magic_transit = resources.AsyncMagicTransitWithRawResponse(client.magic_transit)
self.magic_network_monitoring = resources.AsyncMagicNetworkMonitoringWithRawResponse(
client.magic_network_monitoring
)
Expand Down Expand Up @@ -1098,7 +1092,6 @@ def __init__(self, client: Cloudflare) -> None:
self.diagnostics = resources.DiagnosticsWithStreamingResponse(client.diagnostics)
self.images = resources.ImagesWithStreamingResponse(client.images)
self.intel = resources.IntelWithStreamingResponse(client.intel)
self.magic_transit = resources.MagicTransitWithStreamingResponse(client.magic_transit)
self.magic_network_monitoring = resources.MagicNetworkMonitoringWithStreamingResponse(
client.magic_network_monitoring
)
Expand Down Expand Up @@ -1192,7 +1185,6 @@ def __init__(self, client: AsyncCloudflare) -> None:
self.diagnostics = resources.AsyncDiagnosticsWithStreamingResponse(client.diagnostics)
self.images = resources.AsyncImagesWithStreamingResponse(client.images)
self.intel = resources.AsyncIntelWithStreamingResponse(client.intel)
self.magic_transit = resources.AsyncMagicTransitWithStreamingResponse(client.magic_transit)
self.magic_network_monitoring = resources.AsyncMagicNetworkMonitoringWithStreamingResponse(
client.magic_network_monitoring
)
Expand Down
14 changes: 0 additions & 14 deletions src/cloudflare/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,14 +416,6 @@
EmailRoutingWithStreamingResponse,
AsyncEmailRoutingWithStreamingResponse,
)
from .magic_transit import (
MagicTransit,
AsyncMagicTransit,
MagicTransitWithRawResponse,
AsyncMagicTransitWithRawResponse,
MagicTransitWithStreamingResponse,
AsyncMagicTransitWithStreamingResponse,
)
from .secondary_dns import (
SecondaryDNS,
AsyncSecondaryDNS,
Expand Down Expand Up @@ -942,12 +934,6 @@
"AsyncIntelWithRawResponse",
"IntelWithStreamingResponse",
"AsyncIntelWithStreamingResponse",
"MagicTransit",
"AsyncMagicTransit",
"MagicTransitWithRawResponse",
"AsyncMagicTransitWithRawResponse",
"MagicTransitWithStreamingResponse",
"AsyncMagicTransitWithStreamingResponse",
"MagicNetworkMonitoring",
"AsyncMagicNetworkMonitoring",
"MagicNetworkMonitoringWithRawResponse",
Expand Down
89 changes: 0 additions & 89 deletions src/cloudflare/resources/magic_transit/__init__.py

This file was deleted.

Loading

0 comments on commit 814d0ca

Please sign in to comment.