Skip to content

Commit 1924559

Browse files
chore(api): update type names
1 parent 0acd0da commit 1924559

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
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: 111
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-04213ea42074f52b8e7e60e101ed7d7ae47b8abcc233c7e8eae310bba544454d.yml
3-
openapi_spec_hash: 5fb148608764103ba3700cd6bda4f22e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-0205acb1015d29b2312a48526734c0399f93026d4fe2dff5c7768f566e333fd2.yml
3+
openapi_spec_hash: 1772cc9056c2f6dfb2a4e9cb77ee6343
44
config_hash: ed1e6b3c5f93d12b80d31167f55c557c

src/openai/types/beta/realtime/session.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"InputAudioTranscription",
1212
"Tool",
1313
"Tracing",
14-
"TracingUnionMember1",
14+
"TracingTracingConfiguration",
1515
"TurnDetection",
1616
]
1717

@@ -67,7 +67,7 @@ class Tool(BaseModel):
6767
"""The type of the tool, i.e. `function`."""
6868

6969

70-
class TracingUnionMember1(BaseModel):
70+
class TracingTracingConfiguration(BaseModel):
7171
group_id: Optional[str] = None
7272
"""
7373
The group id to attach to this trace to enable filtering and grouping in the
@@ -87,7 +87,7 @@ class TracingUnionMember1(BaseModel):
8787
"""
8888

8989

90-
Tracing: TypeAlias = Union[Literal["auto"], TracingUnionMember1]
90+
Tracing: TypeAlias = Union[Literal["auto"], TracingTracingConfiguration]
9191

9292

9393
class TurnDetection(BaseModel):

src/openai/types/beta/realtime/session_create_params.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"InputAudioTranscription",
1414
"Tool",
1515
"Tracing",
16-
"TracingUnionMember1",
16+
"TracingTracingConfiguration",
1717
"TurnDetection",
1818
]
1919

@@ -226,7 +226,7 @@ class Tool(TypedDict, total=False):
226226
"""The type of the tool, i.e. `function`."""
227227

228228

229-
class TracingUnionMember1(TypedDict, total=False):
229+
class TracingTracingConfiguration(TypedDict, total=False):
230230
group_id: str
231231
"""
232232
The group id to attach to this trace to enable filtering and grouping in the
@@ -246,7 +246,7 @@ class TracingUnionMember1(TypedDict, total=False):
246246
"""
247247

248248

249-
Tracing: TypeAlias = Union[Literal["auto"], TracingUnionMember1]
249+
Tracing: TypeAlias = Union[Literal["auto"], TracingTracingConfiguration]
250250

251251

252252
class TurnDetection(TypedDict, total=False):

src/openai/types/beta/realtime/session_create_response.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"InputAudioTranscription",
1212
"Tool",
1313
"Tracing",
14-
"TracingUnionMember1",
14+
"TracingTracingConfiguration",
1515
"TurnDetection",
1616
]
1717

@@ -56,7 +56,7 @@ class Tool(BaseModel):
5656
"""The type of the tool, i.e. `function`."""
5757

5858

59-
class TracingUnionMember1(BaseModel):
59+
class TracingTracingConfiguration(BaseModel):
6060
group_id: Optional[str] = None
6161
"""
6262
The group id to attach to this trace to enable filtering and grouping in the
@@ -76,7 +76,7 @@ class TracingUnionMember1(BaseModel):
7676
"""
7777

7878

79-
Tracing: TypeAlias = Union[Literal["auto"], TracingUnionMember1]
79+
Tracing: TypeAlias = Union[Literal["auto"], TracingTracingConfiguration]
8080

8181

8282
class TurnDetection(BaseModel):

src/openai/types/beta/realtime/session_update_event.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"SessionInputAudioTranscription",
1515
"SessionTool",
1616
"SessionTracing",
17-
"SessionTracingUnionMember1",
17+
"SessionTracingTracingConfiguration",
1818
"SessionTurnDetection",
1919
]
2020

@@ -89,7 +89,7 @@ class SessionTool(BaseModel):
8989
"""The type of the tool, i.e. `function`."""
9090

9191

92-
class SessionTracingUnionMember1(BaseModel):
92+
class SessionTracingTracingConfiguration(BaseModel):
9393
group_id: Optional[str] = None
9494
"""
9595
The group id to attach to this trace to enable filtering and grouping in the
@@ -109,7 +109,7 @@ class SessionTracingUnionMember1(BaseModel):
109109
"""
110110

111111

112-
SessionTracing: TypeAlias = Union[Literal["auto"], SessionTracingUnionMember1]
112+
SessionTracing: TypeAlias = Union[Literal["auto"], SessionTracingTracingConfiguration]
113113

114114

115115
class SessionTurnDetection(BaseModel):

src/openai/types/beta/realtime/session_update_event_param.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"SessionInputAudioTranscription",
1515
"SessionTool",
1616
"SessionTracing",
17-
"SessionTracingUnionMember1",
17+
"SessionTracingTracingConfiguration",
1818
"SessionTurnDetection",
1919
]
2020

@@ -89,7 +89,7 @@ class SessionTool(TypedDict, total=False):
8989
"""The type of the tool, i.e. `function`."""
9090

9191

92-
class SessionTracingUnionMember1(TypedDict, total=False):
92+
class SessionTracingTracingConfiguration(TypedDict, total=False):
9393
group_id: str
9494
"""
9595
The group id to attach to this trace to enable filtering and grouping in the
@@ -109,7 +109,7 @@ class SessionTracingUnionMember1(TypedDict, total=False):
109109
"""
110110

111111

112-
SessionTracing: TypeAlias = Union[Literal["auto"], SessionTracingUnionMember1]
112+
SessionTracing: TypeAlias = Union[Literal["auto"], SessionTracingTracingConfiguration]
113113

114114

115115
class SessionTurnDetection(TypedDict, total=False):

0 commit comments

Comments
 (0)