openai 4.87.4 → 4.89.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/helpers/audio.d.ts +12 -0
  3. package/helpers/audio.d.ts.map +1 -0
  4. package/helpers/audio.js +121 -0
  5. package/helpers/audio.js.map +1 -0
  6. package/helpers/audio.mjs +116 -0
  7. package/helpers/audio.mjs.map +1 -0
  8. package/index.d.mts +2 -0
  9. package/index.d.ts +2 -0
  10. package/index.d.ts.map +1 -1
  11. package/index.js.map +1 -1
  12. package/index.mjs.map +1 -1
  13. package/package.json +8 -29
  14. package/resources/audio/audio.d.ts +5 -4
  15. package/resources/audio/audio.d.ts.map +1 -1
  16. package/resources/audio/audio.js.map +1 -1
  17. package/resources/audio/audio.mjs.map +1 -1
  18. package/resources/audio/index.d.ts +1 -1
  19. package/resources/audio/index.d.ts.map +1 -1
  20. package/resources/audio/index.js.map +1 -1
  21. package/resources/audio/index.mjs.map +1 -1
  22. package/resources/audio/speech.d.ts +7 -2
  23. package/resources/audio/speech.d.ts.map +1 -1
  24. package/resources/audio/transcriptions.d.ts +172 -9
  25. package/resources/audio/transcriptions.d.ts.map +1 -1
  26. package/resources/audio/transcriptions.js.map +1 -1
  27. package/resources/audio/transcriptions.mjs.map +1 -1
  28. package/resources/audio/translations.d.ts +1 -1
  29. package/resources/audio/translations.d.ts.map +1 -1
  30. package/resources/beta/realtime/index.d.ts +1 -0
  31. package/resources/beta/realtime/index.d.ts.map +1 -1
  32. package/resources/beta/realtime/index.js +3 -1
  33. package/resources/beta/realtime/index.js.map +1 -1
  34. package/resources/beta/realtime/index.mjs +1 -0
  35. package/resources/beta/realtime/index.mjs.map +1 -1
  36. package/resources/beta/realtime/realtime.d.ts +383 -36
  37. package/resources/beta/realtime/realtime.d.ts.map +1 -1
  38. package/resources/beta/realtime/realtime.js +4 -0
  39. package/resources/beta/realtime/realtime.js.map +1 -1
  40. package/resources/beta/realtime/realtime.mjs +4 -0
  41. package/resources/beta/realtime/realtime.mjs.map +1 -1
  42. package/resources/beta/realtime/sessions.d.ts +169 -60
  43. package/resources/beta/realtime/sessions.d.ts.map +1 -1
  44. package/resources/beta/realtime/transcription-sessions.d.ts +262 -0
  45. package/resources/beta/realtime/transcription-sessions.d.ts.map +1 -0
  46. package/resources/beta/realtime/transcription-sessions.js +25 -0
  47. package/resources/beta/realtime/transcription-sessions.js.map +1 -0
  48. package/resources/beta/realtime/transcription-sessions.mjs +21 -0
  49. package/resources/beta/realtime/transcription-sessions.mjs.map +1 -0
  50. package/resources/chat/completions/completions.d.ts +1 -1
  51. package/resources/chat/completions/completions.d.ts.map +1 -1
  52. package/resources/responses/responses.d.ts +3 -3
  53. package/resources/responses/responses.d.ts.map +1 -1
  54. package/resources/shared.d.ts +3 -1
  55. package/resources/shared.d.ts.map +1 -1
  56. package/resources.d.ts +2 -0
  57. package/resources.d.ts.map +1 -0
  58. package/resources.js +18 -0
  59. package/resources.js.map +1 -0
  60. package/resources.mjs +2 -0
  61. package/resources.mjs.map +1 -0
  62. package/src/helpers/audio.ts +145 -0
  63. package/src/index.ts +2 -0
  64. package/src/resources/audio/audio.ts +15 -2
  65. package/src/resources/audio/index.ts +6 -0
  66. package/src/resources/audio/speech.ts +8 -2
  67. package/src/resources/audio/transcriptions.ts +215 -9
  68. package/src/resources/audio/translations.ts +1 -1
  69. package/src/resources/beta/realtime/index.ts +5 -0
  70. package/src/resources/beta/realtime/realtime.ts +465 -57
  71. package/src/resources/beta/realtime/sessions.ts +176 -60
  72. package/src/resources/beta/realtime/transcription-sessions.ts +308 -0
  73. package/src/resources/chat/completions/completions.ts +1 -1
  74. package/src/resources/responses/responses.ts +3 -3
  75. package/src/resources/shared.ts +22 -5
  76. package/src/resources.ts +1 -0
  77. package/src/version.ts +1 -1
  78. package/version.d.ts +1 -1
  79. package/version.js +1 -1
  80. package/version.mjs +1 -1
@@ -7,7 +7,7 @@ export declare class Speech extends APIResource {
7
7
  */
8
8
  create(body: SpeechCreateParams, options?: Core.RequestOptions): Core.APIPromise<Response>;
9
9
  }
10
- export type SpeechModel = 'tts-1' | 'tts-1-hd';
10
+ export type SpeechModel = 'tts-1' | 'tts-1-hd' | 'gpt-4o-mini-tts';
11
11
  export interface SpeechCreateParams {
12
12
  /**
13
13
  * The text to generate audio for. The maximum length is 4096 characters.
@@ -15,7 +15,7 @@ export interface SpeechCreateParams {
15
15
  input: string;
16
16
  /**
17
17
  * One of the available [TTS models](https://platform.openai.com/docs/models#tts):
18
- * `tts-1` or `tts-1-hd`
18
+ * `tts-1`, `tts-1-hd` or `gpt-4o-mini-tts`.
19
19
  */
20
20
  model: (string & {}) | SpeechModel;
21
21
  /**
@@ -25,6 +25,11 @@ export interface SpeechCreateParams {
25
25
  * [Text to speech guide](https://platform.openai.com/docs/guides/text-to-speech#voice-options).
26
26
  */
27
27
  voice: 'alloy' | 'ash' | 'coral' | 'echo' | 'fable' | 'onyx' | 'nova' | 'sage' | 'shimmer';
28
+ /**
29
+ * Control the voice of your generated audio with additional instructions. Does not
30
+ * work with `tts-1` or `tts-1-hd`.
31
+ */
32
+ instructions?: string;
28
33
  /**
29
34
  * The format to audio in. Supported formats are `mp3`, `opus`, `aac`, `flac`,
30
35
  * `wav`, and `pcm`.
@@ -1 +1 @@
1
- {"version":3,"file":"speech.d.ts","sourceRoot":"","sources":["../../src/resources/audio/speech.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;CAQ3F;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MAAM,GAAG,EAAE,CAAC,GAAG,WAAW,CAAC;IAEnC;;;;;OAKG;IACH,KAAK,EAAE,OAAO,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IAE3F;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,eAAe,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC;IAElE;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,WAAW,IAAI,WAAW,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,CAAC;CAC3F"}
@@ -1,14 +1,18 @@
1
1
  import { APIResource } from "../../resource.js";
2
2
  import * as Core from "../../core.js";
3
+ import * as TranscriptionsAPI from "./transcriptions.js";
3
4
  import * as AudioAPI from "./audio.js";
5
+ import { Stream } from "../../streaming.js";
4
6
  export declare class Transcriptions extends APIResource {
5
7
  /**
6
8
  * Transcribes audio into the input language.
7
9
  */
8
- create(body: TranscriptionCreateParams<'json' | undefined>, options?: Core.RequestOptions): Core.APIPromise<Transcription>;
9
- create(body: TranscriptionCreateParams<'verbose_json'>, options?: Core.RequestOptions): Core.APIPromise<TranscriptionVerbose>;
10
- create(body: TranscriptionCreateParams<'srt' | 'vtt' | 'text'>, options?: Core.RequestOptions): Core.APIPromise<string>;
11
- create(body: TranscriptionCreateParams, options?: Core.RequestOptions): Core.APIPromise<Transcription>;
10
+ create(body: TranscriptionCreateParamsNonStreaming<'json' | undefined>, options?: Core.RequestOptions): Core.APIPromise<Transcription>;
11
+ create(body: TranscriptionCreateParamsNonStreaming<'verbose_json'>, options?: Core.RequestOptions): Core.APIPromise<TranscriptionVerbose>;
12
+ create(body: TranscriptionCreateParamsNonStreaming<'srt' | 'vtt' | 'text'>, options?: Core.RequestOptions): Core.APIPromise<string>;
13
+ create(body: TranscriptionCreateParamsNonStreaming, options?: Core.RequestOptions): Core.APIPromise<Transcription>;
14
+ create(body: TranscriptionCreateParamsStreaming, options?: Core.RequestOptions): Core.APIPromise<Stream<TranscriptionStreamEvent>>;
15
+ create(body: TranscriptionCreateParamsStreaming, options?: Core.RequestOptions): Core.APIPromise<TranscriptionCreateResponse | string | Stream<TranscriptionStreamEvent>>;
12
16
  }
13
17
  /**
14
18
  * Represents a transcription response returned by model, based on the provided
@@ -19,7 +23,30 @@ export interface Transcription {
19
23
  * The transcribed text.
20
24
  */
21
25
  text: string;
26
+ /**
27
+ * The log probabilities of the tokens in the transcription. Only returned with the
28
+ * models `gpt-4o-transcribe` and `gpt-4o-mini-transcribe` if `logprobs` is added
29
+ * to the `include` array.
30
+ */
31
+ logprobs?: Array<Transcription.Logprob>;
32
+ }
33
+ export declare namespace Transcription {
34
+ interface Logprob {
35
+ /**
36
+ * The token in the transcription.
37
+ */
38
+ token?: string;
39
+ /**
40
+ * The bytes of the token.
41
+ */
42
+ bytes?: Array<number>;
43
+ /**
44
+ * The log probability of the token.
45
+ */
46
+ logprob?: number;
47
+ }
22
48
  }
49
+ export type TranscriptionInclude = 'logprobs';
23
50
  export interface TranscriptionSegment {
24
51
  /**
25
52
  * Unique identifier of the segment.
@@ -65,6 +92,90 @@ export interface TranscriptionSegment {
65
92
  */
66
93
  tokens: Array<number>;
67
94
  }
95
+ /**
96
+ * Emitted when there is an additional text delta. This is also the first event
97
+ * emitted when the transcription starts. Only emitted when you
98
+ * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription)
99
+ * with the `Stream` parameter set to `true`.
100
+ */
101
+ export type TranscriptionStreamEvent = TranscriptionTextDeltaEvent | TranscriptionTextDoneEvent;
102
+ /**
103
+ * Emitted when there is an additional text delta. This is also the first event
104
+ * emitted when the transcription starts. Only emitted when you
105
+ * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription)
106
+ * with the `Stream` parameter set to `true`.
107
+ */
108
+ export interface TranscriptionTextDeltaEvent {
109
+ /**
110
+ * The text delta that was additionally transcribed.
111
+ */
112
+ delta: string;
113
+ /**
114
+ * The type of the event. Always `transcript.text.delta`.
115
+ */
116
+ type: 'transcript.text.delta';
117
+ /**
118
+ * The log probabilities of the delta. Only included if you
119
+ * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription)
120
+ * with the `include[]` parameter set to `logprobs`.
121
+ */
122
+ logprobs?: Array<TranscriptionTextDeltaEvent.Logprob>;
123
+ }
124
+ export declare namespace TranscriptionTextDeltaEvent {
125
+ interface Logprob {
126
+ /**
127
+ * The token that was used to generate the log probability.
128
+ */
129
+ token?: string;
130
+ /**
131
+ * The bytes that were used to generate the log probability.
132
+ */
133
+ bytes?: Array<unknown>;
134
+ /**
135
+ * The log probability of the token.
136
+ */
137
+ logprob?: number;
138
+ }
139
+ }
140
+ /**
141
+ * Emitted when the transcription is complete. Contains the complete transcription
142
+ * text. Only emitted when you
143
+ * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription)
144
+ * with the `Stream` parameter set to `true`.
145
+ */
146
+ export interface TranscriptionTextDoneEvent {
147
+ /**
148
+ * The text that was transcribed.
149
+ */
150
+ text: string;
151
+ /**
152
+ * The type of the event. Always `transcript.text.done`.
153
+ */
154
+ type: 'transcript.text.done';
155
+ /**
156
+ * The log probabilities of the individual tokens in the transcription. Only
157
+ * included if you
158
+ * [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription)
159
+ * with the `include[]` parameter set to `logprobs`.
160
+ */
161
+ logprobs?: Array<TranscriptionTextDoneEvent.Logprob>;
162
+ }
163
+ export declare namespace TranscriptionTextDoneEvent {
164
+ interface Logprob {
165
+ /**
166
+ * The token that was used to generate the log probability.
167
+ */
168
+ token?: string;
169
+ /**
170
+ * The bytes that were used to generate the log probability.
171
+ */
172
+ bytes?: Array<unknown>;
173
+ /**
174
+ * The log probability of the token.
175
+ */
176
+ logprob?: number;
177
+ }
178
+ }
68
179
  /**
69
180
  * Represents a verbose json transcription response returned by model, based on the
70
181
  * provided input.
@@ -110,17 +221,27 @@ export interface TranscriptionWord {
110
221
  * input.
111
222
  */
112
223
  export type TranscriptionCreateResponse = Transcription | TranscriptionVerbose;
113
- export interface TranscriptionCreateParams<ResponseFormat extends AudioAPI.AudioResponseFormat | undefined = AudioAPI.AudioResponseFormat | undefined> {
224
+ export type TranscriptionCreateParams<ResponseFormat extends AudioAPI.AudioResponseFormat | undefined = AudioAPI.AudioResponseFormat | undefined> = TranscriptionCreateParamsNonStreaming<ResponseFormat> | TranscriptionCreateParamsStreaming;
225
+ export interface TranscriptionCreateParamsBase<ResponseFormat extends AudioAPI.AudioResponseFormat | undefined = AudioAPI.AudioResponseFormat | undefined> {
114
226
  /**
115
227
  * The audio file object (not file name) to transcribe, in one of these formats:
116
228
  * flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm.
117
229
  */
118
230
  file: Core.Uploadable;
119
231
  /**
120
- * ID of the model to use. Only `whisper-1` (which is powered by our open source
121
- * Whisper V2 model) is currently available.
232
+ * ID of the model to use. The options are `gpt-4o-transcribe`,
233
+ * `gpt-4o-mini-transcribe`, and `whisper-1` (which is powered by our open source
234
+ * Whisper V2 model).
122
235
  */
123
236
  model: (string & {}) | AudioAPI.AudioModel;
237
+ /**
238
+ * Additional information to include in the transcription response. `logprobs` will
239
+ * return the log probabilities of the tokens in the response to understand the
240
+ * model's confidence in the transcription. `logprobs` only works with
241
+ * response_format set to `json` and only with the models `gpt-4o-transcribe` and
242
+ * `gpt-4o-mini-transcribe`.
243
+ */
244
+ include?: Array<TranscriptionInclude>;
124
245
  /**
125
246
  * The language of the input audio. Supplying the input language in
126
247
  * [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`)
@@ -136,9 +257,21 @@ export interface TranscriptionCreateParams<ResponseFormat extends AudioAPI.Audio
136
257
  prompt?: string;
137
258
  /**
138
259
  * The format of the output, in one of these options: `json`, `text`, `srt`,
139
- * `verbose_json`, or `vtt`.
260
+ * `verbose_json`, or `vtt`. For `gpt-4o-transcribe` and `gpt-4o-mini-transcribe`,
261
+ * the only supported format is `json`.
140
262
  */
141
263
  response_format?: ResponseFormat;
264
+ /**
265
+ * If set to true, the model response data will be streamed to the client as it is
266
+ * generated using
267
+ * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).
268
+ * See the
269
+ * [Streaming section of the Speech-to-Text guide](https://platform.openai.com/docs/guides/speech-to-text?lang=curl#streaming-transcriptions)
270
+ * for more information.
271
+ *
272
+ * Note: Streaming is not supported for the `whisper-1` model and will be ignored.
273
+ */
274
+ stream?: boolean | null;
142
275
  /**
143
276
  * The sampling temperature, between 0 and 1. Higher values like 0.8 will make the
144
277
  * output more random, while lower values like 0.2 will make it more focused and
@@ -156,7 +289,37 @@ export interface TranscriptionCreateParams<ResponseFormat extends AudioAPI.Audio
156
289
  */
157
290
  timestamp_granularities?: Array<'word' | 'segment'>;
158
291
  }
292
+ export declare namespace TranscriptionCreateParams {
293
+ type TranscriptionCreateParamsNonStreaming = TranscriptionsAPI.TranscriptionCreateParamsNonStreaming;
294
+ type TranscriptionCreateParamsStreaming = TranscriptionsAPI.TranscriptionCreateParamsStreaming;
295
+ }
296
+ export interface TranscriptionCreateParamsNonStreaming<ResponseFormat extends AudioAPI.AudioResponseFormat | undefined = AudioAPI.AudioResponseFormat | undefined> extends TranscriptionCreateParamsBase<ResponseFormat> {
297
+ /**
298
+ * If set to true, the model response data will be streamed to the client as it is
299
+ * generated using
300
+ * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).
301
+ * See the
302
+ * [Streaming section of the Speech-to-Text guide](https://platform.openai.com/docs/guides/speech-to-text?lang=curl#streaming-transcriptions)
303
+ * for more information.
304
+ *
305
+ * Note: Streaming is not supported for the `whisper-1` model and will be ignored.
306
+ */
307
+ stream?: false | null;
308
+ }
309
+ export interface TranscriptionCreateParamsStreaming extends TranscriptionCreateParamsBase {
310
+ /**
311
+ * If set to true, the model response data will be streamed to the client as it is
312
+ * generated using
313
+ * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).
314
+ * See the
315
+ * [Streaming section of the Speech-to-Text guide](https://platform.openai.com/docs/guides/speech-to-text?lang=curl#streaming-transcriptions)
316
+ * for more information.
317
+ *
318
+ * Note: Streaming is not supported for the `whisper-1` model and will be ignored.
319
+ */
320
+ stream: true;
321
+ }
159
322
  export declare namespace Transcriptions {
160
- export { type Transcription as Transcription, type TranscriptionSegment as TranscriptionSegment, type TranscriptionVerbose as TranscriptionVerbose, type TranscriptionWord as TranscriptionWord, type TranscriptionCreateResponse as TranscriptionCreateResponse, type TranscriptionCreateParams as TranscriptionCreateParams, };
323
+ export { type Transcription as Transcription, type TranscriptionInclude as TranscriptionInclude, type TranscriptionSegment as TranscriptionSegment, type TranscriptionStreamEvent as TranscriptionStreamEvent, type TranscriptionTextDeltaEvent as TranscriptionTextDeltaEvent, type TranscriptionTextDoneEvent as TranscriptionTextDoneEvent, type TranscriptionVerbose as TranscriptionVerbose, type TranscriptionWord as TranscriptionWord, type TranscriptionCreateResponse as TranscriptionCreateResponse, type TranscriptionCreateParams as TranscriptionCreateParams, type TranscriptionCreateParamsNonStreaming as TranscriptionCreateParamsNonStreaming, type TranscriptionCreateParamsStreaming as TranscriptionCreateParamsStreaming, };
161
324
  }
162
325
  //# sourceMappingURL=transcriptions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transcriptions.d.ts","sourceRoot":"","sources":["../../src/resources/audio/transcriptions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,QA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,CAAC;IACJ,CAAC;CACF;AA1BD,wCA0BC"}
1
+ {"version":3,"file":"transcriptions.js","sourceRoot":"","sources":["../../src/resources/audio/transcriptions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAC7C,oDAAmC;AAKnC,MAAa,cAAe,SAAQ,sBAAW;IA4B7C,MAAM,CACJ,IAA+B,EAC/B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,uBAAuB,EACvB,IAAI,CAAC,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC,CAC1F,CAAC;IACJ,CAAC;CACF;AArCD,wCAqCC"}
@@ -1 +1 @@
1
- {"version":3,"file":"transcriptions.mjs","sourceRoot":"","sources":["../../src/resources/audio/transcriptions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,IAAI;AAGhB,MAAM,OAAO,cAAe,SAAQ,WAAW;IAiB7C,MAAM,CACJ,IAA+B,EAC/B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,uBAAuB,EACvB,IAAI,CAAC,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC,CAC1F,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"transcriptions.mjs","sourceRoot":"","sources":["../../src/resources/audio/transcriptions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,IAAI;AAKhB,MAAM,OAAO,cAAe,SAAQ,WAAW;IA4B7C,MAAM,CACJ,IAA+B,EAC/B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,uBAAuB,EACvB,IAAI,CAAC,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC,CAC1F,CAAC;IACJ,CAAC;CACF"}
@@ -55,7 +55,7 @@ export interface TranslationCreateParams<ResponseFormat extends AudioAPI.AudioRe
55
55
  * The format of the output, in one of these options: `json`, `text`, `srt`,
56
56
  * `verbose_json`, or `vtt`.
57
57
  */
58
- response_format?: ResponseFormat;
58
+ response_format?: 'json' | 'text' | 'srt' | 'verbose_json' | 'vtt';
59
59
  /**
60
60
  * The sampling temperature, between 0 and 1. Higher values like 0.8 will make the
61
61
  * output more random, while lower values like 0.2 will make it more focused and
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../src/resources/audio/translations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,QAAQ,MAAM,SAAS,CAAC;AACpC,OAAO,KAAK,iBAAiB,MAAM,kBAAkB,CAAC;AAEtD,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,CAAC,MAAM,GAAG,SAAS,CAAC,EACjD,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC;IAC/B,MAAM,CACJ,IAAI,EAAE,uBAAuB,CAAC,cAAc,CAAC,EAC7C,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC;IACtC,MAAM,CACJ,IAAI,EAAE,uBAAuB,CAAC,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC,EACrD,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CA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ACtC,cAAc,SAAS,QAAQ,CAAC,mBAAmB,GAAG,SAAS,GAAG,QAAQ,CAAC,mBAAmB,GAAG,SAAS;IAE1G;;;OAGG;IACH,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC;IAEtB;;;OAGG;IACH,KAAK,EAAE,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,QAAQ,CAAC,UAAU,CAAC;IAE3C;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,cAAc,GAAG,KAAK,CAAC;IAEnE;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
@@ -1,3 +1,4 @@
1
1
  export { Realtime } from "./realtime.js";
2
2
  export { Sessions, type Session, type SessionCreateResponse, type SessionCreateParams } from "./sessions.js";
3
+ export { TranscriptionSessions, type TranscriptionSession, type TranscriptionSessionCreateParams, } from "./transcription-sessions.js";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/realtime/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,KAAK,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/beta/realtime/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,KAAK,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAC1G,OAAO,EACL,qBAAqB,EACrB,KAAK,oBAAoB,EACzB,KAAK,gCAAgC,GACtC,MAAM,0BAA0B,CAAC"}
@@ -1,9 +1,11 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Sessions = exports.Realtime = void 0;
4
+ exports.TranscriptionSessions = exports.Sessions = exports.Realtime = void 0;
5
5
  var realtime_1 = require("./realtime.js");
6
6
  Object.defineProperty(exports, "Realtime", { enumerable: true, get: function () { return realtime_1.Realtime; } });
7
7
  var sessions_1 = require("./sessions.js");
8
8
  Object.defineProperty(exports, "Sessions", { enumerable: true, get: function () { return sessions_1.Sessions; } });
9
+ var transcription_sessions_1 = require("./transcription-sessions.js");
10
+ Object.defineProperty(exports, "TranscriptionSessions", { enumerable: true, get: function () { return transcription_sessions_1.TranscriptionSessions; } });
9
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/beta/realtime/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,0CAA0G;AAAjG,oGAAA,QAAQ,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/beta/realtime/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,0CAA0G;AAAjG,oGAAA,QAAQ,OAAA;AACjB,sEAIkC;AAHhC,+HAAA,qBAAqB,OAAA"}
@@ -1,4 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { Realtime } from "./realtime.mjs";
3
3
  export { Sessions } from "./sessions.mjs";
4
+ export { TranscriptionSessions, } from "./transcription-sessions.mjs";
4
5
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/beta/realtime/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,QAAQ,EAAE;OACZ,EAAE,QAAQ,EAAsE"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/beta/realtime/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,QAAQ,EAAE;OACZ,EAAE,QAAQ,EAAsE;OAChF,EACL,qBAAqB,GAGtB"}