hume 0.9.10 → 0.9.11
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.
- package/.mock/definition/empathic-voice/__package__.yml +87 -26
- package/.mock/definition/empathic-voice/chat.yml +5 -1
- package/.mock/definition/empathic-voice/chatGroups.yml +6 -0
- package/.mock/definition/empathic-voice/chatWebhooks.yml +24 -13
- package/.mock/definition/empathic-voice/chats.yml +3 -0
- package/.mock/definition/empathic-voice/configs.yml +8 -1
- package/.mock/definition/empathic-voice/customVoices.yml +23 -12
- package/.mock/definition/empathic-voice/prompts.yml +29 -21
- package/.mock/definition/empathic-voice/tools.yml +34 -27
- package/.mock/definition/expression-measurement/batch/__package__.yml +23 -0
- package/.mock/definition/expression-measurement/stream/__package__.yml +0 -435
- package/.mock/definition/expression-measurement/v0StreamModels.yml +437 -0
- package/.mock/definition/tts/__package__.yml +394 -0
- package/.mock/definition/tts/voices.yml +47 -0
- package/.mock/fern.config.json +1 -1
- package/Client.d.ts +3 -0
- package/Client.js +5 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
- package/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
- package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
- package/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +11 -6
- package/api/resources/empathicVoice/resources/customVoices/client/Client.js +17 -12
- package/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +6 -0
- package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +11 -11
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +21 -21
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
- package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +9 -9
- package/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
- package/api/resources/empathicVoice/types/Context.d.ts +2 -2
- package/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedBuiltinToolName.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +6 -2
- package/api/resources/empathicVoice/types/ReturnConfig.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +6 -2
- package/api/resources/empathicVoice/types/SessionSettings.d.ts +7 -7
- package/api/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +5 -0
- package/api/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +2 -2
- package/api/resources/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/tts/client/Client.d.ts +86 -0
- package/api/resources/tts/client/Client.js +218 -0
- package/api/resources/tts/client/index.d.ts +1 -0
- package/api/resources/tts/client/index.js +2 -0
- package/api/resources/tts/errors/UnprocessableEntityError.d.ts +8 -0
- package/api/resources/tts/errors/UnprocessableEntityError.js +41 -0
- package/api/resources/tts/errors/index.d.ts +1 -0
- package/api/resources/tts/errors/index.js +17 -0
- package/api/resources/tts/index.d.ts +4 -0
- package/api/resources/tts/index.js +20 -0
- package/api/resources/tts/resources/index.d.ts +2 -0
- package/api/resources/tts/resources/index.js +31 -0
- package/api/resources/tts/resources/voices/client/Client.d.ts +43 -0
- package/api/resources/tts/resources/voices/client/Client.js +126 -0
- package/api/resources/tts/resources/voices/client/index.d.ts +1 -0
- package/api/resources/tts/resources/voices/client/index.js +17 -0
- package/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +16 -0
- package/api/resources/tts/resources/voices/client/requests/PostedVoice.js +5 -0
- package/api/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
- package/api/resources/tts/resources/voices/client/requests/index.js +2 -0
- package/api/resources/tts/resources/voices/index.d.ts +1 -0
- package/api/resources/tts/resources/voices/index.js +17 -0
- package/api/resources/tts/types/AudioEncoding.d.ts +10 -0
- package/api/resources/tts/types/AudioEncoding.js +5 -0
- package/api/resources/tts/types/AudioFormatType.d.ts +9 -0
- package/api/resources/tts/types/AudioFormatType.js +11 -0
- package/api/resources/tts/types/Format.d.ts +19 -0
- package/api/resources/tts/types/Format.js +5 -0
- package/api/resources/tts/types/FormatMp3.d.ts +5 -0
- package/api/resources/tts/types/FormatMp3.js +5 -0
- package/api/resources/tts/types/FormatPcm.d.ts +5 -0
- package/api/resources/tts/types/FormatPcm.js +5 -0
- package/api/resources/tts/types/FormatWav.d.ts +5 -0
- package/api/resources/tts/types/FormatWav.js +5 -0
- package/api/resources/tts/types/HttpValidationError.d.ts +7 -0
- package/api/resources/tts/types/HttpValidationError.js +5 -0
- package/api/resources/tts/types/PostedContext.d.ts +8 -0
- package/api/resources/tts/types/PostedContext.js +5 -0
- package/api/resources/tts/types/PostedContextWithGenerationId.d.ts +7 -0
- package/api/resources/tts/types/PostedContextWithGenerationId.js +5 -0
- package/api/resources/tts/types/PostedContextWithUtterances.d.ts +7 -0
- package/api/resources/tts/types/PostedContextWithUtterances.js +5 -0
- package/api/resources/tts/types/PostedTts.d.ts +14 -0
- package/api/resources/tts/types/PostedTts.js +5 -0
- package/api/resources/tts/types/PostedTtsRecord.d.ts +11 -0
- package/api/resources/tts/types/PostedTtsRecord.js +5 -0
- package/api/resources/tts/types/PostedUtterance.d.ts +22 -0
- package/api/resources/tts/types/PostedUtterance.js +5 -0
- package/api/resources/tts/types/PostedUtteranceVoice.d.ts +5 -0
- package/api/resources/tts/types/PostedUtteranceVoice.js +5 -0
- package/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +20 -0
- package/api/resources/tts/types/PostedUtteranceVoiceWithId.js +5 -0
- package/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +20 -0
- package/api/resources/tts/types/PostedUtteranceVoiceWithName.js +5 -0
- package/api/resources/tts/types/ReturnGeneration.d.ts +17 -0
- package/api/resources/tts/types/ReturnGeneration.js +5 -0
- package/api/resources/tts/types/ReturnTts.d.ts +9 -0
- package/api/resources/tts/types/ReturnTts.js +5 -0
- package/api/resources/tts/types/ReturnVoice.d.ts +9 -0
- package/api/resources/tts/types/ReturnVoice.js +5 -0
- package/api/resources/tts/types/Snippet.d.ts +11 -0
- package/api/resources/tts/types/Snippet.js +5 -0
- package/api/resources/tts/types/ValidationError.d.ts +9 -0
- package/api/resources/tts/types/ValidationError.js +5 -0
- package/api/resources/tts/types/ValidationErrorLocItem.d.ts +4 -0
- package/api/resources/tts/types/ValidationErrorLocItem.js +5 -0
- package/api/resources/tts/types/VoiceProvider.d.ts +8 -0
- package/api/resources/tts/types/VoiceProvider.js +10 -0
- package/api/resources/tts/types/index.d.ts +23 -0
- package/api/resources/tts/types/index.js +39 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +5 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +11 -6
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +17 -12
- package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +6 -0
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +11 -11
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +21 -21
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +9 -9
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
- package/dist/api/resources/empathicVoice/types/Context.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedBuiltinToolName.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +6 -2
- package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +6 -2
- package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +7 -7
- package/dist/api/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +5 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +2 -2
- package/dist/api/resources/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/tts/client/Client.d.ts +86 -0
- package/dist/api/resources/tts/client/Client.js +218 -0
- package/dist/api/resources/tts/client/index.d.ts +1 -0
- package/dist/api/resources/tts/client/index.js +2 -0
- package/dist/api/resources/tts/errors/UnprocessableEntityError.d.ts +8 -0
- package/dist/api/resources/tts/errors/UnprocessableEntityError.js +41 -0
- package/dist/api/resources/tts/errors/index.d.ts +1 -0
- package/dist/api/resources/tts/errors/index.js +17 -0
- package/dist/api/resources/tts/index.d.ts +4 -0
- package/dist/api/resources/tts/index.js +20 -0
- package/dist/api/resources/tts/resources/index.d.ts +2 -0
- package/dist/api/resources/tts/resources/index.js +31 -0
- package/dist/api/resources/tts/resources/voices/client/Client.d.ts +43 -0
- package/dist/api/resources/tts/resources/voices/client/Client.js +126 -0
- package/dist/api/resources/tts/resources/voices/client/index.d.ts +1 -0
- package/dist/api/resources/tts/resources/voices/client/index.js +17 -0
- package/dist/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +16 -0
- package/dist/api/resources/tts/resources/voices/client/requests/PostedVoice.js +5 -0
- package/dist/api/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
- package/dist/api/resources/tts/resources/voices/client/requests/index.js +2 -0
- package/dist/api/resources/tts/resources/voices/index.d.ts +1 -0
- package/dist/api/resources/tts/resources/voices/index.js +17 -0
- package/dist/api/resources/tts/types/AudioEncoding.d.ts +10 -0
- package/dist/api/resources/tts/types/AudioEncoding.js +5 -0
- package/dist/api/resources/tts/types/AudioFormatType.d.ts +9 -0
- package/dist/api/resources/tts/types/AudioFormatType.js +11 -0
- package/dist/api/resources/tts/types/Format.d.ts +19 -0
- package/dist/api/resources/tts/types/Format.js +5 -0
- package/dist/api/resources/tts/types/FormatMp3.d.ts +5 -0
- package/dist/api/resources/tts/types/FormatMp3.js +5 -0
- package/dist/api/resources/tts/types/FormatPcm.d.ts +5 -0
- package/dist/api/resources/tts/types/FormatPcm.js +5 -0
- package/dist/api/resources/tts/types/FormatWav.d.ts +5 -0
- package/dist/api/resources/tts/types/FormatWav.js +5 -0
- package/dist/api/resources/tts/types/HttpValidationError.d.ts +7 -0
- package/dist/api/resources/tts/types/HttpValidationError.js +5 -0
- package/dist/api/resources/tts/types/PostedContext.d.ts +8 -0
- package/dist/api/resources/tts/types/PostedContext.js +5 -0
- package/dist/api/resources/tts/types/PostedContextWithGenerationId.d.ts +7 -0
- package/dist/api/resources/tts/types/PostedContextWithGenerationId.js +5 -0
- package/dist/api/resources/tts/types/PostedContextWithUtterances.d.ts +7 -0
- package/dist/api/resources/tts/types/PostedContextWithUtterances.js +5 -0
- package/dist/api/resources/tts/types/PostedTts.d.ts +14 -0
- package/dist/api/resources/tts/types/PostedTts.js +5 -0
- package/dist/api/resources/tts/types/PostedTtsRecord.d.ts +11 -0
- package/dist/api/resources/tts/types/PostedTtsRecord.js +5 -0
- package/dist/api/resources/tts/types/PostedUtterance.d.ts +22 -0
- package/dist/api/resources/tts/types/PostedUtterance.js +5 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoice.d.ts +5 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoice.js +5 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +20 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoiceWithId.js +5 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +20 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoiceWithName.js +5 -0
- package/dist/api/resources/tts/types/ReturnGeneration.d.ts +17 -0
- package/dist/api/resources/tts/types/ReturnGeneration.js +5 -0
- package/dist/api/resources/tts/types/ReturnTts.d.ts +9 -0
- package/dist/api/resources/tts/types/ReturnTts.js +5 -0
- package/dist/api/resources/tts/types/ReturnVoice.d.ts +9 -0
- package/dist/api/resources/tts/types/ReturnVoice.js +5 -0
- package/dist/api/resources/tts/types/Snippet.d.ts +11 -0
- package/dist/api/resources/tts/types/Snippet.js +5 -0
- package/dist/api/resources/tts/types/ValidationError.d.ts +9 -0
- package/dist/api/resources/tts/types/ValidationError.js +5 -0
- package/dist/api/resources/tts/types/ValidationErrorLocItem.d.ts +4 -0
- package/dist/api/resources/tts/types/ValidationErrorLocItem.js +5 -0
- package/dist/api/resources/tts/types/VoiceProvider.d.ts +8 -0
- package/dist/api/resources/tts/types/VoiceProvider.js +10 -0
- package/dist/api/resources/tts/types/index.d.ts +23 -0
- package/dist/api/resources/tts/types/index.js +39 -0
- package/dist/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.d.ts → createPromptVersion.d.ts} +1 -1
- package/dist/serialization/resources/empathicVoice/resources/prompts/client/index.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/resources/prompts/client/index.js +2 -2
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/tts/index.d.ts +2 -0
- package/dist/serialization/resources/tts/index.js +18 -0
- package/dist/serialization/resources/tts/resources/index.d.ts +2 -0
- package/dist/serialization/resources/tts/resources/index.js +31 -0
- package/dist/serialization/resources/tts/resources/voices/client/index.d.ts +1 -0
- package/dist/serialization/resources/tts/resources/voices/client/index.js +17 -0
- package/dist/serialization/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +13 -0
- package/dist/serialization/resources/tts/resources/voices/client/requests/PostedVoice.js +34 -0
- package/dist/serialization/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/tts/resources/voices/client/requests/index.js +5 -0
- package/dist/serialization/resources/tts/resources/voices/index.d.ts +1 -0
- package/dist/serialization/resources/tts/resources/voices/index.js +17 -0
- package/dist/serialization/resources/tts/types/AudioEncoding.d.ts +14 -0
- package/dist/serialization/resources/tts/types/AudioEncoding.js +35 -0
- package/dist/serialization/resources/tts/types/AudioFormatType.d.ts +10 -0
- package/dist/serialization/resources/tts/types/AudioFormatType.js +31 -0
- package/dist/serialization/resources/tts/types/Format.d.ts +22 -0
- package/dist/serialization/resources/tts/types/Format.js +43 -0
- package/dist/serialization/resources/tts/types/FormatMp3.d.ts +11 -0
- package/dist/serialization/resources/tts/types/FormatMp3.js +31 -0
- package/dist/serialization/resources/tts/types/FormatPcm.d.ts +11 -0
- package/dist/serialization/resources/tts/types/FormatPcm.js +31 -0
- package/dist/serialization/resources/tts/types/FormatWav.d.ts +11 -0
- package/dist/serialization/resources/tts/types/FormatWav.js +31 -0
- package/dist/serialization/resources/tts/types/HttpValidationError.d.ts +13 -0
- package/dist/serialization/resources/tts/types/HttpValidationError.js +34 -0
- package/dist/serialization/resources/tts/types/PostedContext.d.ts +12 -0
- package/dist/serialization/resources/tts/types/PostedContext.js +33 -0
- package/dist/serialization/resources/tts/types/PostedContextWithGenerationId.d.ts +12 -0
- package/dist/serialization/resources/tts/types/PostedContextWithGenerationId.js +33 -0
- package/dist/serialization/resources/tts/types/PostedContextWithUtterances.d.ts +13 -0
- package/dist/serialization/resources/tts/types/PostedContextWithUtterances.js +34 -0
- package/dist/serialization/resources/tts/types/PostedTts.d.ts +18 -0
- package/dist/serialization/resources/tts/types/PostedTts.js +39 -0
- package/dist/serialization/resources/tts/types/PostedTtsRecord.d.ts +17 -0
- package/dist/serialization/resources/tts/types/PostedTtsRecord.js +38 -0
- package/dist/serialization/resources/tts/types/PostedUtterance.d.ts +15 -0
- package/dist/serialization/resources/tts/types/PostedUtterance.js +36 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoice.d.ts +12 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoice.js +33 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +14 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithId.js +35 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +14 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithName.js +35 -0
- package/dist/serialization/resources/tts/types/ReturnGeneration.d.ts +19 -0
- package/dist/serialization/resources/tts/types/ReturnGeneration.js +40 -0
- package/dist/serialization/resources/tts/types/ReturnTts.d.ts +14 -0
- package/dist/serialization/resources/tts/types/ReturnTts.js +35 -0
- package/dist/serialization/resources/tts/types/ReturnVoice.d.ts +13 -0
- package/dist/serialization/resources/tts/types/ReturnVoice.js +34 -0
- package/dist/serialization/resources/tts/types/Snippet.d.ts +14 -0
- package/dist/serialization/resources/tts/types/Snippet.js +35 -0
- package/dist/serialization/resources/tts/types/ValidationError.d.ts +15 -0
- package/dist/serialization/resources/tts/types/ValidationError.js +36 -0
- package/dist/serialization/resources/tts/types/ValidationErrorLocItem.d.ts +10 -0
- package/dist/serialization/resources/tts/types/ValidationErrorLocItem.js +31 -0
- package/dist/serialization/resources/tts/types/VoiceProvider.d.ts +10 -0
- package/dist/serialization/resources/tts/types/VoiceProvider.js +31 -0
- package/dist/serialization/resources/tts/types/index.d.ts +23 -0
- package/dist/serialization/resources/tts/types/index.js +39 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +489 -178
- package/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.d.ts → createPromptVersion.d.ts} +1 -1
- package/serialization/resources/empathicVoice/resources/prompts/client/index.d.ts +1 -1
- package/serialization/resources/empathicVoice/resources/prompts/client/index.js +2 -2
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/tts/index.d.ts +2 -0
- package/serialization/resources/tts/index.js +18 -0
- package/serialization/resources/tts/resources/index.d.ts +2 -0
- package/serialization/resources/tts/resources/index.js +31 -0
- package/serialization/resources/tts/resources/voices/client/index.d.ts +1 -0
- package/serialization/resources/tts/resources/voices/client/index.js +17 -0
- package/serialization/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +13 -0
- package/serialization/resources/tts/resources/voices/client/requests/PostedVoice.js +34 -0
- package/serialization/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
- package/serialization/resources/tts/resources/voices/client/requests/index.js +5 -0
- package/serialization/resources/tts/resources/voices/index.d.ts +1 -0
- package/serialization/resources/tts/resources/voices/index.js +17 -0
- package/serialization/resources/tts/types/AudioEncoding.d.ts +14 -0
- package/serialization/resources/tts/types/AudioEncoding.js +35 -0
- package/serialization/resources/tts/types/AudioFormatType.d.ts +10 -0
- package/serialization/resources/tts/types/AudioFormatType.js +31 -0
- package/serialization/resources/tts/types/Format.d.ts +22 -0
- package/serialization/resources/tts/types/Format.js +43 -0
- package/serialization/resources/tts/types/FormatMp3.d.ts +11 -0
- package/serialization/resources/tts/types/FormatMp3.js +31 -0
- package/serialization/resources/tts/types/FormatPcm.d.ts +11 -0
- package/serialization/resources/tts/types/FormatPcm.js +31 -0
- package/serialization/resources/tts/types/FormatWav.d.ts +11 -0
- package/serialization/resources/tts/types/FormatWav.js +31 -0
- package/serialization/resources/tts/types/HttpValidationError.d.ts +13 -0
- package/serialization/resources/tts/types/HttpValidationError.js +34 -0
- package/serialization/resources/tts/types/PostedContext.d.ts +12 -0
- package/serialization/resources/tts/types/PostedContext.js +33 -0
- package/serialization/resources/tts/types/PostedContextWithGenerationId.d.ts +12 -0
- package/serialization/resources/tts/types/PostedContextWithGenerationId.js +33 -0
- package/serialization/resources/tts/types/PostedContextWithUtterances.d.ts +13 -0
- package/serialization/resources/tts/types/PostedContextWithUtterances.js +34 -0
- package/serialization/resources/tts/types/PostedTts.d.ts +18 -0
- package/serialization/resources/tts/types/PostedTts.js +39 -0
- package/serialization/resources/tts/types/PostedTtsRecord.d.ts +17 -0
- package/serialization/resources/tts/types/PostedTtsRecord.js +38 -0
- package/serialization/resources/tts/types/PostedUtterance.d.ts +15 -0
- package/serialization/resources/tts/types/PostedUtterance.js +36 -0
- package/serialization/resources/tts/types/PostedUtteranceVoice.d.ts +12 -0
- package/serialization/resources/tts/types/PostedUtteranceVoice.js +33 -0
- package/serialization/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +14 -0
- package/serialization/resources/tts/types/PostedUtteranceVoiceWithId.js +35 -0
- package/serialization/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +14 -0
- package/serialization/resources/tts/types/PostedUtteranceVoiceWithName.js +35 -0
- package/serialization/resources/tts/types/ReturnGeneration.d.ts +19 -0
- package/serialization/resources/tts/types/ReturnGeneration.js +40 -0
- package/serialization/resources/tts/types/ReturnTts.d.ts +14 -0
- package/serialization/resources/tts/types/ReturnTts.js +35 -0
- package/serialization/resources/tts/types/ReturnVoice.d.ts +13 -0
- package/serialization/resources/tts/types/ReturnVoice.js +34 -0
- package/serialization/resources/tts/types/Snippet.d.ts +14 -0
- package/serialization/resources/tts/types/Snippet.js +35 -0
- package/serialization/resources/tts/types/ValidationError.d.ts +15 -0
- package/serialization/resources/tts/types/ValidationError.js +36 -0
- package/serialization/resources/tts/types/ValidationErrorLocItem.d.ts +10 -0
- package/serialization/resources/tts/types/ValidationErrorLocItem.js +31 -0
- package/serialization/resources/tts/types/VoiceProvider.d.ts +10 -0
- package/serialization/resources/tts/types/VoiceProvider.js +31 -0
- package/serialization/resources/tts/types/index.d.ts +23 -0
- package/serialization/resources/tts/types/index.js +39 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/dist/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.js → createPromptVersion.js} +0 -0
- /package/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.js → createPromptVersion.js} +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PostedContextWithGenerationId = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.PostedContextWithGenerationId = core.serialization.object({
|
|
32
|
+
generationId: core.serialization.property("generation_id", core.serialization.string()),
|
|
33
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Hume from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { PostedUtterance } from "./PostedUtterance";
|
|
8
|
+
export declare const PostedContextWithUtterances: core.serialization.ObjectSchema<serializers.tts.PostedContextWithUtterances.Raw, Hume.tts.PostedContextWithUtterances>;
|
|
9
|
+
export declare namespace PostedContextWithUtterances {
|
|
10
|
+
interface Raw {
|
|
11
|
+
utterances: PostedUtterance.Raw[];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PostedContextWithUtterances = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const PostedUtterance_1 = require("./PostedUtterance");
|
|
32
|
+
exports.PostedContextWithUtterances = core.serialization.object({
|
|
33
|
+
utterances: core.serialization.list(PostedUtterance_1.PostedUtterance),
|
|
34
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Hume from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { PostedContext } from "./PostedContext";
|
|
8
|
+
import { Format } from "./Format";
|
|
9
|
+
import { PostedUtterance } from "./PostedUtterance";
|
|
10
|
+
export declare const PostedTts: core.serialization.ObjectSchema<serializers.tts.PostedTts.Raw, Hume.tts.PostedTts>;
|
|
11
|
+
export declare namespace PostedTts {
|
|
12
|
+
interface Raw {
|
|
13
|
+
context?: PostedContext.Raw | null;
|
|
14
|
+
format?: Format.Raw | null;
|
|
15
|
+
num_generations?: number | null;
|
|
16
|
+
utterances: PostedUtterance.Raw[];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PostedTts = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const PostedContext_1 = require("./PostedContext");
|
|
32
|
+
const Format_1 = require("./Format");
|
|
33
|
+
const PostedUtterance_1 = require("./PostedUtterance");
|
|
34
|
+
exports.PostedTts = core.serialization.object({
|
|
35
|
+
context: PostedContext_1.PostedContext.optional(),
|
|
36
|
+
format: Format_1.Format.optional(),
|
|
37
|
+
numGenerations: core.serialization.property("num_generations", core.serialization.number().optional()),
|
|
38
|
+
utterances: core.serialization.list(PostedUtterance_1.PostedUtterance),
|
|
39
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Hume from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const PostedTtsRecord: core.serialization.ObjectSchema<serializers.tts.PostedTtsRecord.Raw, Hume.tts.PostedTtsRecord>;
|
|
8
|
+
export declare namespace PostedTtsRecord {
|
|
9
|
+
interface Raw {
|
|
10
|
+
created_on: number;
|
|
11
|
+
id: string;
|
|
12
|
+
internal_metadata: string;
|
|
13
|
+
message_text: string;
|
|
14
|
+
parent_id?: string | null;
|
|
15
|
+
request_payload: string;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PostedTtsRecord = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.PostedTtsRecord = core.serialization.object({
|
|
32
|
+
createdOn: core.serialization.property("created_on", core.serialization.number()),
|
|
33
|
+
id: core.serialization.string(),
|
|
34
|
+
internalMetadata: core.serialization.property("internal_metadata", core.serialization.string()),
|
|
35
|
+
messageText: core.serialization.property("message_text", core.serialization.string()),
|
|
36
|
+
parentId: core.serialization.property("parent_id", core.serialization.string().optional()),
|
|
37
|
+
requestPayload: core.serialization.property("request_payload", core.serialization.string()),
|
|
38
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Hume from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { PostedUtteranceVoice } from "./PostedUtteranceVoice";
|
|
8
|
+
export declare const PostedUtterance: core.serialization.ObjectSchema<serializers.tts.PostedUtterance.Raw, Hume.tts.PostedUtterance>;
|
|
9
|
+
export declare namespace PostedUtterance {
|
|
10
|
+
interface Raw {
|
|
11
|
+
description?: string | null;
|
|
12
|
+
text: string;
|
|
13
|
+
voice?: PostedUtteranceVoice.Raw | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PostedUtterance = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const PostedUtteranceVoice_1 = require("./PostedUtteranceVoice");
|
|
32
|
+
exports.PostedUtterance = core.serialization.object({
|
|
33
|
+
description: core.serialization.string().optional(),
|
|
34
|
+
text: core.serialization.string(),
|
|
35
|
+
voice: PostedUtteranceVoice_1.PostedUtteranceVoice.optional(),
|
|
36
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Hume from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { PostedUtteranceVoiceWithId } from "./PostedUtteranceVoiceWithId";
|
|
8
|
+
import { PostedUtteranceVoiceWithName } from "./PostedUtteranceVoiceWithName";
|
|
9
|
+
export declare const PostedUtteranceVoice: core.serialization.Schema<serializers.tts.PostedUtteranceVoice.Raw, Hume.tts.PostedUtteranceVoice>;
|
|
10
|
+
export declare namespace PostedUtteranceVoice {
|
|
11
|
+
type Raw = PostedUtteranceVoiceWithId.Raw | PostedUtteranceVoiceWithName.Raw;
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PostedUtteranceVoice = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const PostedUtteranceVoiceWithId_1 = require("./PostedUtteranceVoiceWithId");
|
|
32
|
+
const PostedUtteranceVoiceWithName_1 = require("./PostedUtteranceVoiceWithName");
|
|
33
|
+
exports.PostedUtteranceVoice = core.serialization.undiscriminatedUnion([PostedUtteranceVoiceWithId_1.PostedUtteranceVoiceWithId, PostedUtteranceVoiceWithName_1.PostedUtteranceVoiceWithName]);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Hume from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { VoiceProvider } from "./VoiceProvider";
|
|
8
|
+
export declare const PostedUtteranceVoiceWithId: core.serialization.ObjectSchema<serializers.tts.PostedUtteranceVoiceWithId.Raw, Hume.tts.PostedUtteranceVoiceWithId>;
|
|
9
|
+
export declare namespace PostedUtteranceVoiceWithId {
|
|
10
|
+
interface Raw {
|
|
11
|
+
id: string;
|
|
12
|
+
provider?: VoiceProvider.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PostedUtteranceVoiceWithId = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const VoiceProvider_1 = require("./VoiceProvider");
|
|
32
|
+
exports.PostedUtteranceVoiceWithId = core.serialization.object({
|
|
33
|
+
id: core.serialization.string(),
|
|
34
|
+
provider: VoiceProvider_1.VoiceProvider.optional(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Hume from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { VoiceProvider } from "./VoiceProvider";
|
|
8
|
+
export declare const PostedUtteranceVoiceWithName: core.serialization.ObjectSchema<serializers.tts.PostedUtteranceVoiceWithName.Raw, Hume.tts.PostedUtteranceVoiceWithName>;
|
|
9
|
+
export declare namespace PostedUtteranceVoiceWithName {
|
|
10
|
+
interface Raw {
|
|
11
|
+
name: string;
|
|
12
|
+
provider?: VoiceProvider.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PostedUtteranceVoiceWithName = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const VoiceProvider_1 = require("./VoiceProvider");
|
|
32
|
+
exports.PostedUtteranceVoiceWithName = core.serialization.object({
|
|
33
|
+
name: core.serialization.string(),
|
|
34
|
+
provider: VoiceProvider_1.VoiceProvider.optional(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Hume from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { AudioEncoding } from "./AudioEncoding";
|
|
8
|
+
import { Snippet } from "./Snippet";
|
|
9
|
+
export declare const ReturnGeneration: core.serialization.ObjectSchema<serializers.tts.ReturnGeneration.Raw, Hume.tts.ReturnGeneration>;
|
|
10
|
+
export declare namespace ReturnGeneration {
|
|
11
|
+
interface Raw {
|
|
12
|
+
audio: string;
|
|
13
|
+
duration: number;
|
|
14
|
+
encoding: AudioEncoding.Raw;
|
|
15
|
+
file_size: number;
|
|
16
|
+
generation_id: string;
|
|
17
|
+
snippets: Snippet.Raw[][];
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ReturnGeneration = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const AudioEncoding_1 = require("./AudioEncoding");
|
|
32
|
+
const Snippet_1 = require("./Snippet");
|
|
33
|
+
exports.ReturnGeneration = core.serialization.object({
|
|
34
|
+
audio: core.serialization.string(),
|
|
35
|
+
duration: core.serialization.number(),
|
|
36
|
+
encoding: AudioEncoding_1.AudioEncoding,
|
|
37
|
+
fileSize: core.serialization.property("file_size", core.serialization.number()),
|
|
38
|
+
generationId: core.serialization.property("generation_id", core.serialization.string()),
|
|
39
|
+
snippets: core.serialization.list(core.serialization.list(Snippet_1.Snippet)),
|
|
40
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Hume from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { ReturnGeneration } from "./ReturnGeneration";
|
|
8
|
+
export declare const ReturnTts: core.serialization.ObjectSchema<serializers.tts.ReturnTts.Raw, Hume.tts.ReturnTts>;
|
|
9
|
+
export declare namespace ReturnTts {
|
|
10
|
+
interface Raw {
|
|
11
|
+
generations: ReturnGeneration.Raw[];
|
|
12
|
+
request_id?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ReturnTts = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const ReturnGeneration_1 = require("./ReturnGeneration");
|
|
32
|
+
exports.ReturnTts = core.serialization.object({
|
|
33
|
+
generations: core.serialization.list(ReturnGeneration_1.ReturnGeneration),
|
|
34
|
+
requestId: core.serialization.property("request_id", core.serialization.string().optional()),
|
|
35
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Hume from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const ReturnVoice: core.serialization.ObjectSchema<serializers.tts.ReturnVoice.Raw, Hume.tts.ReturnVoice>;
|
|
8
|
+
export declare namespace ReturnVoice {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id?: string | null;
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ReturnVoice = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ReturnVoice = core.serialization.object({
|
|
32
|
+
id: core.serialization.string().optional(),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Hume from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const Snippet: core.serialization.ObjectSchema<serializers.tts.Snippet.Raw, Hume.tts.Snippet>;
|
|
8
|
+
export declare namespace Snippet {
|
|
9
|
+
interface Raw {
|
|
10
|
+
audio: string;
|
|
11
|
+
id: string;
|
|
12
|
+
text: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Snippet = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.Snippet = core.serialization.object({
|
|
32
|
+
audio: core.serialization.string(),
|
|
33
|
+
id: core.serialization.string(),
|
|
34
|
+
text: core.serialization.string(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Hume from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { ValidationErrorLocItem } from "./ValidationErrorLocItem";
|
|
8
|
+
export declare const ValidationError: core.serialization.ObjectSchema<serializers.tts.ValidationError.Raw, Hume.tts.ValidationError>;
|
|
9
|
+
export declare namespace ValidationError {
|
|
10
|
+
interface Raw {
|
|
11
|
+
loc: ValidationErrorLocItem.Raw[];
|
|
12
|
+
msg: string;
|
|
13
|
+
type: string;
|
|
14
|
+
}
|
|
15
|
+
}
|