Skip to content

Commit e6f0bcc

Browse files
chore(api): upload stainless config from cloudflare-config
1 parent 3a32fea commit e6f0bcc

File tree

25 files changed

+2921
-104
lines changed

25 files changed

+2921
-104
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: 1783
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-af490fa6410745bf6ef4d68cd0173ffb8fc14323815ef6a98970ad57eb84d255.yml
1+
configured_endpoints: 1793
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-9b7c0537a0860328effd3714b260a2bfb86ce635f9010cc22cd530e57131e491.yml
33
openapi_spec_hash: db57aa8f254715d1e1922686ead68d58
4-
config_hash: b5608440cfd3f75f7cfabd36fbc7cd88
4+
config_hash: 04c3e87def66bed3001640fca84ff9c5

api.md

Lines changed: 47 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2120,17 +2120,16 @@ Methods:
21202120

21212121
Types:
21222122

2123-
- <code><a href="./src/resources/workers/scripts/deployments.ts">DeploymentCreateResponse</a></code>
2123+
- <code><a href="./src/resources/workers/scripts/deployments.ts">Deployment</a></code>
21242124
- <code><a href="./src/resources/workers/scripts/deployments.ts">DeploymentListResponse</a></code>
21252125
- <code><a href="./src/resources/workers/scripts/deployments.ts">DeploymentDeleteResponse</a></code>
2126-
- <code><a href="./src/resources/workers/scripts/deployments.ts">DeploymentGetResponse</a></code>
21272126

21282127
Methods:
21292128

2130-
- <code title="post /accounts/{account_id}/workers/scripts/{script_name}/deployments">client.workers.scripts.deployments.<a href="./src/resources/workers/scripts/deployments.ts">create</a>(scriptName, { ...params }) -> DeploymentCreateResponse</code>
2129+
- <code title="post /accounts/{account_id}/workers/scripts/{script_name}/deployments">client.workers.scripts.deployments.<a href="./src/resources/workers/scripts/deployments.ts">create</a>(scriptName, { ...params }) -> Deployment</code>
21312130
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/deployments">client.workers.scripts.deployments.<a href="./src/resources/workers/scripts/deployments.ts">list</a>(scriptName, { ...params }) -> DeploymentListResponse</code>
21322131
- <code title="delete /accounts/{account_id}/workers/scripts/{script_name}/deployments/{deployment_id}">client.workers.scripts.deployments.<a href="./src/resources/workers/scripts/deployments.ts">delete</a>(scriptName, deploymentId, { ...params }) -> DeploymentDeleteResponse</code>
2133-
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/deployments/{deployment_id}">client.workers.scripts.deployments.<a href="./src/resources/workers/scripts/deployments.ts">get</a>(scriptName, deploymentId, { ...params }) -> DeploymentGetResponse</code>
2132+
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/deployments/{deployment_id}">client.workers.scripts.deployments.<a href="./src/resources/workers/scripts/deployments.ts">get</a>(scriptName, deploymentId, { ...params }) -> Deployment</code>
21342133

21352134
### Versions
21362135

@@ -6389,12 +6388,56 @@ Methods:
63896388

63906389
Types:
63916390

6391+
- <code><a href="./src/resources/radar/ai/timeseries-groups.ts">TimeseriesGroupSummaryResponse</a></code>
6392+
- <code><a href="./src/resources/radar/ai/timeseries-groups.ts">TimeseriesGroupTimeseriesResponse</a></code>
6393+
- <code><a href="./src/resources/radar/ai/timeseries-groups.ts">TimeseriesGroupTimeseriesGroupsResponse</a></code>
63926394
- <code><a href="./src/resources/radar/ai/timeseries-groups.ts">TimeseriesGroupUserAgentResponse</a></code>
63936395

63946396
Methods:
63956397

6398+
- <code title="get /radar/ai/bots/summary/{dimension}">client.radar.ai.timeseriesGroups.<a href="./src/resources/radar/ai/timeseries-groups.ts">summary</a>(dimension, { ...params }) -> TimeseriesGroupSummaryResponse</code>
6399+
- <code title="get /radar/ai/bots/timeseries">client.radar.ai.timeseriesGroups.<a href="./src/resources/radar/ai/timeseries-groups.ts">timeseries</a>({ ...params }) -> TimeseriesGroupTimeseriesResponse</code>
6400+
- <code title="get /radar/ai/bots/timeseries_groups/{dimension}">client.radar.ai.timeseriesGroups.<a href="./src/resources/radar/ai/timeseries-groups.ts">timeseriesGroups</a>(dimension, { ...params }) -> TimeseriesGroupTimeseriesGroupsResponse</code>
63966401
- <code title="get /radar/ai/bots/timeseries_groups/user_agent">client.radar.ai.timeseriesGroups.<a href="./src/resources/radar/ai/timeseries-groups.ts">userAgent</a>({ ...params }) -> TimeseriesGroupUserAgentResponse</code>
63976402

6403+
## Ct
6404+
6405+
Types:
6406+
6407+
- <code><a href="./src/resources/radar/ct/ct.ts">CtSummaryResponse</a></code>
6408+
- <code><a href="./src/resources/radar/ct/ct.ts">CtTimeseriesResponse</a></code>
6409+
- <code><a href="./src/resources/radar/ct/ct.ts">CtTimeseriesGroupsResponse</a></code>
6410+
6411+
Methods:
6412+
6413+
- <code title="get /radar/ct/summary/{dimension}">client.radar.ct.<a href="./src/resources/radar/ct/ct.ts">summary</a>(dimension, { ...params }) -> CtSummaryResponse</code>
6414+
- <code title="get /radar/ct/timeseries">client.radar.ct.<a href="./src/resources/radar/ct/ct.ts">timeseries</a>({ ...params }) -> CtTimeseriesResponse</code>
6415+
- <code title="get /radar/ct/timeseries_groups/{dimension}">client.radar.ct.<a href="./src/resources/radar/ct/ct.ts">timeseriesGroups</a>(dimension, { ...params }) -> CtTimeseriesGroupsResponse</code>
6416+
6417+
### Authorities
6418+
6419+
Types:
6420+
6421+
- <code><a href="./src/resources/radar/ct/authorities.ts">AuthorityListResponse</a></code>
6422+
- <code><a href="./src/resources/radar/ct/authorities.ts">AuthorityGetResponse</a></code>
6423+
6424+
Methods:
6425+
6426+
- <code title="get /radar/ct/authorities">client.radar.ct.authorities.<a href="./src/resources/radar/ct/authorities.ts">list</a>({ ...params }) -> AuthorityListResponse</code>
6427+
- <code title="get /radar/ct/authorities/{ca_slug}">client.radar.ct.authorities.<a href="./src/resources/radar/ct/authorities.ts">get</a>(caSlug, { ...params }) -> AuthorityGetResponse</code>
6428+
6429+
### Logs
6430+
6431+
Types:
6432+
6433+
- <code><a href="./src/resources/radar/ct/logs.ts">LogListResponse</a></code>
6434+
- <code><a href="./src/resources/radar/ct/logs.ts">LogGetResponse</a></code>
6435+
6436+
Methods:
6437+
6438+
- <code title="get /radar/ct/logs">client.radar.ct.logs.<a href="./src/resources/radar/ct/logs.ts">list</a>({ ...params }) -> LogListResponse</code>
6439+
- <code title="get /radar/ct/logs/{log_slug}">client.radar.ct.logs.<a href="./src/resources/radar/ct/logs.ts">get</a>(logSlug, { ...params }) -> LogGetResponse</code>
6440+
63986441
## Annotations
63996442

64006443
Types:

scripts/detect-breaking-changes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,9 @@ TEST_PATHS=(
545545
tests/api-resources/radar/ai/bots/bots.test.ts
546546
tests/api-resources/radar/ai/bots/summary.test.ts
547547
tests/api-resources/radar/ai/timeseries-groups.test.ts
548+
tests/api-resources/radar/ct/ct.test.ts
549+
tests/api-resources/radar/ct/authorities.test.ts
550+
tests/api-resources/radar/ct/logs.test.ts
548551
tests/api-resources/radar/annotations/annotations.test.ts
549552
tests/api-resources/radar/annotations/outages.test.ts
550553
tests/api-resources/radar/bgp/bgp.test.ts

src/resources/kv/namespaces/keys.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ export interface Key {
117117
*/
118118
expiration?: number;
119119

120+
/**
121+
* Arbitrary JSON that is associated with a key.
122+
*/
120123
metadata?: unknown;
121124
}
122125

@@ -153,8 +156,14 @@ export namespace KeyBulkGetResponse {
153156

154157
export namespace WorkersKVBulkGetResultWithMetadata {
155158
export interface Values {
159+
/**
160+
* The metadata associated with the key.
161+
*/
156162
metadata: unknown;
157163

164+
/**
165+
* The value associated with the key.
166+
*/
158167
value: unknown;
159168

160169
/**
@@ -268,6 +277,9 @@ export namespace KeyBulkUpdateParams {
268277
*/
269278
expiration_ttl?: number;
270279

280+
/**
281+
* Arbitrary JSON that is associated with a key.
282+
*/
271283
metadata?: unknown;
272284
}
273285
}

src/resources/kv/namespaces/metadata.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ export class Metadata extends APIResource {
3434
}
3535
}
3636

37+
/**
38+
* Arbitrary JSON that is associated with a key.
39+
*/
3740
export type MetadataGetResponse = unknown;
3841

3942
export interface MetadataGetParams {

src/resources/kv/namespaces/namespaces.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,14 @@ export namespace NamespaceBulkGetResponse {
312312

313313
export namespace WorkersKVBulkGetResultWithMetadata {
314314
export interface Values {
315+
/**
316+
* The metadata associated with the key.
317+
*/
315318
metadata: unknown;
316319

320+
/**
321+
* The value associated with the key.
322+
*/
317323
value: unknown;
318324

319325
/**
@@ -462,6 +468,9 @@ export namespace NamespaceBulkUpdateParams {
462468
*/
463469
expiration_ttl?: number;
464470

471+
/**
472+
* Arbitrary JSON that is associated with a key.
473+
*/
465474
metadata?: unknown;
466475
}
467476
}

src/resources/kv/namespaces/values.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export interface ValueUpdateParams {
134134
expiration_ttl?: number;
135135

136136
/**
137-
* Body param:
137+
* Body param: Associates arbitrary JSON data with a key/value pair.
138138
*/
139139
metadata?: unknown;
140140
}

src/resources/radar/ai/ai.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
import { APIResource } from '../../../resource';
44
import * as TimeseriesGroupsAPI from './timeseries-groups';
55
import {
6+
TimeseriesGroupSummaryParams,
7+
TimeseriesGroupSummaryResponse,
8+
TimeseriesGroupTimeseriesGroupsParams,
9+
TimeseriesGroupTimeseriesGroupsResponse,
10+
TimeseriesGroupTimeseriesParams,
11+
TimeseriesGroupTimeseriesResponse,
612
TimeseriesGroupUserAgentParams,
713
TimeseriesGroupUserAgentResponse,
814
TimeseriesGroups,
@@ -48,7 +54,13 @@ export declare namespace AI {
4854

4955
export {
5056
TimeseriesGroups as TimeseriesGroups,
57+
type TimeseriesGroupSummaryResponse as TimeseriesGroupSummaryResponse,
58+
type TimeseriesGroupTimeseriesResponse as TimeseriesGroupTimeseriesResponse,
59+
type TimeseriesGroupTimeseriesGroupsResponse as TimeseriesGroupTimeseriesGroupsResponse,
5160
type TimeseriesGroupUserAgentResponse as TimeseriesGroupUserAgentResponse,
61+
type TimeseriesGroupSummaryParams as TimeseriesGroupSummaryParams,
62+
type TimeseriesGroupTimeseriesParams as TimeseriesGroupTimeseriesParams,
63+
type TimeseriesGroupTimeseriesGroupsParams as TimeseriesGroupTimeseriesGroupsParams,
5264
type TimeseriesGroupUserAgentParams as TimeseriesGroupUserAgentParams,
5365
};
5466
}

src/resources/radar/ai/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ export { Bots } from './bots/index';
55
export { Inference } from './inference/index';
66
export {
77
TimeseriesGroups,
8+
type TimeseriesGroupSummaryResponse,
9+
type TimeseriesGroupTimeseriesResponse,
10+
type TimeseriesGroupTimeseriesGroupsResponse,
811
type TimeseriesGroupUserAgentResponse,
12+
type TimeseriesGroupSummaryParams,
13+
type TimeseriesGroupTimeseriesParams,
14+
type TimeseriesGroupTimeseriesGroupsParams,
915
type TimeseriesGroupUserAgentParams,
1016
} from './timeseries-groups';
1117
export {

0 commit comments

Comments
 (0)