Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): OpenAPI spec update via Stainless API #398

Merged
merged 1 commit into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1259
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-66dffe82f1ae82ccb13bf0b382257be6906f416a22d1ca4ea74464cfff324775.yml
configured_endpoints: 1258
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-eb69a13d7b51cee2ffd5e3a4a70f4312e20c9830d80be2ecbc7006c8a524d912.yml
4 changes: 0 additions & 4 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3634,10 +3634,6 @@ Types:
from cloudflare.types.intel import Whois
```

Methods:

- <code title="get /accounts/{account_id}/intel/whois">client.intel.whois.<a href="./src/cloudflare/resources/intel/whois.py">get</a>(\*, account_id, \*\*<a href="src/cloudflare/types/intel/whois_get_params.py">params</a>) -> <a href="./src/cloudflare/types/intel/whois.py">Optional</a></code>

## IndicatorFeeds

Types:
Expand Down
14 changes: 0 additions & 14 deletions src/cloudflare/resources/intel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@
IntelResourceWithStreamingResponse,
AsyncIntelResourceWithStreamingResponse,
)
from .whois import (
WhoisResource,
AsyncWhoisResource,
WhoisResourceWithRawResponse,
AsyncWhoisResourceWithRawResponse,
WhoisResourceWithStreamingResponse,
AsyncWhoisResourceWithStreamingResponse,
)
from .domains import (
DomainsResource,
AsyncDomainsResource,
Expand Down Expand Up @@ -140,12 +132,6 @@
"AsyncMiscategorizationsResourceWithRawResponse",
"MiscategorizationsResourceWithStreamingResponse",
"AsyncMiscategorizationsResourceWithStreamingResponse",
"WhoisResource",
"AsyncWhoisResource",
"WhoisResourceWithRawResponse",
"AsyncWhoisResourceWithRawResponse",
"WhoisResourceWithStreamingResponse",
"AsyncWhoisResourceWithStreamingResponse",
"IndicatorFeedsResource",
"AsyncIndicatorFeedsResource",
"IndicatorFeedsResourceWithRawResponse",
Expand Down
32 changes: 0 additions & 32 deletions src/cloudflare/resources/intel/intel.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,6 @@
IPsResourceWithStreamingResponse,
AsyncIPsResourceWithStreamingResponse,
)
from .whois import (
WhoisResource,
AsyncWhoisResource,
WhoisResourceWithRawResponse,
AsyncWhoisResourceWithRawResponse,
WhoisResourceWithStreamingResponse,
AsyncWhoisResourceWithStreamingResponse,
)
from .asn.asn import ASNResource, AsyncASNResource
from .domains import (
DomainsResource,
Expand Down Expand Up @@ -129,10 +121,6 @@ def ip_lists(self) -> IPListsResource:
def miscategorizations(self) -> MiscategorizationsResource:
return MiscategorizationsResource(self._client)

@cached_property
def whois(self) -> WhoisResource:
return WhoisResource(self._client)

@cached_property
def indicator_feeds(self) -> IndicatorFeedsResource:
return IndicatorFeedsResource(self._client)
Expand Down Expand Up @@ -183,10 +171,6 @@ def ip_lists(self) -> AsyncIPListsResource:
def miscategorizations(self) -> AsyncMiscategorizationsResource:
return AsyncMiscategorizationsResource(self._client)

@cached_property
def whois(self) -> AsyncWhoisResource:
return AsyncWhoisResource(self._client)

@cached_property
def indicator_feeds(self) -> AsyncIndicatorFeedsResource:
return AsyncIndicatorFeedsResource(self._client)
Expand Down Expand Up @@ -240,10 +224,6 @@ def ip_lists(self) -> IPListsResourceWithRawResponse:
def miscategorizations(self) -> MiscategorizationsResourceWithRawResponse:
return MiscategorizationsResourceWithRawResponse(self._intel.miscategorizations)

@cached_property
def whois(self) -> WhoisResourceWithRawResponse:
return WhoisResourceWithRawResponse(self._intel.whois)

@cached_property
def indicator_feeds(self) -> IndicatorFeedsResourceWithRawResponse:
return IndicatorFeedsResourceWithRawResponse(self._intel.indicator_feeds)
Expand Down Expand Up @@ -289,10 +269,6 @@ def ip_lists(self) -> AsyncIPListsResourceWithRawResponse:
def miscategorizations(self) -> AsyncMiscategorizationsResourceWithRawResponse:
return AsyncMiscategorizationsResourceWithRawResponse(self._intel.miscategorizations)

@cached_property
def whois(self) -> AsyncWhoisResourceWithRawResponse:
return AsyncWhoisResourceWithRawResponse(self._intel.whois)

@cached_property
def indicator_feeds(self) -> AsyncIndicatorFeedsResourceWithRawResponse:
return AsyncIndicatorFeedsResourceWithRawResponse(self._intel.indicator_feeds)
Expand Down Expand Up @@ -338,10 +314,6 @@ def ip_lists(self) -> IPListsResourceWithStreamingResponse:
def miscategorizations(self) -> MiscategorizationsResourceWithStreamingResponse:
return MiscategorizationsResourceWithStreamingResponse(self._intel.miscategorizations)

@cached_property
def whois(self) -> WhoisResourceWithStreamingResponse:
return WhoisResourceWithStreamingResponse(self._intel.whois)

@cached_property
def indicator_feeds(self) -> IndicatorFeedsResourceWithStreamingResponse:
return IndicatorFeedsResourceWithStreamingResponse(self._intel.indicator_feeds)
Expand Down Expand Up @@ -387,10 +359,6 @@ def ip_lists(self) -> AsyncIPListsResourceWithStreamingResponse:
def miscategorizations(self) -> AsyncMiscategorizationsResourceWithStreamingResponse:
return AsyncMiscategorizationsResourceWithStreamingResponse(self._intel.miscategorizations)

@cached_property
def whois(self) -> AsyncWhoisResourceWithStreamingResponse:
return AsyncWhoisResourceWithStreamingResponse(self._intel.whois)

@cached_property
def indicator_feeds(self) -> AsyncIndicatorFeedsResourceWithStreamingResponse:
return AsyncIndicatorFeedsResourceWithStreamingResponse(self._intel.indicator_feeds)
Expand Down
167 changes: 0 additions & 167 deletions src/cloudflare/resources/intel/whois.py

This file was deleted.

2 changes: 0 additions & 2 deletions src/cloudflare/types/intel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@

from .ip import IP as IP
from .dns import DNS as DNS
from .whois import Whois as Whois
from .domain import Domain as Domain
from .ip_list import IPList as IPList
from .sinkhole import Sinkhole as Sinkhole
from .ip_get_params import IPGetParams as IPGetParams
from .domain_history import DomainHistory as DomainHistory
from .dns_list_params import DNSListParams as DNSListParams
from .ip_get_response import IPGetResponse as IPGetResponse
from .whois_get_params import WhoisGetParams as WhoisGetParams
from .dns_list_response import DNSListResponse as DNSListResponse
from .domain_get_params import DomainGetParams as DomainGetParams
from .ip_list_get_response import IPListGetResponse as IPListGetResponse
Expand Down
14 changes: 0 additions & 14 deletions src/cloudflare/types/intel/whois_get_params.py

This file was deleted.

Loading