diff --git a/.mock/definition/expression-measurement/stream/stream.yml b/.mock/definition/expression-measurement/stream/stream.yml index bdb6f041..a483b3f2 100644 --- a/.mock/definition/expression-measurement/stream/stream.yml +++ b/.mock/definition/expression-measurement/stream/stream.yml @@ -1,5 +1,5 @@ channel: - path: /v0/stream/models + path: /models url: prod auth: false headers: diff --git a/.mock/definition/tts/__package__.yml b/.mock/definition/tts/__package__.yml index a3eeef81..ad17bc6a 100644 --- a/.mock/definition/tts/__package__.yml +++ b/.mock/definition/tts/__package__.yml @@ -21,9 +21,9 @@ service: auth: true docs: >- Synthesizes one or more input texts into speech using the specified - voice. If no voice is provided, a novel voice will be generated + voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence - the speech's style and prosody. + the speech's style and prosody. The response includes the base64-encoded audio and metadata in JSON @@ -49,14 +49,14 @@ service: the mind which contemplates them. description: >- Middle-aged masculine voice with a clear, rhythmic Scots lilt, - rounded vowels, and a warm, steady tone with an articulate, + rounded vowels, and a warm, steady tone with an articulate, academic quality. context: utterances: - text: How can people see beauty so differently? description: >- A curious student with a clear and respectful tone, seeking - clarification on Hume's ideas with a straightforward + clarification on Hume's ideas with a straightforward question. format: type: mp3 @@ -86,9 +86,9 @@ service: auth: true docs: >- Synthesizes one or more input texts into speech using the specified - voice. If no voice is provided, a novel voice will be generated + voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence - the speech's style and prosody. + the speech's style and prosody. The response contains the generated audio file in the requested format. @@ -113,7 +113,7 @@ service: the mind which contemplates them. description: >- Middle-aged masculine voice with a clear, rhythmic Scots lilt, - rounded vowels, and a warm, steady tone with an articulate, + rounded vowels, and a warm, steady tone with an articulate, academic quality. context: generation_id: 09ad914d-8e7f-40f8-a279-e34f07f7dab2 @@ -126,7 +126,7 @@ service: auth: true docs: >- Streams synthesized speech using the specified voice. If no voice is - provided, a novel voice will be generated dynamically. Optionally, + provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody. source: @@ -150,7 +150,7 @@ service: the mind which contemplates them. description: >- Middle-aged masculine voice with a clear, rhythmic Scots lilt, - rounded vowels, and a warm, steady tone with an articulate, + rounded vowels, and a warm, steady tone with an articulate, academic quality. context: generation_id: 09ad914d-8e7f-40f8-a279-e34f07f7dab2 @@ -163,8 +163,8 @@ service: auth: true docs: >- Streams synthesized speech using the specified voice. If no voice is - provided, a novel voice will be generated dynamically. Optionally, - additional context can be included to influence the speech's style and + provided, a novel voice will be generated dynamically. Optionally, + additional context can be included to influence the speech's style and prosody. @@ -191,14 +191,14 @@ service: the mind which contemplates them. description: >- Middle-aged masculine voice with a clear, rhythmic Scots lilt, - rounded vowels, and a warm, steady tone with an articulate, + rounded vowels, and a warm, steady tone with an articulate, academic quality. context: utterances: - text: How can people see beauty so differently? description: >- A curious student with a clear and respectful tone, seeking - clarification on Hume's ideas with a straightforward + clarification on Hume's ideas with a straightforward question. format: type: mp3 @@ -267,7 +267,7 @@ types: snippets: docs: >- A list of snippet groups where each group corresponds to an utterance - in the request. Each group contains segmented snippets that represent + in the request. Each group contains segmented snippets that represent the original utterance divided into more natural-sounding units optimized for speech delivery. type: list> @@ -332,19 +332,19 @@ types: Controls how audio output is segmented in the response. - - When **enabled** (`true`), input utterances are automatically split + - When **enabled** (`true`), input utterances are automatically split into natural-sounding speech segments. - - When **disabled** (`false`), the response maintains a strict + - When **disabled** (`false`), the response maintains a strict one-to-one mapping between input utterances and output snippets. This setting affects how the `snippets` array is structured in the - response, which may be important for applications that need to track - the relationship between input text and generated audio segments. - When setting to `false`, avoid including utterances with long `text`, - as this can result in distorted output. + response, which may be important for applications that need to track + the relationship between input text and generated audio segments. When + setting to `false`, avoid including utterances with long `text`, as + this can result in distorted output. default: true strip_headers: type: optional @@ -359,9 +359,9 @@ types: A list of **Utterances** to be converted to speech output. - An **Utterance** is a unit of input for + An **Utterance** is a unit of input for [Octave](/docs/text-to-speech-tts/overview), and includes input - `text`, an optional `description` to serve as the prompt for how the + `text`, an optional `description` to serve as the prompt for how the speech should be delivered, an optional `voice` specification, and additional controls to guide delivery for `speed` and `trailing_silence`. @@ -376,11 +376,11 @@ types: mode](/docs/text-to-speech-tts/overview#ultra-low-latency-streaming-instant-mode). - Dynamic voice generation is not supported with this mode; a - predefined - [voice](/reference/text-to-speech-tts/synthesize-json-streaming#request.body.utterances.voice) + predefined + [voice](/reference/text-to-speech-tts/synthesize-json-streaming#request.body.utterances.voice) must be specified in your request. - - This mode is only supported for streaming endpoints (e.g., + - This mode is only supported for streaming endpoints (e.g., [/v0/tts/stream/json](/reference/text-to-speech-tts/synthesize-json-streaming), [/v0/tts/stream/file](/reference/text-to-speech-tts/synthesize-file-streaming)). @@ -401,7 +401,7 @@ types: type: optional docs: >- A unique ID associated with this request for tracking and - troubleshooting. Use this ID when contacting [support](/support) for + troubleshooting. Use this ID when contacting [support](/support) for troubleshooting assistance. source: openapi: tts-openapi.yml @@ -416,16 +416,12 @@ types: docs: Name of the voice in the `Voice Library`. provider: type: optional - docs: |- - Specifies the provider of the voice. - - - **HUME_AI**: Preset voices generated by Hume. - - - **CUSTOM_VOICE**: Voices you have generated and saved to your `Voice library`. + docs: >- + The provider associated with the created voice. - If a provider is not specified, the provider will default to `CUSTOM_VOICE`. - While Hume's preset voices are shared and usable by anyone, your custom voices are only available to calls made with your API key. + Voices created through this endpoint will always have the provider set + to `CUSTOM_VOICE`, indicating a custom voice stored in your account. source: openapi: tts-openapi.yml FormatPcm: @@ -491,15 +487,15 @@ types: type: optional docs: >- Natural language instructions describing how the synthesized speech - should sound, including but not limited to tone, intonation, pacing, - and accent (e.g., 'a soft, gentle voice with a strong British + should sound, including but not limited to tone, intonation, pacing, + and accent (e.g., 'a soft, gentle voice with a strong British accent'). - If a Voice is specified in the request, this description serves as - acting instructions. For tips on how to effectively guide speech + acting instructions. For tips on how to effectively guide speech delivery, see our guide on [Acting instructions](/docs/text-to-speech-tts/acting-instructions). - - If no Voice is specified, a new voice is generated based on this description. See our [prompting guide](/docs/text-to-speech-tts/prompting) for tips on designing a voice. + - If no Voice is specified, a new voice is generated based on this description. See our [prompting guide](/docs/text-to-speech-tts/prompting) for tips on designing a voice. validation: maxLength: 1000 speed: @@ -525,10 +521,10 @@ types: type: optional docs: >- The `name` or `id` associated with a **Voice** from the **Voice - Library** to be used as the speaker for this and all subsequent + Library** to be used as the speaker for this and all subsequent `utterances`, until the `voice` field is updated again. - See our [voices guide](/docs/text-to-speech-tts/voices) for more details on generating and specifying **Voices**. + See our [voices guide](/docs/text-to-speech-tts/voices) for more details on generating and specifying **Voices**. source: openapi: tts-openapi.yml ValidationErrorLocItem: @@ -551,38 +547,58 @@ types: properties: id: type: string - docs: The ID of a **Voice** within the **Voice Library**. + docs: The unique ID associated with the **Voice**. provider: type: optional - docs: |- - Specifies the provider of the voice associated with this voice ID. + docs: >- + Specifies the source provider associated with the chosen voice. + - - **HUME_AI**: Preset voices generated by Hume. + - **`HUME_AI`**: Select voices from Hume's [Voice + Library](https://platform.hume.ai/tts/voice-library), containing a + variety of preset, shared voices. - - **CUSTOM_VOICE**: Voices you have generated and saved to your `Voice library`. + - **`CUSTOM_VOICE`**: Select from voices you've personally generated + and saved in your account. - If a provider is not specified, the provider will default to `CUSTOM_VOICE`. - While Hume's preset voices are shared and usable by anyone, your custom voices are only available to calls made with your API key. + If no provider is explicitly set, the default provider is + `CUSTOM_VOICE`. When using voices from Hume's **Voice Library**, you + must explicitly set the provider to `HUME_AI`. + + + Preset voices from Hume's **Voice Library** are accessible by all + users. In contrast, your custom voices are private and accessible only + via requests authenticated with your API key. source: openapi: tts-openapi.yml PostedUtteranceVoiceWithName: properties: name: type: string - docs: The name of a **Voice** within the **Voice Library**. + docs: The name of a **Voice**. provider: type: optional - docs: |- - Specifies the provider of the voice associated with this voice name. + docs: >- + Specifies the source provider associated with the chosen voice. + + + - **`HUME_AI`**: Select voices from Hume's [Voice + Library](https://platform.hume.ai/tts/voice-library), containing a + variety of preset, shared voices. + + - **`CUSTOM_VOICE`**: Select from voices you've personally generated + and saved in your account. - - **HUME_AI**: Preset voices generated by Hume. - - **CUSTOM_VOICE**: Voices you have generated and saved to your `Voice library`. + If no provider is explicitly set, the default provider is + `CUSTOM_VOICE`. When using voices from Hume's **Voice Library**, you + must explicitly set the provider to `HUME_AI`. - If a provider is not specified, the provider will default to `CUSTOM_VOICE`. - While Hume's preset voices are shared and usable by anyone, your custom voices are only available to calls made with your API key. + Preset voices from Hume's **Voice Library** are accessible by all + users. In contrast, your custom voices are private and accessible only + via requests authenticated with your API key. source: openapi: tts-openapi.yml VoiceProvider: diff --git a/.mock/definition/tts/voices.yml b/.mock/definition/tts/voices.yml index b5e787f2..89b4f745 100644 --- a/.mock/definition/tts/voices.yml +++ b/.mock/definition/tts/voices.yml @@ -1,3 +1,10 @@ +types: + VoicesListRequestProvider: + enum: + - HUME_AI + - CUSTOM_VOICE + source: + openapi: tts-openapi.yml imports: root: __package__.yml service: @@ -9,9 +16,8 @@ service: method: GET auth: true docs: >- - Lists voices in your **Voice Library**. Set provider to `HUME_AI` to - list Hume's preset voices, or to `CUSTOM_VOICE` to a custom voice - created in your account. + Lists voices you have saved in your account, or voices from the [Voice + Library](https://platform.hume.ai/tts/voice-library). pagination: offset: $request.page_number results: $response.voices_page @@ -22,10 +28,17 @@ service: name: VoicesListRequest query-parameters: provider: - type: root.VoiceProvider + type: VoicesListRequestProvider docs: >- - Specifies whether to return custom voices created in your account - or shared voices provided by Hume + Specify the voice provider to filter voices returned by the + endpoint: + + + - **`HUME_AI`**: Lists preset, shared voices from Hume's [Voice + Library](https://platform.hume.ai/tts/voice-library). + + - **`CUSTOM_VOICE`**: Lists custom voices created and saved to + your account. page_number: type: optional docs: >- @@ -74,9 +87,13 @@ service: method: POST auth: true docs: >- - Creates a new voice from a specified TTS generation ID and saves it to - your **Voice Library**. This allows for consistent speech style and - prosody across multiple requests. + Saves a new custom voice to your account using the specified TTS + generation ID. + + + Once saved, this voice can be reused in subsequent TTS requests, + ensuring consistent speech style and prosody. For more details on voice + creation, see the [Voices Guide](/docs/text-to-speech-tts/voices). source: openapi: tts-openapi.yml display-name: Create voice @@ -113,7 +130,7 @@ service: path: /v0/tts/voices method: DELETE auth: true - docs: Removes a custom voice from your **Voice Library**. + docs: Deletes a previously generated custom voice. source: openapi: tts-openapi.yml display-name: Delete voice diff --git a/package.json b/package.json index 6b4b6f6b..d0b591a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hume", - "version": "0.10.3", + "version": "0.10.4", "private": false, "repository": "https://github.com/HumeAI/hume-typescript-sdk", "main": "./index.js", diff --git a/reference.md b/reference.md index 7fa15a04..dfd6db7c 100644 --- a/reference.md +++ b/reference.md @@ -37,7 +37,7 @@ await client.tts.synthesizeJson({ { text: "Beauty is no quality in things themselves: It exists merely in the mind which contemplates them.", description: - "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.", + "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.", }, ], context: { @@ -45,7 +45,7 @@ await client.tts.synthesizeJson({ { text: "How can people see beauty so differently?", description: - "A curious student with a clear and respectful tone, seeking clarification on Hume's ideas with a straightforward question.", + "A curious student with a clear and respectful tone, seeking clarification on Hume's ideas with a straightforward question.", }, ], }, @@ -123,7 +123,7 @@ await client.tts.synthesizeFile({ { text: "Beauty is no quality in things themselves: It exists merely in the mind which contemplates them.", description: - "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.", + "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.", }, ], context: { @@ -201,7 +201,7 @@ await client.tts.synthesizeFileStreaming({ { text: "Beauty is no quality in things themselves: It exists merely in the mind which contemplates them.", description: - "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.", + "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.", }, ], context: { @@ -281,7 +281,7 @@ const response = await client.tts.synthesizeJsonStreaming({ { text: "Beauty is no quality in things themselves: It exists merely in the mind which contemplates them.", description: - "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.", + "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.", }, ], context: { @@ -289,7 +289,7 @@ const response = await client.tts.synthesizeJsonStreaming({ { text: "How can people see beauty so differently?", description: - "A curious student with a clear and respectful tone, seeking clarification on Hume's ideas with a straightforward question.", + "A curious student with a clear and respectful tone, seeking clarification on Hume's ideas with a straightforward question.", }, ], }, @@ -348,7 +348,7 @@ for await (const item of response) {
-Lists voices in your **Voice Library**. Set provider to `HUME_AI` to list Hume's preset voices, or to `CUSTOM_VOICE` to a custom voice created in your account. +Lists voices you have saved in your account, or voices from the [Voice Library](https://platform.hume.ai/tts/voice-library).
@@ -424,7 +424,9 @@ while (page.hasNextPage()) {
-Creates a new voice from a specified TTS generation ID and saves it to your **Voice Library**. This allows for consistent speech style and prosody across multiple requests. +Saves a new custom voice to your account using the specified TTS generation ID. + +Once saved, this voice can be reused in subsequent TTS requests, ensuring consistent speech style and prosody. For more details on voice creation, see the [Voices Guide](/docs/text-to-speech-tts/voices).
@@ -490,7 +492,7 @@ await client.tts.voices.create({
-Removes a custom voice from your **Voice Library**. +Deletes a previously generated custom voice.
diff --git a/src/api/resources/empathicVoice/resources/chatGroups/client/Client.ts b/src/api/resources/empathicVoice/resources/chatGroups/client/Client.ts index 84d3038a..1f5d364a 100644 --- a/src/api/resources/empathicVoice/resources/chatGroups/client/Client.ts +++ b/src/api/resources/empathicVoice/resources/chatGroups/client/Client.ts @@ -81,8 +81,8 @@ export class ChatGroups { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -193,8 +193,8 @@ export class ChatGroups { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -296,8 +296,8 @@ export class ChatGroups { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -410,8 +410,8 @@ export class ChatGroups { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/empathicVoice/resources/chats/client/Client.ts b/src/api/resources/empathicVoice/resources/chats/client/Client.ts index 46b3711d..3de287d9 100644 --- a/src/api/resources/empathicVoice/resources/chats/client/Client.ts +++ b/src/api/resources/empathicVoice/resources/chats/client/Client.ts @@ -80,8 +80,8 @@ export class Chats { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -192,8 +192,8 @@ export class Chats { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -284,8 +284,8 @@ export class Chats { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/empathicVoice/resources/configs/client/Client.ts b/src/api/resources/empathicVoice/resources/configs/client/Client.ts index 942a5ec2..8a8e19a6 100644 --- a/src/api/resources/empathicVoice/resources/configs/client/Client.ts +++ b/src/api/resources/empathicVoice/resources/configs/client/Client.ts @@ -81,8 +81,8 @@ export class Configs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -205,8 +205,8 @@ export class Configs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -306,8 +306,8 @@ export class Configs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -435,8 +435,8 @@ export class Configs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -519,8 +519,8 @@ export class Configs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -602,8 +602,8 @@ export class Configs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -689,8 +689,8 @@ export class Configs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -781,8 +781,8 @@ export class Configs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -872,8 +872,8 @@ export class Configs { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/empathicVoice/resources/customVoices/client/Client.ts b/src/api/resources/empathicVoice/resources/customVoices/client/Client.ts index a5f6a417..61a7c74b 100644 --- a/src/api/resources/empathicVoice/resources/customVoices/client/Client.ts +++ b/src/api/resources/empathicVoice/resources/customVoices/client/Client.ts @@ -75,8 +75,8 @@ export class CustomVoices { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -173,8 +173,8 @@ export class CustomVoices { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -258,8 +258,8 @@ export class CustomVoices { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -348,8 +348,8 @@ export class CustomVoices { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -430,8 +430,8 @@ export class CustomVoices { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -513,8 +513,8 @@ export class CustomVoices { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/empathicVoice/resources/prompts/client/Client.ts b/src/api/resources/empathicVoice/resources/prompts/client/Client.ts index 5487843f..0844c410 100644 --- a/src/api/resources/empathicVoice/resources/prompts/client/Client.ts +++ b/src/api/resources/empathicVoice/resources/prompts/client/Client.ts @@ -81,8 +81,8 @@ export class Prompts { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -178,8 +178,8 @@ export class Prompts { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -279,8 +279,8 @@ export class Prompts { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -369,8 +369,8 @@ export class Prompts { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -453,8 +453,8 @@ export class Prompts { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -536,8 +536,8 @@ export class Prompts { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -623,8 +623,8 @@ export class Prompts { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -715,8 +715,8 @@ export class Prompts { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -806,8 +806,8 @@ export class Prompts { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/empathicVoice/resources/tools/client/Client.ts b/src/api/resources/empathicVoice/resources/tools/client/Client.ts index 59dbe1bc..1ebca450 100644 --- a/src/api/resources/empathicVoice/resources/tools/client/Client.ts +++ b/src/api/resources/empathicVoice/resources/tools/client/Client.ts @@ -81,8 +81,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -184,8 +184,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -287,8 +287,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -391,8 +391,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -475,8 +475,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -558,8 +558,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -647,8 +647,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -735,8 +735,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -826,8 +826,8 @@ export class Tools { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/expressionMeasurement/resources/batch/client/Client.ts b/src/api/resources/expressionMeasurement/resources/batch/client/Client.ts index 309df54b..5d546527 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/client/Client.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/client/Client.ts @@ -103,8 +103,8 @@ export class Batch { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -175,8 +175,8 @@ export class Batch { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -246,8 +246,8 @@ export class Batch { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -314,8 +314,8 @@ export class Batch { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -373,8 +373,8 @@ export class Batch { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -456,8 +456,8 @@ export class Batch { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/tts/client/Client.ts b/src/api/resources/tts/client/Client.ts index 03361166..1e4a9490 100644 --- a/src/api/resources/tts/client/Client.ts +++ b/src/api/resources/tts/client/Client.ts @@ -42,7 +42,7 @@ export class Tts { } /** - * Synthesizes one or more input texts into speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody. + * Synthesizes one or more input texts into speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody. * * The response includes the base64-encoded audio and metadata in JSON format. * @@ -55,12 +55,12 @@ export class Tts { * await client.tts.synthesizeJson({ * utterances: [{ * text: "Beauty is no quality in things themselves: It exists merely in the mind which contemplates them.", - * description: "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality." + * description: "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality." * }], * context: { * utterances: [{ * text: "How can people see beauty so differently?", - * description: "A curious student with a clear and respectful tone, seeking clarification on Hume's ideas with a straightforward question." + * description: "A curious student with a clear and respectful tone, seeking clarification on Hume's ideas with a straightforward question." * }] * }, * format: { @@ -84,8 +84,8 @@ export class Tts { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -142,7 +142,7 @@ export class Tts { } /** - * Synthesizes one or more input texts into speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody. + * Synthesizes one or more input texts into speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody. * * The response contains the generated audio file in the requested format. * @throws {@link Hume.tts.UnprocessableEntityError} @@ -162,8 +162,8 @@ export class Tts { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -216,7 +216,7 @@ export class Tts { } /** - * Streams synthesized speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody. + * Streams synthesized speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody. * @throws {@link Hume.tts.UnprocessableEntityError} */ public async synthesizeFileStreaming( @@ -234,8 +234,8 @@ export class Tts { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -288,7 +288,7 @@ export class Tts { } /** - * Streams synthesized speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody. + * Streams synthesized speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody. * * The response is a stream of JSON objects including audio encoded in base64. */ @@ -307,8 +307,8 @@ export class Tts { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/tts/index.ts b/src/api/resources/tts/index.ts index 13a85e78..d5c609c4 100644 --- a/src/api/resources/tts/index.ts +++ b/src/api/resources/tts/index.ts @@ -1,4 +1,4 @@ +export * from "./resources"; export * from "./types"; export * from "./errors"; export * from "./client"; -export * from "./resources"; diff --git a/src/api/resources/tts/resources/index.ts b/src/api/resources/tts/resources/index.ts index 71c5d9e7..851aa3bb 100644 --- a/src/api/resources/tts/resources/index.ts +++ b/src/api/resources/tts/resources/index.ts @@ -1,2 +1,3 @@ export * as voices from "./voices"; +export * from "./voices/types"; export * from "./voices/client/requests"; diff --git a/src/api/resources/tts/resources/voices/client/Client.ts b/src/api/resources/tts/resources/voices/client/Client.ts index 1cadda3d..590cf843 100644 --- a/src/api/resources/tts/resources/voices/client/Client.ts +++ b/src/api/resources/tts/resources/voices/client/Client.ts @@ -34,7 +34,7 @@ export class Voices { constructor(protected readonly _options: Voices.Options = {}) {} /** - * Lists voices in your **Voice Library**. Set provider to `HUME_AI` to list Hume's preset voices, or to `CUSTOM_VOICE` to a custom voice created in your account. + * Lists voices you have saved in your account, or voices from the [Voice Library](https://platform.hume.ai/tts/voice-library). * * @param {Hume.tts.VoicesListRequest} request * @param {Voices.RequestOptions} requestOptions - Request-specific configuration. @@ -53,7 +53,7 @@ export class Voices { const list = async (request: Hume.tts.VoicesListRequest): Promise => { const { provider, pageNumber, pageSize, ascendingOrder } = request; const _queryParams: Record = {}; - _queryParams["provider"] = serializers.tts.VoiceProvider.jsonOrThrow(provider, { + _queryParams["provider"] = serializers.tts.VoicesListRequestProvider.jsonOrThrow(provider, { unrecognizedObjectKeys: "strip", }); if (pageNumber != null) { @@ -76,8 +76,8 @@ export class Voices { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -143,7 +143,9 @@ export class Voices { } /** - * Creates a new voice from a specified TTS generation ID and saves it to your **Voice Library**. This allows for consistent speech style and prosody across multiple requests. + * Saves a new custom voice to your account using the specified TTS generation ID. + * + * Once saved, this voice can be reused in subsequent TTS requests, ensuring consistent speech style and prosody. For more details on voice creation, see the [Voices Guide](/docs/text-to-speech-tts/voices). * * @param {Hume.tts.PostedVoice} request * @param {Voices.RequestOptions} requestOptions - Request-specific configuration. @@ -171,8 +173,8 @@ export class Voices { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -229,7 +231,7 @@ export class Voices { } /** - * Removes a custom voice from your **Voice Library**. + * Deletes a previously generated custom voice. * * @param {Hume.tts.VoicesDeleteRequest} request * @param {Voices.RequestOptions} requestOptions - Request-specific configuration. @@ -256,8 +258,8 @@ export class Voices { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.10.3", - "User-Agent": "hume/0.10.3", + "X-Fern-SDK-Version": "0.10.4", + "User-Agent": "hume/0.10.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/tts/resources/voices/client/requests/VoicesListRequest.ts b/src/api/resources/tts/resources/voices/client/requests/VoicesListRequest.ts index 8ce3023d..726600bb 100644 --- a/src/api/resources/tts/resources/voices/client/requests/VoicesListRequest.ts +++ b/src/api/resources/tts/resources/voices/client/requests/VoicesListRequest.ts @@ -12,9 +12,12 @@ import * as Hume from "../../../../../../index"; */ export interface VoicesListRequest { /** - * Specifies whether to return custom voices created in your account or shared voices provided by Hume + * Specify the voice provider to filter voices returned by the endpoint: + * + * - **`HUME_AI`**: Lists preset, shared voices from Hume's [Voice Library](https://platform.hume.ai/tts/voice-library). + * - **`CUSTOM_VOICE`**: Lists custom voices created and saved to your account. */ - provider: Hume.tts.VoiceProvider; + provider: Hume.tts.VoicesListRequestProvider; /** * Specifies the page number to retrieve, enabling pagination. * diff --git a/src/api/resources/tts/resources/voices/index.ts b/src/api/resources/tts/resources/voices/index.ts index 5ec76921..c9240f83 100644 --- a/src/api/resources/tts/resources/voices/index.ts +++ b/src/api/resources/tts/resources/voices/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/api/resources/tts/resources/voices/types/VoicesListRequestProvider.ts b/src/api/resources/tts/resources/voices/types/VoicesListRequestProvider.ts new file mode 100644 index 00000000..3681b5dd --- /dev/null +++ b/src/api/resources/tts/resources/voices/types/VoicesListRequestProvider.ts @@ -0,0 +1,9 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type VoicesListRequestProvider = "HUME_AI" | "CUSTOM_VOICE"; +export const VoicesListRequestProvider = { + HumeAi: "HUME_AI", + CustomVoice: "CUSTOM_VOICE", +} as const; diff --git a/src/api/resources/tts/resources/voices/types/index.ts b/src/api/resources/tts/resources/voices/types/index.ts new file mode 100644 index 00000000..dc98805d --- /dev/null +++ b/src/api/resources/tts/resources/voices/types/index.ts @@ -0,0 +1 @@ +export * from "./VoicesListRequestProvider"; diff --git a/src/api/resources/tts/types/PostedTts.ts b/src/api/resources/tts/types/PostedTts.ts index 3e9282bd..74e3f93b 100644 --- a/src/api/resources/tts/types/PostedTts.ts +++ b/src/api/resources/tts/types/PostedTts.ts @@ -14,11 +14,11 @@ export interface PostedTts { /** * Controls how audio output is segmented in the response. * - * - When **enabled** (`true`), input utterances are automatically split into natural-sounding speech segments. + * - When **enabled** (`true`), input utterances are automatically split into natural-sounding speech segments. * - * - When **disabled** (`false`), the response maintains a strict one-to-one mapping between input utterances and output snippets. + * - When **disabled** (`false`), the response maintains a strict one-to-one mapping between input utterances and output snippets. * - * This setting affects how the `snippets` array is structured in the response, which may be important for applications that need to track the relationship between input text and generated audio segments. When setting to `false`, avoid including utterances with long `text`, as this can result in distorted output. + * This setting affects how the `snippets` array is structured in the response, which may be important for applications that need to track the relationship between input text and generated audio segments. When setting to `false`, avoid including utterances with long `text`, as this can result in distorted output. */ splitUtterances?: boolean; /** If enabled, the audio for all the chunks of a generation, once concatenated together, will constitute a single audio file. Otherwise, if disabled, each chunk's audio will be its own audio file, each with its own headers (if applicable). */ @@ -26,13 +26,13 @@ export interface PostedTts { /** * A list of **Utterances** to be converted to speech output. * - * An **Utterance** is a unit of input for [Octave](/docs/text-to-speech-tts/overview), and includes input `text`, an optional `description` to serve as the prompt for how the speech should be delivered, an optional `voice` specification, and additional controls to guide delivery for `speed` and `trailing_silence`. + * An **Utterance** is a unit of input for [Octave](/docs/text-to-speech-tts/overview), and includes input `text`, an optional `description` to serve as the prompt for how the speech should be delivered, an optional `voice` specification, and additional controls to guide delivery for `speed` and `trailing_silence`. */ utterances: Hume.tts.PostedUtterance[]; /** * Enables ultra-low latency streaming, significantly reducing the time until the first audio chunk is received. Recommended for real-time applications requiring immediate audio playback. For further details, see our documentation on [instant mode](/docs/text-to-speech-tts/overview#ultra-low-latency-streaming-instant-mode). - * - Dynamic voice generation is not supported with this mode; a predefined [voice](/reference/text-to-speech-tts/synthesize-json-streaming#request.body.utterances.voice) must be specified in your request. - * - This mode is only supported for streaming endpoints (e.g., [/v0/tts/stream/json](/reference/text-to-speech-tts/synthesize-json-streaming), [/v0/tts/stream/file](/reference/text-to-speech-tts/synthesize-file-streaming)). + * - Dynamic voice generation is not supported with this mode; a predefined [voice](/reference/text-to-speech-tts/synthesize-json-streaming#request.body.utterances.voice) must be specified in your request. + * - This mode is only supported for streaming endpoints (e.g., [/v0/tts/stream/json](/reference/text-to-speech-tts/synthesize-json-streaming), [/v0/tts/stream/file](/reference/text-to-speech-tts/synthesize-file-streaming)). * - Ensure only a single generation is requested ([num_generations](/reference/text-to-speech-tts/synthesize-json-streaming#request.body.num_generations) must be `1` or omitted). * - With `instant_mode` enabled, **requests incur a 10% higher cost** due to increased compute and resource requirements. */ diff --git a/src/api/resources/tts/types/PostedUtterance.ts b/src/api/resources/tts/types/PostedUtterance.ts index a91e87bb..73777f23 100644 --- a/src/api/resources/tts/types/PostedUtterance.ts +++ b/src/api/resources/tts/types/PostedUtterance.ts @@ -6,9 +6,9 @@ import * as Hume from "../../../index"; export interface PostedUtterance { /** - * Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent'). - * - If a Voice is specified in the request, this description serves as acting instructions. For tips on how to effectively guide speech delivery, see our guide on [Acting instructions](/docs/text-to-speech-tts/acting-instructions). - * - If no Voice is specified, a new voice is generated based on this description. See our [prompting guide](/docs/text-to-speech-tts/prompting) for tips on designing a voice. + * Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., 'a soft, gentle voice with a strong British accent'). + * - If a Voice is specified in the request, this description serves as acting instructions. For tips on how to effectively guide speech delivery, see our guide on [Acting instructions](/docs/text-to-speech-tts/acting-instructions). + * - If no Voice is specified, a new voice is generated based on this description. See our [prompting guide](/docs/text-to-speech-tts/prompting) for tips on designing a voice. */ description?: string; /** Speed multiplier for the synthesized speech. */ @@ -18,9 +18,9 @@ export interface PostedUtterance { /** Duration of trailing silence (in seconds) to add to this utterance */ trailingSilence?: number; /** - * The `name` or `id` associated with a **Voice** from the **Voice Library** to be used as the speaker for this and all subsequent `utterances`, until the `voice` field is updated again. + * The `name` or `id` associated with a **Voice** from the **Voice Library** to be used as the speaker for this and all subsequent `utterances`, until the `voice` field is updated again. * - * See our [voices guide](/docs/text-to-speech-tts/voices) for more details on generating and specifying **Voices**. + * See our [voices guide](/docs/text-to-speech-tts/voices) for more details on generating and specifying **Voices**. */ voice?: Hume.tts.PostedUtteranceVoice; } diff --git a/src/api/resources/tts/types/PostedUtteranceVoiceWithId.ts b/src/api/resources/tts/types/PostedUtteranceVoiceWithId.ts index 40b8307d..19f90621 100644 --- a/src/api/resources/tts/types/PostedUtteranceVoiceWithId.ts +++ b/src/api/resources/tts/types/PostedUtteranceVoiceWithId.ts @@ -5,18 +5,17 @@ import * as Hume from "../../../index"; export interface PostedUtteranceVoiceWithId { - /** The ID of a **Voice** within the **Voice Library**. */ + /** The unique ID associated with the **Voice**. */ id: string; /** - * Specifies the provider of the voice associated with this voice ID. + * Specifies the source provider associated with the chosen voice. * - * - **HUME_AI**: Preset voices generated by Hume. + * - **`HUME_AI`**: Select voices from Hume's [Voice Library](https://platform.hume.ai/tts/voice-library), containing a variety of preset, shared voices. + * - **`CUSTOM_VOICE`**: Select from voices you've personally generated and saved in your account. * - * - **CUSTOM_VOICE**: Voices you have generated and saved to your `Voice library`. + * If no provider is explicitly set, the default provider is `CUSTOM_VOICE`. When using voices from Hume's **Voice Library**, you must explicitly set the provider to `HUME_AI`. * - * If a provider is not specified, the provider will default to `CUSTOM_VOICE`. - * - * While Hume's preset voices are shared and usable by anyone, your custom voices are only available to calls made with your API key. + * Preset voices from Hume's **Voice Library** are accessible by all users. In contrast, your custom voices are private and accessible only via requests authenticated with your API key. */ provider?: Hume.tts.VoiceProvider; } diff --git a/src/api/resources/tts/types/PostedUtteranceVoiceWithName.ts b/src/api/resources/tts/types/PostedUtteranceVoiceWithName.ts index e0b37d1e..361b1eb1 100644 --- a/src/api/resources/tts/types/PostedUtteranceVoiceWithName.ts +++ b/src/api/resources/tts/types/PostedUtteranceVoiceWithName.ts @@ -5,18 +5,17 @@ import * as Hume from "../../../index"; export interface PostedUtteranceVoiceWithName { - /** The name of a **Voice** within the **Voice Library**. */ + /** The name of a **Voice**. */ name: string; /** - * Specifies the provider of the voice associated with this voice name. + * Specifies the source provider associated with the chosen voice. * - * - **HUME_AI**: Preset voices generated by Hume. + * - **`HUME_AI`**: Select voices from Hume's [Voice Library](https://platform.hume.ai/tts/voice-library), containing a variety of preset, shared voices. + * - **`CUSTOM_VOICE`**: Select from voices you've personally generated and saved in your account. * - * - **CUSTOM_VOICE**: Voices you have generated and saved to your `Voice library`. + * If no provider is explicitly set, the default provider is `CUSTOM_VOICE`. When using voices from Hume's **Voice Library**, you must explicitly set the provider to `HUME_AI`. * - * If a provider is not specified, the provider will default to `CUSTOM_VOICE`. - * - * While Hume's preset voices are shared and usable by anyone, your custom voices are only available to calls made with your API key. + * Preset voices from Hume's **Voice Library** are accessible by all users. In contrast, your custom voices are private and accessible only via requests authenticated with your API key. */ provider?: Hume.tts.VoiceProvider; } diff --git a/src/api/resources/tts/types/ReturnGeneration.ts b/src/api/resources/tts/types/ReturnGeneration.ts index 608e1bbf..650f245e 100644 --- a/src/api/resources/tts/types/ReturnGeneration.ts +++ b/src/api/resources/tts/types/ReturnGeneration.ts @@ -14,6 +14,6 @@ export interface ReturnGeneration { fileSize: number; /** A unique ID associated with this TTS generation that can be used as context for generating consistent speech style and prosody across multiple requests. */ generationId: string; - /** A list of snippet groups where each group corresponds to an utterance in the request. Each group contains segmented snippets that represent the original utterance divided into more natural-sounding units optimized for speech delivery. */ + /** A list of snippet groups where each group corresponds to an utterance in the request. Each group contains segmented snippets that represent the original utterance divided into more natural-sounding units optimized for speech delivery. */ snippets: Hume.tts.Snippet[][]; } diff --git a/src/api/resources/tts/types/ReturnTts.ts b/src/api/resources/tts/types/ReturnTts.ts index 44b9a821..e4477936 100644 --- a/src/api/resources/tts/types/ReturnTts.ts +++ b/src/api/resources/tts/types/ReturnTts.ts @@ -6,6 +6,6 @@ import * as Hume from "../../../index"; export interface ReturnTts { generations: Hume.tts.ReturnGeneration[]; - /** A unique ID associated with this request for tracking and troubleshooting. Use this ID when contacting [support](/support) for troubleshooting assistance. */ + /** A unique ID associated with this request for tracking and troubleshooting. Use this ID when contacting [support](/support) for troubleshooting assistance. */ requestId?: string; } diff --git a/src/api/resources/tts/types/ReturnVoice.ts b/src/api/resources/tts/types/ReturnVoice.ts index b79a11cb..97d61ee7 100644 --- a/src/api/resources/tts/types/ReturnVoice.ts +++ b/src/api/resources/tts/types/ReturnVoice.ts @@ -13,15 +13,9 @@ export interface ReturnVoice { /** Name of the voice in the `Voice Library`. */ name?: string; /** - * Specifies the provider of the voice. + * The provider associated with the created voice. * - * - **HUME_AI**: Preset voices generated by Hume. - * - * - **CUSTOM_VOICE**: Voices you have generated and saved to your `Voice library`. - * - * If a provider is not specified, the provider will default to `CUSTOM_VOICE`. - * - * While Hume's preset voices are shared and usable by anyone, your custom voices are only available to calls made with your API key. + * Voices created through this endpoint will always have the provider set to `CUSTOM_VOICE`, indicating a custom voice stored in your account. */ provider?: Hume.tts.VoiceProvider; } diff --git a/src/serialization/resources/tts/index.ts b/src/serialization/resources/tts/index.ts index 3ce0a3e3..3e15e290 100644 --- a/src/serialization/resources/tts/index.ts +++ b/src/serialization/resources/tts/index.ts @@ -1,2 +1,2 @@ -export * from "./types"; export * from "./resources"; +export * from "./types"; diff --git a/src/serialization/resources/tts/resources/index.ts b/src/serialization/resources/tts/resources/index.ts index 71c5d9e7..851aa3bb 100644 --- a/src/serialization/resources/tts/resources/index.ts +++ b/src/serialization/resources/tts/resources/index.ts @@ -1,2 +1,3 @@ export * as voices from "./voices"; +export * from "./voices/types"; export * from "./voices/client/requests"; diff --git a/src/serialization/resources/tts/resources/voices/index.ts b/src/serialization/resources/tts/resources/voices/index.ts index 5ec76921..c9240f83 100644 --- a/src/serialization/resources/tts/resources/voices/index.ts +++ b/src/serialization/resources/tts/resources/voices/index.ts @@ -1 +1,2 @@ +export * from "./types"; export * from "./client"; diff --git a/src/serialization/resources/tts/resources/voices/types/VoicesListRequestProvider.ts b/src/serialization/resources/tts/resources/voices/types/VoicesListRequestProvider.ts new file mode 100644 index 00000000..03e6e691 --- /dev/null +++ b/src/serialization/resources/tts/resources/voices/types/VoicesListRequestProvider.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../../../index"; +import * as Hume from "../../../../../../api/index"; +import * as core from "../../../../../../core"; + +export const VoicesListRequestProvider: core.serialization.Schema< + serializers.tts.VoicesListRequestProvider.Raw, + Hume.tts.VoicesListRequestProvider +> = core.serialization.enum_(["HUME_AI", "CUSTOM_VOICE"]); + +export declare namespace VoicesListRequestProvider { + export type Raw = "HUME_AI" | "CUSTOM_VOICE"; +} diff --git a/src/serialization/resources/tts/resources/voices/types/index.ts b/src/serialization/resources/tts/resources/voices/types/index.ts new file mode 100644 index 00000000..dc98805d --- /dev/null +++ b/src/serialization/resources/tts/resources/voices/types/index.ts @@ -0,0 +1 @@ +export * from "./VoicesListRequestProvider"; diff --git a/src/version.ts b/src/version.ts index cb3f87e9..b4ad2a35 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "0.10.3"; +export const SDK_VERSION = "0.10.4"; diff --git a/yarn.lock b/yarn.lock index b2fb6b44..112cb015 100644 --- a/yarn.lock +++ b/yarn.lock @@ -642,7 +642,7 @@ "@types/tough-cookie" "*" parse5 "^7.0.0" -"@types/json-schema@*", "@types/json-schema@^7.0.9": +"@types/json-schema@*", "@types/json-schema@^7.0.15", "@types/json-schema@^7.0.9": version "7.0.15" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== @@ -656,16 +656,16 @@ form-data "^4.0.0" "@types/node@*": - version "22.14.1" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.14.1.tgz#53b54585cec81c21eee3697521e31312d6ca1e6f" - integrity sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw== + version "22.15.3" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.15.3.tgz#b7fb9396a8ec5b5dfb1345d8ac2502060e9af68b" + integrity sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw== dependencies: undici-types "~6.21.0" "@types/node@^18.19.70": - version "18.19.86" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.86.tgz#a7e1785289c343155578b9d84a0e3e924deb948b" - integrity sha512-fifKayi175wLyKyc5qUfyENhQ1dCNI1UNjp653d8kuYcPQN5JhX3dGuP/XmvPTg/xRBn1VTLpbmi+H/Mr7tLfQ== + version "18.19.87" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.87.tgz#690f000cc51e3c7f48bc00f7e86fac6eb550b709" + integrity sha512-OIAAu6ypnVZHmsHCeJ+7CCSub38QNBS9uceMQeg7K5Ur0Jr+wG9wEOEvvMbhp09pxD5czIUy/jND7s7Tb6Nw7A== dependencies: undici-types "~5.26.4" @@ -1128,9 +1128,9 @@ camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001688: - version "1.0.30001714" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001714.tgz#cfd27ff07e6fa20a0f45c7a10d28a0ffeaba2122" - integrity sha512-mtgapdwDLSSBnCI3JokHM7oEQBLxiJKVRtg10AxM1AyeiKcM96f0Mkbqeq+1AbiCtvMcHRulAAEMu693JrSWqg== + version "1.0.30001715" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001715.tgz#bd325a37ad366e3fe90827d74062807a34fbaeb2" + integrity sha512-7ptkFGMm2OAOgvZpwgA4yjQ5SQbrNVGdRjzH0pBdy1Fasvcr+KAeECmbCAECzTuDuoX0FCY8KzUxjf9+9kfZEw== chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0: version "4.1.2" @@ -1322,9 +1322,9 @@ ejs@^3.1.10: jake "^10.8.5" electron-to-chromium@^1.5.73: - version "1.5.138" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.138.tgz#319e775179bd0889ed96a04d4390d355fb315a44" - integrity sha512-FWlQc52z1dXqm+9cCJ2uyFgJkESd+16j6dBEjsgDNuHjBpuIzL8/lRc0uvh1k8RNI6waGo6tcy2DvwkTBJOLDg== + version "1.5.143" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.143.tgz#b057bcb9dddd3a9b24ba6c9b9e39a82bee84bdaf" + integrity sha512-QqklJMOFBMqe46k8iIOwA9l2hz57V2OKMmP5eSWcUvwx+mASAsbU+wkF1pHjn9ZVSBPrsYWr4/W/95y5SwYg2g== emittery@^0.13.1: version "0.13.1" @@ -1344,10 +1344,10 @@ enhanced-resolve@^5.0.0, enhanced-resolve@^5.17.1: graceful-fs "^4.2.4" tapable "^2.2.0" -entities@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" - integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw== +entities@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/entities/-/entities-6.0.0.tgz#09c9e29cb79b0a6459a9b9db9efb418ac5bb8e51" + integrity sha512-aKstq2TDOndCn4diEyp9Uq/Flu2i1GlLkc6XIDQSDMuaFE3OPW5OphLCyQ5SpSJZTb4reN+kTcYru5yIfXoRPw== error-ex@^1.3.1: version "1.3.2" @@ -1367,9 +1367,9 @@ es-errors@^1.3.0: integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== es-module-lexer@^1.2.1: - version "1.6.0" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.6.0.tgz#da49f587fd9e68ee2404fe4e256c0c7d3a81be21" - integrity sha512-qqnD1yMU6tk/jnaMosogGySTZP8YtUgAffA9nMN+E/rjxcfRQ6IEk7IiozUjgxKoFHBGjTLnrHB/YC45r/59EQ== + version "1.7.0" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.7.0.tgz#9159601561880a85f2734560a9099b2c31e5372a" + integrity sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA== es-object-atoms@^1.0.0, es-object-atoms@^1.1.1: version "1.1.1" @@ -2499,11 +2499,11 @@ parse-json@^5.2.0: lines-and-columns "^1.1.6" parse5@^7.0.0, parse5@^7.1.1: - version "7.2.1" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.2.1.tgz#8928f55915e6125f430cc44309765bf17556a33a" - integrity sha512-BuBYQYlv1ckiPdQi/ohiivi9Sagc9JG+Ozs0r7b/0iK3sKmrb0b9FdWdBbOdx6hBCM/F9Ir82ofnBhtZOjCRPQ== + version "7.3.0" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.3.0.tgz#d7e224fa72399c7a175099f45fc2ad024b05ec05" + integrity sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw== dependencies: - entities "^4.5.0" + entities "^6.0.0" path-exists@^4.0.0: version "4.0.0" @@ -2689,10 +2689,10 @@ saxes@^6.0.0: dependencies: xmlchars "^2.2.0" -schema-utils@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.3.0.tgz#3b669f04f71ff2dfb5aba7ce2d5a9d79b35622c0" - integrity sha512-Gf9qqc58SpCA/xdziiHz35F4GNIWYWZrEshUc/G/r5BnLph6xpKuLeoJoQuj5WfBIx/eQLf+hmVPYHaxJu7V2g== +schema-utils@^4.3.0, schema-utils@^4.3.2: + version "4.3.2" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.3.2.tgz#0c10878bf4a73fd2b1dfd14b9462b26788c806ae" + integrity sha512-Gn/JaSk/Mt9gYubxTtSn/QCV4em9mpAPiR1rqy/Ocu19u/G9J5WWdNoUT4SiV6mFC3y6cxyFcFwdzPM3FgxGAQ== dependencies: "@types/json-schema" "^7.0.9" ajv "^8.9.0" @@ -2998,9 +2998,9 @@ type-fest@^0.21.3: integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== type-fest@^4.39.1: - version "4.40.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-4.40.0.tgz#62bc09caccb99a75e1ad6b9b4653e8805e5e1eee" - integrity sha512-ABHZ2/tS2JkvH1PEjxFDTUWC8dB5OsIGZP4IFLhR293GqT5Y5qB1WwL2kMPYhQW9DVgVD8Hd7I8gjwPIf5GFkw== + version "4.40.1" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-4.40.1.tgz#d78a09f08dd1081a434dd377967650cfd565401d" + integrity sha512-9YvLNnORDpI+vghLU/Nf+zSv0kL47KbVJ1o3sKgoTefl6i+zebxbiDQWoe/oWWqPhIgQdRZRT1KA9sCPL810SA== typescript@~5.7.2: version "5.7.3" @@ -3095,12 +3095,13 @@ webpack-sources@^3.2.3: integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== webpack@^5.97.1: - version "5.99.6" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.99.6.tgz#0d6ba7ce1d3609c977f193d2634d54e5cf36379d" - integrity sha512-TJOLrJ6oeccsGWPl7ujCYuc0pIq2cNsuD6GZDma8i5o5Npvcco/z+NKvZSFsP0/x6SShVb0+X2JK/JHUjKY9dQ== + version "5.99.7" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.99.7.tgz#60201c1ca66da046b07d006c2f6e0cc5e8a7bdba" + integrity sha512-CNqKBRMQjwcmKR0idID5va1qlhrqVUKpovi+Ec79ksW8ux7iS1+A6VqzfZXgVYCFRKl7XL5ap3ZoMpwBJxcg0w== dependencies: "@types/eslint-scope" "^3.7.7" "@types/estree" "^1.0.6" + "@types/json-schema" "^7.0.15" "@webassemblyjs/ast" "^1.14.1" "@webassemblyjs/wasm-edit" "^1.14.1" "@webassemblyjs/wasm-parser" "^1.14.1" @@ -3117,7 +3118,7 @@ webpack@^5.97.1: loader-runner "^4.2.0" mime-types "^2.1.27" neo-async "^2.6.2" - schema-utils "^4.3.0" + schema-utils "^4.3.2" tapable "^2.1.1" terser-webpack-plugin "^5.3.11" watchpack "^2.4.1"