diff --git a/generated_types.json b/generated_types.json index 5b964de9..ca8b3079 100644 --- a/generated_types.json +++ b/generated_types.json @@ -6054,6 +6054,32 @@ "null" ] }, + "visibility": { + "type": [ + "object", + "null" + ], + "properties": { + "users": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "groups": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + } + }, "online": { "$ref": "#/components/schemas/OnlineScoreConfig" } diff --git a/py/src/braintrust/_generated_types.py b/py/src/braintrust/_generated_types.py index 17a654bc..6d668620 100644 --- a/py/src/braintrust/_generated_types.py +++ b/py/src/braintrust/_generated_types.py @@ -1775,6 +1775,11 @@ class ProjectScoreCategory(TypedDict): """ +class ProjectScoreConfigVisibility(TypedDict): + users: NotRequired[Sequence[str] | None] + groups: NotRequired[Sequence[str] | None] + + ProjectScoreType: TypeAlias = Literal[ 'slider', 'categorical', 'weighted', 'minimum', 'maximum', 'online', 'free-form' ] @@ -3284,6 +3289,7 @@ class ProjectAutomationConfig2(TypedDict): class ProjectScoreConfig(TypedDict): multi_select: NotRequired[bool | None] destination: NotRequired[str | None] + visibility: NotRequired[ProjectScoreConfigVisibility | None] online: NotRequired[OnlineScoreConfig | None] diff --git a/py/src/braintrust/generated_types.py b/py/src/braintrust/generated_types.py index c4fe0a49..ad3f5075 100644 --- a/py/src/braintrust/generated_types.py +++ b/py/src/braintrust/generated_types.py @@ -1,4 +1,4 @@ -"""Auto-generated file (content hash 7a2c5cda6562eb35) -- do not modify""" +"""Auto-generated file (content hash da3ed4d7e6b51d9c) -- do not modify""" from ._generated_types import ( Acl,