@elevenlabs/elevenlabs-js 2.53.1 → 2.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.fern/metadata.json +3 -7
- package/.fern/replay.lock +8 -2
- package/BaseClient.js +2 -2
- package/Client.js +1 -1
- package/api/resources/audioIsolation/client/Client.js +4 -8
- package/api/resources/audioNative/client/Client.js +4 -4
- package/api/resources/conversationalAi/client/Client.js +4 -8
- package/api/resources/conversationalAi/resources/agents/client/Client.js +9 -25
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +14 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +53 -13
- package/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +2 -10
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/requests/WidgetGetRequest.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +6 -10
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +16 -28
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +7 -1
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/index.js +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +9 -11
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -0
- package/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +7 -11
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.d.ts +6 -2
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.js +15 -6
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.d.ts +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.js +15 -0
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.d.ts +13 -0
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/exotel/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -11
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -3
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +12 -24
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/llm/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -5
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +4 -4
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +6 -14
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +6 -14
- package/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/tests/client/Client.js +7 -11
- package/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js +4 -8
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/tools/client/Client.js +6 -18
- package/api/resources/conversationalAi/resources/tools/resources/executions/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/users/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/whatsapp/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +4 -8
- package/api/resources/dubbing/client/Client.d.ts +4 -0
- package/api/resources/dubbing/client/Client.js +40 -10
- package/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +13 -1
- package/api/resources/dubbing/resources/audio/client/Client.js +1 -1
- package/api/resources/dubbing/resources/resource/client/Client.js +6 -6
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +3 -3
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
- package/api/resources/dubbing/resources/transcript/client/Client.js +1 -5
- package/api/resources/dubbing/resources/transcripts/client/Client.js +1 -1
- package/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +6 -0
- package/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +9 -0
- package/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +5 -0
- package/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +8 -0
- package/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +8 -0
- package/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +11 -0
- package/api/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +6 -0
- package/api/resources/dubbing/types/DubbingListRequestOrderBy.js +9 -0
- package/api/resources/dubbing/types/index.d.ts +4 -0
- package/api/resources/dubbing/types/index.js +4 -0
- package/api/resources/environmentVariables/client/Client.js +4 -8
- package/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
- package/api/resources/forcedAlignment/client/Client.js +1 -1
- package/api/resources/history/client/Client.js +5 -9
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/music/client/Client.d.ts +1 -1
- package/api/resources/music/client/Client.js +16 -30
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +4 -4
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -4
- package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +3 -3
- package/api/resources/music/resources/compositionPlan/client/Client.js +1 -1
- package/api/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.d.ts +0 -3
- package/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.d.ts +0 -3
- package/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts +0 -3
- package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +29 -0
- package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +32 -0
- package/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +29 -0
- package/api/resources/music/types/MusicComposeRequestOutputFormat.js +32 -0
- package/api/resources/music/types/MusicStreamRequestOutputFormat.d.ts +29 -0
- package/api/resources/music/types/MusicStreamRequestOutputFormat.js +32 -0
- package/api/resources/music/types/index.d.ts +3 -0
- package/api/resources/music/types/index.js +3 -0
- package/api/resources/productions/resources/orders/client/Client.js +5 -9
- package/api/resources/productions/resources/orders/resources/deliverables/client/Client.js +1 -1
- package/api/resources/productions/resources/orders/resources/items/client/Client.js +2 -2
- package/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
- package/api/resources/productions/resources/orders/resources/media/client/Client.js +2 -2
- package/api/resources/pronunciationDictionaries/client/Client.js +6 -10
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +3 -3
- package/api/resources/samples/client/Client.js +1 -1
- package/api/resources/serviceAccounts/client/Client.js +1 -1
- package/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +4 -4
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +4 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
- package/api/resources/speechEngine/client/Client.js +5 -9
- package/api/resources/speechToSpeech/client/Client.js +2 -10
- package/api/resources/speechToText/client/Client.d.ts +1 -1
- package/api/resources/speechToText/client/Client.js +5 -6
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
- package/api/resources/speechToText/resources/transcripts/client/Client.js +2 -2
- package/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +6 -0
- package/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js +9 -0
- package/api/resources/speechToText/types/index.d.ts +1 -0
- package/api/resources/speechToText/types/index.js +1 -0
- package/api/resources/studio/client/Client.js +1 -1
- package/api/resources/studio/resources/projects/client/Client.js +7 -11
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
- package/api/resources/textToDialogue/client/Client.js +4 -20
- package/api/resources/textToSoundEffects/client/Client.js +1 -5
- package/api/resources/textToSpeech/client/Client.js +4 -20
- package/api/resources/textToVoice/client/Client.js +4 -16
- package/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
- package/api/resources/textToVoice/resources/preview/client/Client.js +1 -1
- package/api/resources/tokens/resources/singleUse/client/Client.js +1 -1
- package/api/resources/usage/client/Client.js +1 -5
- package/api/resources/user/client/Client.js +1 -1
- package/api/resources/user/resources/subscription/client/Client.js +1 -1
- package/api/resources/voices/client/Client.d.ts +17 -17
- package/api/resources/voices/client/Client.js +50 -66
- package/api/resources/voices/resources/ivc/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/client/Client.js +3 -3
- package/api/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
- package/api/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -5
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
- package/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
- package/api/resources/voices/resources/settings/client/Client.js +3 -3
- package/api/resources/webhooks/client/Client.js +4 -8
- package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
- package/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +1 -1
- package/api/resources/workspace/resources/auditLogs/client/Client.js +1 -5
- package/api/resources/workspace/resources/authConnections/client/Client.js +4 -4
- package/api/resources/workspace/resources/groups/client/Client.js +2 -6
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/api/resources/workspace/resources/members/client/Client.js +1 -1
- package/api/resources/workspace/resources/resources/client/Client.js +3 -7
- package/api/resources/workspace/resources/usage/client/Client.js +1 -1
- package/api/resources/workspaces/resources/apiKeys/client/Client.js +1 -5
- package/api/types/AgentConfig.d.ts +1 -1
- package/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/api/types/AgentVersionParents.d.ts +1 -0
- package/api/types/AnalysisProperty.d.ts +2 -0
- package/api/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/api/types/BaseTurnConfig.d.ts +2 -0
- package/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +3 -0
- package/api/types/CaptionStyleSectionAnimationModelEnterType.js +3 -0
- package/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +3 -0
- package/api/types/CaptionStyleSectionAnimationModelExitType.js +3 -0
- package/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +3 -0
- package/api/types/CaptionStyleWordAnimationModelEnterType.js +3 -0
- package/api/types/CaptionStyleWordAnimationModelExitType.d.ts +3 -0
- package/api/types/CaptionStyleWordAnimationModelExitType.js +3 -0
- package/api/types/CompositionPlanChunksItem.d.ts +1 -1
- package/api/types/ConversationConfigInput.d.ts +2 -0
- package/api/types/ConversationConfigOutput.d.ts +2 -0
- package/api/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
- package/api/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
- package/api/types/ConversationInitiationClientDataInternal.d.ts +1 -1
- package/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
- package/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
- package/api/types/ConversationProduct.d.ts +6 -0
- package/api/types/ConversationProduct.js +9 -0
- package/api/types/ConversationSimulationSpecification.d.ts +1 -1
- package/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/api/types/CreateResponseUnitTestRequest.d.ts +1 -1
- package/api/types/CreateSimulationTestRequest.d.ts +4 -2
- package/api/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/api/types/FineTuningResponse.d.ts +2 -2
- package/api/types/{GenerationChunk.d.ts → GenerationChunkInput.d.ts} +3 -3
- package/api/types/GenerationChunkInputConditionStrength.d.ts +7 -0
- package/{dist/api/types/GenerationChunkConditionStrength.js → api/types/GenerationChunkInputConditionStrength.js} +2 -2
- package/{dist/api/types/GenerationChunkContextAdherence.d.ts → api/types/GenerationChunkInputContextAdherence.d.ts} +2 -2
- package/api/types/{GenerationChunkContextAdherence.js → GenerationChunkInputContextAdherence.js} +2 -2
- package/api/types/GenerationChunkOutput.d.ts +17 -0
- package/api/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
- package/api/types/GenerationChunkOutputConditionStrength.js +10 -0
- package/api/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
- package/api/types/GenerationChunkOutputContextAdherence.js +10 -0
- package/api/types/GetResponseUnitTestResponseModel.d.ts +1 -1
- package/api/types/GetSimulationTestResponseModel.d.ts +4 -2
- package/api/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
- package/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/api/types/LockReason.d.ts +7 -0
- package/api/types/LockReason.js +10 -0
- package/api/types/McpToolConfigOverrideInput.d.ts +1 -1
- package/api/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/api/types/MusicAllowedOutputFormats.d.ts +2 -0
- package/api/types/MusicOnlyOutputFormats.d.ts +7 -0
- package/api/types/MusicOnlyOutputFormats.js +10 -0
- package/api/types/MusicOutputFormat.d.ts +2 -0
- package/api/types/OpenAiAudioFormat.d.ts +6 -0
- package/{dist/api/types/AudioFormat.js → api/types/OpenAiAudioFormat.js} +2 -2
- package/api/types/OpenAiAudioInputFormat.d.ts +1 -1
- package/api/types/OpenAiAudioOutputFormat.d.ts +1 -1
- package/api/types/ProjectExtendedResponse.d.ts +1 -1
- package/api/types/ProjectResponse.d.ts +1 -1
- package/api/types/ResponseUnitTestModel.d.ts +1 -1
- package/api/types/ReviewResponseModel.d.ts +1 -1
- package/api/types/SimulationTestModel.d.ts +4 -2
- package/api/types/SoftTimeoutConfig.d.ts +4 -2
- package/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
- package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +4 -2
- package/api/types/SongSection.d.ts +2 -2
- package/api/types/SpeakerSeparationResponseModel.d.ts +1 -1
- package/api/types/SpeechToTextWordResponseModel.d.ts +2 -0
- package/api/types/ToolCallUnitTestModel.d.ts +1 -1
- package/api/types/TopicDiscoverySettings.d.ts +5 -0
- package/api/types/TurnConfig.d.ts +2 -0
- package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/api/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
- package/api/types/UpdateOAuth2JwtRequest.d.ts +1 -1
- package/api/types/UpdateResponseUnitTestRequest.d.ts +1 -1
- package/api/types/UpdateSimulationTestRequest.d.ts +4 -2
- package/api/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
- package/api/types/WebhookHmacSettings.d.ts +1 -1
- package/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -0
- package/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/api/types/index.d.ts +13 -9
- package/api/types/index.js +13 -9
- package/biome.json +1 -1
- package/core/fetcher/Fetcher.d.ts +0 -8
- package/core/fetcher/Fetcher.js +8 -13
- package/core/fetcher/getResponseBody.js +0 -11
- package/core/fetcher/requestWithRetries.js +1 -4
- package/core/file/file.js +2 -3
- package/core/schemas/builders/enum/enum.d.ts +0 -1
- package/core/schemas/builders/enum/enum.js +0 -7
- package/core/schemas/builders/enum/index.d.ts +1 -1
- package/core/schemas/builders/enum/index.js +1 -2
- package/core/schemas/builders/schema-utils/JsonError.js +1 -2
- package/core/schemas/builders/schema-utils/ParseError.js +1 -2
- package/core/url/index.d.ts +0 -1
- package/core/url/index.js +1 -3
- package/core/url/qs.d.ts +1 -2
- package/core/url/qs.js +12 -24
- package/dist/BaseClient.js +2 -2
- package/dist/Client.js +1 -1
- package/dist/api/resources/audioIsolation/client/Client.js +4 -8
- package/dist/api/resources/audioNative/client/Client.js +4 -4
- package/dist/api/resources/conversationalAi/client/Client.js +4 -8
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +9 -25
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +14 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +53 -13
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +2 -10
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/requests/WidgetGetRequest.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +6 -10
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +16 -28
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +7 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +9 -11
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +7 -11
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.d.ts +6 -2
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.js +15 -6
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.js +15 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/exotel/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -11
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -3
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +12 -24
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/llm/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -5
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +4 -4
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +6 -14
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +6 -14
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +7 -11
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js +4 -8
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +3 -7
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +6 -18
- package/dist/api/resources/conversationalAi/resources/tools/resources/executions/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/users/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +4 -8
- package/dist/api/resources/dubbing/client/Client.d.ts +4 -0
- package/dist/api/resources/dubbing/client/Client.js +40 -10
- package/dist/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +13 -1
- package/dist/api/resources/dubbing/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +6 -6
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +3 -3
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/transcript/client/Client.js +1 -5
- package/dist/api/resources/dubbing/resources/transcripts/client/Client.js +1 -1
- package/dist/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +6 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +9 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +5 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +8 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +8 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +11 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +6 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestOrderBy.js +9 -0
- package/dist/api/resources/dubbing/types/index.d.ts +4 -0
- package/dist/api/resources/dubbing/types/index.js +4 -0
- package/dist/api/resources/environmentVariables/client/Client.js +4 -8
- package/dist/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
- package/dist/api/resources/forcedAlignment/client/Client.js +1 -1
- package/dist/api/resources/history/client/Client.js +5 -9
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/music/client/Client.d.ts +1 -1
- package/dist/api/resources/music/client/Client.js +16 -30
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +4 -4
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -4
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +3 -3
- package/dist/api/resources/music/resources/compositionPlan/client/Client.js +1 -1
- package/dist/api/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.d.ts +0 -3
- package/dist/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.d.ts +0 -3
- package/dist/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts +0 -3
- package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +29 -0
- package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +32 -0
- package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +29 -0
- package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.js +32 -0
- package/dist/api/resources/music/types/MusicStreamRequestOutputFormat.d.ts +29 -0
- package/dist/api/resources/music/types/MusicStreamRequestOutputFormat.js +32 -0
- package/dist/api/resources/music/types/index.d.ts +3 -0
- package/dist/api/resources/music/types/index.js +3 -0
- package/dist/api/resources/productions/resources/orders/client/Client.js +5 -9
- package/dist/api/resources/productions/resources/orders/resources/deliverables/client/Client.js +1 -1
- package/dist/api/resources/productions/resources/orders/resources/items/client/Client.js +2 -2
- package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
- package/dist/api/resources/productions/resources/orders/resources/media/client/Client.js +2 -2
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +6 -10
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +3 -3
- package/dist/api/resources/samples/client/Client.js +1 -1
- package/dist/api/resources/serviceAccounts/client/Client.js +1 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +4 -4
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +4 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
- package/dist/api/resources/speechEngine/client/Client.js +5 -9
- package/dist/api/resources/speechToSpeech/client/Client.js +2 -10
- package/dist/api/resources/speechToText/client/Client.d.ts +1 -1
- package/dist/api/resources/speechToText/client/Client.js +5 -6
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
- package/dist/api/resources/speechToText/resources/transcripts/client/Client.js +2 -2
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +6 -0
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js +9 -0
- package/dist/api/resources/speechToText/types/index.d.ts +1 -0
- package/dist/api/resources/speechToText/types/index.js +1 -0
- package/dist/api/resources/studio/client/Client.js +1 -1
- package/dist/api/resources/studio/resources/projects/client/Client.js +7 -11
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
- package/dist/api/resources/textToDialogue/client/Client.js +4 -20
- package/dist/api/resources/textToSoundEffects/client/Client.js +1 -5
- package/dist/api/resources/textToSpeech/client/Client.js +4 -20
- package/dist/api/resources/textToVoice/client/Client.js +4 -16
- package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
- package/dist/api/resources/textToVoice/resources/preview/client/Client.js +1 -1
- package/dist/api/resources/tokens/resources/singleUse/client/Client.js +1 -1
- package/dist/api/resources/usage/client/Client.js +1 -5
- package/dist/api/resources/user/client/Client.js +1 -1
- package/dist/api/resources/user/resources/subscription/client/Client.js +1 -1
- package/dist/api/resources/voices/client/Client.d.ts +17 -17
- package/dist/api/resources/voices/client/Client.js +50 -66
- package/dist/api/resources/voices/resources/ivc/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/client/Client.js +3 -3
- package/dist/api/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -5
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/settings/client/Client.js +3 -3
- package/dist/api/resources/webhooks/client/Client.js +4 -8
- package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
- package/dist/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +1 -1
- package/dist/api/resources/workspace/resources/auditLogs/client/Client.js +1 -5
- package/dist/api/resources/workspace/resources/authConnections/client/Client.js +4 -4
- package/dist/api/resources/workspace/resources/groups/client/Client.js +2 -6
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/dist/api/resources/workspace/resources/members/client/Client.js +1 -1
- package/dist/api/resources/workspace/resources/resources/client/Client.js +3 -7
- package/dist/api/resources/workspace/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/workspaces/resources/apiKeys/client/Client.js +1 -5
- package/dist/api/types/AgentConfig.d.ts +1 -1
- package/dist/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/dist/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/dist/api/types/AgentVersionParents.d.ts +1 -0
- package/dist/api/types/AnalysisProperty.d.ts +2 -0
- package/dist/api/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/dist/api/types/BaseTurnConfig.d.ts +2 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +3 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.js +3 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +3 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelExitType.js +3 -0
- package/dist/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +3 -0
- package/dist/api/types/CaptionStyleWordAnimationModelEnterType.js +3 -0
- package/dist/api/types/CaptionStyleWordAnimationModelExitType.d.ts +3 -0
- package/dist/api/types/CaptionStyleWordAnimationModelExitType.js +3 -0
- package/dist/api/types/CompositionPlanChunksItem.d.ts +1 -1
- package/dist/api/types/ConversationConfigInput.d.ts +2 -0
- package/dist/api/types/ConversationConfigOutput.d.ts +2 -0
- package/dist/api/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
- package/dist/api/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
- package/dist/api/types/ConversationInitiationClientDataInternal.d.ts +1 -1
- package/dist/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
- package/dist/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
- package/dist/api/types/ConversationProduct.d.ts +6 -0
- package/dist/api/types/ConversationProduct.js +9 -0
- package/dist/api/types/ConversationSimulationSpecification.d.ts +1 -1
- package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/dist/api/types/CreateResponseUnitTestRequest.d.ts +1 -1
- package/dist/api/types/CreateSimulationTestRequest.d.ts +4 -2
- package/dist/api/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/api/types/FineTuningResponse.d.ts +2 -2
- package/dist/api/types/{GenerationChunk.d.ts → GenerationChunkInput.d.ts} +3 -3
- package/dist/api/types/GenerationChunkInputConditionStrength.d.ts +7 -0
- package/{api/types/GenerationChunkConditionStrength.js → dist/api/types/GenerationChunkInputConditionStrength.js} +2 -2
- package/{api/types/GenerationChunkContextAdherence.d.ts → dist/api/types/GenerationChunkInputContextAdherence.d.ts} +2 -2
- package/dist/api/types/{GenerationChunkContextAdherence.js → GenerationChunkInputContextAdherence.js} +2 -2
- package/dist/api/types/GenerationChunkOutput.d.ts +17 -0
- package/dist/api/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
- package/dist/api/types/GenerationChunkOutputConditionStrength.js +10 -0
- package/dist/api/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
- package/dist/api/types/GenerationChunkOutputContextAdherence.js +10 -0
- package/dist/api/types/GetResponseUnitTestResponseModel.d.ts +1 -1
- package/dist/api/types/GetSimulationTestResponseModel.d.ts +4 -2
- package/dist/api/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
- package/dist/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/dist/api/types/LockReason.d.ts +7 -0
- package/dist/api/types/LockReason.js +10 -0
- package/dist/api/types/McpToolConfigOverrideInput.d.ts +1 -1
- package/dist/api/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/dist/api/types/MusicAllowedOutputFormats.d.ts +2 -0
- package/dist/api/types/MusicOnlyOutputFormats.d.ts +7 -0
- package/dist/api/types/MusicOnlyOutputFormats.js +10 -0
- package/dist/api/types/MusicOutputFormat.d.ts +2 -0
- package/dist/api/types/MusicOutputFormat.js +3 -0
- package/dist/api/types/OpenAiAudioFormat.d.ts +6 -0
- package/{api/types/AudioFormat.js → dist/api/types/OpenAiAudioFormat.js} +2 -2
- package/dist/api/types/OpenAiAudioInputFormat.d.ts +1 -1
- package/dist/api/types/OpenAiAudioOutputFormat.d.ts +1 -1
- package/dist/api/types/ProjectExtendedResponse.d.ts +1 -1
- package/dist/api/types/ProjectResponse.d.ts +1 -1
- package/dist/api/types/ResponseUnitTestModel.d.ts +1 -1
- package/dist/api/types/ReviewResponseModel.d.ts +1 -1
- package/dist/api/types/SimulationTestModel.d.ts +4 -2
- package/dist/api/types/SoftTimeoutConfig.d.ts +4 -2
- package/dist/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
- package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +4 -2
- package/dist/api/types/SongSection.d.ts +2 -2
- package/dist/api/types/SpeakerSeparationResponseModel.d.ts +1 -1
- package/dist/api/types/SpeechToTextWordResponseModel.d.ts +2 -0
- package/dist/api/types/ToolCallUnitTestModel.d.ts +1 -1
- package/dist/api/types/TopicDiscoverySettings.d.ts +5 -0
- package/dist/api/types/TopicDiscoverySettings.js +3 -0
- package/dist/api/types/TurnConfig.d.ts +2 -0
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/dist/api/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
- package/dist/api/types/UpdateOAuth2JwtRequest.d.ts +1 -1
- package/dist/api/types/UpdateResponseUnitTestRequest.d.ts +1 -1
- package/dist/api/types/UpdateSimulationTestRequest.d.ts +4 -2
- package/dist/api/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/api/types/WebhookHmacSettings.d.ts +1 -1
- package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -0
- package/dist/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/dist/api/types/index.d.ts +13 -9
- package/dist/api/types/index.js +13 -9
- package/dist/core/fetcher/Fetcher.d.ts +0 -8
- package/dist/core/fetcher/Fetcher.js +8 -13
- package/dist/core/fetcher/getResponseBody.js +0 -11
- package/dist/core/fetcher/requestWithRetries.js +1 -4
- package/dist/core/file/file.js +2 -3
- package/dist/core/schemas/builders/enum/enum.d.ts +0 -1
- package/dist/core/schemas/builders/enum/enum.js +0 -7
- package/dist/core/schemas/builders/enum/index.d.ts +1 -1
- package/dist/core/schemas/builders/enum/index.js +1 -2
- package/dist/core/schemas/builders/schema-utils/JsonError.js +1 -2
- package/dist/core/schemas/builders/schema-utils/ParseError.js +1 -2
- package/dist/core/url/index.d.ts +0 -1
- package/dist/core/url/index.js +1 -3
- package/dist/core/url/qs.d.ts +1 -2
- package/dist/core/url/qs.js +12 -24
- package/dist/errors/ElevenLabsError.d.ts +1 -3
- package/dist/errors/ElevenLabsError.js +1 -4
- package/dist/errors/ElevenLabsTimeoutError.d.ts +1 -4
- package/dist/errors/ElevenLabsTimeoutError.js +1 -4
- package/dist/errors/handleNonStatusCodeError.js +1 -4
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +1 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +1 -1
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.js +3 -1
- package/dist/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +7 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +39 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +7 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +39 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +7 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +39 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +7 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestOrderBy.js +39 -0
- package/dist/serialization/resources/dubbing/types/index.d.ts +4 -0
- package/dist/serialization/resources/dubbing/types/index.js +4 -0
- package/dist/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
- package/dist/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +1 -1
- package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +7 -0
- package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +66 -0
- package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +7 -0
- package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +66 -0
- package/dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +7 -0
- package/dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.js +66 -0
- package/dist/serialization/resources/music/types/index.d.ts +3 -0
- package/dist/serialization/resources/music/types/index.js +3 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +7 -0
- package/dist/serialization/{types/CoachingAgentSettings.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js} +7 -7
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +7 -0
- package/dist/serialization/{types/CodeToolAllowedDomain.js → resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js} +3 -6
- package/dist/serialization/resources/speechToText/types/index.d.ts +1 -0
- package/dist/serialization/resources/speechToText/types/index.js +1 -0
- package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
- package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +1 -1
- package/dist/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
- package/dist/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.js +1 -1
- package/dist/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
- package/dist/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.js +1 -1
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -1
- package/dist/serialization/types/AgentConfig.d.ts +1 -1
- package/dist/serialization/types/AgentConfig.js +1 -1
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +1 -1
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +1 -1
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
- package/dist/serialization/types/AgentVersionParents.d.ts +1 -0
- package/dist/serialization/types/AgentVersionParents.js +1 -0
- package/dist/serialization/types/AnalysisProperty.d.ts +1 -0
- package/dist/serialization/types/AnalysisProperty.js +1 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/dist/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
- package/dist/serialization/types/BaseTurnConfig.d.ts +1 -0
- package/dist/serialization/types/BaseTurnConfig.js +1 -0
- package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
- package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +1 -1
- package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
- package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.js +1 -1
- package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
- package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.js +1 -1
- package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
- package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.js +1 -1
- package/dist/serialization/types/CompositionPlanChunksItem.d.ts +2 -2
- package/dist/serialization/types/CompositionPlanChunksItem.js +2 -2
- package/dist/serialization/types/ConversationConfigInput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigInput.js +2 -0
- package/dist/serialization/types/ConversationConfigOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigOutput.js +2 -0
- package/dist/serialization/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigWorkflowOverrideInput.js +2 -0
- package/dist/serialization/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigWorkflowOverrideOutput.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.js +1 -0
- package/dist/serialization/types/ConversationInitiationClientDataInternal.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationClientDataInternal.js +1 -1
- package/dist/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationClientDataRequestInput.js +1 -1
- package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.js +1 -1
- package/dist/serialization/types/ConversationProduct.d.ts +7 -0
- package/dist/serialization/types/{GenerationChunkContextAdherence.js → ConversationProduct.js} +2 -2
- package/dist/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
- package/dist/serialization/types/ConversationSimulationSpecification.js +1 -1
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +1 -1
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +1 -1
- package/dist/serialization/types/CreateResponseUnitTestRequest.d.ts +1 -1
- package/dist/serialization/types/CreateResponseUnitTestRequest.js +1 -1
- package/dist/serialization/types/CreateSimulationTestRequest.d.ts +2 -1
- package/dist/serialization/types/CreateSimulationTestRequest.js +2 -1
- package/dist/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/serialization/types/CreateToolCallUnitTestRequest.js +1 -1
- package/dist/serialization/types/FineTuningResponse.d.ts +2 -2
- package/dist/serialization/types/FineTuningResponse.js +2 -2
- package/dist/serialization/types/GenerationChunkInput.d.ts +18 -0
- package/dist/serialization/types/{GenerationChunk.js → GenerationChunkInput.js} +6 -6
- package/dist/serialization/types/GenerationChunkInputConditionStrength.d.ts +7 -0
- package/dist/serialization/types/GenerationChunkInputConditionStrength.js +39 -0
- package/dist/serialization/types/GenerationChunkInputContextAdherence.d.ts +7 -0
- package/dist/serialization/types/GenerationChunkInputContextAdherence.js +39 -0
- package/dist/serialization/types/GenerationChunkOutput.d.ts +18 -0
- package/dist/serialization/types/GenerationChunkOutput.js +50 -0
- package/dist/serialization/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
- package/dist/serialization/types/GenerationChunkOutputConditionStrength.js +39 -0
- package/dist/serialization/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
- package/dist/serialization/types/GenerationChunkOutputContextAdherence.js +39 -0
- package/dist/serialization/types/GetResponseUnitTestResponseModel.d.ts +1 -1
- package/dist/serialization/types/GetResponseUnitTestResponseModel.js +1 -1
- package/dist/serialization/types/GetSimulationTestResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetSimulationTestResponseModel.js +2 -1
- package/dist/serialization/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
- package/dist/serialization/types/GetToolCallUnitTestResponseModel.js +1 -1
- package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/dist/serialization/types/LockReason.d.ts +7 -0
- package/dist/serialization/types/{GenerationChunkConditionStrength.js → LockReason.js} +2 -2
- package/dist/serialization/types/McpToolConfigOverrideInput.d.ts +1 -1
- package/dist/serialization/types/McpToolConfigOverrideInput.js +1 -1
- package/dist/serialization/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/dist/serialization/types/McpToolConfigOverrideOutput.js +1 -1
- package/dist/serialization/types/MusicAllowedOutputFormats.d.ts +9 -0
- package/dist/serialization/types/MusicAllowedOutputFormats.js +41 -0
- package/dist/serialization/types/MusicOnlyOutputFormats.d.ts +7 -0
- package/dist/serialization/types/MusicOnlyOutputFormats.js +39 -0
- package/dist/serialization/types/MusicOutputFormat.d.ts +8 -0
- package/dist/serialization/types/{CodeToolContextVariable.js → MusicOutputFormat.js} +3 -5
- package/dist/serialization/types/{AudioFormat.d.ts → OpenAiAudioFormat.d.ts} +2 -2
- package/{serialization/types/GenerationChunkContextAdherence.js → dist/serialization/types/OpenAiAudioFormat.js} +2 -2
- package/dist/serialization/types/OpenAiAudioInputFormat.d.ts +2 -2
- package/dist/serialization/types/OpenAiAudioInputFormat.js +2 -2
- package/dist/serialization/types/OpenAiAudioOutputFormat.d.ts +2 -2
- package/dist/serialization/types/OpenAiAudioOutputFormat.js +2 -2
- package/dist/serialization/types/ProjectExtendedResponse.d.ts +1 -1
- package/dist/serialization/types/ProjectExtendedResponse.js +1 -1
- package/dist/serialization/types/ProjectResponse.d.ts +1 -1
- package/dist/serialization/types/ProjectResponse.js +1 -1
- package/dist/serialization/types/ResponseUnitTestModel.d.ts +1 -1
- package/dist/serialization/types/ResponseUnitTestModel.js +1 -1
- package/dist/serialization/types/ReviewResponseModel.d.ts +1 -1
- package/dist/serialization/types/ReviewResponseModel.js +1 -1
- package/dist/serialization/types/SimulationTestModel.d.ts +2 -1
- package/dist/serialization/types/SimulationTestModel.js +2 -1
- package/dist/serialization/types/SoftTimeoutConfig.d.ts +1 -0
- package/dist/serialization/types/SoftTimeoutConfig.js +1 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
- package/dist/serialization/types/SpeakerSeparationResponseModel.d.ts +1 -1
- package/dist/serialization/types/SpeakerSeparationResponseModel.js +1 -1
- package/dist/serialization/types/SpeechToTextWordResponseModel.d.ts +1 -0
- package/dist/serialization/types/SpeechToTextWordResponseModel.js +1 -0
- package/dist/serialization/types/ToolCallUnitTestModel.d.ts +1 -1
- package/dist/serialization/types/ToolCallUnitTestModel.js +1 -1
- package/dist/serialization/types/TopicDiscoverySettings.d.ts +7 -0
- package/{serialization/types/AudioFormat.js → dist/serialization/types/TopicDiscoverySettings.js} +2 -2
- package/dist/serialization/types/TurnConfig.d.ts +1 -0
- package/dist/serialization/types/TurnConfig.js +1 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.js +1 -0
- package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
- package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.js +2 -2
- package/dist/serialization/types/UpdateOAuth2JwtRequest.d.ts +1 -1
- package/dist/serialization/types/UpdateOAuth2JwtRequest.js +1 -1
- package/dist/serialization/types/UpdateResponseUnitTestRequest.d.ts +1 -1
- package/dist/serialization/types/UpdateResponseUnitTestRequest.js +1 -1
- package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +2 -1
- package/dist/serialization/types/UpdateSimulationTestRequest.js +2 -1
- package/dist/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/serialization/types/UpdateToolCallUnitTestRequest.js +1 -1
- package/dist/serialization/types/WebhookHmacSettings.d.ts +1 -1
- package/dist/serialization/types/WebhookHmacSettings.js +1 -1
- package/dist/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -0
- package/dist/serialization/types/WorkspaceApiKeyResponseModel.js +3 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.js +1 -0
- package/dist/serialization/types/index.d.ts +13 -9
- package/dist/serialization/types/index.js +13 -9
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/errors/ElevenLabsError.d.ts +1 -3
- package/errors/ElevenLabsError.js +1 -4
- package/errors/ElevenLabsTimeoutError.d.ts +1 -4
- package/errors/ElevenLabsTimeoutError.js +1 -4
- package/errors/handleNonStatusCodeError.js +1 -4
- package/package.json +6 -6
- package/reference.md +116 -27
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +1 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +1 -1
- package/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
- package/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.js +3 -1
- package/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +7 -0
- package/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +39 -0
- package/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +7 -0
- package/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +39 -0
- package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +7 -0
- package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +39 -0
- package/serialization/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +7 -0
- package/serialization/resources/dubbing/types/DubbingListRequestOrderBy.js +39 -0
- package/serialization/resources/dubbing/types/index.d.ts +4 -0
- package/serialization/resources/dubbing/types/index.js +4 -0
- package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
- package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +1 -1
- package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +7 -0
- package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +66 -0
- package/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +7 -0
- package/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +66 -0
- package/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +7 -0
- package/serialization/resources/music/types/MusicStreamRequestOutputFormat.js +66 -0
- package/serialization/resources/music/types/index.d.ts +3 -0
- package/serialization/resources/music/types/index.js +3 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +7 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js +43 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
- package/serialization/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +7 -0
- package/serialization/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js +39 -0
- package/serialization/resources/speechToText/types/index.d.ts +1 -0
- package/serialization/resources/speechToText/types/index.js +1 -0
- package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
- package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +1 -1
- package/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
- package/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.js +1 -1
- package/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
- package/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.js +1 -1
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -1
- package/serialization/types/AgentConfig.d.ts +1 -1
- package/serialization/types/AgentConfig.js +1 -1
- package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +1 -1
- package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +1 -1
- package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
- package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
- package/serialization/types/AgentVersionParents.d.ts +1 -0
- package/serialization/types/AgentVersionParents.js +1 -0
- package/serialization/types/AnalysisProperty.d.ts +1 -0
- package/serialization/types/AnalysisProperty.js +1 -0
- package/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
- package/serialization/types/BaseTurnConfig.d.ts +1 -0
- package/serialization/types/BaseTurnConfig.js +1 -0
- package/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
- package/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +1 -1
- package/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
- package/serialization/types/CaptionStyleSectionAnimationModelExitType.js +1 -1
- package/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
- package/serialization/types/CaptionStyleWordAnimationModelEnterType.js +1 -1
- package/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
- package/serialization/types/CaptionStyleWordAnimationModelExitType.js +1 -1
- package/serialization/types/CompositionPlanChunksItem.d.ts +2 -2
- package/serialization/types/CompositionPlanChunksItem.js +2 -2
- package/serialization/types/ConversationConfigInput.d.ts +2 -0
- package/serialization/types/ConversationConfigInput.js +2 -0
- package/serialization/types/ConversationConfigOutput.d.ts +2 -0
- package/serialization/types/ConversationConfigOutput.js +2 -0
- package/serialization/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
- package/serialization/types/ConversationConfigWorkflowOverrideInput.js +2 -0
- package/serialization/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
- package/serialization/types/ConversationConfigWorkflowOverrideOutput.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptResponseModel.js +1 -0
- package/serialization/types/ConversationInitiationClientDataInternal.d.ts +1 -1
- package/serialization/types/ConversationInitiationClientDataInternal.js +1 -1
- package/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
- package/serialization/types/ConversationInitiationClientDataRequestInput.js +1 -1
- package/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
- package/serialization/types/ConversationInitiationClientDataRequestOutput.js +1 -1
- package/serialization/types/ConversationProduct.d.ts +7 -0
- package/serialization/types/ConversationProduct.js +39 -0
- package/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
- package/serialization/types/ConversationSimulationSpecification.js +1 -1
- package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +1 -1
- package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +1 -1
- package/serialization/types/CreateResponseUnitTestRequest.d.ts +1 -1
- package/serialization/types/CreateResponseUnitTestRequest.js +1 -1
- package/serialization/types/CreateSimulationTestRequest.d.ts +2 -1
- package/serialization/types/CreateSimulationTestRequest.js +2 -1
- package/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/serialization/types/CreateToolCallUnitTestRequest.js +1 -1
- package/serialization/types/FineTuningResponse.d.ts +2 -2
- package/serialization/types/FineTuningResponse.js +2 -2
- package/serialization/types/GenerationChunkInput.d.ts +18 -0
- package/serialization/types/{GenerationChunk.js → GenerationChunkInput.js} +6 -6
- package/serialization/types/GenerationChunkInputConditionStrength.d.ts +7 -0
- package/serialization/types/GenerationChunkInputConditionStrength.js +39 -0
- package/serialization/types/GenerationChunkInputContextAdherence.d.ts +7 -0
- package/serialization/types/GenerationChunkInputContextAdherence.js +39 -0
- package/serialization/types/GenerationChunkOutput.d.ts +18 -0
- package/serialization/types/GenerationChunkOutput.js +50 -0
- package/serialization/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
- package/serialization/types/GenerationChunkOutputConditionStrength.js +39 -0
- package/serialization/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
- package/serialization/types/GenerationChunkOutputContextAdherence.js +39 -0
- package/serialization/types/GetResponseUnitTestResponseModel.d.ts +1 -1
- package/serialization/types/GetResponseUnitTestResponseModel.js +1 -1
- package/serialization/types/GetSimulationTestResponseModel.d.ts +2 -1
- package/serialization/types/GetSimulationTestResponseModel.js +2 -1
- package/serialization/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
- package/serialization/types/GetToolCallUnitTestResponseModel.js +1 -1
- package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/serialization/types/LockReason.d.ts +7 -0
- package/serialization/types/LockReason.js +39 -0
- package/serialization/types/McpToolConfigOverrideInput.d.ts +1 -1
- package/serialization/types/McpToolConfigOverrideInput.js +1 -1
- package/serialization/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/serialization/types/McpToolConfigOverrideOutput.js +1 -1
- package/serialization/types/MusicAllowedOutputFormats.d.ts +9 -0
- package/serialization/types/MusicAllowedOutputFormats.js +41 -0
- package/serialization/types/MusicOnlyOutputFormats.d.ts +7 -0
- package/serialization/types/MusicOnlyOutputFormats.js +39 -0
- package/serialization/types/MusicOutputFormat.d.ts +8 -0
- package/{dist/serialization/types/CoachedAgentSettings.js → serialization/types/MusicOutputFormat.js} +3 -5
- package/serialization/types/{AudioFormat.d.ts → OpenAiAudioFormat.d.ts} +2 -2
- package/serialization/types/OpenAiAudioFormat.js +39 -0
- package/serialization/types/OpenAiAudioInputFormat.d.ts +2 -2
- package/serialization/types/OpenAiAudioInputFormat.js +2 -2
- package/serialization/types/OpenAiAudioOutputFormat.d.ts +2 -2
- package/serialization/types/OpenAiAudioOutputFormat.js +2 -2
- package/serialization/types/ProjectExtendedResponse.d.ts +1 -1
- package/serialization/types/ProjectExtendedResponse.js +1 -1
- package/serialization/types/ProjectResponse.d.ts +1 -1
- package/serialization/types/ProjectResponse.js +1 -1
- package/serialization/types/ResponseUnitTestModel.d.ts +1 -1
- package/serialization/types/ResponseUnitTestModel.js +1 -1
- package/serialization/types/ReviewResponseModel.d.ts +1 -1
- package/serialization/types/ReviewResponseModel.js +1 -1
- package/serialization/types/SimulationTestModel.d.ts +2 -1
- package/serialization/types/SimulationTestModel.js +2 -1
- package/serialization/types/SoftTimeoutConfig.d.ts +1 -0
- package/serialization/types/SoftTimeoutConfig.js +1 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
- package/serialization/types/SpeakerSeparationResponseModel.d.ts +1 -1
- package/serialization/types/SpeakerSeparationResponseModel.js +1 -1
- package/serialization/types/SpeechToTextWordResponseModel.d.ts +1 -0
- package/serialization/types/SpeechToTextWordResponseModel.js +1 -0
- package/serialization/types/ToolCallUnitTestModel.d.ts +1 -1
- package/serialization/types/ToolCallUnitTestModel.js +1 -1
- package/serialization/types/TopicDiscoverySettings.d.ts +7 -0
- package/{dist/serialization/types/AudioFormat.js → serialization/types/TopicDiscoverySettings.js} +2 -2
- package/serialization/types/TurnConfig.d.ts +1 -0
- package/serialization/types/TurnConfig.js +1 -0
- package/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
- package/serialization/types/TurnConfigWorkflowOverride.js +1 -0
- package/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
- package/serialization/types/UpdateOAuth2ClientCredsRequest.js +2 -2
- package/serialization/types/UpdateOAuth2JwtRequest.d.ts +1 -1
- package/serialization/types/UpdateOAuth2JwtRequest.js +1 -1
- package/serialization/types/UpdateResponseUnitTestRequest.d.ts +1 -1
- package/serialization/types/UpdateResponseUnitTestRequest.js +1 -1
- package/serialization/types/UpdateSimulationTestRequest.d.ts +2 -1
- package/serialization/types/UpdateSimulationTestRequest.js +2 -1
- package/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
- package/serialization/types/UpdateToolCallUnitTestRequest.js +1 -1
- package/serialization/types/WebhookHmacSettings.d.ts +1 -1
- package/serialization/types/WebhookHmacSettings.js +1 -1
- package/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -0
- package/serialization/types/WorkspaceApiKeyResponseModel.js +3 -0
- package/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/serialization/types/WorkspaceGroupResponseModel.js +1 -0
- package/serialization/types/index.d.ts +13 -9
- package/serialization/types/index.js +13 -9
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/.fern/verify.sh +0 -5
- package/api/types/AudioFormat.d.ts +0 -6
- package/api/types/CoachedAgentSettings.d.ts +0 -4
- package/api/types/CoachingAgentSettings.d.ts +0 -8
- package/api/types/CodeToolAllowedDomain.d.ts +0 -6
- package/api/types/CodeToolContextVariable.d.ts +0 -4
- package/api/types/GenerationChunkConditionStrength.d.ts +0 -7
- package/api/types/NoCoachingSettings.d.ts +0 -4
- package/core/url/QueryStringBuilder.d.ts +0 -47
- package/core/url/QueryStringBuilder.js +0 -83
- package/dist/api/types/AudioFormat.d.ts +0 -6
- package/dist/api/types/CoachedAgentSettings.d.ts +0 -4
- package/dist/api/types/CoachingAgentSettings.d.ts +0 -8
- package/dist/api/types/CodeToolAllowedDomain.d.ts +0 -6
- package/dist/api/types/CodeToolContextVariable.d.ts +0 -4
- package/dist/api/types/GenerationChunkConditionStrength.d.ts +0 -7
- package/dist/api/types/NoCoachingSettings.d.ts +0 -4
- package/dist/core/url/QueryStringBuilder.d.ts +0 -47
- package/dist/core/url/QueryStringBuilder.js +0 -83
- package/dist/serialization/types/CoachedAgentSettings.d.ts +0 -10
- package/dist/serialization/types/CoachingAgentSettings.d.ts +0 -11
- package/dist/serialization/types/CodeToolAllowedDomain.d.ts +0 -10
- package/dist/serialization/types/CodeToolContextVariable.d.ts +0 -10
- package/dist/serialization/types/GenerationChunk.d.ts +0 -18
- package/dist/serialization/types/GenerationChunkConditionStrength.d.ts +0 -7
- package/dist/serialization/types/GenerationChunkContextAdherence.d.ts +0 -7
- package/dist/serialization/types/NoCoachingSettings.d.ts +0 -10
- package/dist/serialization/types/NoCoachingSettings.js +0 -42
- package/serialization/types/CoachedAgentSettings.d.ts +0 -10
- package/serialization/types/CoachedAgentSettings.js +0 -42
- package/serialization/types/CoachingAgentSettings.d.ts +0 -11
- package/serialization/types/CoachingAgentSettings.js +0 -43
- package/serialization/types/CodeToolAllowedDomain.d.ts +0 -10
- package/serialization/types/CodeToolAllowedDomain.js +0 -42
- package/serialization/types/CodeToolContextVariable.d.ts +0 -10
- package/serialization/types/CodeToolContextVariable.js +0 -42
- package/serialization/types/GenerationChunk.d.ts +0 -18
- package/serialization/types/GenerationChunkConditionStrength.d.ts +0 -7
- package/serialization/types/GenerationChunkConditionStrength.js +0 -39
- package/serialization/types/GenerationChunkContextAdherence.d.ts +0 -7
- package/serialization/types/NoCoachingSettings.d.ts +0 -10
- package/serialization/types/NoCoachingSettings.js +0 -42
- /package/api/{types/CoachedAgentSettings.js → resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.js} +0 -0
- /package/api/{types/CoachingAgentSettings.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js} +0 -0
- /package/api/types/{CodeToolAllowedDomain.js → GenerationChunkInput.js} +0 -0
- /package/api/types/{CodeToolContextVariable.js → GenerationChunkOutput.js} +0 -0
- /package/api/types/{GenerationChunk.js → MusicAllowedOutputFormats.js} +0 -0
- /package/api/types/{NoCoachingSettings.js → MusicOutputFormat.js} +0 -0
- /package/{dist/api/types/CoachedAgentSettings.js → api/types/TopicDiscoverySettings.js} +0 -0
- /package/dist/api/{types/CoachingAgentSettings.js → resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.js} +0 -0
- /package/dist/api/{types/CodeToolAllowedDomain.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js} +0 -0
- /package/dist/api/types/{CodeToolContextVariable.js → GenerationChunkInput.js} +0 -0
- /package/dist/api/types/{GenerationChunk.js → GenerationChunkOutput.js} +0 -0
- /package/dist/api/types/{NoCoachingSettings.js → MusicAllowedOutputFormats.js} +0 -0
|
@@ -15,6 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./DubbingCreateRequestMode"), exports);
|
|
18
|
+
__exportStar(require("./DubbingListRequestCreationSourcesItem"), exports);
|
|
19
|
+
__exportStar(require("./DubbingListRequestDubbingModelsItem"), exports);
|
|
18
20
|
__exportStar(require("./DubbingListRequestDubbingStatus"), exports);
|
|
21
|
+
__exportStar(require("./DubbingListRequestDubbingStatusesItem"), exports);
|
|
19
22
|
__exportStar(require("./DubbingListRequestFilterByCreator"), exports);
|
|
23
|
+
__exportStar(require("./DubbingListRequestOrderBy"), exports);
|
|
20
24
|
__exportStar(require("./DubbingListRequestOrderDirection"), exports);
|
|
@@ -97,11 +97,7 @@ class EnvironmentVariablesClient {
|
|
|
97
97
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/environment-variables"),
|
|
98
98
|
method: "GET",
|
|
99
99
|
headers: _headers,
|
|
100
|
-
|
|
101
|
-
.queryBuilder()
|
|
102
|
-
.addMany(_queryParams)
|
|
103
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
104
|
-
.build(),
|
|
100
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
105
101
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
106
102
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
107
103
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -167,7 +163,7 @@ class EnvironmentVariablesClient {
|
|
|
167
163
|
method: "POST",
|
|
168
164
|
headers: _headers,
|
|
169
165
|
contentType: "application/json",
|
|
170
|
-
|
|
166
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
171
167
|
requestType: "json",
|
|
172
168
|
body: serializers.EnvironmentVariablesCreateRequestBody.jsonOrThrow(request, {
|
|
173
169
|
unrecognizedObjectKeys: "strip",
|
|
@@ -231,7 +227,7 @@ class EnvironmentVariablesClient {
|
|
|
231
227
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/environment-variables/${core.url.encodePathParam(env_var_id)}`),
|
|
232
228
|
method: "GET",
|
|
233
229
|
headers: _headers,
|
|
234
|
-
|
|
230
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
235
231
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
236
232
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
237
233
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -294,7 +290,7 @@ class EnvironmentVariablesClient {
|
|
|
294
290
|
method: "PATCH",
|
|
295
291
|
headers: _headers,
|
|
296
292
|
contentType: "application/json",
|
|
297
|
-
|
|
293
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
298
294
|
requestType: "json",
|
|
299
295
|
body: serializers.UpdateEnvironmentVariableRequest.jsonOrThrow(request, {
|
|
300
296
|
unrecognizedObjectKeys: "strip",
|
|
@@ -7,5 +7,5 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
7
7
|
*/
|
|
8
8
|
export interface UpdateEnvironmentVariableRequest {
|
|
9
9
|
/** Values to replace. Set to null to remove an environment (except 'production'). */
|
|
10
|
-
values: Record<string, ElevenLabs.UpdateEnvironmentVariableRequestValuesValue>;
|
|
10
|
+
values: Record<string, ElevenLabs.UpdateEnvironmentVariableRequestValuesValue | undefined>;
|
|
11
11
|
}
|
|
@@ -86,7 +86,7 @@ class ForcedAlignmentClient {
|
|
|
86
86
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/forced-alignment"),
|
|
87
87
|
method: "POST",
|
|
88
88
|
headers: _headers,
|
|
89
|
-
|
|
89
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
90
90
|
requestType: "file",
|
|
91
91
|
duplex: _maybeEncodedRequest.duplex,
|
|
92
92
|
body: _maybeEncodedRequest.body,
|
|
@@ -106,11 +106,7 @@ class HistoryClient {
|
|
|
106
106
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/history"),
|
|
107
107
|
method: "GET",
|
|
108
108
|
headers: _headers,
|
|
109
|
-
|
|
110
|
-
.queryBuilder()
|
|
111
|
-
.addMany(_queryParams)
|
|
112
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
113
|
-
.build(),
|
|
109
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
114
110
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
115
111
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
116
112
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -165,7 +161,7 @@ class HistoryClient {
|
|
|
165
161
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/history/${core.url.encodePathParam(history_item_id)}`),
|
|
166
162
|
method: "GET",
|
|
167
163
|
headers: _headers,
|
|
168
|
-
|
|
164
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
169
165
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
170
166
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
171
167
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -220,7 +216,7 @@ class HistoryClient {
|
|
|
220
216
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/history/${core.url.encodePathParam(history_item_id)}`),
|
|
221
217
|
method: "DELETE",
|
|
222
218
|
headers: _headers,
|
|
223
|
-
|
|
219
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
224
220
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
225
221
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
226
222
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -269,7 +265,7 @@ class HistoryClient {
|
|
|
269
265
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/history/${core.url.encodePathParam(history_item_id)}/audio`),
|
|
270
266
|
method: "GET",
|
|
271
267
|
headers: _headers,
|
|
272
|
-
|
|
268
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
273
269
|
responseType: "streaming",
|
|
274
270
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
275
271
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
@@ -313,7 +309,7 @@ class HistoryClient {
|
|
|
313
309
|
method: "POST",
|
|
314
310
|
headers: _headers,
|
|
315
311
|
contentType: "application/json",
|
|
316
|
-
|
|
312
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
317
313
|
requestType: "json",
|
|
318
314
|
body: serializers.DownloadHistoryRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
319
315
|
responseType: "streaming",
|
|
@@ -80,7 +80,7 @@ class ModelsClient {
|
|
|
80
80
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/models"),
|
|
81
81
|
method: "GET",
|
|
82
82
|
headers: _headers,
|
|
83
|
-
|
|
83
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
84
84
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
85
85
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
86
86
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -43,7 +43,7 @@ export declare class MusicClient {
|
|
|
43
43
|
stream(request?: ElevenLabs.BodyStreamComposedMusicV1MusicStreamPost, requestOptions?: MusicClient.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
|
|
44
44
|
private __stream;
|
|
45
45
|
/**
|
|
46
|
-
* Upload a music file to be later used for inpainting.
|
|
46
|
+
* Upload a music file to be later used for inpainting. Price for uploading is the same as the one for song generation. All uploaded content gets inspected for copyright infringement. If copyrighted content is detected, half of the request cost is still charged.
|
|
47
47
|
*
|
|
48
48
|
* @param {ElevenLabs.BodyUploadMusicV1MusicUploadPost} request
|
|
49
49
|
* @param {MusicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -117,11 +117,7 @@ class MusicClient {
|
|
|
117
117
|
url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ElevenLabsEnvironment.Production, "v1/music/video-to-music"),
|
|
118
118
|
method: "POST",
|
|
119
119
|
headers: _headers,
|
|
120
|
-
|
|
121
|
-
.queryBuilder()
|
|
122
|
-
.addMany(_queryParams)
|
|
123
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
124
|
-
.build(),
|
|
120
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
125
121
|
requestType: "file",
|
|
126
122
|
duplex: _maybeEncodedRequest.duplex,
|
|
127
123
|
body: _maybeEncodedRequest.body,
|
|
@@ -166,7 +162,9 @@ class MusicClient {
|
|
|
166
162
|
const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
|
|
167
163
|
const _queryParams = {
|
|
168
164
|
output_format: outputFormat != null
|
|
169
|
-
? serializers.
|
|
165
|
+
? serializers.MusicComposeRequestOutputFormat.jsonOrThrow(outputFormat, {
|
|
166
|
+
unrecognizedObjectKeys: "strip",
|
|
167
|
+
})
|
|
170
168
|
: undefined,
|
|
171
169
|
};
|
|
172
170
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
@@ -175,11 +173,7 @@ class MusicClient {
|
|
|
175
173
|
method: "POST",
|
|
176
174
|
headers: _headers,
|
|
177
175
|
contentType: "application/json",
|
|
178
|
-
|
|
179
|
-
.queryBuilder()
|
|
180
|
-
.addMany(_queryParams)
|
|
181
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
182
|
-
.build(),
|
|
176
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
183
177
|
requestType: "json",
|
|
184
178
|
body: serializers.BodyComposeMusicV1MusicPost.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
|
185
179
|
responseType: "streaming",
|
|
@@ -221,7 +215,9 @@ class MusicClient {
|
|
|
221
215
|
const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
|
|
222
216
|
const _queryParams = {
|
|
223
217
|
output_format: outputFormat != null
|
|
224
|
-
? serializers.
|
|
218
|
+
? serializers.MusicComposeDetailedRequestOutputFormat.jsonOrThrow(outputFormat, {
|
|
219
|
+
unrecognizedObjectKeys: "strip",
|
|
220
|
+
})
|
|
225
221
|
: undefined,
|
|
226
222
|
};
|
|
227
223
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
@@ -230,11 +226,7 @@ class MusicClient {
|
|
|
230
226
|
method: "POST",
|
|
231
227
|
headers: _headers,
|
|
232
228
|
contentType: "application/json",
|
|
233
|
-
|
|
234
|
-
.queryBuilder()
|
|
235
|
-
.addMany(_queryParams)
|
|
236
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
237
|
-
.build(),
|
|
229
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
238
230
|
requestType: "json",
|
|
239
231
|
body: serializers.BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.jsonOrThrow(_body, {
|
|
240
232
|
unrecognizedObjectKeys: "strip",
|
|
@@ -278,7 +270,9 @@ class MusicClient {
|
|
|
278
270
|
const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
|
|
279
271
|
const _queryParams = {
|
|
280
272
|
output_format: outputFormat != null
|
|
281
|
-
? serializers.
|
|
273
|
+
? serializers.MusicStreamRequestOutputFormat.jsonOrThrow(outputFormat, {
|
|
274
|
+
unrecognizedObjectKeys: "strip",
|
|
275
|
+
})
|
|
282
276
|
: undefined,
|
|
283
277
|
};
|
|
284
278
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
@@ -287,11 +281,7 @@ class MusicClient {
|
|
|
287
281
|
method: "POST",
|
|
288
282
|
headers: _headers,
|
|
289
283
|
contentType: "application/json",
|
|
290
|
-
|
|
291
|
-
.queryBuilder()
|
|
292
|
-
.addMany(_queryParams)
|
|
293
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
294
|
-
.build(),
|
|
284
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
295
285
|
requestType: "json",
|
|
296
286
|
body: serializers.BodyStreamComposedMusicV1MusicStreamPost.jsonOrThrow(_body, {
|
|
297
287
|
unrecognizedObjectKeys: "strip",
|
|
@@ -322,7 +312,7 @@ class MusicClient {
|
|
|
322
312
|
});
|
|
323
313
|
}
|
|
324
314
|
/**
|
|
325
|
-
* Upload a music file to be later used for inpainting.
|
|
315
|
+
* Upload a music file to be later used for inpainting. Price for uploading is the same as the one for song generation. All uploaded content gets inspected for copyright infringement. If copyrighted content is detected, half of the request cost is still charged.
|
|
326
316
|
*
|
|
327
317
|
* @param {ElevenLabs.BodyUploadMusicV1MusicUploadPost} request
|
|
328
318
|
* @param {MusicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -355,7 +345,7 @@ class MusicClient {
|
|
|
355
345
|
url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ElevenLabsEnvironment.Production, "v1/music/upload"),
|
|
356
346
|
method: "POST",
|
|
357
347
|
headers: _headers,
|
|
358
|
-
|
|
348
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
359
349
|
requestType: "file",
|
|
360
350
|
duplex: _maybeEncodedRequest.duplex,
|
|
361
351
|
body: _maybeEncodedRequest.body,
|
|
@@ -425,11 +415,7 @@ class MusicClient {
|
|
|
425
415
|
url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ElevenLabsEnvironment.Production, "v1/music/stem-separation"),
|
|
426
416
|
method: "POST",
|
|
427
417
|
headers: _headers,
|
|
428
|
-
|
|
429
|
-
.queryBuilder()
|
|
430
|
-
.addMany(_queryParams)
|
|
431
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
432
|
-
.build(),
|
|
418
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
433
419
|
requestType: "file",
|
|
434
420
|
duplex: _maybeEncodedRequest.duplex,
|
|
435
421
|
body: _maybeEncodedRequest.body,
|
|
@@ -4,8 +4,8 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
4
4
|
* {}
|
|
5
5
|
*/
|
|
6
6
|
export interface BodyComposeMusicV1MusicPost {
|
|
7
|
-
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate.
|
|
8
|
-
outputFormat?: ElevenLabs.
|
|
7
|
+
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. Use "auto" (the default) to let the API pick the best format for the selected model: mp3_44100_128 for v1 models and mp3_48000_192 for v2 models. */
|
|
8
|
+
outputFormat?: ElevenLabs.MusicComposeRequestOutputFormat;
|
|
9
9
|
/** A simple text prompt to generate a song from. Cannot be used in conjunction with `composition_plan`. */
|
|
10
10
|
prompt?: string;
|
|
11
11
|
/** A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`. */
|
|
@@ -18,9 +18,9 @@ export interface BodyComposeMusicV1MusicPost {
|
|
|
18
18
|
seed?: number;
|
|
19
19
|
/** If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. */
|
|
20
20
|
forceInstrumental?: boolean;
|
|
21
|
-
/** Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan
|
|
21
|
+
/** Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan` and only applies to `music_v1`; for `music_v2` section durations are always enforced and this is ignored. When false for `music_v1`, the model may adjust individual section durations for better quality and latency, while preserving the total song duration from the plan. */
|
|
22
22
|
respectSectionsDurations?: boolean;
|
|
23
|
-
/** Whether to store the generated song for inpainting.
|
|
23
|
+
/** Whether to store the generated song for inpainting. */
|
|
24
24
|
storeForInpainting?: boolean;
|
|
25
25
|
/** Whether to sign the generated song with C2PA. Applicable only for mp3 files. */
|
|
26
26
|
signWithC2Pa?: boolean;
|
|
@@ -4,8 +4,8 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
4
4
|
* {}
|
|
5
5
|
*/
|
|
6
6
|
export interface BodyComposeMusicWithADetailedResponseV1MusicDetailedPost {
|
|
7
|
-
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate.
|
|
8
|
-
outputFormat?: ElevenLabs.
|
|
7
|
+
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. Use "auto" (the default) to let the API pick the best format for the selected model: mp3_44100_128 for v1 models and mp3_48000_192 for v2 models. */
|
|
8
|
+
outputFormat?: ElevenLabs.MusicComposeDetailedRequestOutputFormat;
|
|
9
9
|
/** A simple text prompt to generate a song from. Cannot be used in conjunction with `composition_plan`. */
|
|
10
10
|
prompt?: string;
|
|
11
11
|
/** A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`. */
|
|
@@ -18,9 +18,9 @@ export interface BodyComposeMusicWithADetailedResponseV1MusicDetailedPost {
|
|
|
18
18
|
seed?: number;
|
|
19
19
|
/** If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. */
|
|
20
20
|
forceInstrumental?: boolean;
|
|
21
|
-
/** Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan
|
|
21
|
+
/** Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan` and only applies to `music_v1`; for `music_v2` section durations are always enforced and this is ignored. When false for `music_v1`, the model may adjust individual section durations for better quality and latency, while preserving the total song duration from the plan. */
|
|
22
22
|
respectSectionsDurations?: boolean;
|
|
23
|
-
/** Whether to store the generated song for inpainting.
|
|
23
|
+
/** Whether to store the generated song for inpainting. */
|
|
24
24
|
storeForInpainting?: boolean;
|
|
25
25
|
/** Whether to return the timestamps of the words in the generated song. */
|
|
26
26
|
withTimestamps?: boolean;
|
package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
4
4
|
* {}
|
|
5
5
|
*/
|
|
6
6
|
export interface BodyStreamComposedMusicV1MusicStreamPost {
|
|
7
|
-
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate.
|
|
8
|
-
outputFormat?: ElevenLabs.
|
|
7
|
+
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. Use "auto" (the default) to let the API pick the best format for the selected model: mp3_44100_128 for v1 models and mp3_48000_192 for v2 models. */
|
|
8
|
+
outputFormat?: ElevenLabs.MusicStreamRequestOutputFormat;
|
|
9
9
|
/** A simple text prompt to generate a song from. Cannot be used in conjunction with `composition_plan`. */
|
|
10
10
|
prompt?: string;
|
|
11
11
|
/** A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`. */
|
|
@@ -18,6 +18,6 @@ export interface BodyStreamComposedMusicV1MusicStreamPost {
|
|
|
18
18
|
seed?: number;
|
|
19
19
|
/** If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. */
|
|
20
20
|
forceInstrumental?: boolean;
|
|
21
|
-
/** Whether to store the generated song for inpainting.
|
|
21
|
+
/** Whether to store the generated song for inpainting. */
|
|
22
22
|
storeForInpainting?: boolean;
|
|
23
23
|
}
|
|
@@ -81,7 +81,7 @@ class CompositionPlanClient {
|
|
|
81
81
|
method: "POST",
|
|
82
82
|
headers: _headers,
|
|
83
83
|
contentType: "application/json",
|
|
84
|
-
|
|
84
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
85
85
|
requestType: "json",
|
|
86
86
|
body: serializers.music.BodyGenerateCompositionPlanV1MusicPlanPost.jsonOrThrow(request, {
|
|
87
87
|
unrecognizedObjectKeys: "strip",
|
|
@@ -1,5 +1,2 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../../index";
|
|
2
|
-
/**
|
|
3
|
-
* A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`.
|
|
4
|
-
*/
|
|
5
2
|
export type BodyComposeMusicV1MusicPostCompositionPlan = ElevenLabs.MusicPrompt | ElevenLabs.CompositionPlan;
|
|
@@ -1,5 +1,2 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../../index";
|
|
2
|
-
/**
|
|
3
|
-
* A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`.
|
|
4
|
-
*/
|
|
5
2
|
export type BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan = ElevenLabs.MusicPrompt | ElevenLabs.CompositionPlan;
|
package/dist/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../../index";
|
|
2
|
-
/**
|
|
3
|
-
* A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`.
|
|
4
|
-
*/
|
|
5
2
|
export type BodyStreamComposedMusicV1MusicStreamPostCompositionPlan = ElevenLabs.MusicPrompt | ElevenLabs.CompositionPlan;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const MusicComposeDetailedRequestOutputFormat: {
|
|
2
|
+
readonly Auto: "auto";
|
|
3
|
+
readonly Mp348000128: "mp3_48000_128";
|
|
4
|
+
readonly Mp348000192: "mp3_48000_192";
|
|
5
|
+
readonly Mp348000240: "mp3_48000_240";
|
|
6
|
+
readonly Mp348000320: "mp3_48000_320";
|
|
7
|
+
readonly Mp32205032: "mp3_22050_32";
|
|
8
|
+
readonly Mp32400048: "mp3_24000_48";
|
|
9
|
+
readonly Mp34410032: "mp3_44100_32";
|
|
10
|
+
readonly Mp34410064: "mp3_44100_64";
|
|
11
|
+
readonly Mp34410096: "mp3_44100_96";
|
|
12
|
+
readonly Mp344100128: "mp3_44100_128";
|
|
13
|
+
readonly Mp344100192: "mp3_44100_192";
|
|
14
|
+
readonly Pcm8000: "pcm_8000";
|
|
15
|
+
readonly Pcm16000: "pcm_16000";
|
|
16
|
+
readonly Pcm22050: "pcm_22050";
|
|
17
|
+
readonly Pcm24000: "pcm_24000";
|
|
18
|
+
readonly Pcm32000: "pcm_32000";
|
|
19
|
+
readonly Pcm44100: "pcm_44100";
|
|
20
|
+
readonly Pcm48000: "pcm_48000";
|
|
21
|
+
readonly Ulaw8000: "ulaw_8000";
|
|
22
|
+
readonly Alaw8000: "alaw_8000";
|
|
23
|
+
readonly Opus4800032: "opus_48000_32";
|
|
24
|
+
readonly Opus4800064: "opus_48000_64";
|
|
25
|
+
readonly Opus4800096: "opus_48000_96";
|
|
26
|
+
readonly Opus48000128: "opus_48000_128";
|
|
27
|
+
readonly Opus48000192: "opus_48000_192";
|
|
28
|
+
};
|
|
29
|
+
export type MusicComposeDetailedRequestOutputFormat = (typeof MusicComposeDetailedRequestOutputFormat)[keyof typeof MusicComposeDetailedRequestOutputFormat];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.MusicComposeDetailedRequestOutputFormat = void 0;
|
|
5
|
+
exports.MusicComposeDetailedRequestOutputFormat = {
|
|
6
|
+
Auto: "auto",
|
|
7
|
+
Mp348000128: "mp3_48000_128",
|
|
8
|
+
Mp348000192: "mp3_48000_192",
|
|
9
|
+
Mp348000240: "mp3_48000_240",
|
|
10
|
+
Mp348000320: "mp3_48000_320",
|
|
11
|
+
Mp32205032: "mp3_22050_32",
|
|
12
|
+
Mp32400048: "mp3_24000_48",
|
|
13
|
+
Mp34410032: "mp3_44100_32",
|
|
14
|
+
Mp34410064: "mp3_44100_64",
|
|
15
|
+
Mp34410096: "mp3_44100_96",
|
|
16
|
+
Mp344100128: "mp3_44100_128",
|
|
17
|
+
Mp344100192: "mp3_44100_192",
|
|
18
|
+
Pcm8000: "pcm_8000",
|
|
19
|
+
Pcm16000: "pcm_16000",
|
|
20
|
+
Pcm22050: "pcm_22050",
|
|
21
|
+
Pcm24000: "pcm_24000",
|
|
22
|
+
Pcm32000: "pcm_32000",
|
|
23
|
+
Pcm44100: "pcm_44100",
|
|
24
|
+
Pcm48000: "pcm_48000",
|
|
25
|
+
Ulaw8000: "ulaw_8000",
|
|
26
|
+
Alaw8000: "alaw_8000",
|
|
27
|
+
Opus4800032: "opus_48000_32",
|
|
28
|
+
Opus4800064: "opus_48000_64",
|
|
29
|
+
Opus4800096: "opus_48000_96",
|
|
30
|
+
Opus48000128: "opus_48000_128",
|
|
31
|
+
Opus48000192: "opus_48000_192",
|
|
32
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const MusicComposeRequestOutputFormat: {
|
|
2
|
+
readonly Auto: "auto";
|
|
3
|
+
readonly Mp348000128: "mp3_48000_128";
|
|
4
|
+
readonly Mp348000192: "mp3_48000_192";
|
|
5
|
+
readonly Mp348000240: "mp3_48000_240";
|
|
6
|
+
readonly Mp348000320: "mp3_48000_320";
|
|
7
|
+
readonly Mp32205032: "mp3_22050_32";
|
|
8
|
+
readonly Mp32400048: "mp3_24000_48";
|
|
9
|
+
readonly Mp34410032: "mp3_44100_32";
|
|
10
|
+
readonly Mp34410064: "mp3_44100_64";
|
|
11
|
+
readonly Mp34410096: "mp3_44100_96";
|
|
12
|
+
readonly Mp344100128: "mp3_44100_128";
|
|
13
|
+
readonly Mp344100192: "mp3_44100_192";
|
|
14
|
+
readonly Pcm8000: "pcm_8000";
|
|
15
|
+
readonly Pcm16000: "pcm_16000";
|
|
16
|
+
readonly Pcm22050: "pcm_22050";
|
|
17
|
+
readonly Pcm24000: "pcm_24000";
|
|
18
|
+
readonly Pcm32000: "pcm_32000";
|
|
19
|
+
readonly Pcm44100: "pcm_44100";
|
|
20
|
+
readonly Pcm48000: "pcm_48000";
|
|
21
|
+
readonly Ulaw8000: "ulaw_8000";
|
|
22
|
+
readonly Alaw8000: "alaw_8000";
|
|
23
|
+
readonly Opus4800032: "opus_48000_32";
|
|
24
|
+
readonly Opus4800064: "opus_48000_64";
|
|
25
|
+
readonly Opus4800096: "opus_48000_96";
|
|
26
|
+
readonly Opus48000128: "opus_48000_128";
|
|
27
|
+
readonly Opus48000192: "opus_48000_192";
|
|
28
|
+
};
|
|
29
|
+
export type MusicComposeRequestOutputFormat = (typeof MusicComposeRequestOutputFormat)[keyof typeof MusicComposeRequestOutputFormat];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.MusicComposeRequestOutputFormat = void 0;
|
|
5
|
+
exports.MusicComposeRequestOutputFormat = {
|
|
6
|
+
Auto: "auto",
|
|
7
|
+
Mp348000128: "mp3_48000_128",
|
|
8
|
+
Mp348000192: "mp3_48000_192",
|
|
9
|
+
Mp348000240: "mp3_48000_240",
|
|
10
|
+
Mp348000320: "mp3_48000_320",
|
|
11
|
+
Mp32205032: "mp3_22050_32",
|
|
12
|
+
Mp32400048: "mp3_24000_48",
|
|
13
|
+
Mp34410032: "mp3_44100_32",
|
|
14
|
+
Mp34410064: "mp3_44100_64",
|
|
15
|
+
Mp34410096: "mp3_44100_96",
|
|
16
|
+
Mp344100128: "mp3_44100_128",
|
|
17
|
+
Mp344100192: "mp3_44100_192",
|
|
18
|
+
Pcm8000: "pcm_8000",
|
|
19
|
+
Pcm16000: "pcm_16000",
|
|
20
|
+
Pcm22050: "pcm_22050",
|
|
21
|
+
Pcm24000: "pcm_24000",
|
|
22
|
+
Pcm32000: "pcm_32000",
|
|
23
|
+
Pcm44100: "pcm_44100",
|
|
24
|
+
Pcm48000: "pcm_48000",
|
|
25
|
+
Ulaw8000: "ulaw_8000",
|
|
26
|
+
Alaw8000: "alaw_8000",
|
|
27
|
+
Opus4800032: "opus_48000_32",
|
|
28
|
+
Opus4800064: "opus_48000_64",
|
|
29
|
+
Opus4800096: "opus_48000_96",
|
|
30
|
+
Opus48000128: "opus_48000_128",
|
|
31
|
+
Opus48000192: "opus_48000_192",
|
|
32
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const MusicStreamRequestOutputFormat: {
|
|
2
|
+
readonly Auto: "auto";
|
|
3
|
+
readonly Mp348000128: "mp3_48000_128";
|
|
4
|
+
readonly Mp348000192: "mp3_48000_192";
|
|
5
|
+
readonly Mp348000240: "mp3_48000_240";
|
|
6
|
+
readonly Mp348000320: "mp3_48000_320";
|
|
7
|
+
readonly Mp32205032: "mp3_22050_32";
|
|
8
|
+
readonly Mp32400048: "mp3_24000_48";
|
|
9
|
+
readonly Mp34410032: "mp3_44100_32";
|
|
10
|
+
readonly Mp34410064: "mp3_44100_64";
|
|
11
|
+
readonly Mp34410096: "mp3_44100_96";
|
|
12
|
+
readonly Mp344100128: "mp3_44100_128";
|
|
13
|
+
readonly Mp344100192: "mp3_44100_192";
|
|
14
|
+
readonly Pcm8000: "pcm_8000";
|
|
15
|
+
readonly Pcm16000: "pcm_16000";
|
|
16
|
+
readonly Pcm22050: "pcm_22050";
|
|
17
|
+
readonly Pcm24000: "pcm_24000";
|
|
18
|
+
readonly Pcm32000: "pcm_32000";
|
|
19
|
+
readonly Pcm44100: "pcm_44100";
|
|
20
|
+
readonly Pcm48000: "pcm_48000";
|
|
21
|
+
readonly Ulaw8000: "ulaw_8000";
|
|
22
|
+
readonly Alaw8000: "alaw_8000";
|
|
23
|
+
readonly Opus4800032: "opus_48000_32";
|
|
24
|
+
readonly Opus4800064: "opus_48000_64";
|
|
25
|
+
readonly Opus4800096: "opus_48000_96";
|
|
26
|
+
readonly Opus48000128: "opus_48000_128";
|
|
27
|
+
readonly Opus48000192: "opus_48000_192";
|
|
28
|
+
};
|
|
29
|
+
export type MusicStreamRequestOutputFormat = (typeof MusicStreamRequestOutputFormat)[keyof typeof MusicStreamRequestOutputFormat];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.MusicStreamRequestOutputFormat = void 0;
|
|
5
|
+
exports.MusicStreamRequestOutputFormat = {
|
|
6
|
+
Auto: "auto",
|
|
7
|
+
Mp348000128: "mp3_48000_128",
|
|
8
|
+
Mp348000192: "mp3_48000_192",
|
|
9
|
+
Mp348000240: "mp3_48000_240",
|
|
10
|
+
Mp348000320: "mp3_48000_320",
|
|
11
|
+
Mp32205032: "mp3_22050_32",
|
|
12
|
+
Mp32400048: "mp3_24000_48",
|
|
13
|
+
Mp34410032: "mp3_44100_32",
|
|
14
|
+
Mp34410064: "mp3_44100_64",
|
|
15
|
+
Mp34410096: "mp3_44100_96",
|
|
16
|
+
Mp344100128: "mp3_44100_128",
|
|
17
|
+
Mp344100192: "mp3_44100_192",
|
|
18
|
+
Pcm8000: "pcm_8000",
|
|
19
|
+
Pcm16000: "pcm_16000",
|
|
20
|
+
Pcm22050: "pcm_22050",
|
|
21
|
+
Pcm24000: "pcm_24000",
|
|
22
|
+
Pcm32000: "pcm_32000",
|
|
23
|
+
Pcm44100: "pcm_44100",
|
|
24
|
+
Pcm48000: "pcm_48000",
|
|
25
|
+
Ulaw8000: "ulaw_8000",
|
|
26
|
+
Alaw8000: "alaw_8000",
|
|
27
|
+
Opus4800032: "opus_48000_32",
|
|
28
|
+
Opus4800064: "opus_48000_64",
|
|
29
|
+
Opus4800096: "opus_48000_96",
|
|
30
|
+
Opus48000128: "opus_48000_128",
|
|
31
|
+
Opus48000192: "opus_48000_192",
|
|
32
|
+
};
|
|
@@ -4,5 +4,8 @@ export * from "./BodyComposeMusicWithADetailedResponseV1MusicDetailedPostComposi
|
|
|
4
4
|
export * from "./BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId";
|
|
5
5
|
export * from "./BodyStreamComposedMusicV1MusicStreamPostCompositionPlan";
|
|
6
6
|
export * from "./BodyStreamComposedMusicV1MusicStreamPostModelId";
|
|
7
|
+
export * from "./MusicComposeDetailedRequestOutputFormat";
|
|
8
|
+
export * from "./MusicComposeRequestOutputFormat";
|
|
7
9
|
export * from "./MusicSeparateStemsRequestStemVariationId";
|
|
10
|
+
export * from "./MusicStreamRequestOutputFormat";
|
|
8
11
|
export * from "./MusicVideoToMusicRequestModelId";
|
|
@@ -20,5 +20,8 @@ __exportStar(require("./BodyComposeMusicWithADetailedResponseV1MusicDetailedPost
|
|
|
20
20
|
__exportStar(require("./BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId"), exports);
|
|
21
21
|
__exportStar(require("./BodyStreamComposedMusicV1MusicStreamPostCompositionPlan"), exports);
|
|
22
22
|
__exportStar(require("./BodyStreamComposedMusicV1MusicStreamPostModelId"), exports);
|
|
23
|
+
__exportStar(require("./MusicComposeDetailedRequestOutputFormat"), exports);
|
|
24
|
+
__exportStar(require("./MusicComposeRequestOutputFormat"), exports);
|
|
23
25
|
__exportStar(require("./MusicSeparateStemsRequestStemVariationId"), exports);
|
|
26
|
+
__exportStar(require("./MusicStreamRequestOutputFormat"), exports);
|
|
24
27
|
__exportStar(require("./MusicVideoToMusicRequestModelId"), exports);
|