From 0d2316588b5974daaf5b5284bdaa29b0f33e7784 Mon Sep 17 00:00:00 2001 From: "braintrust-bot[bot]" <215900051+braintrust-bot[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 21:11:01 +0000 Subject: [PATCH] chore: generated SDK types --- generated_types.json | 30 ++++++++++++++++++++++++++++++ js/src/generated_types.ts | 9 ++++++++- 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/generated_types.json b/generated_types.json index 51e2a803c..34bb7e938 100644 --- a/generated_types.json +++ b/generated_types.json @@ -109,6 +109,11 @@ "format": "date-time", "description": "Date of last AI secret update" }, + "secret_updated_at": { + "type": ["string", "null"], + "format": "date-time", + "description": "Date of last update to the encrypted secret value itself" + }, "org_id": { "type": "string", "format": "uuid", @@ -125,6 +130,11 @@ "type": ["object", "null"], "additionalProperties": {} }, + "secret_updated_by_user_id": { + "type": ["string", "null"], + "format": "uuid", + "description": "User id of the last update to the encrypted secret value" + }, "preview_secret": { "type": ["string", "null"] } @@ -1020,6 +1030,9 @@ "items": { "$ref": "#/components/schemas/ChatCompletionMessageReasoning" } + }, + "reasoning_signature": { + "type": "string" } }, "required": ["role"], @@ -1267,6 +1280,9 @@ "items": { "$ref": "#/components/schemas/ChatCompletionMessageReasoning" } + }, + "reasoning_signature": { + "type": "string" } }, "required": ["role"], @@ -1833,6 +1849,16 @@ "format": "date-time", "description": "Date of environment variable creation" }, + "secret_updated_at": { + "type": ["string", "null"], + "format": "date-time", + "description": "Date of last update to the encrypted secret value itself" + }, + "secret_updated_by_user_id": { + "type": ["string", "null"], + "format": "uuid", + "description": "User id of the last update to the encrypted secret value" + }, "used": { "type": ["string", "null"], "format": "date-time", @@ -1843,6 +1869,10 @@ "additionalProperties": {}, "description": "Optional metadata associated with the environment variable when managed via the function secrets API" }, + "preview_secret": { + "type": ["string", "null"], + "description": "Redacted preview of the stored secret value" + }, "secret_type": { "type": ["string", "null"], "description": "Optional classification for the secret (for example, the AI provider name)" diff --git a/js/src/generated_types.ts b/js/src/generated_types.ts index 609438488..d8c96e52f 100644 --- a/js/src/generated_types.ts +++ b/js/src/generated_types.ts @@ -1,4 +1,4 @@ -// Auto-generated file (content hash 6a3eaf06ccb50b7d) -- do not modify +// Auto-generated file (content hash 2046371fcb54d28e) -- do not modify import { z } from "zod/v3"; @@ -47,12 +47,14 @@ export const AISecret = z.object({ id: z.string().uuid(), created: z.union([z.string(), z.null()]).optional(), updated_at: z.union([z.string(), z.null()]).optional(), + secret_updated_at: z.union([z.string(), z.null()]).optional(), org_id: z.string().uuid(), name: z.string(), type: z.union([z.string(), z.null()]).optional(), metadata: z .union([z.object({}).partial().passthrough(), z.null()]) .optional(), + secret_updated_by_user_id: z.union([z.string(), z.null()]).optional(), preview_secret: z.union([z.string(), z.null()]).optional(), }); export type AISecretType = z.infer; @@ -436,6 +438,7 @@ export const ChatCompletionMessageParam = z.union([ name: z.string().optional(), tool_calls: z.array(ChatCompletionMessageToolCall).optional(), reasoning: z.array(ChatCompletionMessageReasoning).optional(), + reasoning_signature: z.string().optional(), }), z.object({ content: z.union([z.string(), z.array(ChatCompletionContentPartText)]), @@ -482,6 +485,7 @@ export const ChatCompletionOpenAIMessageParam = z.union([ name: z.string().optional(), tool_calls: z.array(ChatCompletionMessageToolCall).optional(), reasoning: z.array(ChatCompletionMessageReasoning).optional(), + reasoning_signature: z.string().optional(), }), z.object({ content: z.union([z.string(), z.array(ChatCompletionContentPartText)]), @@ -667,10 +671,13 @@ export const EnvVar = z.object({ object_id: z.string().uuid(), name: z.string(), created: z.union([z.string(), z.null()]).optional(), + secret_updated_at: z.union([z.string(), z.null()]).optional(), + secret_updated_by_user_id: z.union([z.string(), z.null()]).optional(), used: z.union([z.string(), z.null()]).optional(), metadata: z .union([z.object({}).partial().passthrough(), z.null()]) .optional(), + preview_secret: z.union([z.string(), z.null()]).optional(), secret_type: z.union([z.string(), z.null()]).optional(), secret_category: z .enum(["env_var", "ai_provider", "sandbox_provider"])