Skip to content

Commit b4e0415

Browse files
chore(api): upload stainless config from cloudflare-config
1 parent 0239b4f commit b4e0415

File tree

25 files changed

+2953
-104
lines changed

25 files changed

+2953
-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: 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: 53 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

@@ -6379,6 +6378,56 @@ Methods:
63796378

63806379
### TimeseriesGroups
63816380

6381+
Types:
6382+
6383+
- <code><a href="./src/resources/radar/ai/timeseries-groups.ts">TimeseriesGroupSummaryResponse</a></code>
6384+
- <code><a href="./src/resources/radar/ai/timeseries-groups.ts">TimeseriesGroupTimeseriesResponse</a></code>
6385+
- <code><a href="./src/resources/radar/ai/timeseries-groups.ts">TimeseriesGroupTimeseriesGroupsResponse</a></code>
6386+
6387+
Methods:
6388+
6389+
- <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>
6390+
- <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>
6391+
- <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>
6392+
6393+
## Ct
6394+
6395+
Types:
6396+
6397+
- <code><a href="./src/resources/radar/ct/ct.ts">CtSummaryResponse</a></code>
6398+
- <code><a href="./src/resources/radar/ct/ct.ts">CtTimeseriesResponse</a></code>
6399+
- <code><a href="./src/resources/radar/ct/ct.ts">CtTimeseriesGroupsResponse</a></code>
6400+
6401+
Methods:
6402+
6403+
- <code title="get /radar/ct/summary/{dimension}">client.radar.ct.<a href="./src/resources/radar/ct/ct.ts">summary</a>(dimension, { ...params }) -> CtSummaryResponse</code>
6404+
- <code title="get /radar/ct/timeseries">client.radar.ct.<a href="./src/resources/radar/ct/ct.ts">timeseries</a>({ ...params }) -> CtTimeseriesResponse</code>
6405+
- <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>
6406+
6407+
### Authorities
6408+
6409+
Types:
6410+
6411+
- <code><a href="./src/resources/radar/ct/authorities.ts">AuthorityListResponse</a></code>
6412+
- <code><a href="./src/resources/radar/ct/authorities.ts">AuthorityGetResponse</a></code>
6413+
6414+
Methods:
6415+
6416+
- <code title="get /radar/ct/authorities">client.radar.ct.authorities.<a href="./src/resources/radar/ct/authorities.ts">list</a>({ ...params }) -> AuthorityListResponse</code>
6417+
- <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>
6418+
6419+
### Logs
6420+
6421+
Types:
6422+
6423+
- <code><a href="./src/resources/radar/ct/logs.ts">LogListResponse</a></code>
6424+
- <code><a href="./src/resources/radar/ct/logs.ts">LogGetResponse</a></code>
6425+
6426+
Methods:
6427+
6428+
- <code title="get /radar/ct/logs">client.radar.ct.logs.<a href="./src/resources/radar/ct/logs.ts">list</a>({ ...params }) -> LogListResponse</code>
6429+
- <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>
6430+
63826431
## Annotations
63836432

63846433
Types:

scripts/detect-breaking-changes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,10 @@ TEST_PATHS=(
542542
tests/api-resources/radar/ai/inference/summary.test.ts
543543
tests/api-resources/radar/ai/inference/timeseries-groups/timeseries-groups.test.ts
544544
tests/api-resources/radar/ai/inference/timeseries-groups/summary.test.ts
545+
tests/api-resources/radar/ai/timeseries-groups.test.ts
546+
tests/api-resources/radar/ct/ct.test.ts
547+
tests/api-resources/radar/ct/authorities.test.ts
548+
tests/api-resources/radar/ct/logs.test.ts
545549
tests/api-resources/radar/annotations/annotations.test.ts
546550
tests/api-resources/radar/annotations/outages.test.ts
547551
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: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22

33
import { APIResource } from '../../../resource';
44
import * as TimeseriesGroupsAPI from './timeseries-groups';
5-
import { TimeseriesGroups } from './timeseries-groups';
5+
import {
6+
TimeseriesGroupSummaryParams,
7+
TimeseriesGroupSummaryResponse,
8+
TimeseriesGroupTimeseriesGroupsParams,
9+
TimeseriesGroupTimeseriesGroupsResponse,
10+
TimeseriesGroupTimeseriesParams,
11+
TimeseriesGroupTimeseriesResponse,
12+
TimeseriesGroups,
13+
} from './timeseries-groups';
614
import * as ToMarkdownAPI from './to-markdown';
715
import {
816
ToMarkdown,
@@ -42,5 +50,13 @@ export declare namespace AI {
4250

4351
export { Bots as Bots };
4452

45-
export { TimeseriesGroups as TimeseriesGroups };
53+
export {
54+
TimeseriesGroups as TimeseriesGroups,
55+
type TimeseriesGroupSummaryResponse as TimeseriesGroupSummaryResponse,
56+
type TimeseriesGroupTimeseriesResponse as TimeseriesGroupTimeseriesResponse,
57+
type TimeseriesGroupTimeseriesGroupsResponse as TimeseriesGroupTimeseriesGroupsResponse,
58+
type TimeseriesGroupSummaryParams as TimeseriesGroupSummaryParams,
59+
type TimeseriesGroupTimeseriesParams as TimeseriesGroupTimeseriesParams,
60+
type TimeseriesGroupTimeseriesGroupsParams as TimeseriesGroupTimeseriesGroupsParams,
61+
};
4662
}

src/resources/radar/ai/index.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@
33
export { AI } from './ai';
44
export { Bots } from './bots/index';
55
export { Inference } from './inference/index';
6-
export { TimeseriesGroups } from './timeseries-groups';
6+
export {
7+
TimeseriesGroups,
8+
type TimeseriesGroupSummaryResponse,
9+
type TimeseriesGroupTimeseriesResponse,
10+
type TimeseriesGroupTimeseriesGroupsResponse,
11+
type TimeseriesGroupSummaryParams,
12+
type TimeseriesGroupTimeseriesParams,
13+
type TimeseriesGroupTimeseriesGroupsParams,
14+
} from './timeseries-groups';
715
export {
816
ToMarkdownCreateResponsesSinglePage,
917
ToMarkdown,

0 commit comments

Comments
 (0)