Skip to content

Commit 4451ae3

Browse files
chore(api): update composite API spec
1 parent f6f0bcb commit 4451ae3

File tree

6 files changed

+29
-23
lines changed

6 files changed

+29
-23
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1886
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-e1b2f7817924e5dfc092f19089635f3e120f8b2aa35e9d7684ecbbe007f83b21.yml
3-
openapi_spec_hash: 620caf2b3768f663857f3b51d887a181
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4dfa826e7a47e343bab3db833a468c775d60c9e5ae8b492fc8c1905d35f20691.yml
3+
openapi_spec_hash: aa342ab3145b47a6b45b6fff850ced4b
44
config_hash: feb968146b5a84697390fed70d260f68

src/resources/zero-trust/access/ai-controls/mcp/portals.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,9 @@ export namespace PortalReadResponse {
257257

258258
name: string;
259259

260-
prompts: Array<{ [key: string]: number | string }>;
260+
prompts: Array<unknown>;
261261

262-
tools: Array<{ [key: string]: number | string }>;
262+
tools: Array<unknown>;
263263

264264
updated_prompts: Array<{ [key: string]: number | string }>;
265265

src/resources/zero-trust/access/ai-controls/mcp/servers.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ export interface ServerCreateResponse {
176176

177177
name: string;
178178

179-
prompts: Array<{ [key: string]: number | string }>;
179+
prompts: Array<unknown>;
180180

181-
tools: Array<{ [key: string]: number | string }>;
181+
tools: Array<unknown>;
182182

183183
created_at?: string;
184184

@@ -209,9 +209,9 @@ export interface ServerUpdateResponse {
209209

210210
name: string;
211211

212-
prompts: Array<{ [key: string]: number | string }>;
212+
prompts: Array<unknown>;
213213

214-
tools: Array<{ [key: string]: number | string }>;
214+
tools: Array<unknown>;
215215

216216
created_at?: string;
217217

@@ -242,9 +242,9 @@ export interface ServerListResponse {
242242

243243
name: string;
244244

245-
prompts: Array<{ [key: string]: number | string }>;
245+
prompts: Array<unknown>;
246246

247-
tools: Array<{ [key: string]: number | string }>;
247+
tools: Array<unknown>;
248248

249249
created_at?: string;
250250

@@ -275,9 +275,9 @@ export interface ServerDeleteResponse {
275275

276276
name: string;
277277

278-
prompts: Array<{ [key: string]: number | string }>;
278+
prompts: Array<unknown>;
279279

280-
tools: Array<{ [key: string]: number | string }>;
280+
tools: Array<unknown>;
281281

282282
created_at?: string;
283283

@@ -308,9 +308,9 @@ export interface ServerReadResponse {
308308

309309
name: string;
310310

311-
prompts: Array<{ [key: string]: number | string }>;
311+
prompts: Array<unknown>;
312312

313-
tools: Array<{ [key: string]: number | string }>;
313+
tools: Array<unknown>;
314314

315315
created_at?: string;
316316

src/resources/zero-trust/devices/devices.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,9 @@ export interface Device {
253253
os_version?: string;
254254

255255
/**
256-
* The operating system version extra parameter.
256+
* Additional operating system version details. For Windows, the UBR (Update Build
257+
* Revision). For Mac or iOS, the Product Version Extra. For Linux, the
258+
* distribution name and version.
257259
*/
258260
os_version_extra?: string;
259261

src/resources/zero-trust/devices/devices_.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,9 @@ export interface DeviceListResponse {
196196
os_version?: string | null;
197197

198198
/**
199-
* Additional operating system version data. For macOS or iOS, the Product Version
200-
* Extra. For Linux, the kernel release version.
199+
* Additional operating system version details. For Windows, the UBR (Update Build
200+
* Revision). For Mac or iOS, the Product Version Extra. For Linux, the
201+
* distribution name and version.
201202
*/
202203
os_version_extra?: string | null;
203204

@@ -366,8 +367,9 @@ export interface DeviceGetResponse {
366367
os_version?: string | null;
367368

368369
/**
369-
* Additional operating system version data. For macOS or iOS, the Product Version
370-
* Extra. For Linux, the kernel release version.
370+
* Additional operating system version details. For Windows, the UBR (Update Build
371+
* Revision). For Mac or iOS, the Product Version Extra. For Linux, the
372+
* distribution name and version.
371373
*/
372374
os_version_extra?: string | null;
373375

src/resources/zero-trust/devices/posture/posture.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -849,8 +849,9 @@ export interface OSVersionInput {
849849
os_distro_revision?: string;
850850

851851
/**
852-
* Additional version data. For Mac or iOS, the Product Version Extra. For Linux,
853-
* the distribution name and version. (Mac, iOS, and Linux only).
852+
* Additional operating system version details. For Windows, the UBR (Update Build
853+
* Revision). For Mac or iOS, the Product Version Extra. For Linux, the
854+
* distribution name and version.
854855
*/
855856
os_version_extra?: string;
856857
}
@@ -882,8 +883,9 @@ export interface OSVersionInputParam {
882883
os_distro_revision?: string;
883884

884885
/**
885-
* Additional version data. For Mac or iOS, the Product Version Extra. For Linux,
886-
* the distribution name and version. (Mac, iOS, and Linux only).
886+
* Additional operating system version details. For Windows, the UBR (Update Build
887+
* Revision). For Mac or iOS, the Product Version Extra. For Linux, the
888+
* distribution name and version.
887889
*/
888890
os_version_extra?: string;
889891
}

0 commit comments

Comments
 (0)