8000 feat(api): OpenAPI spec update via Stainless API (#398) · cloudflare/cloudflare-python@922ae56 · GitHub
[go: up one dir, main page]

Skip to content

Commit 922ae56

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): OpenAPI spec update via Stainless API (#398)
1 parent d78d4fd commit 922ae56

File tree

8 files changed

+2
-349
lines changed

8 files changed

+2
-349
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
configured_endpoints: 1259
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-66dffe82f1ae82ccb13bf0b382257be6906f416a22d1ca4ea74464cfff324775.yml
1+
configured_endpoints: 1258
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-eb69a13d7b51cee2ffd5e3a4a70f4312e20c9830d80be2ecbc7006c8a524d912.yml

api.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3634,10 +3634,6 @@ Types:
36343634
from cloudflare.types.intel import Whois
36353635
```
36363636

3637-
Methods:
3638-
3639-
- <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>
3640-
36413637
## IndicatorFeeds
36423638

36433639
Types:

src/cloudflare/resources/intel/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,6 @@
3232
IntelResourceWithStreamingResponse,
3333
AsyncIntelResourceWithStreamingResponse,
3434
)
35-
from .whois import (
36-
WhoisResource,
37-
AsyncWhoisResource,
38-
WhoisResourceWithRawResponse,
39-
AsyncWhoisResourceWithRawResponse,
40-
WhoisResourceWithStreamingResponse,
41-
AsyncWhoisResourceWithStreamingResponse,
42-
)
4335
from .domains import (
4436
DomainsResource,
4537
AsyncDomainsResource,
@@ -140,12 +132,6 @@
140132
"AsyncMiscategorizationsResourceWithRawResponse",
141133
"MiscategorizationsResourceWithStreamingResponse",
142134
"AsyncMiscategorizationsResourceWithStreamingResponse",
143-
"WhoisResource",
144-
"AsyncWhoisResource",
145-
"WhoisResourceWithRawResponse",
146-
"AsyncWhoisResourceWithRawResponse",
147-
"WhoisResourceWithStreamingResponse",
148-
"AsyncWhoisResourceWithStreamingResponse",
149135
"IndicatorFeedsResource",
150136
"AsyncIndicatorFeedsResource",
151137
"IndicatorFeedsResourceWithRawResponse",

src/cloudflare/resources/intel/intel.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@
2626
IPsResourceWithStreamingResponse,
2727
AsyncIPsResourceWithStreamingResponse,
2828
)
29-
from .whois import (
30-
WhoisResource,
31-
AsyncWhoisResource,
32-
WhoisResourceWithRawResponse,
33-
AsyncWhoisResourceWithRawResponse,
34-
WhoisResourceWithStreamingResponse,
35-
AsyncWhoisResourceWithStreamingResponse,
36-
)
3729
from .asn.asn import ASNResource, AsyncASNResource
3830
from .domains import (
3931
DomainsResource,
@@ -129,10 +121,6 @@ def ip_lists(self) -> IPListsResource:
129121
def miscategorizations(self) -> MiscategorizationsResource:
130122
return MiscategorizationsResource(self._client)
131123

132-
@cached_property
133-
def whois(self) -> WhoisResource:
134-
return WhoisResource(self._client)
135-
136124
@cached_property
137125
def indicator_feeds(self) -> IndicatorFeedsResource:
138126
return IndicatorFeedsResource(self._client)
@@ -183,10 +171,6 @@ def ip_lists(self) -> AsyncIPListsResource:
183171
def miscategorizations(self) -> AsyncMiscategorizationsResource:
184172
return AsyncMiscategorizationsResource(self._client)
185173

186-
@cached_property
187-
def whois(self) -> AsyncWhoisResource:
188-
return AsyncWhoisResource(self._client)
189-
190174
@cached_property
191175
def indicator_feeds(self) -> AsyncIndicatorFeedsResource:
192176
return AsyncIndicatorFeedsResource(self._client)
@@ -240,10 +224,6 @@ def ip_lists(self) -> IPListsResourceWithRawResponse:
240224
def miscategorizations(self) -> MiscategorizationsResourceWithRawResponse:
241225
return MiscategorizationsResourceWithRawResponse(self._intel.miscategorizations)
242226

243-
@cached_property
244-
def whois(self) -> WhoisResourceWithRawResponse:
245-
return WhoisResourceWithRawResponse(self._intel.whois)
246-
247227
@cached_property
248228
def indicator_feeds(self) -> IndicatorFeedsResourceWithRawResponse:
249229
return IndicatorFeedsResourceWithRawResponse(self._intel.indicator_feeds)
@@ A3E2 -289,10 +269,6 @@ def ip_lists(self) -> AsyncIPListsResourceWithRawResponse:
289269
def miscategorizations(self) -> AsyncMiscategorizationsResourceWithRawResponse:
290270
return AsyncMiscategorizationsResourceWithRawResponse(self._intel.miscategorizations)
291271

292-
@cached_property
293-
def whois(self) -> AsyncWhoisResourceWithRawResponse:
294-
return AsyncWhoisResourceWithRawResponse(self._intel.whois)
295-
296272
@cached_property
297273
def indicator_feeds(self) -> AsyncIndicatorFeedsResourceWithRawResponse:
298274
return AsyncIndicatorFeedsResourceWithRawResponse(self._intel.indicator_feeds)
@@ -338,10 +314,6 @@ def ip_lists(self) -> IPListsResourceWithStreamingResponse:
338314
def miscategorizations(self) -> MiscategorizationsResourceWithStreamingResponse:
339315
return MiscategorizationsResourceWithStreamingResponse(self._intel.miscategorizations)
340316

341-
@cached_property
342-
def whois(self) -> WhoisResourceWithStreamingResponse:
343-
return WhoisResourceWithStreamingResponse(self._intel.whois)
344-
345317
@cached_property
346318
def indicator_feeds(self) -> IndicatorFeedsResourceWithStreamingResponse:
347319
return IndicatorFeedsResourceWithStreamingResponse(self._intel.indicator_feeds)
@@ -387,10 +359,6 @@ def ip_lists(self) -> AsyncIPListsResourceWithStreamingResponse:
387359
def miscategorizations(self) -> AsyncMiscategorizationsResourceWithStreamingResponse:
388360
return AsyncMiscategorizationsResourceWithStreamingResponse(self._intel.miscategorizations)
389361

390-
@cached_property
391-
def whois(self) -> AsyncWhoisResourceWithStreamingResponse:
392-
return AsyncWhoisResourceWithStreamingResponse(self._intel.whois)
393-
394362
@cached_property
395363
def indicator_feeds(self) -> AsyncIndicatorFeedsResourceWithStreamingResponse:
396364
return AsyncIndicatorFeedsResourceWithStreamingResponse(self._intel.indicator_feeds)

src/cloudflare/resources/intel/whois.py

Lines changed: 0 additions & 167 deletions
This file was deleted.

src/cloudflare/types/intel/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@
44

55
from .ip import IP as IP
66
from .dns import DNS as DNS
7-
from .whois import Whois as Whois
87
from .domain import Domain as Domain
98
from .ip_list import IPList as IPList
109
from .sinkhole import Sinkhole as Sinkhole
1110
from .ip_get_params import IPGetParams as IPGetParams
1211
from .domain_history import DomainHistory as DomainHistory
1312
from .dns_list_params import DNSListParams as DNSListParams
1413
from .ip_get_response import IPGetResponse as IPGetResponse
15-
from .whois_get_params import WhoisGetParams as WhoisGetParams
1614
from .dns_list_response import DNSListResponse as DNSListResponse
1715
from .domain_get_params import DomainGetParams as DomainGetParams
1816
from .ip_list_get_response import IPListGetResponse as IPListGetResponse

src/cloudflare/types/intel/whois_get_params.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0