Skip to content

Commit 9889b9c

Browse files
chore(api): update composite API spec
1 parent fff491e commit 9889b9c

8 files changed

Lines changed: 3 additions & 352 deletions

File tree

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 1822
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-878533519fd9db620a1304c3c8c1a9c6ae0152ecdd9db10e132c422ecfe8f6dc.yml
3-
openapi_spec_hash: edc942ea9859ed6d4199fd7e4aad7df1
1+
configured_endpoints: 1821
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-302e5506f03012aeccab2222e586119f27ffe78311a559e8b635bb9ef166864e.yml
3+
openapi_spec_hash: c0c9e1e0211f019d4ed1acb57b44fa19
44
config_hash: 107e0f1f8a98b007260b319226b88b3c

api.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9250,18 +9250,6 @@ Methods:
92509250
- <code title="get /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}">client.cloudforce_one.threat_events.datasets.<a href="./src/cloudflare/resources/cloudforce_one/threat_events/datasets/datasets.py">get</a>(dataset_id, \*, account_id) -> <a href="./src/cloudflare/types/cloudforce_one/threat_events/dataset_get_response.py">DatasetGetResponse</a></code>
92519251
- <code title="get /accounts/{account_id}/cloudforce-one/events/raw/{dataset_id}/{event_id}">client.cloudforce_one.threat_events.datasets.<a href="./src/cloudflare/resources/cloudforce_one/threat_events/datasets/datasets.py">raw</a>(event_id, \*, account_id, dataset_id) -> <a href="./src/cloudflare/types/cloudforce_one/threat_events/dataset_raw_response.py">DatasetRawResponse</a></code>
92529252

9253-
### IndicatorTypes
9254-
9255-
Types:
9256-
9257-
```python
9258-
from cloudflare.types.cloudforce_one.threat_events import IndicatorTypeListResponse
9259-
```
9260-
9261-
Methods:
9262-
9263-
- <code title="get /accounts/{account_id}/cloudforce-one/events/indicatorTypes">client.cloudforce_one.threat_events.indicator_types.<a href="./src/cloudflare/resources/cloudforce_one/threat_events/indicator_types.py">list</a>(\*, account_id) -> <a href="./src/cloudflare/types/cloudforce_one/threat_events/indicator_type_list_response.py">IndicatorTypeListResponse</a></code>
9264-
92659253
### Raw
92669254

92679255
Types:

src/cloudflare/resources/cloudforce_one/threat_events/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,6 @@
7272
ThreatEventsResourceWithStreamingResponse,
7373
AsyncThreatEventsResourceWithStreamingResponse,
7474
)
75-
from .indicator_types import (
76-
IndicatorTypesResource,
77-
AsyncIndicatorTypesResource,
78-
IndicatorTypesResourceWithRawResponse,
79-
AsyncIndicatorTypesResourceWithRawResponse,
80-
IndicatorTypesResourceWithStreamingResponse,
81-
AsyncIndicatorTypesResourceWithStreamingResponse,
82-
)
8375
from .target_industries import (
8476
TargetIndustriesResource,
8577
AsyncTargetIndustriesResource,
@@ -114,12 +106,6 @@
114106
"AsyncDatasetsResourceWithRawResponse",
115107
"DatasetsResourceWithStreamingResponse",
116108
"AsyncDatasetsResourceWithStreamingResponse",
117-
"IndicatorTypesResource",
118-
"AsyncIndicatorTypesResource",
119-
"IndicatorTypesResourceWithRawResponse",
120-
"AsyncIndicatorTypesResourceWithRawResponse",
121-
"IndicatorTypesResourceWithStreamingResponse",
122-
"AsyncIndicatorTypesResourceWithStreamingResponse",
123109
"RawResource",
124110
"AsyncRawResource",
125111
"RawResourceWithRawResponse",

src/cloudflare/resources/cloudforce_one/threat_events/indicator_types.py

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

src/cloudflare/resources/cloudforce_one/threat_events/threat_events.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,6 @@
7575
async_to_streamed_response_wrapper,
7676
)
7777
from ...._base_client import make_request_options
78-
from .indicator_types import (
79-
IndicatorTypesResource,
80-
AsyncIndicatorTypesResource,
81-
IndicatorTypesResourceWithRawResponse,
82-
AsyncIndicatorTypesResourceWithRawResponse,
83-
IndicatorTypesResourceWithStreamingResponse,
84-
AsyncIndicatorTypesResourceWithStreamingResponse,
85-
)
8678
from .datasets.datasets import (
8779
DatasetsResource,
8880
AsyncDatasetsResource,
@@ -132,10 +124,6 @@ def countries(self) -> CountriesResource:
132124
def datasets(self) -> DatasetsResource:
133125
return DatasetsResource(self._client)
134126

135-
@cached_property
136-
def indicator_types(self) -> IndicatorTypesResource:
137-
return IndicatorTypesResource(self._client)
138-
139127
@cached_property
140128
def raw(self) -> RawResource:
141129
return RawResource(self._client)
@@ -528,10 +516,6 @@ def countries(self) -> AsyncCountriesResource:
528516
def datasets(self) -> AsyncDatasetsResource:
529517
return AsyncDatasetsResource(self._client)
530518

531-
@cached_property
532-
def indicator_types(self) -> AsyncIndicatorTypesResource:
533-
return AsyncIndicatorTypesResource(self._client)
534-
535519
@cached_property
536520
def raw(self) -> AsyncRawResource:
537521
return AsyncRawResource(self._client)
@@ -946,10 +930,6 @@ def countries(self) -> CountriesResourceWithRawResponse:
946930
def datasets(self) -> DatasetsResourceWithRawResponse:
947931
return DatasetsResourceWithRawResponse(self._threat_events.datasets)
948932

949-
@cached_property
950-
def indicator_types(self) -> IndicatorTypesResourceWithRawResponse:
951-
return IndicatorTypesResourceWithRawResponse(self._threat_events.indicator_types)
952-
953933
@cached_property
954934
def raw(self) -> RawResourceWithRawResponse:
955935
return RawResourceWithRawResponse(self._threat_events.raw)
@@ -1010,10 +990,6 @@ def countries(self) -> AsyncCountriesResourceWithRawResponse:
1010990
def datasets(self) -> AsyncDatasetsResourceWithRawResponse:
1011991
return AsyncDatasetsResourceWithRawResponse(self._threat_events.datasets)
1012992

1013-
@cached_property
1014-
def indicator_types(self) -> AsyncIndicatorTypesResourceWithRawResponse:
1015-
return AsyncIndicatorTypesResourceWithRawResponse(self._threat_events.indicator_types)
1016-
1017993
@cached_property
1018994
def raw(self) -> AsyncRawResourceWithRawResponse:
1019995
return AsyncRawResourceWithRawResponse(self._threat_events.raw)
@@ -1074,10 +1050,6 @@ def countries(self) -> CountriesResourceWithStreamingResponse:
10741050
def datasets(self) -> DatasetsResourceWithStreamingResponse:
10751051
return DatasetsResourceWithStreamingResponse(self._threat_events.datasets)
10761052

1077-
@cached_property
1078-
def indicator_types(self) -> IndicatorTypesResourceWithStreamingResponse:
1079-
return IndicatorTypesResourceWithStreamingResponse(self._threat_events.indicator_types)
1080-
10811053
@cached_property
10821054
def raw(self) -> RawResourceWithStreamingResponse:
10831055
return RawResourceWithStreamingResponse(self._threat_events.raw)
@@ -1138,10 +1110,6 @@ def countries(self) -> AsyncCountriesResourceWithStreamingResponse:
11381110
def datasets(self) -> AsyncDatasetsResourceWithStreamingResponse:
11391111
return AsyncDatasetsResourceWithStreamingResponse(self._threat_events.datasets)
11401112

1141-
@cached_property
1142-
def indicator_types(self) -> AsyncIndicatorTypesResourceWithStreamingResponse:
1143-
return AsyncIndicatorTypesResourceWithStreamingResponse(self._threat_events.indicator_types)
1144-
11451113
@cached_property
11461114
def raw(self) -> AsyncRawResourceWithStreamingResponse:
11471115
return AsyncRawResourceWithStreamingResponse(self._threat_events.raw)

src/cloudflare/types/cloudforce_one/threat_events/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@
2727
from .category_delete_response import CategoryDeleteResponse as CategoryDeleteResponse
2828
from .event_tag_create_response import EventTagCreateResponse as EventTagCreateResponse
2929
from .event_tag_delete_response import EventTagDeleteResponse as EventTagDeleteResponse
30-
from .indicator_type_list_response import IndicatorTypeListResponse as IndicatorTypeListResponse
3130
from .target_industry_list_response import TargetIndustryListResponse as TargetIndustryListResponse

src/cloudflare/types/cloudforce_one/threat_events/indicator_type_list_response.py

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

0 commit comments

Comments
 (0)