Skip to content

Commit 6cbf008

Browse files
chore(api): upload stainless config from cloudflare-config
1 parent 9f1f4b0 commit 6cbf008

53 files changed

Lines changed: 5718 additions & 120 deletions

Some content is hidden

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

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 1781
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-5b3a5962f102d4bffee87e6012f4afa9bd954a19c3bd78c368887941fb8ba92c.yml
1+
configured_endpoints: 1791
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-8783b0f77ab63a7cc14d158b83a90d8c8f13ab825092a9b4001b40d683ac9d98.yml
33
openapi_spec_hash: 23a363af2dc9dbe00b2e21fa0df67c43
4-
config_hash: ab4569f2e8dd52d04ef8493482a67230
4+
config_hash: 8387cc6cd9749c918304b96bee7ac652

api.md

Lines changed: 65 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2396,19 +2396,18 @@ Types:
23962396

23972397
```python
23982398
from cloudflare.types.workers.scripts import (
2399-
DeploymentCreateResponse,
2399+
Deployment,
24002400
DeploymentListResponse,
24012401
DeploymentDeleteResponse,
2402-
DeploymentGetResponse,
24032402
)
24042403
```
24052404

24062405
Methods:
24072406

2408-
- <code title="post /accounts/{account_id}/workers/scripts/{script_name}/deployments">client.workers.scripts.deployments.<a href="./src/cloudflare/resources/workers/scripts/deployments.py">create</a>(script_name, \*, account_id, \*\*<a href="src/cloudflare/types/workers/scripts/deployment_create_params.py">params</a>) -> <a href="./src/cloudflare/types/workers/scripts/deployment_create_response.py">DeploymentCreateResponse</a></code>
2407+
- <code title="post /accounts/{account_id}/workers/scripts/{script_name}/deployments">client.workers.scripts.deployments.<a href="./src/cloudflare/resources/workers/scripts/deployments.py">create</a>(script_name, \*, account_id, \*\*<a href="src/cloudflare/types/workers/scripts/deployment_create_params.py">params</a>) -> <a href="./src/cloudflare/types/workers/scripts/deployment.py">Deployment</a></code>
24092408
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/deployments">client.workers.scripts.deployments.<a href="./src/cloudflare/resources/workers/scripts/deployments.py">list</a>(script_name, \*, account_id) -> <a href="./src/cloudflare/types/workers/scripts/deployment_list_response.py">DeploymentListResponse</a></code>
24102409
- <code title="delete /accounts/{account_id}/workers/scripts/{script_name}/deployments/{deployment_id}">client.workers.scripts.deployments.<a href="./src/cloudflare/resources/workers/scripts/deployments.py">delete</a>(deployment_id, \*, account_id, script_name) -> <a href="./src/cloudflare/types/workers/scripts/deployment_delete_response.py">DeploymentDeleteResponse</a></code>
2411-
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/deployments/{deployment_id}">client.workers.scripts.deployments.<a href="./src/cloudflare/resources/workers/scripts/deployments.py">get</a>(deployment_id, \*, account_id, script_name) -> <a href="./src/cloudflare/types/workers/scripts/deployment_get_response.py">DeploymentGetResponse</a></code>
2410+
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/deployments/{deployment_id}">client.workers.scripts.deployments.<a href="./src/cloudflare/resources/workers/scripts/deployments.py">get</a>(deployment_id, \*, account_id, script_name) -> <a href="./src/cloudflare/types/workers/scripts/deployment.py">Deployment</a></code>
24122411

24132412
### Versions
24142413

@@ -7247,6 +7246,68 @@ 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

7249+
### TimeseriesGroups
7250+
7251+
Types:
7252+
7253+
```python
7254+
from cloudflare.types.radar.ai import (
7255+
TimeseriesGroupSummaryResponse,
7256+
TimeseriesGroupTimeseriesResponse,
7257+
TimeseriesGroupTimeseriesGroupsResponse,
7258+
)
7259+
```
7260+
7261+
Methods:
7262+
7263+
- <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>
7264+
- <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>
7265+
- <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>
7266+
7267+
## Ct
7268+
7269+
Types:
7270+
7271+
```python
7272+
from cloudflare.types.radar import (
7273+
CtSummaryResponse,
7274+
CtTimeseriesResponse,
7275+
CtTimeseriesGroupsResponse,
7276+
)
7277+
```
7278+
7279+
Methods:
7280+
7281+
- <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>
7282+
- <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>
7283+
- <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>
7284+
7285+
### Authorities
7286+
7287+
Types:
7288+
7289+
```python
7290+
from cloudflare.types.radar.ct import AuthorityListResponse, AuthorityGetResponse
7291+
```
7292+
7293+
Methods:
7294+
7295+
- <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>
7296+
- <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>
7297+
7298+
### Logs
7299+
7300+
Types:
7301+
7302+
```python
7303+
from cloudflare.types.radar.ct import LogListResponse, LogGetResponse
7304+
```
7305+
7306+
Methods:
7307+
7308+
- <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>
7309+
- <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>
7310+
72507311
## Annotations
72517312

72527313
Types:

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ def update(
9696
9797
expiration_ttl: Expires the key after a number of seconds. Must be at least 60.
9898
99+
metadata: Associates arbitrary JSON data with a key/value pair.
100+
99101
extra_headers: Send extra headers
100102
101103
extra_query: Add additional query parameters to the request
@@ -308,6 +310,8 @@ async def update(
308310
309311
expiration_ttl: Expires the key after a number of seconds. Must be at least 60.
310312
313+
metadata: Associates arbitrary JSON data with a key/value pair.
314+
311315
extra_headers: Send extra headers
312316
313317
extra_query: Add additional query parameters to the request

src/cloudflare/resources/radar/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
AIResourceWithStreamingResponse,
99
AsyncAIResourceWithStreamingResponse,
1010
)
11+
from .ct import (
12+
CtResource,
13+
AsyncCtResource,
14+
CtResourceWithRawResponse,
15+
AsyncCtResourceWithRawResponse,
16+
CtResourceWithStreamingResponse,
17+
AsyncCtResourceWithStreamingResponse,
18+
)
1119
from .bgp import (
1220
BGPResource,
1321
AsyncBGPResource,
@@ -176,6 +184,12 @@
176184
"AsyncAIResourceWithRawResponse",
177185
"AIResourceWithStreamingResponse",
178186
"AsyncAIResourceWithStreamingResponse",
187+
"CtResource",
188+
"AsyncCtResource",
189+
"CtResourceWithRawResponse",
190+
"AsyncCtResourceWithRawResponse",
191+
"CtResourceWithStreamingResponse",
192+
"AsyncCtResourceWithStreamingResponse",
179193
"AnnotationsResource",
180194
"AsyncAnnotationsResource",
181195
"AnnotationsResourceWithRawResponse",

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

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

2836
__all__ = [
2937
"ToMarkdownResource",
@@ -38,6 +46,12 @@
3846
"AsyncInferenceResourceWithRawResponse",
3947
"InferenceResourceWithStreamingResponse",
4048
"AsyncInferenceResourceWithStreamingResponse",
49+
"TimeseriesGroupsResource",
50+
"AsyncTimeseriesGroupsResource",
51+
"TimeseriesGroupsResourceWithRawResponse",
52+
"AsyncTimeseriesGroupsResourceWithRawResponse",
53+
"TimeseriesGroupsResourceWithStreamingResponse",
54+
"AsyncTimeseriesGroupsResourceWithStreamingResponse",
4155
"AIResource",
4256
"AsyncAIResource",
4357
"AIResourceWithRawResponse",

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@
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+
)
1523
from .inference.inference import (
1624
InferenceResource,
1725
AsyncInferenceResource,
@@ -33,6 +41,10 @@ def to_markdown(self) -> ToMarkdownResource:
3341
def inference(self) -> InferenceResource:
3442
return InferenceResource(self._client)
3543

44+
@cached_property
45+
def timeseries_groups(self) -> TimeseriesGroupsResource:
46+
return TimeseriesGroupsResource(self._client)
47+
3648
@cached_property
3749
def with_raw_response(self) -> AIResourceWithRawResponse:
3850
"""
@@ -62,6 +74,10 @@ def to_markdown(self) -> AsyncToMarkdownResource:
6274
def inference(self) -> AsyncInferenceResource:
6375
return AsyncInferenceResource(self._client)
6476

77+
@cached_property
78+
def timeseries_groups(self) -> AsyncTimeseriesGroupsResource:
79+
return AsyncTimeseriesGroupsResource(self._client)
80+
6581
@cached_property
6682
def with_raw_response(self) -> AsyncAIResourceWithRawResponse:
6783
"""
@@ -94,6 +110,10 @@ def to_markdown(self) -> ToMarkdownResourceWithRawResponse:
94110
def inference(self) -> InferenceResourceWithRawResponse:
95111
return InferenceResourceWithRawResponse(self._ai.inference)
96112

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

98118
class AsyncAIResourceWithRawResponse:
99119
def __init__(self, ai: AsyncAIResource) -> None:
@@ -107,6 +127,10 @@ def to_markdown(self) -> AsyncToMarkdownResourceWithRawResponse:
107127
def inference(self) -> AsyncInferenceResourceWithRawResponse:
108128
return AsyncInferenceResourceWithRawResponse(self._ai.inference)
109129

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

111135
class AIResourceWithStreamingResponse:
112136
def __init__(self, ai: AIResource) -> None:
@@ -120,6 +144,10 @@ def to_markdown(self) -> ToMarkdownResourceWithStreamingResponse:
120144
def inference(self) -> InferenceResourceWithStreamingResponse:
121145
return InferenceResourceWithStreamingResponse(self._ai.inference)
122146

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

124152
class AsyncAIResourceWithStreamingResponse:
125153
def __init__(self, ai: AsyncAIResource) -> None:
@@ -132,3 +160,7 @@ def to_markdown(self) -> AsyncToMarkdownResourceWithStreamingResponse:
132160
@cached_property
133161
def inference(self) -> AsyncInferenceResourceWithStreamingResponse:
134162
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)