@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
|
@@ -116,11 +116,7 @@ class OrdersClient {
|
|
|
116
116
|
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/productions/orders"),
|
|
117
117
|
method: "GET",
|
|
118
118
|
headers: _headers,
|
|
119
|
-
|
|
120
|
-
.queryBuilder()
|
|
121
|
-
.addMany(_queryParams)
|
|
122
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
123
|
-
.build(),
|
|
119
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
124
120
|
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,
|
|
125
121
|
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,
|
|
126
122
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -178,7 +174,7 @@ class OrdersClient {
|
|
|
178
174
|
method: "POST",
|
|
179
175
|
headers: _headers,
|
|
180
176
|
contentType: "application/json",
|
|
181
|
-
|
|
177
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
182
178
|
requestType: "json",
|
|
183
179
|
body: serializers.productions.orders.create.Request.jsonOrThrow(request, {
|
|
184
180
|
unrecognizedObjectKeys: "strip",
|
|
@@ -239,7 +235,7 @@ class OrdersClient {
|
|
|
239
235
|
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/productions/orders/${core.url.encodePathParam(serializers.OrderId.jsonOrThrow(order_id))}`),
|
|
240
236
|
method: "GET",
|
|
241
237
|
headers: _headers,
|
|
242
|
-
|
|
238
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
243
239
|
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,
|
|
244
240
|
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,
|
|
245
241
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -300,7 +296,7 @@ class OrdersClient {
|
|
|
300
296
|
method: "PATCH",
|
|
301
297
|
headers: _headers,
|
|
302
298
|
contentType: "application/json",
|
|
303
|
-
|
|
299
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
304
300
|
requestType: "json",
|
|
305
301
|
body: serializers.productions.BodyUpdateOrderV1ProductionsOrdersOrderIdPatch.jsonOrThrow(request, {
|
|
306
302
|
unrecognizedObjectKeys: "strip",
|
|
@@ -361,7 +357,7 @@ class OrdersClient {
|
|
|
361
357
|
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/productions/orders/${core.url.encodePathParam(serializers.OrderId.jsonOrThrow(order_id))}/submit`),
|
|
362
358
|
method: "POST",
|
|
363
359
|
headers: _headers,
|
|
364
|
-
|
|
360
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
365
361
|
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,
|
|
366
362
|
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,
|
|
367
363
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
package/dist/api/resources/productions/resources/orders/resources/deliverables/client/Client.js
CHANGED
|
@@ -78,7 +78,7 @@ class DeliverablesClient {
|
|
|
78
78
|
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/productions/orders/${core.url.encodePathParam(serializers.OrderId.jsonOrThrow(order_id))}/deliverables`),
|
|
79
79
|
method: "GET",
|
|
80
80
|
headers: _headers,
|
|
81
|
-
|
|
81
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
82
82
|
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,
|
|
83
83
|
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,
|
|
84
84
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -93,7 +93,7 @@ class ItemsClient {
|
|
|
93
93
|
method: "POST",
|
|
94
94
|
headers: _headers,
|
|
95
95
|
contentType: "application/json",
|
|
96
|
-
|
|
96
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
97
97
|
requestType: "json",
|
|
98
98
|
body: serializers.productions.orders.BodyUpsertOrderItemV1ProductionsOrdersOrderIdItemsPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
99
99
|
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,
|
|
@@ -151,7 +151,7 @@ class ItemsClient {
|
|
|
151
151
|
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/productions/orders/${core.url.encodePathParam(serializers.OrderId.jsonOrThrow(order_id))}/items/${core.url.encodePathParam(serializers.ItemId.jsonOrThrow(item_id))}`),
|
|
152
152
|
method: "DELETE",
|
|
153
153
|
headers: _headers,
|
|
154
|
-
|
|
154
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
155
155
|
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,
|
|
156
156
|
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,
|
|
157
157
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.js
CHANGED
|
@@ -78,7 +78,7 @@ class LanguagesClient {
|
|
|
78
78
|
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/productions/orders/languages/${core.url.encodePathParam(serializers.OrderItemKind.jsonOrThrow(order_item_kind))}`),
|
|
79
79
|
method: "GET",
|
|
80
80
|
headers: _headers,
|
|
81
|
-
|
|
81
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
82
82
|
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,
|
|
83
83
|
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,
|
|
84
84
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -97,7 +97,7 @@ class MediaClient {
|
|
|
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/productions/orders/${core.url.encodePathParam(serializers.OrderId.jsonOrThrow(order_id))}/media`),
|
|
98
98
|
method: "POST",
|
|
99
99
|
headers: _headers,
|
|
100
|
-
|
|
100
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
101
101
|
requestType: "file",
|
|
102
102
|
duplex: _maybeEncodedRequest.duplex,
|
|
103
103
|
body: _maybeEncodedRequest.body,
|
|
@@ -156,7 +156,7 @@ class MediaClient {
|
|
|
156
156
|
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/productions/orders/${core.url.encodePathParam(serializers.OrderId.jsonOrThrow(order_id))}/media/${core.url.encodePathParam(serializers.MediaId.jsonOrThrow(media_id))}`),
|
|
157
157
|
method: "GET",
|
|
158
158
|
headers: _headers,
|
|
159
|
-
|
|
159
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
160
160
|
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,
|
|
161
161
|
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,
|
|
162
162
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -98,7 +98,7 @@ class PronunciationDictionariesClient {
|
|
|
98
98
|
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/pronunciation-dictionaries/add-from-file"),
|
|
99
99
|
method: "POST",
|
|
100
100
|
headers: _headers,
|
|
101
|
-
|
|
101
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
102
102
|
requestType: "file",
|
|
103
103
|
duplex: _maybeEncodedRequest.duplex,
|
|
104
104
|
body: _maybeEncodedRequest.body,
|
|
@@ -166,7 +166,7 @@ class PronunciationDictionariesClient {
|
|
|
166
166
|
method: "POST",
|
|
167
167
|
headers: _headers,
|
|
168
168
|
contentType: "application/json",
|
|
169
|
-
|
|
169
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
170
170
|
requestType: "json",
|
|
171
171
|
body: serializers.BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
172
172
|
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,
|
|
@@ -223,7 +223,7 @@ class PronunciationDictionariesClient {
|
|
|
223
223
|
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/pronunciation-dictionaries/${core.url.encodePathParam(pronunciation_dictionary_id)}`),
|
|
224
224
|
method: "GET",
|
|
225
225
|
headers: _headers,
|
|
226
|
-
|
|
226
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
227
227
|
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,
|
|
228
228
|
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,
|
|
229
229
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -280,7 +280,7 @@ class PronunciationDictionariesClient {
|
|
|
280
280
|
method: "PATCH",
|
|
281
281
|
headers: _headers,
|
|
282
282
|
contentType: "application/json",
|
|
283
|
-
|
|
283
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
284
284
|
requestType: "json",
|
|
285
285
|
body: serializers.BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
286
286
|
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,
|
|
@@ -331,7 +331,7 @@ class PronunciationDictionariesClient {
|
|
|
331
331
|
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/pronunciation-dictionaries/${core.url.encodePathParam(dictionary_id)}/${core.url.encodePathParam(version_id)}/download`),
|
|
332
332
|
method: "GET",
|
|
333
333
|
headers: _headers,
|
|
334
|
-
|
|
334
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
335
335
|
responseType: "streaming",
|
|
336
336
|
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,
|
|
337
337
|
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,
|
|
@@ -395,11 +395,7 @@ class PronunciationDictionariesClient {
|
|
|
395
395
|
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/pronunciation-dictionaries"),
|
|
396
396
|
method: "GET",
|
|
397
397
|
headers: _headers,
|
|
398
|
-
|
|
399
|
-
.queryBuilder()
|
|
400
|
-
.addMany(_queryParams)
|
|
401
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
402
|
-
.build(),
|
|
398
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
403
399
|
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,
|
|
404
400
|
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,
|
|
405
401
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -88,7 +88,7 @@ class RulesClient {
|
|
|
88
88
|
method: "POST",
|
|
89
89
|
headers: _headers,
|
|
90
90
|
contentType: "application/json",
|
|
91
|
-
|
|
91
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
92
92
|
requestType: "json",
|
|
93
93
|
body: serializers.pronunciationDictionaries.BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
94
94
|
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,
|
|
@@ -155,7 +155,7 @@ class RulesClient {
|
|
|
155
155
|
method: "POST",
|
|
156
156
|
headers: _headers,
|
|
157
157
|
contentType: "application/json",
|
|
158
|
-
|
|
158
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
159
159
|
requestType: "json",
|
|
160
160
|
body: serializers.pronunciationDictionaries.PronunciationDictionary.jsonOrThrow(request, {
|
|
161
161
|
unrecognizedObjectKeys: "strip",
|
|
@@ -218,7 +218,7 @@ class RulesClient {
|
|
|
218
218
|
method: "POST",
|
|
219
219
|
headers: _headers,
|
|
220
220
|
contentType: "application/json",
|
|
221
|
-
|
|
221
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
222
222
|
requestType: "json",
|
|
223
223
|
body: serializers.pronunciationDictionaries.RemovePronunciationDictionaryRulesRequest.jsonOrThrow(request, {
|
|
224
224
|
unrecognizedObjectKeys: "strip",
|
|
@@ -82,7 +82,7 @@ class SamplesClient {
|
|
|
82
82
|
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/voices/${core.url.encodePathParam(voice_id)}/samples/${core.url.encodePathParam(sample_id)}`),
|
|
83
83
|
method: "DELETE",
|
|
84
84
|
headers: _headers,
|
|
85
|
-
|
|
85
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
86
86
|
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,
|
|
87
87
|
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,
|
|
88
88
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -82,7 +82,7 @@ class ServiceAccountsClient {
|
|
|
82
82
|
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/service-accounts"),
|
|
83
83
|
method: "GET",
|
|
84
84
|
headers: _headers,
|
|
85
|
-
|
|
85
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
86
86
|
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,
|
|
87
87
|
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,
|
|
88
88
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -78,7 +78,7 @@ class ApiKeysClient {
|
|
|
78
78
|
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/service-accounts/${core.url.encodePathParam(service_account_user_id)}/api-keys`),
|
|
79
79
|
method: "GET",
|
|
80
80
|
headers: _headers,
|
|
81
|
-
|
|
81
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
82
82
|
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,
|
|
83
83
|
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,
|
|
84
84
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -138,7 +138,7 @@ class ApiKeysClient {
|
|
|
138
138
|
method: "POST",
|
|
139
139
|
headers: _headers,
|
|
140
140
|
contentType: "application/json",
|
|
141
|
-
|
|
141
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
142
142
|
requestType: "json",
|
|
143
143
|
body: serializers.serviceAccounts.BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
144
144
|
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,
|
|
@@ -196,7 +196,7 @@ class ApiKeysClient {
|
|
|
196
196
|
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/service-accounts/${core.url.encodePathParam(service_account_user_id)}/api-keys/${core.url.encodePathParam(api_key_id)}`),
|
|
197
197
|
method: "DELETE",
|
|
198
198
|
headers: _headers,
|
|
199
|
-
|
|
199
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
200
200
|
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,
|
|
201
201
|
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,
|
|
202
202
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -246,7 +246,7 @@ class ApiKeysClient {
|
|
|
246
246
|
method: "PATCH",
|
|
247
247
|
headers: _headers,
|
|
248
248
|
contentType: "application/json",
|
|
249
|
-
|
|
249
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
250
250
|
requestType: "json",
|
|
251
251
|
body: serializers.serviceAccounts.BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
252
252
|
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,
|
|
@@ -14,4 +14,6 @@ export interface BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUs
|
|
|
14
14
|
characterLimit?: number;
|
|
15
15
|
/** List of IP addresses or CIDR ranges allowed to use this API key. Each entry may be a CIDR range (e.g. '10.0.0.0/24') or a bare IP address (normalized to /32 or /128). On create, omit or pass null to allow all IPs. On update, omit to leave the whitelist unchanged, or pass "clear" to remove it. */
|
|
16
16
|
allowedIps?: string[];
|
|
17
|
+
/** Whether the holder of this key may disable it via the self-disable endpoint. On create, omit or pass null to use the workspace's default (enabled for non-Enterprise plans, disabled for Enterprise plans). On update, omit to leave it unchanged, or pass "clear" to reset it to the workspace default. Only honored for workspaces with self-disable access enabled. */
|
|
18
|
+
thirdPartyDisableAllowed?: boolean;
|
|
17
19
|
}
|
|
@@ -14,4 +14,6 @@ export interface BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUser
|
|
|
14
14
|
characterLimit?: ElevenLabs.serviceAccounts.BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit;
|
|
15
15
|
/** List of IP addresses or CIDR ranges allowed to use this API key. Each entry may be a CIDR range (e.g. '10.0.0.0/24') or a bare IP address (normalized to /32 or /128). On create, omit or pass null to allow all IPs. On update, omit to leave the whitelist unchanged, or pass "clear" to remove it. */
|
|
16
16
|
allowedIps?: ElevenLabs.serviceAccounts.BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps;
|
|
17
|
+
/** Whether the holder of this key may disable it via the self-disable endpoint. On create, omit or pass null to use the workspace's default (enabled for non-Enterprise plans, disabled for Enterprise plans). On update, omit to leave it unchanged, or pass "clear" to reset it to the workspace default. Only honored for workspaces with self-disable access enabled. */
|
|
18
|
+
thirdPartyDisableAllowed?: ElevenLabs.serviceAccounts.BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed;
|
|
17
19
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether the holder of this key may disable it via the self-disable endpoint. On create, omit or pass null to use the workspace's default (enabled for non-Enterprise plans, disabled for Enterprise plans). On update, omit to leave it unchanged, or pass "clear" to reset it to the workspace default. Only honored for workspaces with self-disable access enabled.
|
|
3
|
+
*/
|
|
4
|
+
export type BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed = boolean | "clear" | "no_update";
|
|
@@ -3,3 +3,4 @@ export * from "./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUser
|
|
|
3
3
|
export * from "./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit";
|
|
4
4
|
export * from "./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled";
|
|
5
5
|
export * from "./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions";
|
|
6
|
+
export * from "./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed";
|
|
@@ -19,3 +19,4 @@ __exportStar(require("./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAcco
|
|
|
19
19
|
__exportStar(require("./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit"), exports);
|
|
20
20
|
__exportStar(require("./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled"), exports);
|
|
21
21
|
__exportStar(require("./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions"), exports);
|
|
22
|
+
__exportStar(require("./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed"), exports);
|
|
@@ -96,11 +96,7 @@ class SpeechEngineClient {
|
|
|
96
96
|
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/speech-engine"),
|
|
97
97
|
method: "GET",
|
|
98
98
|
headers: _headers,
|
|
99
|
-
|
|
100
|
-
.queryBuilder()
|
|
101
|
-
.addMany(_queryParams)
|
|
102
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
103
|
-
.build(),
|
|
99
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
104
100
|
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,
|
|
105
101
|
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,
|
|
106
102
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -160,7 +156,7 @@ class SpeechEngineClient {
|
|
|
160
156
|
method: "POST",
|
|
161
157
|
headers: _headers,
|
|
162
158
|
contentType: "application/json",
|
|
163
|
-
|
|
159
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
164
160
|
requestType: "json",
|
|
165
161
|
body: serializers.CreateSpeechEngineRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
166
162
|
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,
|
|
@@ -217,7 +213,7 @@ class SpeechEngineClient {
|
|
|
217
213
|
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/speech-engine/${core.url.encodePathParam(speech_engine_id)}`),
|
|
218
214
|
method: "GET",
|
|
219
215
|
headers: _headers,
|
|
220
|
-
|
|
216
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
221
217
|
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,
|
|
222
218
|
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,
|
|
223
219
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -272,7 +268,7 @@ class SpeechEngineClient {
|
|
|
272
268
|
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/speech-engine/${core.url.encodePathParam(speech_engine_id)}`),
|
|
273
269
|
method: "DELETE",
|
|
274
270
|
headers: _headers,
|
|
275
|
-
|
|
271
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
276
272
|
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,
|
|
277
273
|
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,
|
|
278
274
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -321,7 +317,7 @@ class SpeechEngineClient {
|
|
|
321
317
|
method: "PATCH",
|
|
322
318
|
headers: _headers,
|
|
323
319
|
contentType: "application/json",
|
|
324
|
-
|
|
320
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
325
321
|
requestType: "json",
|
|
326
322
|
body: serializers.UpdateSpeechEngineRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
327
323
|
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,
|
|
@@ -101,11 +101,7 @@ class SpeechToSpeechClient {
|
|
|
101
101
|
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.ElevenLabsEnvironment.Production, `v1/speech-to-speech/${core.url.encodePathParam(voice_id)}`),
|
|
102
102
|
method: "POST",
|
|
103
103
|
headers: _headers,
|
|
104
|
-
|
|
105
|
-
.queryBuilder()
|
|
106
|
-
.addMany(_queryParams)
|
|
107
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
108
|
-
.build(),
|
|
104
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
109
105
|
requestType: "file",
|
|
110
106
|
duplex: _maybeEncodedRequest.duplex,
|
|
111
107
|
body: _maybeEncodedRequest.body,
|
|
@@ -179,11 +175,7 @@ class SpeechToSpeechClient {
|
|
|
179
175
|
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.ElevenLabsEnvironment.Production, `v1/speech-to-speech/${core.url.encodePathParam(voice_id)}/stream`),
|
|
180
176
|
method: "POST",
|
|
181
177
|
headers: _headers,
|
|
182
|
-
|
|
183
|
-
.queryBuilder()
|
|
184
|
-
.addMany(_queryParams)
|
|
185
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
186
|
-
.build(),
|
|
178
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
187
179
|
requestType: "file",
|
|
188
180
|
duplex: _maybeEncodedRequest.duplex,
|
|
189
181
|
body: _maybeEncodedRequest.body,
|
|
@@ -14,7 +14,7 @@ export declare class SpeechToTextClient {
|
|
|
14
14
|
constructor(options?: SpeechToTextClient.Options);
|
|
15
15
|
get transcripts(): TranscriptsClient;
|
|
16
16
|
/**
|
|
17
|
-
* Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks. When use_multi_channel is true and the provided audio has multiple channels, a 'transcripts' object with separate transcripts for each channel is returned. Otherwise, returns a single transcript. The optional webhook_metadata parameter allows you to attach custom data that will be included in webhook responses for request correlation and tracking.
|
|
17
|
+
* Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks. When use_multi_channel is true and the provided audio has multiple channels, a 'transcripts' object with separate transcripts for each channel is returned; set multichannel_output_style='combined' to instead receive a single transcript with all channels merged and sorted by time. Otherwise, returns a single transcript. The optional webhook_metadata parameter allows you to attach custom data that will be included in webhook responses for request correlation and tracking.
|
|
18
18
|
*
|
|
19
19
|
* @param {ElevenLabs.BodySpeechToTextV1SpeechToTextPost} request
|
|
20
20
|
* @param {SpeechToTextClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -63,7 +63,7 @@ class SpeechToTextClient {
|
|
|
63
63
|
return ((_a = this._transcripts) !== null && _a !== void 0 ? _a : (this._transcripts = new Client_1.TranscriptsClient(this._options)));
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
|
-
* Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks. When use_multi_channel is true and the provided audio has multiple channels, a 'transcripts' object with separate transcripts for each channel is returned. Otherwise, returns a single transcript. The optional webhook_metadata parameter allows you to attach custom data that will be included in webhook responses for request correlation and tracking.
|
|
66
|
+
* Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks. When use_multi_channel is true and the provided audio has multiple channels, a 'transcripts' object with separate transcripts for each channel is returned; set multichannel_output_style='combined' to instead receive a single transcript with all channels merged and sorted by time. Otherwise, returns a single transcript. The optional webhook_metadata parameter allows you to attach custom data that will be included in webhook responses for request correlation and tracking.
|
|
67
67
|
*
|
|
68
68
|
* @param {ElevenLabs.BodySpeechToTextV1SpeechToTextPost} request
|
|
69
69
|
* @param {SpeechToTextClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -142,6 +142,9 @@ class SpeechToTextClient {
|
|
|
142
142
|
if (request.useMultiChannel != null) {
|
|
143
143
|
_body.append("use_multi_channel", (_h = request.useMultiChannel) === null || _h === void 0 ? void 0 : _h.toString());
|
|
144
144
|
}
|
|
145
|
+
if (request.multichannelOutputStyle != null) {
|
|
146
|
+
_body.append("multichannel_output_style", serializers.SpeechToTextConvertRequestMultichannelOutputStyle.jsonOrThrow(request.multichannelOutputStyle, { unrecognizedObjectKeys: "strip" }));
|
|
147
|
+
}
|
|
145
148
|
if (request.webhookMetadata != null) {
|
|
146
149
|
_body.append("webhook_metadata", (() => {
|
|
147
150
|
const mapped = serializers.SpeechToTextConvertRequestWebhookMetadata.jsonOrThrow(request.webhookMetadata, { unrecognizedObjectKeys: "strip" });
|
|
@@ -183,11 +186,7 @@ class SpeechToTextClient {
|
|
|
183
186
|
url: core.url.join((_s = (_r = (yield core.Supplier.get(this._options.baseUrl))) !== null && _r !== void 0 ? _r : (yield core.Supplier.get(this._options.environment))) !== null && _s !== void 0 ? _s : environments.ElevenLabsEnvironment.Production, "v1/speech-to-text"),
|
|
184
187
|
method: "POST",
|
|
185
188
|
headers: _headers,
|
|
186
|
-
|
|
187
|
-
.queryBuilder()
|
|
188
|
-
.addMany(_queryParams)
|
|
189
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
190
|
-
.build(),
|
|
189
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
191
190
|
requestType: "file",
|
|
192
191
|
duplex: _maybeEncodedRequest.duplex,
|
|
193
192
|
body: _maybeEncodedRequest.body,
|
package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts
CHANGED
|
@@ -42,8 +42,10 @@ export interface BodySpeechToTextV1SpeechToTextPost {
|
|
|
42
42
|
temperature?: number;
|
|
43
43
|
/** If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. Must be an integer between 0 and 2147483647. */
|
|
44
44
|
seed?: number;
|
|
45
|
-
/** Whether the audio file contains multiple channels where each channel contains a single speaker. When enabled, each channel
|
|
45
|
+
/** Whether the audio file contains multiple channels where each channel contains a single speaker. When enabled, each channel is transcribed independently. By default a separate transcript is returned per channel; set multichannel_output_style='combined' to instead receive a single transcript with all channels merged and sorted by time. Each word in the response includes a 'channel_index' field indicating which channel it was spoken on. A maximum of 5 channels is supported. Each channel is billed independently at the full audio duration, so cost scales linearly with the number of channels. */
|
|
46
46
|
useMultiChannel?: boolean;
|
|
47
|
+
/** Controls the response shape when use_multi_channel is enabled. 'separate' (default) returns one transcript per channel under 'transcripts'. 'combined' merges all channels into a single transcript whose words are sorted by start time, each carrying a 'channel_index' - matching the single-channel response shape. 'combined' requires timestamps (timestamps_granularity must not be 'none') and does not support entity detection or redaction. */
|
|
48
|
+
multichannelOutputStyle?: ElevenLabs.SpeechToTextConvertRequestMultichannelOutputStyle;
|
|
47
49
|
/** Optional metadata to be included in the webhook response. This should be a JSON string representing an object with a maximum depth of 2 levels and maximum size of 16KB. Useful for tracking internal IDs, job references, or other contextual information. */
|
|
48
50
|
webhookMetadata?: ElevenLabs.SpeechToTextConvertRequestWebhookMetadata;
|
|
49
51
|
/** Detect entities in the transcript. Can be 'all' to detect all entities, a single entity type or category string, or a list of entity types/categories. Categories include 'pii', 'phi', 'pci', 'other', 'offensive_language'. When enabled, detected entities will be returned in the 'entities' field with their text, type, and character positions. Usage of this parameter will incur an additional 30% surcharge on the base transcription cost. */
|
|
@@ -80,7 +80,7 @@ class TranscriptsClient {
|
|
|
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/speech-to-text/transcripts/${core.url.encodePathParam(transcription_id)}`),
|
|
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,
|
|
@@ -140,7 +140,7 @@ class TranscriptsClient {
|
|
|
140
140
|
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/speech-to-text/transcripts/${core.url.encodePathParam(transcription_id)}`),
|
|
141
141
|
method: "DELETE",
|
|
142
142
|
headers: _headers,
|
|
143
|
-
|
|
143
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
144
144
|
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,
|
|
145
145
|
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,
|
|
146
146
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Controls the response shape when use_multi_channel is enabled. 'separate' (default) returns one transcript per channel under 'transcripts'. 'combined' merges all channels into a single transcript whose words are sorted by start time, each carrying a 'channel_index' - matching the single-channel response shape. 'combined' requires timestamps (timestamps_granularity must not be 'none') and does not support entity detection or redaction. */
|
|
2
|
+
export declare const SpeechToTextConvertRequestMultichannelOutputStyle: {
|
|
3
|
+
readonly Separate: "separate";
|
|
4
|
+
readonly Combined: "combined";
|
|
5
|
+
};
|
|
6
|
+
export type SpeechToTextConvertRequestMultichannelOutputStyle = (typeof SpeechToTextConvertRequestMultichannelOutputStyle)[keyof typeof SpeechToTextConvertRequestMultichannelOutputStyle];
|
package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SpeechToTextConvertRequestMultichannelOutputStyle = void 0;
|
|
5
|
+
/** Controls the response shape when use_multi_channel is enabled. 'separate' (default) returns one transcript per channel under 'transcripts'. 'combined' merges all channels into a single transcript whose words are sorted by start time, each carrying a 'channel_index' - matching the single-channel response shape. 'combined' requires timestamps (timestamps_granularity must not be 'none') and does not support entity detection or redaction. */
|
|
6
|
+
exports.SpeechToTextConvertRequestMultichannelOutputStyle = {
|
|
7
|
+
Separate: "separate",
|
|
8
|
+
Combined: "combined",
|
|
9
|
+
};
|
|
@@ -2,6 +2,7 @@ export * from "./SpeechToTextConvertRequestEntityDetection";
|
|
|
2
2
|
export * from "./SpeechToTextConvertRequestEntityRedaction";
|
|
3
3
|
export * from "./SpeechToTextConvertRequestFileFormat";
|
|
4
4
|
export * from "./SpeechToTextConvertRequestModelId";
|
|
5
|
+
export * from "./SpeechToTextConvertRequestMultichannelOutputStyle";
|
|
5
6
|
export * from "./SpeechToTextConvertRequestTimestampsGranularity";
|
|
6
7
|
export * from "./SpeechToTextConvertRequestWebhookMetadata";
|
|
7
8
|
export * from "./SpeechToTextConvertResponse";
|
|
@@ -18,6 +18,7 @@ __exportStar(require("./SpeechToTextConvertRequestEntityDetection"), exports);
|
|
|
18
18
|
__exportStar(require("./SpeechToTextConvertRequestEntityRedaction"), exports);
|
|
19
19
|
__exportStar(require("./SpeechToTextConvertRequestFileFormat"), exports);
|
|
20
20
|
__exportStar(require("./SpeechToTextConvertRequestModelId"), exports);
|
|
21
|
+
__exportStar(require("./SpeechToTextConvertRequestMultichannelOutputStyle"), exports);
|
|
21
22
|
__exportStar(require("./SpeechToTextConvertRequestTimestampsGranularity"), exports);
|
|
22
23
|
__exportStar(require("./SpeechToTextConvertRequestWebhookMetadata"), exports);
|
|
23
24
|
__exportStar(require("./SpeechToTextConvertResponse"), exports);
|
|
@@ -112,7 +112,7 @@ class StudioClient {
|
|
|
112
112
|
method: "POST",
|
|
113
113
|
headers: _headers,
|
|
114
114
|
contentType: "application/json",
|
|
115
|
-
|
|
115
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
116
116
|
requestType: "json",
|
|
117
117
|
body: serializers.BodyCreatePodcastV1StudioPodcastsPost.jsonOrThrow(_body, {
|
|
118
118
|
unrecognizedObjectKeys: "strip",
|