@@ -472,7 +472,7 @@ export interface Response {
472472 * Learn more about
473473 * [built-in tools](https://platform.openai.com/docs/guides/tools).
474474 * - **MCP Tools**: Integrations with third-party systems via custom MCP servers or
475- * predefined connectors such as Google Drive and Notion . Learn more about
475+ * predefined connectors such as Google Drive and SharePoint . Learn more about
476476 * [MCP Tools](https://platform.openai.com/docs/guides/tools-connectors-mcp).
477477 * - **Function calls (custom tools)**: Functions that are defined by you, enabling
478478 * the model to call your own code with strongly typed arguments and outputs.
@@ -1280,6 +1280,7 @@ export type ResponseContent =
12801280 | ResponseInputText
12811281 | ResponseInputImage
12821282 | ResponseInputFile
1283+ | ResponseInputAudio
12831284 | ResponseOutputText
12841285 | ResponseOutputRefusal ;
12851286
@@ -2205,26 +2206,36 @@ export type ResponseInput = Array<ResponseInputItem>;
22052206 * An audio input to the model.
22062207 */
22072208export interface ResponseInputAudio {
2208- /**
2209- * Base64-encoded audio data.
2210- */
2211- data : string ;
2212-
2213- /**
2214- * The format of the audio data. Currently supported formats are `mp3` and `wav`.
2215- */
2216- format : 'mp3' | 'wav' ;
2209+ input_audio : ResponseInputAudio . InputAudio ;
22172210
22182211 /**
22192212 * The type of the input item. Always `input_audio`.
22202213 */
22212214 type : 'input_audio' ;
22222215}
22232216
2217+ export namespace ResponseInputAudio {
2218+ export interface InputAudio {
2219+ /**
2220+ * Base64-encoded audio data.
2221+ */
2222+ data : string ;
2223+
2224+ /**
2225+ * The format of the audio data. Currently supported formats are `mp3` and `wav`.
2226+ */
2227+ format : 'mp3' | 'wav' ;
2228+ }
2229+ }
2230+
22242231/**
22252232 * A text input to the model.
22262233 */
2227- export type ResponseInputContent = ResponseInputText | ResponseInputImage | ResponseInputFile ;
2234+ export type ResponseInputContent =
2235+ | ResponseInputText
2236+ | ResponseInputImage
2237+ | ResponseInputFile
2238+ | ResponseInputAudio ;
22282239
22292240/**
22302241 * A file input to the model.
@@ -5422,7 +5433,7 @@ export interface ResponseCreateParamsBase {
54225433 * Learn more about
54235434 * [built-in tools](https://platform.openai.com/docs/guides/tools).
54245435 * - **MCP Tools**: Integrations with third-party systems via custom MCP servers or
5425- * predefined connectors such as Google Drive and Notion . Learn more about
5436+ * predefined connectors such as Google Drive and SharePoint . Learn more about
54265437 * [MCP Tools](https://platform.openai.com/docs/guides/tools-connectors-mcp).
54275438 * - **Function calls (custom tools)**: Functions that are defined by you, enabling
54285439 * the model to call your own code with strongly typed arguments and outputs.
0 commit comments