Skip to content

Commit 1e499f3

Browse files
chore(api): upload stainless config from cloudflare-config
1 parent 6464b31 commit 1e499f3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+23
-5694
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 1791
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-49375f41281b35f1b625e078e2905d704bee269f9bc2854ee6560013dd7e10d1.yml
1+
configured_endpoints: 1781
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-97d96a216e844ce5d0e2fcaea34f8e35db45dea86068bd95a88d3bb33a6f0c0d.yml
33
openapi_spec_hash: 4fa5e37d0d49108f256d15dde5edef42
4-
config_hash: 066949474762c52657970040c532cfca
4+
config_hash: 242134bf2dc570f5555bf479c40a42d0

api.md

Lines changed: 1 addition & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -2531,7 +2531,6 @@ Types:
25312531

25322532
```python
25332533
from cloudflare.types.kv import (
2534-
Any,
25352534
Namespace,
25362535
NamespaceDeleteResponse,
25372536
NamespaceBulkDeleteResponse,
@@ -2575,7 +2574,7 @@ Methods:
25752574

25762575
Methods:
25772576

2578-
- <code title="get /accounts/{account_id}/storage/kv/namespaces/{namespace_id}/metadata/{key_name}">client.kv.namespaces.metadata.<a href="./src/cloudflare/resources/kv/namespaces/metadata.py">get</a>(key_name, \*, account_id, namespace_id) -> <a href="./src/cloudflare/types/kv/any.py">object</a></code>
2577+
- <code title="get /accounts/{account_id}/storage/kv/namespaces/{namespace_id}/metadata/{key_name}">client.kv.namespaces.metadata.<a href="./src/cloudflare/resources/kv/namespaces/metadata.py">get</a>(key_name, \*, account_id, namespace_id) -> object</code>
25792578

25802579
### Values
25812580

@@ -7247,68 +7246,6 @@ Methods:
72477246
- <code title="get /radar/ai/inference/timeseries_groups/model">client.radar.ai.inference.timeseries_groups.summary.<a href="./src/cloudflare/resources/radar/ai/inference/timeseries_groups/summary.py">model</a>(\*\*<a href="src/cloudflare/types/radar/ai/inference/timeseries_groups/summary_model_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/ai/inference/timeseries_groups/summary_model_response.py">SummaryModelResponse</a></code>
72487247
- <code title="get /radar/ai/inference/timeseries_groups/task">client.radar.ai.inference.timeseries_groups.summary.<a href="./src/cloudflare/resources/radar/ai/inference/timeseries_groups/summary.py">task</a>(\*\*<a href="src/cloudflare/types/radar/ai/inference/timeseries_groups/summary_task_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/ai/inference/timeseries_groups/summary_task_response.py">SummaryTaskResponse</a></code>
72497248

7250-
### TimeseriesGroups
7251-
7252-
Types:
7253-
7254-
```python
7255-
from cloudflare.types.radar.ai import (
7256-
TimeseriesGroupSummaryResponse,
7257-
TimeseriesGroupTimeseriesResponse,
7258-
TimeseriesGroupTimeseriesGroupsResponse,
7259-
)
7260-
```
7261-
7262-
Methods:
7263-
7264-
- <code title="get /radar/ai/bots/summary/{dimension}">client.radar.ai.timeseries_groups.<a href="./src/cloudflare/resources/radar/ai/timeseries_groups.py">summary</a>(dimension, \*\*<a href="src/cloudflare/types/radar/ai/timeseries_group_summary_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/ai/timeseries_group_summary_response.py">TimeseriesGroupSummaryResponse</a></code>
7265-
- <code title="get /radar/ai/bots/timeseries">client.radar.ai.timeseries_groups.<a href="./src/cloudflare/resources/radar/ai/timeseries_groups.py">timeseries</a>(\*\*<a href="src/cloudflare/types/radar/ai/timeseries_group_timeseries_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/ai/timeseries_group_timeseries_response.py">TimeseriesGroupTimeseriesResponse</a></code>
7266-
- <code title="get /radar/ai/bots/timeseries_groups/{dimension}">client.radar.ai.timeseries_groups.<a href="./src/cloudflare/resources/radar/ai/timeseries_groups.py">timeseries_groups</a>(dimension, \*\*<a href="src/cloudflare/types/radar/ai/timeseries_group_timeseries_groups_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/ai/timeseries_group_timeseries_groups_response.py">TimeseriesGroupTimeseriesGroupsResponse</a></code>
7267-
7268-
## Ct
7269-
7270-
Types:
7271-
7272-
```python
7273-
from cloudflare.types.radar import (
7274-
CtSummaryResponse,
7275-
CtTimeseriesResponse,
7276-
CtTimeseriesGroupsResponse,
7277-
)
7278-
```
7279-
7280-
Methods:
7281-
7282-
- <code title="get /radar/ct/summary/{dimension}">client.radar.ct.<a href="./src/cloudflare/resources/radar/ct/ct.py">summary</a>(dimension, \*\*<a href="src/cloudflare/types/radar/ct_summary_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/ct_summary_response.py">CtSummaryResponse</a></code>
7283-
- <code title="get /radar/ct/timeseries">client.radar.ct.<a href="./src/cloudflare/resources/radar/ct/ct.py">timeseries</a>(\*\*<a href="src/cloudflare/types/radar/ct_timeseries_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/ct_timeseries_response.py">CtTimeseriesResponse</a></code>
7284-
- <code title="get /radar/ct/timeseries_groups/{dimension}">client.radar.ct.<a href="./src/cloudflare/resources/radar/ct/ct.py">timeseries_groups</a>(dimension, \*\*<a href="src/cloudflare/types/radar/ct_timeseries_groups_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/ct_timeseries_groups_response.py">CtTimeseriesGroupsResponse</a></code>
7285-
7286-
### Authorities
7287-
7288-
Types:
7289-
7290-
```python
7291-
from cloudflare.types.radar.ct import AuthorityListResponse, AuthorityGetResponse
7292-
```
7293-
7294-
Methods:
7295-
7296-
- <code title="get /radar/ct/authorities">client.radar.ct.authorities.<a href="./src/cloudflare/resources/radar/ct/authorities.py">list</a>(\*\*<a href="src/cloudflare/types/radar/ct/authority_list_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/ct/authority_list_response.py">AuthorityListResponse</a></code>
7297-
- <code title="get /radar/ct/authorities/{ca_slug}">client.radar.ct.authorities.<a href="./src/cloudflare/resources/radar/ct/authorities.py">get</a>(ca_slug, \*\*<a href="src/cloudflare/types/radar/ct/authority_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/ct/authority_get_response.py">AuthorityGetResponse</a></code>
7298-
7299-
### Logs
7300-
7301-
Types:
7302-
7303-
```python
7304-
from cloudflare.types.radar.ct import LogListResponse, LogGetResponse
7305-
```
7306-
7307-
Methods:
7308-
7309-
- <code title="get /radar/ct/logs">client.radar.ct.logs.<a href="./src/cloudflare/resources/radar/ct/logs.py">list</a>(\*\*<a href="src/cloudflare/types/radar/ct/log_list_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/ct/log_list_response.py">LogListResponse</a></code>
7310-
- <code title="get /radar/ct/logs/{log_slug}">client.radar.ct.logs.<a href="./src/cloudflare/resources/radar/ct/logs.py">get</a>(log_slug, \*\*<a href="src/cloudflare/types/radar/ct/log_get_params.py">params</a>) -> <a href="./src/cloudflare/types/radar/ct/log_get_response.py">LogGetResponse</a></code>
7311-
73127249
## Annotations
73137250

73147251
Types:

src/cloudflare/resources/kv/namespaces/values.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
)
2727
from ...._wrappers import ResultWrapper
2828
from ...._base_client import make_request_options
29-
from ....types.kv.any_param import AnyParam
3029
from ....types.kv.namespaces import value_update_params
3130
from ....types.kv.namespaces.value_delete_response import ValueDeleteResponse
3231
from ....types.kv.namespaces.value_update_response import ValueUpdateResponse
@@ -63,7 +62,7 @@ def update(
6362
value: str,
6463
expiration: float | NotGiven = NOT_GIVEN,
6564
expiration_ttl: float | NotGiven = NOT_GIVEN,
66-
metadata: AnyParam | NotGiven = NOT_GIVEN,
65+
metadata: object | NotGiven = NOT_GIVEN,
6766
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
6867
# The extra values given here take precedence over values defined on the client or passed to this method.
6968
extra_headers: Headers | None = None,
@@ -97,6 +96,8 @@ def update(
9796
9897
expiration_ttl: Expires the key after a number of seconds. Must be at least 60.
9998
99+
metadata: Associates arbitrary JSON data with a key/value pair.
100+
100101
extra_headers: Send extra headers
101102
102103
extra_query: Add additional query parameters to the request
@@ -275,7 +276,7 @@ async def update(
275276
value: str,
276277
expiration: float | NotGiven = NOT_GIVEN,
277278
expiration_ttl: float | NotGiven = NOT_GIVEN,
278-
metadata: AnyParam | NotGiven = NOT_GIVEN,
279+
metadata: object | NotGiven = NOT_GIVEN,
279280
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
280281
# The extra values given here take precedence over values defined on the client or passed to this method.
281282
extra_headers: Headers | None = None,
@@ -309,6 +310,8 @@ async def update(
309310
310311
expiration_ttl: Expires the key after a number of seconds. Must be at least 60.
311312
313+
metadata: Associates arbitrary JSON data with a key/value pair.
314+
312315
extra_headers: Send extra headers
313316
314317
extra_query: Add additional query parameters to the request

src/cloudflare/resources/radar/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@
88
AIResourceWithStreamingResponse,
99
AsyncAIResourceWithStreamingResponse,
1010
)
11-
from .ct import (
12-
CtResource,
13-
AsyncCtResource,
14-
CtResourceWithRawResponse,
15-
AsyncCtResourceWithRawResponse,
16-
CtResourceWithStreamingResponse,
17-
AsyncCtResourceWithStreamingResponse,
18-
)
1911
from .bgp import (
2012
BGPResource,
2113
AsyncBGPResource,
@@ -184,12 +176,6 @@
184176
"AsyncAIResourceWithRawResponse",
185177
"AIResourceWithStreamingResponse",
186178
"AsyncAIResourceWithStreamingResponse",
187-
"CtResource",
188-
"AsyncCtResource",
189-
"CtResourceWithRawResponse",
190-
"AsyncCtResourceWithRawResponse",
191-
"CtResourceWithStreamingResponse",
192-
"AsyncCtResourceWithStreamingResponse",
193179
"AnnotationsResource",
194180
"AsyncAnnotationsResource",
195181
"AnnotationsResourceWithRawResponse",

src/cloudflare/resources/radar/ai/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@
2424
ToMarkdownResourceWithStreamingResponse,
2525
AsyncToMarkdownResourceWithStreamingResponse,
2626
)
27-
from .timeseries_groups import (
28-
TimeseriesGroupsResource,
29-
AsyncTimeseriesGroupsResource,
30-
TimeseriesGroupsResourceWithRawResponse,
31-
AsyncTimeseriesGroupsResourceWithRawResponse,
32-
TimeseriesGroupsResourceWithStreamingResponse,
33-
AsyncTimeseriesGroupsResourceWithStreamingResponse,
34-
)
3527

3628
__all__ = [
3729
"ToMarkdownResource",
@@ -46,12 +38,6 @@
4638
"AsyncInferenceResourceWithRawResponse",
4739
"InferenceResourceWithStreamingResponse",
4840
"AsyncInferenceResourceWithStreamingResponse",
49-
"TimeseriesGroupsResource",
50-
"AsyncTimeseriesGroupsResource",
51-
"TimeseriesGroupsResourceWithRawResponse",
52-
"AsyncTimeseriesGroupsResourceWithRawResponse",
53-
"TimeseriesGroupsResourceWithStreamingResponse",
54-
"AsyncTimeseriesGroupsResourceWithStreamingResponse",
5541
"AIResource",
5642
"AsyncAIResource",
5743
"AIResourceWithRawResponse",

src/cloudflare/resources/radar/ai/ai.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@
1212
AsyncToMarkdownResourceWithStreamingResponse,
1313
)
1414
from ...._resource import SyncAPIResource, AsyncAPIResource
15-
from .timeseries_groups import (
16-
TimeseriesGroupsResource,
17-
AsyncTimeseriesGroupsResource,
18-
TimeseriesGroupsResourceWithRawResponse,
19-
AsyncTimeseriesGroupsResourceWithRawResponse,
20-
TimeseriesGroupsResourceWithStreamingResponse,
21-
AsyncTimeseriesGroupsResourceWithStreamingResponse,
22-
)
2315
from .inference.inference import (
2416
InferenceResource,
2517
AsyncInferenceResource,
@@ -41,10 +33,6 @@ def to_markdown(self) -> ToMarkdownResource:
4133
def inference(self) -> InferenceResource:
4234
return InferenceResource(self._client)
4335

44-
@cached_property
45-
def timeseries_groups(self) -> TimeseriesGroupsResource:
46-
return TimeseriesGroupsResource(self._client)
47-
4836
@cached_property
4937
def with_raw_response(self) -> AIResourceWithRawResponse:
5038
"""
@@ -74,10 +62,6 @@ def to_markdown(self) -> AsyncToMarkdownResource:
7462
def inference(self) -> AsyncInferenceResource:
7563
return AsyncInferenceResource(self._client)
7664

77-
@cached_property
78-
def timeseries_groups(self) -> AsyncTimeseriesGroupsResource:
79-
return AsyncTimeseriesGroupsResource(self._client)
80-
8165
@cached_property
8266
def with_raw_response(self) -> AsyncAIResourceWithRawResponse:
8367
"""
@@ -110,10 +94,6 @@ def to_markdown(self) -> ToMarkdownResourceWithRawResponse:
11094
def inference(self) -> InferenceResourceWithRawResponse:
11195
return InferenceResourceWithRawResponse(self._ai.inference)
11296

113-
@cached_property
114-
def timeseries_groups(self) -> TimeseriesGroupsResourceWithRawResponse:
115-
return TimeseriesGroupsResourceWithRawResponse(self._ai.timeseries_groups)
116-
11797

11898
class AsyncAIResourceWithRawResponse:
11999
def __init__(self, ai: AsyncAIResource) -> None:
@@ -127,10 +107,6 @@ def to_markdown(self) -> AsyncToMarkdownResourceWithRawResponse:
127107
def inference(self) -> AsyncInferenceResourceWithRawResponse:
128108
return AsyncInferenceResourceWithRawResponse(self._ai.inference)
129109

130-
@cached_property
131-
def timeseries_groups(self) -> AsyncTimeseriesGroupsResourceWithRawResponse:
132-
return AsyncTimeseriesGroupsResourceWithRawResponse(self._ai.timeseries_groups)
133-
134110

135111
class AIResourceWithStreamingResponse:
136112
def __init__(self, ai: AIResource) -> None:
@@ -144,10 +120,6 @@ def to_markdown(self) -> ToMarkdownResourceWithStreamingResponse:
144120
def inference(self) -> InferenceResourceWithStreamingResponse:
145121
return InferenceResourceWithStreamingResponse(self._ai.inference)
146122

147-
@cached_property
148-
def timeseries_groups(self) -> TimeseriesGroupsResourceWithStreamingResponse:
149-
return TimeseriesGroupsResourceWithStreamingResponse(self._ai.timeseries_groups)
150-
151123

152124
class AsyncAIResourceWithStreamingResponse:
153125
def __init__(self, ai: AsyncAIResource) -> None:
@@ -160,7 +132,3 @@ def to_markdown(self) -> AsyncToMarkdownResourceWithStreamingResponse:
160132
@cached_property
161133
def inference(self) -> AsyncInferenceResourceWithStreamingResponse:
162134
return AsyncInferenceResourceWithStreamingResponse(self._ai.inference)
163-
164-
@cached_property
165-
def timeseries_groups(self) -> AsyncTimeseriesGroupsResourceWithStreamingResponse:
166-
return AsyncTimeseriesGroupsResourceWithStreamingResponse(self._ai.timeseries_groups)

0 commit comments

Comments
 (0)