Skip to content

Commit dbf58a0

Browse files
🌿 Fern Regeneration -- April 2, 2025 (#307)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: twitchard <[email protected]>
1 parent bed7117 commit dbf58a0

File tree

19 files changed

+76
-46
lines changed

19 files changed

+76
-46
lines changed

.mock/definition/tts/__package__.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,29 @@ types:
405405
docs: The index of the utterance in the request this snippet corresponds to.
406406
source:
407407
openapi: tts-openapi.yml
408+
SnippetAudioChunk:
409+
properties:
410+
audio:
411+
type: string
412+
docs: The generated audio output chunk in the requested format.
413+
chunk_index:
414+
type: integer
415+
docs: The index of the audio chunk in the snippet.
416+
generation_id:
417+
type: string
418+
docs: The generation ID the parent snippet that this chunk corresponds to.
419+
is_last_chunk:
420+
type: boolean
421+
docs: >-
422+
Whether or not this is the last chunk streamed back from the decoder
423+
for one input snippet.
424+
utterance_index:
425+
type: optional<integer>
426+
docs: >-
427+
The index of the utterance in the request the parent snippet of this
428+
chunk corresponds to.
429+
source:
430+
openapi: tts-openapi.yml
408431
PostedUtterance:
409432
properties:
410433
description:

.mock/definition/tts/voices.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
types:
2-
VoicesListRequestProvider:
3-
enum:
4-
- HUME_AI
5-
- CUSTOM_VOICE
6-
source:
7-
openapi: tts-openapi.yml
81
imports:
92
root: __package__.yml
103
service:
@@ -26,7 +19,7 @@ service:
2619
name: VoicesListRequest
2720
query-parameters:
2821
provider:
29-
type: VoicesListRequestProvider
22+
type: root.VoiceProvider
3023
docs: >-
3124
Specifies whether to return custom voices created in your account
3225
or shared voices provided by Hume

reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ Lists voices in your **Voice Library**. Set provider to `HUME_AI` to list Hume's
362362

363363
```typescript
364364
await client.tts.voices.list({
365-
provider: Hume.VoicesListRequestProvider.CustomVoice,
365+
provider: Hume.VoiceProvider.CustomVoice,
366366
});
367367
```
368368

src/api/resources/tts/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export * from "./resources";
21
export * from "./types";
32
export * from "./errors";
43
export * from "./client";
4+
export * from "./resources";
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
export * as voices from "./voices";
2-
export * from "./voices/types";
32
export * from "./voices/client/requests";

src/api/resources/tts/resources/voices/client/Client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class Voices {
3939
*
4040
* @example
4141
* await client.tts.voices.list({
42-
* provider: Hume.tts.VoicesListRequestProvider.CustomVoice
42+
* provider: Hume.tts.VoiceProvider.CustomVoice
4343
* })
4444
*/
4545
public async list(

src/api/resources/tts/resources/voices/client/requests/VoicesListRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ import * as Hume from "../../../../../../index";
77
/**
88
* @example
99
* {
10-
* provider: Hume.tts.VoicesListRequestProvider.CustomVoice
10+
* provider: Hume.tts.VoiceProvider.CustomVoice
1111
* }
1212
*/
1313
export interface VoicesListRequest {
1414
/**
1515
* Specifies whether to return custom voices created in your account or shared voices provided by Hume
1616
*/
17-
provider: Hume.tts.VoicesListRequestProvider;
17+
provider: Hume.tts.VoiceProvider;
1818
/**
1919
* Specifies the page number to retrieve, enabling pagination.
2020
*
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
export * from "./types";
21
export * from "./client";

src/api/resources/tts/resources/voices/types/VoicesListRequestProvider.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/api/resources/tts/resources/voices/types/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)