@elevenlabs/elevenlabs-js 2.53.0 → 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/DynamicVariablesConfigInput.d.ts +1 -1
- package/api/types/DynamicVariablesConfigOutput.d.ts +1 -1
- package/api/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
- package/api/types/DynamicVariablesConfigWorkflowOverrideOutput.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/DynamicVariablesConfigInput.d.ts +1 -1
- package/dist/api/types/DynamicVariablesConfigOutput.d.ts +1 -1
- package/dist/api/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
- package/dist/api/types/DynamicVariablesConfigWorkflowOverrideOutput.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/DynamicVariablesConfigInput.d.ts +1 -1
- package/dist/serialization/types/DynamicVariablesConfigInput.js +1 -1
- package/dist/serialization/types/DynamicVariablesConfigOutput.d.ts +1 -1
- package/dist/serialization/types/DynamicVariablesConfigOutput.js +1 -1
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.js +1 -1
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.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/DynamicVariablesConfigInput.d.ts +1 -1
- package/serialization/types/DynamicVariablesConfigInput.js +1 -1
- package/serialization/types/DynamicVariablesConfigOutput.d.ts +1 -1
- package/serialization/types/DynamicVariablesConfigOutput.js +1 -1
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.js +1 -1
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.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
|
@@ -88,11 +88,7 @@ class ChunkClient {
|
|
|
88
88
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/knowledge-base/${core.url.encodePathParam(documentation_id)}/chunk/${core.url.encodePathParam(chunk_id)}`),
|
|
89
89
|
method: "GET",
|
|
90
90
|
headers: _headers,
|
|
91
|
-
|
|
92
|
-
.queryBuilder()
|
|
93
|
-
.addMany(_queryParams)
|
|
94
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
95
|
-
.build(),
|
|
91
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
96
92
|
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,
|
|
97
93
|
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,
|
|
98
94
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -91,11 +91,7 @@ class ChunksClient {
|
|
|
91
91
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/knowledge-base/${core.url.encodePathParam(documentation_id)}/chunks`),
|
|
92
92
|
method: "GET",
|
|
93
93
|
headers: _headers,
|
|
94
|
-
|
|
95
|
-
.queryBuilder()
|
|
96
|
-
.addMany(_queryParams)
|
|
97
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
98
|
-
.build(),
|
|
94
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
99
95
|
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,
|
|
100
96
|
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,
|
|
101
97
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -84,11 +84,7 @@ class SummariesClient {
|
|
|
84
84
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/knowledge-base/summaries"),
|
|
85
85
|
method: "GET",
|
|
86
86
|
headers: _headers,
|
|
87
|
-
|
|
88
|
-
.queryBuilder()
|
|
89
|
-
.addMany(_queryParams)
|
|
90
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
91
|
-
.build(),
|
|
87
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
92
88
|
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,
|
|
93
89
|
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,
|
|
94
90
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -77,7 +77,7 @@ class LlmClient {
|
|
|
77
77
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/llm/list"),
|
|
78
78
|
method: "GET",
|
|
79
79
|
headers: _headers,
|
|
80
|
-
|
|
80
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
81
81
|
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,
|
|
82
82
|
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,
|
|
83
83
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -83,7 +83,7 @@ class LlmUsageClient {
|
|
|
83
83
|
method: "POST",
|
|
84
84
|
headers: _headers,
|
|
85
85
|
contentType: "application/json",
|
|
86
|
-
|
|
86
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
87
87
|
requestType: "json",
|
|
88
88
|
body: serializers.conversationalAi.LlmUsageCalculatorPublicRequestModel.jsonOrThrow(request, {
|
|
89
89
|
unrecognizedObjectKeys: "strip",
|
|
@@ -97,7 +97,7 @@ class McpServersClient {
|
|
|
97
97
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/mcp-servers"),
|
|
98
98
|
method: "GET",
|
|
99
99
|
headers: _headers,
|
|
100
|
-
|
|
100
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
101
101
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
102
102
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
103
103
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -158,7 +158,7 @@ class McpServersClient {
|
|
|
158
158
|
method: "POST",
|
|
159
159
|
headers: _headers,
|
|
160
160
|
contentType: "application/json",
|
|
161
|
-
|
|
161
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
162
162
|
requestType: "json",
|
|
163
163
|
body: serializers.conversationalAi.McpServerRequestModel.jsonOrThrow(request, {
|
|
164
164
|
unrecognizedObjectKeys: "strip",
|
|
@@ -217,7 +217,7 @@ class McpServersClient {
|
|
|
217
217
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/mcp-servers/${core.url.encodePathParam(mcp_server_id)}`),
|
|
218
218
|
method: "GET",
|
|
219
219
|
headers: _headers,
|
|
220
|
-
|
|
220
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
221
221
|
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
222
|
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
223
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -272,7 +272,7 @@ class McpServersClient {
|
|
|
272
272
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/mcp-servers/${core.url.encodePathParam(mcp_server_id)}`),
|
|
273
273
|
method: "DELETE",
|
|
274
274
|
headers: _headers,
|
|
275
|
-
|
|
275
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
276
276
|
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
277
|
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
278
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -321,7 +321,7 @@ class McpServersClient {
|
|
|
321
321
|
method: "PATCH",
|
|
322
322
|
headers: _headers,
|
|
323
323
|
contentType: "application/json",
|
|
324
|
-
|
|
324
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
325
325
|
requestType: "json",
|
|
326
326
|
body: serializers.conversationalAi.McpServerConfigUpdateRequestModel.jsonOrThrow(request, {
|
|
327
327
|
unrecognizedObjectKeys: "strip",
|
|
@@ -21,7 +21,7 @@ export interface McpServerConfigUpdateRequestModel {
|
|
|
21
21
|
/** The maximum time in seconds to wait for each MCP tool call to complete. */
|
|
22
22
|
responseTimeoutSecs?: number;
|
|
23
23
|
/** The headers to include in requests to the MCP server */
|
|
24
|
-
requestHeaders?: Record<string, ElevenLabs.conversationalAi.McpServerConfigUpdateRequestModelRequestHeadersValue>;
|
|
24
|
+
requestHeaders?: Record<string, ElevenLabs.conversationalAi.McpServerConfigUpdateRequestModelRequestHeadersValue | undefined>;
|
|
25
25
|
/** Whether to disable HTTP compression for this MCP server */
|
|
26
26
|
disableCompression?: boolean;
|
|
27
27
|
/** Optional secret token for authentication with this MCP server */
|
|
@@ -84,7 +84,7 @@ class ApprovalPolicyClient {
|
|
|
84
84
|
method: "PATCH",
|
|
85
85
|
headers: _headers,
|
|
86
86
|
contentType: "application/json",
|
|
87
|
-
|
|
87
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
88
88
|
requestType: "json",
|
|
89
89
|
body: serializers.conversationalAi.mcpServers.McpApprovalPolicyUpdateRequestModel.jsonOrThrow(request, {
|
|
90
90
|
unrecognizedObjectKeys: "strip",
|
|
@@ -83,7 +83,7 @@ class ToolApprovalsClient {
|
|
|
83
83
|
method: "POST",
|
|
84
84
|
headers: _headers,
|
|
85
85
|
contentType: "application/json",
|
|
86
|
-
|
|
86
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
87
87
|
requestType: "json",
|
|
88
88
|
body: serializers.conversationalAi.mcpServers.McpToolAddApprovalRequestModel.jsonOrThrow(request, {
|
|
89
89
|
unrecognizedObjectKeys: "strip",
|
|
@@ -143,7 +143,7 @@ class ToolApprovalsClient {
|
|
|
143
143
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/mcp-servers/${core.url.encodePathParam(mcp_server_id)}/tool-approvals/${core.url.encodePathParam(tool_name)}`),
|
|
144
144
|
method: "DELETE",
|
|
145
145
|
headers: _headers,
|
|
146
|
-
|
|
146
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
147
147
|
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,
|
|
148
148
|
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,
|
|
149
149
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -83,7 +83,7 @@ class ToolConfigsClient {
|
|
|
83
83
|
method: "POST",
|
|
84
84
|
headers: _headers,
|
|
85
85
|
contentType: "application/json",
|
|
86
|
-
|
|
86
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
87
87
|
requestType: "json",
|
|
88
88
|
body: serializers.conversationalAi.mcpServers.McpToolConfigOverrideCreateRequestModel.jsonOrThrow(request, {
|
|
89
89
|
unrecognizedObjectKeys: "strip",
|
|
@@ -146,7 +146,7 @@ class ToolConfigsClient {
|
|
|
146
146
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/mcp-servers/${core.url.encodePathParam(mcp_server_id)}/tool-configs/${core.url.encodePathParam(tool_name)}`),
|
|
147
147
|
method: "GET",
|
|
148
148
|
headers: _headers,
|
|
149
|
-
|
|
149
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
150
150
|
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
151
|
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,
|
|
152
152
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -204,7 +204,7 @@ class ToolConfigsClient {
|
|
|
204
204
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/mcp-servers/${core.url.encodePathParam(mcp_server_id)}/tool-configs/${core.url.encodePathParam(tool_name)}`),
|
|
205
205
|
method: "DELETE",
|
|
206
206
|
headers: _headers,
|
|
207
|
-
|
|
207
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
208
208
|
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,
|
|
209
209
|
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,
|
|
210
210
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -263,7 +263,7 @@ class ToolConfigsClient {
|
|
|
263
263
|
method: "PATCH",
|
|
264
264
|
headers: _headers,
|
|
265
265
|
contentType: "application/json",
|
|
266
|
-
|
|
266
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
267
267
|
requestType: "json",
|
|
268
268
|
body: serializers.conversationalAi.mcpServers.McpToolConfigOverrideUpdateRequestModel.jsonOrThrow(request, {
|
|
269
269
|
unrecognizedObjectKeys: "strip",
|
|
@@ -23,7 +23,7 @@ export interface McpToolConfigOverrideCreateRequestModel {
|
|
|
23
23
|
/** Dynamic variable assignments for this MCP tool */
|
|
24
24
|
assignments?: ElevenLabs.DynamicVariableAssignment[];
|
|
25
25
|
/** Mapping of json path to input override configuration */
|
|
26
|
-
inputOverrides?: Record<string, ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideCreateRequestModelInputOverridesValue>;
|
|
26
|
+
inputOverrides?: Record<string, ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideCreateRequestModelInputOverridesValue | undefined>;
|
|
27
27
|
/** Mock responses with optional parameter conditions. Evaluated top-to-bottom; first match wins. */
|
|
28
28
|
responseMocks?: ElevenLabs.ToolResponseMockConfigInput[];
|
|
29
29
|
/** The name of the MCP tool */
|
|
@@ -21,7 +21,7 @@ export interface McpToolConfigOverrideUpdateRequestModel {
|
|
|
21
21
|
/** Dynamic variable assignments for this MCP tool */
|
|
22
22
|
assignments?: ElevenLabs.DynamicVariableAssignment[];
|
|
23
23
|
/** Mapping of json path to input override configuration */
|
|
24
|
-
inputOverrides?: Record<string, ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideUpdateRequestModelInputOverridesValue>;
|
|
24
|
+
inputOverrides?: Record<string, ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideUpdateRequestModelInputOverridesValue | undefined>;
|
|
25
25
|
/** Mock responses with optional parameter conditions. Evaluated top-to-bottom; first match wins. */
|
|
26
26
|
responseMocks?: ElevenLabs.ToolResponseMockConfigInput[];
|
|
27
27
|
}
|
package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js
CHANGED
|
@@ -78,7 +78,7 @@ class ToolsClient {
|
|
|
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/convai/mcp-servers/${core.url.encodePathParam(mcp_server_id)}/tools`),
|
|
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,
|
|
@@ -90,11 +90,7 @@ class PhoneNumbersClient {
|
|
|
90
90
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/phone-numbers"),
|
|
91
91
|
method: "GET",
|
|
92
92
|
headers: _headers,
|
|
93
|
-
|
|
94
|
-
.queryBuilder()
|
|
95
|
-
.addMany(_queryParams)
|
|
96
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
97
|
-
.build(),
|
|
93
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
98
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,
|
|
99
95
|
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,
|
|
100
96
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -156,7 +152,7 @@ class PhoneNumbersClient {
|
|
|
156
152
|
method: "POST",
|
|
157
153
|
headers: _headers,
|
|
158
154
|
contentType: "application/json",
|
|
159
|
-
|
|
155
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
160
156
|
requestType: "json",
|
|
161
157
|
body: serializers.conversationalAi.PhoneNumbersCreateRequestBody.jsonOrThrow(request, {
|
|
162
158
|
unrecognizedObjectKeys: "strip",
|
|
@@ -215,7 +211,7 @@ class PhoneNumbersClient {
|
|
|
215
211
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/phone-numbers/${core.url.encodePathParam(phone_number_id)}`),
|
|
216
212
|
method: "GET",
|
|
217
213
|
headers: _headers,
|
|
218
|
-
|
|
214
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
219
215
|
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,
|
|
220
216
|
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,
|
|
221
217
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -270,7 +266,7 @@ class PhoneNumbersClient {
|
|
|
270
266
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/phone-numbers/${core.url.encodePathParam(phone_number_id)}`),
|
|
271
267
|
method: "DELETE",
|
|
272
268
|
headers: _headers,
|
|
273
|
-
|
|
269
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
274
270
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
275
271
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
276
272
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -319,7 +315,7 @@ class PhoneNumbersClient {
|
|
|
319
315
|
method: "PATCH",
|
|
320
316
|
headers: _headers,
|
|
321
317
|
contentType: "application/json",
|
|
322
|
-
|
|
318
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
323
319
|
requestType: "json",
|
|
324
320
|
body: serializers.conversationalAi.UpdatePhoneNumberRequest.jsonOrThrow(request, {
|
|
325
321
|
unrecognizedObjectKeys: "strip",
|
|
@@ -387,11 +383,7 @@ class PhoneNumbersClient {
|
|
|
387
383
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/phone-numbers/${core.url.encodePathParam(phone_number_id)}/sip-messages`),
|
|
388
384
|
method: "GET",
|
|
389
385
|
headers: _headers,
|
|
390
|
-
|
|
391
|
-
.queryBuilder()
|
|
392
|
-
.addMany(_queryParams)
|
|
393
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
394
|
-
.build(),
|
|
386
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
395
387
|
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,
|
|
396
388
|
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,
|
|
397
389
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -90,11 +90,7 @@ class SecretsClient {
|
|
|
90
90
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/secrets"),
|
|
91
91
|
method: "GET",
|
|
92
92
|
headers: _headers,
|
|
93
|
-
|
|
94
|
-
.queryBuilder()
|
|
95
|
-
.addMany(_queryParams)
|
|
96
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
97
|
-
.build(),
|
|
93
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
98
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,
|
|
99
95
|
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,
|
|
100
96
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -153,7 +149,7 @@ class SecretsClient {
|
|
|
153
149
|
method: "POST",
|
|
154
150
|
headers: _headers,
|
|
155
151
|
contentType: "application/json",
|
|
156
|
-
|
|
152
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
157
153
|
requestType: "json",
|
|
158
154
|
body: Object.assign(Object.assign({}, serializers.conversationalAi.PostWorkspaceSecretRequest.jsonOrThrow(request, {
|
|
159
155
|
unrecognizedObjectKeys: "strip",
|
|
@@ -212,7 +208,7 @@ class SecretsClient {
|
|
|
212
208
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/secrets/${core.url.encodePathParam(secret_id)}`),
|
|
213
209
|
method: "GET",
|
|
214
210
|
headers: _headers,
|
|
215
|
-
|
|
211
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
216
212
|
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
213
|
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,
|
|
218
214
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -267,7 +263,7 @@ class SecretsClient {
|
|
|
267
263
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/secrets/${core.url.encodePathParam(secret_id)}`),
|
|
268
264
|
method: "DELETE",
|
|
269
265
|
headers: _headers,
|
|
270
|
-
|
|
266
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
271
267
|
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,
|
|
272
268
|
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,
|
|
273
269
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -319,7 +315,7 @@ class SecretsClient {
|
|
|
319
315
|
method: "PATCH",
|
|
320
316
|
headers: _headers,
|
|
321
317
|
contentType: "application/json",
|
|
322
|
-
|
|
318
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
323
319
|
requestType: "json",
|
|
324
320
|
body: Object.assign(Object.assign({}, serializers.conversationalAi.PatchWorkspaceSecretRequest.jsonOrThrow(request, {
|
|
325
321
|
unrecognizedObjectKeys: "strip",
|
|
@@ -388,11 +384,7 @@ class SecretsClient {
|
|
|
388
384
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/secrets/${core.url.encodePathParam(secret_id)}/dependencies/${core.url.encodePathParam(serializers.SecretDependencyResourceType.jsonOrThrow(resource_type))}`),
|
|
389
385
|
method: "GET",
|
|
390
386
|
headers: _headers,
|
|
391
|
-
|
|
392
|
-
.queryBuilder()
|
|
393
|
-
.addMany(_queryParams)
|
|
394
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
395
|
-
.build(),
|
|
387
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
396
388
|
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,
|
|
397
389
|
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,
|
|
398
390
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -77,7 +77,7 @@ class SettingsClient {
|
|
|
77
77
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/settings"),
|
|
78
78
|
method: "GET",
|
|
79
79
|
headers: _headers,
|
|
80
|
-
|
|
80
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
81
81
|
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,
|
|
82
82
|
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,
|
|
83
83
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -133,7 +133,7 @@ class SettingsClient {
|
|
|
133
133
|
method: "PATCH",
|
|
134
134
|
headers: _headers,
|
|
135
135
|
contentType: "application/json",
|
|
136
|
-
|
|
136
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
137
137
|
requestType: "json",
|
|
138
138
|
body: serializers.conversationalAi.PatchConvAiSettingsRequest.jsonOrThrow(request, {
|
|
139
139
|
unrecognizedObjectKeys: "strip",
|
|
@@ -83,7 +83,7 @@ class SipTrunkClient {
|
|
|
83
83
|
method: "POST",
|
|
84
84
|
headers: _headers,
|
|
85
85
|
contentType: "application/json",
|
|
86
|
-
|
|
86
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
87
87
|
requestType: "json",
|
|
88
88
|
body: serializers.conversationalAi.BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
89
89
|
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,
|
|
@@ -92,7 +92,7 @@ class TestsClient {
|
|
|
92
92
|
method: "POST",
|
|
93
93
|
headers: _headers,
|
|
94
94
|
contentType: "application/json",
|
|
95
|
-
|
|
95
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
96
96
|
requestType: "json",
|
|
97
97
|
body: serializers.conversationalAi.TestsCreateRequestBody.jsonOrThrow(request, {
|
|
98
98
|
unrecognizedObjectKeys: "strip",
|
|
@@ -154,7 +154,7 @@ class TestsClient {
|
|
|
154
154
|
method: "POST",
|
|
155
155
|
headers: _headers,
|
|
156
156
|
contentType: "application/json",
|
|
157
|
-
|
|
157
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
158
158
|
requestType: "json",
|
|
159
159
|
body: serializers.conversationalAi.BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
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,
|
|
@@ -203,7 +203,7 @@ class TestsClient {
|
|
|
203
203
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/agent-testing/${core.url.encodePathParam(test_id)}`),
|
|
204
204
|
method: "GET",
|
|
205
205
|
headers: _headers,
|
|
206
|
-
|
|
206
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
207
207
|
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,
|
|
208
208
|
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,
|
|
209
209
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -263,7 +263,7 @@ class TestsClient {
|
|
|
263
263
|
method: "PUT",
|
|
264
264
|
headers: _headers,
|
|
265
265
|
contentType: "application/json",
|
|
266
|
-
|
|
266
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
267
267
|
requestType: "json",
|
|
268
268
|
body: serializers.conversationalAi.TestsUpdateRequestBody.jsonOrThrow(request, {
|
|
269
269
|
unrecognizedObjectKeys: "strip",
|
|
@@ -322,7 +322,7 @@ class TestsClient {
|
|
|
322
322
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/agent-testing/${core.url.encodePathParam(test_id)}`),
|
|
323
323
|
method: "DELETE",
|
|
324
324
|
headers: _headers,
|
|
325
|
-
|
|
325
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
326
326
|
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,
|
|
327
327
|
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,
|
|
328
328
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -372,7 +372,7 @@ class TestsClient {
|
|
|
372
372
|
method: "POST",
|
|
373
373
|
headers: _headers,
|
|
374
374
|
contentType: "application/json",
|
|
375
|
-
|
|
375
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
376
376
|
requestType: "json",
|
|
377
377
|
body: serializers.conversationalAi.ListTestsByIdsRequestModel.jsonOrThrow(request, {
|
|
378
378
|
unrecognizedObjectKeys: "strip",
|
|
@@ -461,11 +461,7 @@ class TestsClient {
|
|
|
461
461
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/agent-testing"),
|
|
462
462
|
method: "GET",
|
|
463
463
|
headers: _headers,
|
|
464
|
-
|
|
465
|
-
.queryBuilder()
|
|
466
|
-
.addMany(_queryParams)
|
|
467
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
468
|
-
.build(),
|
|
464
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
469
465
|
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,
|
|
470
466
|
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,
|
|
471
467
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js
CHANGED
|
@@ -81,7 +81,7 @@ class FoldersClient {
|
|
|
81
81
|
method: "POST",
|
|
82
82
|
headers: _headers,
|
|
83
83
|
contentType: "application/json",
|
|
84
|
-
|
|
84
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
85
85
|
requestType: "json",
|
|
86
86
|
body: serializers.conversationalAi.tests.BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
87
87
|
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,
|
|
@@ -138,7 +138,7 @@ class FoldersClient {
|
|
|
138
138
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/agent-testing/folders/${core.url.encodePathParam(folder_id)}`),
|
|
139
139
|
method: "GET",
|
|
140
140
|
headers: _headers,
|
|
141
|
-
|
|
141
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
142
142
|
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,
|
|
143
143
|
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,
|
|
144
144
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -200,11 +200,7 @@ class FoldersClient {
|
|
|
200
200
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/agent-testing/folders/${core.url.encodePathParam(folder_id)}`),
|
|
201
201
|
method: "DELETE",
|
|
202
202
|
headers: _headers,
|
|
203
|
-
|
|
204
|
-
.queryBuilder()
|
|
205
|
-
.addMany(_queryParams)
|
|
206
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
207
|
-
.build(),
|
|
203
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
208
204
|
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,
|
|
209
205
|
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,
|
|
210
206
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -255,7 +251,7 @@ class FoldersClient {
|
|
|
255
251
|
method: "PATCH",
|
|
256
252
|
headers: _headers,
|
|
257
253
|
contentType: "application/json",
|
|
258
|
-
|
|
254
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
259
255
|
requestType: "json",
|
|
260
256
|
body: serializers.conversationalAi.tests.BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
261
257
|
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,
|
package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js
CHANGED
|
@@ -88,11 +88,7 @@ class InvocationsClient {
|
|
|
88
88
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/test-invocations"),
|
|
89
89
|
method: "GET",
|
|
90
90
|
headers: _headers,
|
|
91
|
-
|
|
92
|
-
.queryBuilder()
|
|
93
|
-
.addMany(_queryParams)
|
|
94
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
95
|
-
.build(),
|
|
91
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
96
92
|
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,
|
|
97
93
|
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,
|
|
98
94
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -147,7 +143,7 @@ class InvocationsClient {
|
|
|
147
143
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/test-invocations/${core.url.encodePathParam(test_invocation_id)}`),
|
|
148
144
|
method: "GET",
|
|
149
145
|
headers: _headers,
|
|
150
|
-
|
|
146
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
151
147
|
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,
|
|
152
148
|
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,
|
|
153
149
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -207,7 +203,7 @@ class InvocationsClient {
|
|
|
207
203
|
method: "POST",
|
|
208
204
|
headers: _headers,
|
|
209
205
|
contentType: "application/json",
|
|
210
|
-
|
|
206
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
211
207
|
requestType: "json",
|
|
212
208
|
body: serializers.conversationalAi.tests.ResubmitTestsRequestModel.jsonOrThrow(request, {
|
|
213
209
|
unrecognizedObjectKeys: "strip",
|