@elevenlabs/elevenlabs-js 2.53.1 → 2.55.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 +14 -2
- package/BaseClient.js +2 -2
- package/Client.d.ts +2 -2
- package/Client.js +5 -5
- 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.d.ts +6 -2
- package/api/resources/conversationalAi/resources/agents/client/Client.js +15 -27
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +46 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +174 -13
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.d.ts +13 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +1 -0
- 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/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- 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/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/api/resources/textToSoundEffects/client/Client.js +1 -5
- package/api/resources/textToSpeech/client/Client.js +4 -20
- package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
- 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/client/Client.d.ts +18 -1
- package/api/resources/workspace/client/Client.js +99 -0
- package/api/resources/workspace/client/index.d.ts +1 -1
- package/api/resources/workspace/client/index.js +15 -0
- package/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +8 -0
- package/api/resources/workspace/client/requests/index.d.ts +1 -0
- package/api/resources/workspace/client/requests/index.js +2 -0
- 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/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +4 -1
- 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/AgentBranchSummary.d.ts +2 -0
- 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/ApiIntegrationOAuth2AuthCodeResponse.d.ts +3 -6
- package/api/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +3 -6
- package/api/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/api/types/AudioFilterId.d.ts +7 -0
- package/api/types/AudioFilterId.js +10 -0
- package/api/types/AuthConnectionStatus.d.ts +15 -0
- package/api/types/AuthConnectionStatus.js +18 -0
- package/api/types/BaseTurnConfig.d.ts +4 -0
- package/api/types/BasicAuthResponse.d.ts +3 -0
- package/api/types/BearerAuthResponse.d.ts +3 -0
- package/api/types/CaptionStyleModel.d.ts +4 -0
- package/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +6 -0
- package/api/types/CaptionStyleSectionAnimationModelEnterType.js +6 -0
- package/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +6 -0
- package/api/types/CaptionStyleSectionAnimationModelExitType.js +6 -0
- package/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +6 -0
- package/api/types/CaptionStyleWordAnimationModelEnterType.js +6 -0
- package/api/types/CaptionStyleWordAnimationModelExitType.d.ts +6 -0
- package/api/types/CaptionStyleWordAnimationModelExitType.js +6 -0
- package/api/types/CharacterAge.d.ts +6 -0
- package/api/types/CharacterAge.js +9 -0
- package/api/types/CharacterGender.d.ts +6 -0
- package/api/types/CharacterGender.js +9 -0
- package/api/types/CharacterMetadataResponseModel.d.ts +8 -0
- package/api/types/CharacterResponseModel.d.ts +6 -0
- package/api/types/CompositionPlanChunksItem.d.ts +1 -1
- package/api/types/ConvAiWebhooks.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/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/api/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +3 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
- package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
- package/api/types/ConversationHistoryTranscriptResponseModel.d.ts +3 -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/ConversationReasoningModel.d.ts +4 -0
- package/api/types/ConversationSimulationSpecification.d.ts +1 -1
- package/api/types/ConversationSummaryResponseModel.d.ts +2 -0
- package/api/types/ConversationUserResponseModel.d.ts +3 -0
- package/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/api/types/CreateAgentProcedureParams.d.ts +3 -0
- package/api/types/CreateExotelPhoneNumberRequest.d.ts +2 -0
- package/api/types/CreateResponseUnitTestRequest.d.ts +1 -1
- package/api/types/CreateSimulationTestRequest.d.ts +4 -2
- package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
- package/api/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/api/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
- package/api/types/CriteriaScoringMode.d.ts +5 -0
- package/api/types/CriteriaScoringMode.js +8 -0
- package/api/types/CustomGuardrailConfig.d.ts +1 -1
- package/api/types/CustomHeaderAuthResponse.d.ts +3 -0
- package/api/types/DeleteAgentProcedureParams.d.ts +3 -0
- package/api/types/FineTuningResponse.d.ts +2 -2
- package/api/types/FrustratedConversationRef.d.ts +9 -0
- package/api/types/FrustratedConversationRefOverallLabel.d.ts +6 -0
- package/api/types/FrustratedConversationRefOverallLabel.js +9 -0
- 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/ListAgentProceduresParams.d.ts +3 -0
- package/api/types/ListAgentProceduresParams.js +3 -0
- package/api/types/ListAgentReferencesParams.d.ts +3 -0
- package/api/types/ListAgentReferencesParams.js +3 -0
- package/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/api/types/LiteralJsonSchemaPropertyType.d.ts +1 -7
- package/api/types/LiteralJsonSchemaPropertyType.js +0 -7
- package/api/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -7
- package/api/types/LlmLiteralJsonSchemaPropertyType.js +0 -7
- 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/MergePreviewResponseModel.d.ts +33 -0
- package/api/types/MergePreviewResponseModel.js +3 -0
- package/api/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +13 -0
- package/api/types/MergePreviewResponseModelPhoneNumbersItem.js +3 -0
- package/api/types/MtlsAuthResponse.d.ts +3 -0
- package/api/types/MusicAllowedOutputFormats.d.ts +2 -0
- package/api/types/MusicAllowedOutputFormats.js +3 -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/MusicOutputFormat.js +3 -0
- package/api/types/OAuth2ClientCredsResponse.d.ts +3 -0
- package/api/types/OAuth2JwtResponse.d.ts +3 -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/PermissionType.d.ts +2 -0
- package/api/types/PermissionType.js +2 -0
- package/api/types/PhoneNumberTransfer.d.ts +2 -0
- package/api/types/PrivateKeyJwtResponse.d.ts +3 -0
- package/api/types/ProcedureAtVersionInput.d.ts +1 -1
- package/api/types/ProcedureAtVersionOutput.d.ts +1 -1
- package/api/types/ProjectExtendedResponse.d.ts +1 -1
- package/api/types/ProjectResponse.d.ts +1 -1
- package/api/types/PromptAgentApiModelInput.d.ts +2 -0
- package/api/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
- package/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
- package/api/types/PromptEvaluationCriteria.d.ts +6 -0
- package/api/types/ResponseUnitTestModel.d.ts +1 -1
- package/api/types/ReviewResponseModel.d.ts +1 -1
- package/api/types/ScimGroupResponseModel.d.ts +8 -0
- package/api/types/ScimGroupResponseModel.js +3 -0
- package/api/types/ScopedAnalysisResult.d.ts +1 -0
- package/api/types/SentimentAggregate.d.ts +8 -0
- package/api/types/SentimentAggregate.js +3 -0
- package/api/types/SimulationTestModel.d.ts +4 -2
- package/api/types/SlackBotAuthResponse.d.ts +3 -0
- 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/TopicDiscoverySettings.js +3 -0
- package/api/types/TurnConfig.d.ts +4 -0
- package/api/types/TurnConfigWorkflowOverride.d.ts +4 -0
- package/api/types/UpdateAgentProcedureParams.d.ts +3 -0
- package/api/types/UpdateAgentProcedureParams.js +3 -0
- package/api/types/UpdateBearerAuthRequest.d.ts +4 -0
- package/api/types/UpdateBearerAuthRequest.js +3 -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/UrlSecretAuthResponse.d.ts +3 -0
- package/api/types/UuiTransferConfig.d.ts +18 -0
- package/api/types/UuiTransferConfig.js +3 -0
- package/api/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +6 -0
- package/api/types/UuiTransferConfigProtocolDiscriminatorMode.js +9 -0
- package/api/types/WebhookEventType.d.ts +2 -0
- package/api/types/WebhookEventType.js +2 -0
- package/api/types/WebhookHmacSettings.d.ts +1 -1
- package/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/api/types/WhatsAppAuthResponse.d.ts +3 -0
- package/api/types/WorkflowOverrideAgentNodeModelInput.d.ts +4 -4
- package/api/types/WorkflowOverrideAgentNodeModelOutput.d.ts +4 -4
- package/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
- package/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
- package/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -0
- package/api/types/WorkspaceGroupPermission.d.ts +2 -0
- package/api/types/WorkspaceGroupPermission.js +2 -0
- package/api/types/WorkspaceGroupResponseModel.d.ts +2 -0
- package/api/types/index.d.ts +35 -10
- package/api/types/index.js +35 -10
- 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.d.ts +2 -2
- package/dist/Client.js +5 -5
- 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.d.ts +6 -2
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +15 -27
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +46 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +174 -13
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +1 -0
- 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/TopicsGetRequest.js +3 -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/index.d.ts +1 -0
- package/dist/api/resources/index.js +1 -0
- 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/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js +3 -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/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToSoundEffects/client/Client.js +1 -5
- package/dist/api/resources/textToSpeech/client/Client.js +4 -20
- package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
- 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/client/Client.d.ts +18 -1
- package/dist/api/resources/workspace/client/Client.js +99 -0
- package/dist/api/resources/workspace/client/index.d.ts +1 -1
- package/dist/api/resources/workspace/client/index.js +15 -0
- package/dist/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +8 -0
- package/dist/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +3 -0
- package/dist/api/resources/workspace/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workspace/client/requests/index.js +2 -0
- 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/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +4 -1
- 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/AgentBranchSummary.d.ts +2 -0
- 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/ApiIntegrationOAuth2AuthCodeResponse.d.ts +3 -6
- package/dist/api/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +3 -6
- package/dist/api/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/dist/api/types/AudioFilterId.d.ts +7 -0
- package/dist/api/types/AudioFilterId.js +10 -0
- package/dist/api/types/AuthConnectionStatus.d.ts +15 -0
- package/dist/api/types/AuthConnectionStatus.js +18 -0
- package/dist/api/types/BaseTurnConfig.d.ts +4 -0
- package/dist/api/types/BasicAuthResponse.d.ts +3 -0
- package/dist/api/types/BearerAuthResponse.d.ts +3 -0
- package/dist/api/types/CaptionStyleModel.d.ts +4 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +6 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.js +6 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +6 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelExitType.js +6 -0
- package/dist/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +6 -0
- package/dist/api/types/CaptionStyleWordAnimationModelEnterType.js +6 -0
- package/dist/api/types/CaptionStyleWordAnimationModelExitType.d.ts +6 -0
- package/dist/api/types/CaptionStyleWordAnimationModelExitType.js +6 -0
- package/dist/api/types/CharacterAge.d.ts +6 -0
- package/dist/api/types/CharacterAge.js +9 -0
- package/dist/api/types/CharacterGender.d.ts +6 -0
- package/dist/api/types/CharacterGender.js +9 -0
- package/dist/api/types/CharacterMetadataResponseModel.d.ts +8 -0
- package/dist/api/types/CharacterMetadataResponseModel.js +3 -0
- package/dist/api/types/CharacterResponseModel.d.ts +6 -0
- package/dist/api/types/CharacterResponseModel.js +3 -0
- package/dist/api/types/CompositionPlanChunksItem.d.ts +1 -1
- package/dist/api/types/ConvAiWebhooks.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/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +3 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
- package/dist/api/types/ConversationHistoryTranscriptResponseModel.d.ts +3 -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/ConversationReasoningModel.d.ts +4 -0
- package/dist/api/types/ConversationReasoningModel.js +3 -0
- package/dist/api/types/ConversationSimulationSpecification.d.ts +1 -1
- package/dist/api/types/ConversationSummaryResponseModel.d.ts +2 -0
- package/dist/api/types/ConversationUserResponseModel.d.ts +3 -0
- package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/dist/api/types/CreateAgentProcedureParams.d.ts +3 -0
- package/dist/api/types/CreateAgentProcedureParams.js +3 -0
- package/dist/api/types/CreateExotelPhoneNumberRequest.d.ts +2 -0
- package/dist/api/types/CreateResponseUnitTestRequest.d.ts +1 -1
- package/dist/api/types/CreateSimulationTestRequest.d.ts +4 -2
- package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
- package/dist/api/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/api/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
- package/dist/api/types/CriteriaScoringMode.d.ts +5 -0
- package/dist/api/types/CriteriaScoringMode.js +8 -0
- package/dist/api/types/CustomGuardrailConfig.d.ts +1 -1
- package/dist/api/types/CustomHeaderAuthResponse.d.ts +3 -0
- package/dist/api/types/DeleteAgentProcedureParams.d.ts +3 -0
- package/dist/api/types/DeleteAgentProcedureParams.js +3 -0
- package/dist/api/types/FineTuningResponse.d.ts +2 -2
- package/dist/api/types/FrustratedConversationRef.d.ts +9 -0
- package/dist/api/types/FrustratedConversationRef.js +3 -0
- package/dist/api/types/FrustratedConversationRefOverallLabel.d.ts +6 -0
- package/dist/api/types/FrustratedConversationRefOverallLabel.js +9 -0
- package/dist/api/types/{GenerationChunk.d.ts → GenerationChunkInput.d.ts} +3 -3
- package/dist/api/types/GenerationChunkInput.js +3 -0
- 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/GenerationChunkOutput.js +3 -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/ListAgentProceduresParams.d.ts +3 -0
- package/dist/api/types/ListAgentProceduresParams.js +3 -0
- package/dist/api/types/ListAgentReferencesParams.d.ts +3 -0
- package/dist/api/types/ListAgentReferencesParams.js +3 -0
- package/dist/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/dist/api/types/LiteralJsonSchemaPropertyType.d.ts +1 -7
- package/dist/api/types/LiteralJsonSchemaPropertyType.js +0 -7
- package/dist/api/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -7
- package/dist/api/types/LlmLiteralJsonSchemaPropertyType.js +0 -7
- 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/MergePreviewResponseModel.d.ts +33 -0
- package/dist/api/types/MergePreviewResponseModel.js +3 -0
- package/dist/api/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +13 -0
- package/dist/api/types/MergePreviewResponseModelPhoneNumbersItem.js +3 -0
- package/dist/api/types/MtlsAuthResponse.d.ts +3 -0
- package/dist/api/types/MusicAllowedOutputFormats.d.ts +2 -0
- package/dist/api/types/MusicAllowedOutputFormats.js +3 -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/OAuth2ClientCredsResponse.d.ts +3 -0
- package/dist/api/types/OAuth2JwtResponse.d.ts +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/PermissionType.d.ts +2 -0
- package/dist/api/types/PermissionType.js +2 -0
- package/dist/api/types/PhoneNumberTransfer.d.ts +2 -0
- package/dist/api/types/PrivateKeyJwtResponse.d.ts +3 -0
- package/dist/api/types/ProcedureAtVersionInput.d.ts +1 -1
- package/dist/api/types/ProcedureAtVersionOutput.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/PromptAgentApiModelInput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
- package/dist/api/types/PromptEvaluationCriteria.d.ts +6 -0
- package/dist/api/types/ResponseUnitTestModel.d.ts +1 -1
- package/dist/api/types/ReviewResponseModel.d.ts +1 -1
- package/dist/api/types/ScimGroupResponseModel.d.ts +8 -0
- package/dist/api/types/ScimGroupResponseModel.js +3 -0
- package/dist/api/types/ScopedAnalysisResult.d.ts +1 -0
- package/dist/api/types/SentimentAggregate.d.ts +8 -0
- package/dist/api/types/SentimentAggregate.js +3 -0
- package/dist/api/types/SimulationTestModel.d.ts +4 -2
- package/dist/api/types/SlackBotAuthResponse.d.ts +3 -0
- 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 +4 -0
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +4 -0
- package/dist/api/types/UpdateAgentProcedureParams.d.ts +3 -0
- package/dist/api/types/UpdateAgentProcedureParams.js +3 -0
- package/dist/api/types/UpdateBearerAuthRequest.d.ts +4 -0
- package/dist/api/types/UpdateBearerAuthRequest.js +3 -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/UrlSecretAuthResponse.d.ts +3 -0
- package/dist/api/types/UuiTransferConfig.d.ts +18 -0
- package/dist/api/types/UuiTransferConfig.js +3 -0
- package/dist/api/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +6 -0
- package/dist/api/types/UuiTransferConfigProtocolDiscriminatorMode.js +9 -0
- package/dist/api/types/WebhookEventType.d.ts +2 -0
- package/dist/api/types/WebhookEventType.js +2 -0
- package/dist/api/types/WebhookHmacSettings.d.ts +1 -1
- package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/dist/api/types/WhatsAppAuthResponse.d.ts +3 -0
- package/dist/api/types/WorkflowOverrideAgentNodeModelInput.d.ts +4 -4
- package/dist/api/types/WorkflowOverrideAgentNodeModelOutput.d.ts +4 -4
- package/dist/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
- package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -0
- package/dist/api/types/WorkspaceGroupPermission.d.ts +2 -0
- package/dist/api/types/WorkspaceGroupPermission.js +2 -0
- package/dist/api/types/WorkspaceGroupResponseModel.d.ts +2 -0
- package/dist/api/types/index.d.ts +35 -10
- package/dist/api/types/index.js +35 -10
- 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/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +1 -0
- 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/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js +39 -0
- 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/resources/workspace/client/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/client/index.js +17 -0
- package/dist/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +9 -0
- package/dist/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +41 -0
- package/dist/serialization/resources/workspace/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/client/requests/index.js +5 -0
- package/dist/serialization/resources/workspace/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/index.js +1 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +5 -1
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +2 -0
- package/dist/serialization/types/AgentBranchSummary.d.ts +1 -0
- package/dist/serialization/types/AgentBranchSummary.js +1 -0
- 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/ApiIntegrationOAuth2AuthCodeResponse.d.ts +4 -4
- package/dist/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.js +4 -4
- package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +4 -4
- package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponse.js +4 -4
- package/dist/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/dist/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
- package/dist/serialization/types/AudioFilterId.d.ts +7 -0
- package/{serialization/types/OAuthConnectionStatus.js → dist/serialization/types/AudioFilterId.js} +2 -2
- package/dist/serialization/types/AuthConnectionStatus.d.ts +7 -0
- package/dist/serialization/types/AuthConnectionStatus.js +39 -0
- package/dist/serialization/types/BaseTurnConfig.d.ts +2 -0
- package/dist/serialization/types/BaseTurnConfig.js +2 -0
- package/dist/serialization/types/BasicAuthResponse.d.ts +4 -0
- package/dist/serialization/types/BasicAuthResponse.js +4 -0
- package/dist/serialization/types/BearerAuthResponse.d.ts +4 -0
- package/dist/serialization/types/BearerAuthResponse.js +4 -0
- package/dist/serialization/types/CaptionStyleModel.d.ts +4 -0
- package/dist/serialization/types/CaptionStyleModel.js +4 -0
- package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
- package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +11 -1
- package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
- package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.js +11 -1
- package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
- package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.js +11 -1
- package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
- package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.js +11 -1
- package/dist/serialization/types/CharacterAge.d.ts +7 -0
- package/dist/serialization/types/{AudioFormat.js → CharacterAge.js} +2 -2
- package/dist/serialization/types/CharacterGender.d.ts +7 -0
- package/{serialization/types/AudioFormat.js → dist/serialization/types/CharacterGender.js} +2 -2
- package/dist/serialization/types/CharacterMetadataResponseModel.d.ts +15 -0
- package/dist/serialization/types/CharacterMetadataResponseModel.js +47 -0
- package/dist/serialization/types/CharacterResponseModel.d.ts +12 -0
- package/dist/serialization/types/CharacterResponseModel.js +44 -0
- 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/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +4 -0
- package/dist/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.js +4 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +3 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +3 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +3 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +3 -0
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +4 -0
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.js +4 -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/{OAuthConnectionStatus.js → ConversationProduct.js} +2 -2
- package/dist/serialization/types/ConversationReasoningModel.d.ts +10 -0
- package/dist/serialization/types/{NoCoachingSettings.js → ConversationReasoningModel.js} +4 -4
- package/dist/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
- package/dist/serialization/types/ConversationSimulationSpecification.js +1 -1
- package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +3 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.js +3 -0
- package/dist/serialization/types/ConversationUserResponseModel.d.ts +4 -0
- package/dist/serialization/types/ConversationUserResponseModel.js +4 -0
- 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/CreateAgentProcedureParams.d.ts +9 -0
- package/dist/serialization/types/CreateAgentProcedureParams.js +41 -0
- package/dist/serialization/types/CreateExotelPhoneNumberRequest.d.ts +1 -0
- package/dist/serialization/types/CreateExotelPhoneNumberRequest.js +1 -0
- 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/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
- package/dist/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/serialization/types/CreateToolCallUnitTestRequest.js +1 -1
- package/dist/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +1 -0
- package/dist/serialization/types/CreateTwilioPhoneNumberRequest.js +1 -0
- package/dist/serialization/types/CriteriaScoringMode.d.ts +7 -0
- package/dist/serialization/types/CriteriaScoringMode.js +39 -0
- package/dist/serialization/types/CustomHeaderAuthResponse.d.ts +4 -0
- package/dist/serialization/types/CustomHeaderAuthResponse.js +4 -0
- package/dist/serialization/types/DeleteAgentProcedureParams.d.ts +9 -0
- package/dist/serialization/types/DeleteAgentProcedureParams.js +41 -0
- package/dist/serialization/types/FineTuningResponse.d.ts +2 -2
- package/dist/serialization/types/FineTuningResponse.js +2 -2
- package/dist/serialization/types/FrustratedConversationRef.d.ts +15 -0
- package/dist/serialization/types/FrustratedConversationRef.js +47 -0
- package/dist/serialization/types/FrustratedConversationRefOverallLabel.d.ts +7 -0
- package/dist/serialization/types/FrustratedConversationRefOverallLabel.js +39 -0
- 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/{GenerationChunkContextAdherence.js → GenerationChunkInputContextAdherence.js} +2 -2
- 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/ListAgentProceduresParams.d.ts +9 -0
- package/dist/serialization/types/{CodeToolContextVariable.js → ListAgentProceduresParams.js} +3 -4
- package/dist/serialization/types/ListAgentReferencesParams.d.ts +9 -0
- package/{serialization/types/CodeToolContextVariable.js → dist/serialization/types/ListAgentReferencesParams.js} +3 -4
- package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/dist/serialization/types/LiteralJsonSchemaPropertyType.d.ts +1 -1
- package/dist/serialization/types/LiteralJsonSchemaPropertyType.js +7 -1
- package/dist/serialization/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -1
- package/dist/serialization/types/LlmLiteralJsonSchemaPropertyType.js +7 -1
- 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/MergePreviewResponseModel.d.ts +30 -0
- package/dist/serialization/types/MergePreviewResponseModel.js +62 -0
- package/dist/serialization/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +19 -0
- package/dist/serialization/types/MergePreviewResponseModelPhoneNumbersItem.js +51 -0
- package/dist/serialization/types/MtlsAuthResponse.d.ts +4 -0
- package/dist/serialization/types/MtlsAuthResponse.js +4 -0
- 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/MusicOutputFormat.js +40 -0
- package/dist/serialization/types/OAuth2ClientCredsResponse.d.ts +4 -0
- package/dist/serialization/types/OAuth2ClientCredsResponse.js +4 -0
- package/dist/serialization/types/OAuth2JwtResponse.d.ts +4 -0
- package/dist/serialization/types/OAuth2JwtResponse.js +4 -0
- package/dist/serialization/types/{AudioFormat.d.ts → OpenAiAudioFormat.d.ts} +2 -2
- package/dist/serialization/types/OpenAiAudioFormat.js +39 -0
- 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/PermissionType.d.ts +1 -1
- package/dist/serialization/types/PermissionType.js +2 -0
- package/dist/serialization/types/PhoneNumberTransfer.d.ts +2 -0
- package/dist/serialization/types/PhoneNumberTransfer.js +2 -0
- package/dist/serialization/types/PrivateKeyJwtResponse.d.ts +4 -0
- package/dist/serialization/types/PrivateKeyJwtResponse.js +4 -0
- package/dist/serialization/types/ProcedureAtVersionInput.d.ts +1 -1
- package/dist/serialization/types/ProcedureAtVersionInput.js +1 -1
- package/dist/serialization/types/ProcedureAtVersionOutput.d.ts +1 -1
- package/dist/serialization/types/ProcedureAtVersionOutput.js +1 -1
- 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/PromptAgentApiModelInput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelInput.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
- package/dist/serialization/types/PromptEvaluationCriteria.d.ts +4 -0
- package/dist/serialization/types/PromptEvaluationCriteria.js +4 -0
- 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/ScimGroupResponseModel.d.ts +14 -0
- package/dist/serialization/types/ScimGroupResponseModel.js +46 -0
- package/dist/serialization/types/ScopedAnalysisResult.d.ts +1 -0
- package/dist/serialization/types/ScopedAnalysisResult.js +1 -0
- package/dist/serialization/types/SentimentAggregate.d.ts +14 -0
- package/dist/serialization/types/SentimentAggregate.js +46 -0
- package/dist/serialization/types/SimulationTestModel.d.ts +2 -1
- package/dist/serialization/types/SimulationTestModel.js +2 -1
- package/dist/serialization/types/SlackBotAuthResponse.d.ts +4 -0
- package/dist/serialization/types/SlackBotAuthResponse.js +4 -0
- 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/dist/serialization/types/TopicDiscoverySettings.js +39 -0
- package/dist/serialization/types/TurnConfig.d.ts +2 -0
- package/dist/serialization/types/TurnConfig.js +2 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.js +2 -0
- package/dist/serialization/types/UpdateAgentProcedureParams.d.ts +9 -0
- package/dist/serialization/types/UpdateAgentProcedureParams.js +41 -0
- package/dist/serialization/types/UpdateBearerAuthRequest.d.ts +10 -0
- package/{serialization/types/CodeToolAllowedDomain.js → dist/serialization/types/UpdateBearerAuthRequest.js} +4 -4
- 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/UrlSecretAuthResponse.d.ts +4 -0
- package/dist/serialization/types/UrlSecretAuthResponse.js +4 -0
- package/dist/serialization/types/UuiTransferConfig.d.ts +12 -0
- package/dist/serialization/types/UuiTransferConfig.js +44 -0
- package/dist/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +7 -0
- package/dist/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.js +39 -0
- package/dist/serialization/types/WebhookEventType.d.ts +1 -1
- package/dist/serialization/types/WebhookEventType.js +7 -1
- package/dist/serialization/types/WebhookHmacSettings.d.ts +1 -1
- package/dist/serialization/types/WebhookHmacSettings.js +1 -1
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -0
- package/dist/serialization/types/WhatsAppAuthResponse.d.ts +4 -0
- package/dist/serialization/types/WhatsAppAuthResponse.js +4 -0
- package/dist/serialization/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -2
- package/dist/serialization/types/WorkflowOverrideAgentNodeModelInput.js +2 -2
- package/dist/serialization/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -2
- package/dist/serialization/types/WorkflowOverrideAgentNodeModelOutput.js +2 -2
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
- package/dist/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -0
- package/dist/serialization/types/WorkspaceApiKeyResponseModel.js +3 -0
- package/dist/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
- package/dist/serialization/types/WorkspaceGroupPermission.js +2 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +3 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.js +3 -0
- package/dist/serialization/types/index.d.ts +35 -10
- package/dist/serialization/types/index.js +35 -10
- 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 +335 -29
- 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/index.d.ts +1 -0
- package/serialization/resources/index.js +1 -0
- 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/resources/workspace/client/index.d.ts +1 -0
- package/serialization/resources/workspace/client/index.js +17 -0
- package/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +9 -0
- package/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +41 -0
- package/serialization/resources/workspace/client/requests/index.d.ts +1 -0
- package/serialization/resources/workspace/client/requests/index.js +5 -0
- package/serialization/resources/workspace/index.d.ts +1 -0
- package/serialization/resources/workspace/index.js +1 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +5 -1
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +2 -0
- package/serialization/types/AgentBranchSummary.d.ts +1 -0
- package/serialization/types/AgentBranchSummary.js +1 -0
- 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/ApiIntegrationOAuth2AuthCodeResponse.d.ts +4 -4
- package/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.js +4 -4
- package/serialization/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +4 -4
- package/serialization/types/ApiIntegrationOAuth2CustomAppResponse.js +4 -4
- package/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
- package/serialization/types/AudioFilterId.d.ts +7 -0
- package/serialization/types/AudioFilterId.js +39 -0
- package/serialization/types/AuthConnectionStatus.d.ts +7 -0
- package/serialization/types/AuthConnectionStatus.js +39 -0
- package/serialization/types/BaseTurnConfig.d.ts +2 -0
- package/serialization/types/BaseTurnConfig.js +2 -0
- package/serialization/types/BasicAuthResponse.d.ts +4 -0
- package/serialization/types/BasicAuthResponse.js +4 -0
- package/serialization/types/BearerAuthResponse.d.ts +4 -0
- package/serialization/types/BearerAuthResponse.js +4 -0
- package/serialization/types/CaptionStyleModel.d.ts +4 -0
- package/serialization/types/CaptionStyleModel.js +4 -0
- package/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
- package/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +11 -1
- package/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
- package/serialization/types/CaptionStyleSectionAnimationModelExitType.js +11 -1
- package/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
- package/serialization/types/CaptionStyleWordAnimationModelEnterType.js +11 -1
- package/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
- package/serialization/types/CaptionStyleWordAnimationModelExitType.js +11 -1
- package/serialization/types/CharacterAge.d.ts +7 -0
- package/serialization/types/CharacterAge.js +39 -0
- package/serialization/types/CharacterGender.d.ts +7 -0
- package/serialization/types/CharacterGender.js +39 -0
- package/serialization/types/CharacterMetadataResponseModel.d.ts +15 -0
- package/serialization/types/CharacterMetadataResponseModel.js +47 -0
- package/serialization/types/CharacterResponseModel.d.ts +12 -0
- package/serialization/types/CharacterResponseModel.js +44 -0
- 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/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
- package/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +4 -0
- package/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.js +4 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +3 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +3 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +3 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +3 -0
- package/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +4 -0
- package/serialization/types/ConversationHistoryTranscriptResponseModel.js +4 -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/ConversationReasoningModel.d.ts +10 -0
- package/{dist/serialization/types/CoachedAgentSettings.js → serialization/types/ConversationReasoningModel.js} +4 -4
- package/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
- package/serialization/types/ConversationSimulationSpecification.js +1 -1
- package/serialization/types/ConversationSummaryResponseModel.d.ts +3 -0
- package/serialization/types/ConversationSummaryResponseModel.js +3 -0
- package/serialization/types/ConversationUserResponseModel.d.ts +4 -0
- package/serialization/types/ConversationUserResponseModel.js +4 -0
- 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/CreateAgentProcedureParams.d.ts +9 -0
- package/serialization/types/CreateAgentProcedureParams.js +41 -0
- package/serialization/types/CreateExotelPhoneNumberRequest.d.ts +1 -0
- package/serialization/types/CreateExotelPhoneNumberRequest.js +1 -0
- 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/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
- package/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/serialization/types/CreateToolCallUnitTestRequest.js +1 -1
- package/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +1 -0
- package/serialization/types/CreateTwilioPhoneNumberRequest.js +1 -0
- package/serialization/types/CriteriaScoringMode.d.ts +7 -0
- package/serialization/types/CriteriaScoringMode.js +39 -0
- package/serialization/types/CustomHeaderAuthResponse.d.ts +4 -0
- package/serialization/types/CustomHeaderAuthResponse.js +4 -0
- package/serialization/types/DeleteAgentProcedureParams.d.ts +9 -0
- package/serialization/types/DeleteAgentProcedureParams.js +41 -0
- package/serialization/types/FineTuningResponse.d.ts +2 -2
- package/serialization/types/FineTuningResponse.js +2 -2
- package/serialization/types/FrustratedConversationRef.d.ts +15 -0
- package/serialization/types/FrustratedConversationRef.js +47 -0
- package/serialization/types/FrustratedConversationRefOverallLabel.d.ts +7 -0
- package/serialization/types/FrustratedConversationRefOverallLabel.js +39 -0
- 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/ListAgentProceduresParams.d.ts +9 -0
- package/serialization/types/ListAgentProceduresParams.js +41 -0
- package/serialization/types/ListAgentReferencesParams.d.ts +9 -0
- package/serialization/types/ListAgentReferencesParams.js +41 -0
- package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/serialization/types/LiteralJsonSchemaPropertyType.d.ts +1 -1
- package/serialization/types/LiteralJsonSchemaPropertyType.js +7 -1
- package/serialization/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -1
- package/serialization/types/LlmLiteralJsonSchemaPropertyType.js +7 -1
- 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/MergePreviewResponseModel.d.ts +30 -0
- package/serialization/types/MergePreviewResponseModel.js +62 -0
- package/serialization/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +19 -0
- package/serialization/types/MergePreviewResponseModelPhoneNumbersItem.js +51 -0
- package/serialization/types/MtlsAuthResponse.d.ts +4 -0
- package/serialization/types/MtlsAuthResponse.js +4 -0
- 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/serialization/types/MusicOutputFormat.js +40 -0
- package/serialization/types/OAuth2ClientCredsResponse.d.ts +4 -0
- package/serialization/types/OAuth2ClientCredsResponse.js +4 -0
- package/serialization/types/OAuth2JwtResponse.d.ts +4 -0
- package/serialization/types/OAuth2JwtResponse.js +4 -0
- 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/PermissionType.d.ts +1 -1
- package/serialization/types/PermissionType.js +2 -0
- package/serialization/types/PhoneNumberTransfer.d.ts +2 -0
- package/serialization/types/PhoneNumberTransfer.js +2 -0
- package/serialization/types/PrivateKeyJwtResponse.d.ts +4 -0
- package/serialization/types/PrivateKeyJwtResponse.js +4 -0
- package/serialization/types/ProcedureAtVersionInput.d.ts +1 -1
- package/serialization/types/ProcedureAtVersionInput.js +1 -1
- package/serialization/types/ProcedureAtVersionOutput.d.ts +1 -1
- package/serialization/types/ProcedureAtVersionOutput.js +1 -1
- 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/PromptAgentApiModelInput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelInput.js +1 -0
- package/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelOutput.js +1 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
- package/serialization/types/PromptEvaluationCriteria.d.ts +4 -0
- package/serialization/types/PromptEvaluationCriteria.js +4 -0
- 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/ScimGroupResponseModel.d.ts +14 -0
- package/serialization/types/ScimGroupResponseModel.js +46 -0
- package/serialization/types/ScopedAnalysisResult.d.ts +1 -0
- package/serialization/types/ScopedAnalysisResult.js +1 -0
- package/serialization/types/SentimentAggregate.d.ts +14 -0
- package/serialization/types/SentimentAggregate.js +46 -0
- package/serialization/types/SimulationTestModel.d.ts +2 -1
- package/serialization/types/SimulationTestModel.js +2 -1
- package/serialization/types/SlackBotAuthResponse.d.ts +4 -0
- package/serialization/types/SlackBotAuthResponse.js +4 -0
- 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/serialization/types/TopicDiscoverySettings.js +39 -0
- package/serialization/types/TurnConfig.d.ts +2 -0
- package/serialization/types/TurnConfig.js +2 -0
- package/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/serialization/types/TurnConfigWorkflowOverride.js +2 -0
- package/serialization/types/UpdateAgentProcedureParams.d.ts +9 -0
- package/serialization/types/UpdateAgentProcedureParams.js +41 -0
- package/serialization/types/UpdateBearerAuthRequest.d.ts +10 -0
- package/{dist/serialization/types/CodeToolAllowedDomain.js → serialization/types/UpdateBearerAuthRequest.js} +4 -4
- 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/UrlSecretAuthResponse.d.ts +4 -0
- package/serialization/types/UrlSecretAuthResponse.js +4 -0
- package/serialization/types/UuiTransferConfig.d.ts +12 -0
- package/serialization/types/UuiTransferConfig.js +44 -0
- package/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +7 -0
- package/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.js +39 -0
- package/serialization/types/WebhookEventType.d.ts +1 -1
- package/serialization/types/WebhookEventType.js +7 -1
- package/serialization/types/WebhookHmacSettings.d.ts +1 -1
- package/serialization/types/WebhookHmacSettings.js +1 -1
- package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -0
- package/serialization/types/WhatsAppAuthResponse.d.ts +4 -0
- package/serialization/types/WhatsAppAuthResponse.js +4 -0
- package/serialization/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -2
- package/serialization/types/WorkflowOverrideAgentNodeModelInput.js +2 -2
- package/serialization/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -2
- package/serialization/types/WorkflowOverrideAgentNodeModelOutput.js +2 -2
- package/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
- package/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -0
- package/serialization/types/WorkspaceApiKeyResponseModel.js +3 -0
- package/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
- package/serialization/types/WorkspaceGroupPermission.js +2 -0
- package/serialization/types/WorkspaceGroupResponseModel.d.ts +3 -0
- package/serialization/types/WorkspaceGroupResponseModel.js +3 -0
- package/serialization/types/index.d.ts +35 -10
- package/serialization/types/index.js +35 -10
- 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/api/types/OAuthConnectionStatus.d.ts +0 -6
- package/api/types/OAuthConnectionStatus.js +0 -9
- 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/api/types/OAuthConnectionStatus.d.ts +0 -6
- package/dist/api/types/OAuthConnectionStatus.js +0 -9
- 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/OAuthConnectionStatus.d.ts +0 -7
- 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/CodeToolContextVariable.d.ts +0 -10
- 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/GenerationChunkContextAdherence.js +0 -39
- package/serialization/types/NoCoachingSettings.d.ts +0 -10
- package/serialization/types/NoCoachingSettings.js +0 -42
- package/serialization/types/OAuthConnectionStatus.d.ts +0 -7
- /package/api/{types/CoachedAgentSettings.js → resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.js} +0 -0
- /package/api/{types/CoachingAgentSettings.js → resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.js} +0 -0
- /package/api/{types/CodeToolAllowedDomain.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js} +0 -0
- /package/api/{types/CodeToolContextVariable.js → resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js} +0 -0
- /package/api/types/{GenerationChunk.js → CharacterMetadataResponseModel.js} +0 -0
- /package/api/types/{NoCoachingSettings.js → CharacterResponseModel.js} +0 -0
- /package/{dist/api/types/CoachedAgentSettings.js → api/types/ConversationReasoningModel.js} +0 -0
- /package/{dist/api/types/CoachingAgentSettings.js → api/types/CreateAgentProcedureParams.js} +0 -0
- /package/{dist/api/types/CodeToolAllowedDomain.js → api/types/DeleteAgentProcedureParams.js} +0 -0
- /package/{dist/api/types/CodeToolContextVariable.js → api/types/FrustratedConversationRef.js} +0 -0
- /package/{dist/api/types/GenerationChunk.js → api/types/GenerationChunkInput.js} +0 -0
- /package/{dist/api/types/NoCoachingSettings.js → api/types/GenerationChunkOutput.js} +0 -0
package/core/url/qs.js
CHANGED
|
@@ -26,31 +26,19 @@ function stringifyObject(obj, prefix = "", options) {
|
|
|
26
26
|
if (value.length === 0) {
|
|
27
27
|
continue;
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
.filter((item) => item !== undefined && item !== null)
|
|
34
|
-
.map((item) => encodeValue(item, options.encode));
|
|
35
|
-
if (encodedValues.length > 0) {
|
|
36
|
-
parts.push(`${encodedKey}=${encodedValues.join(",")}`);
|
|
29
|
+
for (let i = 0; i < value.length; i++) {
|
|
30
|
+
const item = value[i];
|
|
31
|
+
if (item === undefined) {
|
|
32
|
+
continue;
|
|
37
33
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
const arrayKey = effectiveFormat === "indices" ? `${fullKey}[${i}]` : fullKey;
|
|
47
|
-
parts.push(...stringifyObject(item, arrayKey, options));
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
const arrayKey = effectiveFormat === "indices" ? `${fullKey}[${i}]` : fullKey;
|
|
51
|
-
const encodedKey = options.encode ? encodeURIComponent(arrayKey) : arrayKey;
|
|
52
|
-
parts.push(`${encodedKey}=${encodeValue(item, options.encode)}`);
|
|
53
|
-
}
|
|
34
|
+
if (typeof item === "object" && !Array.isArray(item) && item !== null) {
|
|
35
|
+
const arrayKey = options.arrayFormat === "indices" ? `${fullKey}[${i}]` : fullKey;
|
|
36
|
+
parts.push(...stringifyObject(item, arrayKey, options));
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
const arrayKey = options.arrayFormat === "indices" ? `${fullKey}[${i}]` : fullKey;
|
|
40
|
+
const encodedKey = options.encode ? encodeURIComponent(arrayKey) : arrayKey;
|
|
41
|
+
parts.push(`${encodedKey}=${encodeValue(item, options.encode)}`);
|
|
54
42
|
}
|
|
55
43
|
}
|
|
56
44
|
}
|
package/dist/BaseClient.js
CHANGED
|
@@ -41,8 +41,8 @@ function normalizeClientOptions(options) {
|
|
|
41
41
|
const headers = (0, headers_1.mergeHeaders)({
|
|
42
42
|
"X-Fern-Language": "JavaScript",
|
|
43
43
|
"X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js",
|
|
44
|
-
"X-Fern-SDK-Version": "2.
|
|
45
|
-
"User-Agent": "@elevenlabs/elevenlabs-js/2.
|
|
44
|
+
"X-Fern-SDK-Version": "2.55.0",
|
|
45
|
+
"User-Agent": "@elevenlabs/elevenlabs-js/2.55.0",
|
|
46
46
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
47
47
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
48
48
|
"xi-api-key": options === null || options === void 0 ? void 0 : options.apiKey,
|
package/dist/Client.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export declare class ElevenLabsClient {
|
|
|
53
53
|
protected _audioNative: AudioNativeClient | undefined;
|
|
54
54
|
protected _usage: UsageClient | undefined;
|
|
55
55
|
protected _pronunciationDictionaries: PronunciationDictionariesClient | undefined;
|
|
56
|
+
protected _workspace: WorkspaceClient | undefined;
|
|
56
57
|
protected _serviceAccounts: ServiceAccountsClient | undefined;
|
|
57
58
|
protected _webhooks: WebhooksClient | undefined;
|
|
58
59
|
protected _speechToText: SpeechToTextClient | undefined;
|
|
@@ -62,7 +63,6 @@ export declare class ElevenLabsClient {
|
|
|
62
63
|
protected _environmentVariables: EnvironmentVariablesClient | undefined;
|
|
63
64
|
protected _productions: ProductionsClient | undefined;
|
|
64
65
|
protected _tokens: TokensClient | undefined;
|
|
65
|
-
protected _workspace: WorkspaceClient | undefined;
|
|
66
66
|
protected _workspaces: WorkspacesClient | undefined;
|
|
67
67
|
constructor(options?: ElevenLabsClient.Options);
|
|
68
68
|
get history(): HistoryClient;
|
|
@@ -82,6 +82,7 @@ export declare class ElevenLabsClient {
|
|
|
82
82
|
get audioNative(): AudioNativeClient;
|
|
83
83
|
get usage(): UsageClient;
|
|
84
84
|
get pronunciationDictionaries(): PronunciationDictionariesClient;
|
|
85
|
+
get workspace(): WorkspaceClient;
|
|
85
86
|
get serviceAccounts(): ServiceAccountsClient;
|
|
86
87
|
get webhooks(): WebhooksClient;
|
|
87
88
|
get speechToText(): SpeechToTextClient;
|
|
@@ -91,7 +92,6 @@ export declare class ElevenLabsClient {
|
|
|
91
92
|
get environmentVariables(): EnvironmentVariablesClient;
|
|
92
93
|
get productions(): ProductionsClient;
|
|
93
94
|
get tokens(): TokensClient;
|
|
94
|
-
get workspace(): WorkspaceClient;
|
|
95
95
|
get workspaces(): WorkspacesClient;
|
|
96
96
|
/**
|
|
97
97
|
* Add a generated voice to the voice library.
|
package/dist/Client.js
CHANGED
|
@@ -150,6 +150,10 @@ class ElevenLabsClient {
|
|
|
150
150
|
var _a;
|
|
151
151
|
return ((_a = this._pronunciationDictionaries) !== null && _a !== void 0 ? _a : (this._pronunciationDictionaries = new Client_11.PronunciationDictionariesClient(this._options)));
|
|
152
152
|
}
|
|
153
|
+
get workspace() {
|
|
154
|
+
var _a;
|
|
155
|
+
return ((_a = this._workspace) !== null && _a !== void 0 ? _a : (this._workspace = new Client_27.WorkspaceClient(this._options)));
|
|
156
|
+
}
|
|
153
157
|
get serviceAccounts() {
|
|
154
158
|
var _a;
|
|
155
159
|
return ((_a = this._serviceAccounts) !== null && _a !== void 0 ? _a : (this._serviceAccounts = new Client_13.ServiceAccountsClient(this._options)));
|
|
@@ -186,10 +190,6 @@ class ElevenLabsClient {
|
|
|
186
190
|
var _a;
|
|
187
191
|
return ((_a = this._tokens) !== null && _a !== void 0 ? _a : (this._tokens = new Client_22.TokensClient(this._options)));
|
|
188
192
|
}
|
|
189
|
-
get workspace() {
|
|
190
|
-
var _a;
|
|
191
|
-
return ((_a = this._workspace) !== null && _a !== void 0 ? _a : (this._workspace = new Client_27.WorkspaceClient(this._options)));
|
|
192
|
-
}
|
|
193
193
|
get workspaces() {
|
|
194
194
|
var _a;
|
|
195
195
|
return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new Client_28.WorkspacesClient(this._options)));
|
|
@@ -213,7 +213,7 @@ class ElevenLabsClient {
|
|
|
213
213
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/text-to-voice/create-voice-from-preview"),
|
|
214
214
|
method: "POST",
|
|
215
215
|
headers: _headers,
|
|
216
|
-
|
|
216
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
217
217
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
218
218
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
219
219
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -83,7 +83,7 @@ class AudioIsolationClient {
|
|
|
83
83
|
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/audio-isolation"),
|
|
84
84
|
method: "POST",
|
|
85
85
|
headers: _headers,
|
|
86
|
-
|
|
86
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
87
87
|
requestType: "file",
|
|
88
88
|
duplex: _maybeEncodedRequest.duplex,
|
|
89
89
|
body: _maybeEncodedRequest.body,
|
|
@@ -144,11 +144,7 @@ class AudioIsolationClient {
|
|
|
144
144
|
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/audio-isolation/history"),
|
|
145
145
|
method: "GET",
|
|
146
146
|
headers: _headers,
|
|
147
|
-
|
|
148
|
-
.queryBuilder()
|
|
149
|
-
.addMany(_queryParams)
|
|
150
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
151
|
-
.build(),
|
|
147
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
152
148
|
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,
|
|
153
149
|
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,
|
|
154
150
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -203,7 +199,7 @@ class AudioIsolationClient {
|
|
|
203
199
|
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/audio-isolation/history/${core.url.encodePathParam(history_item_id)}`),
|
|
204
200
|
method: "DELETE",
|
|
205
201
|
headers: _headers,
|
|
206
|
-
|
|
202
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
207
203
|
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
204
|
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
205
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -252,7 +248,7 @@ class AudioIsolationClient {
|
|
|
252
248
|
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/audio-isolation/stream"),
|
|
253
249
|
method: "POST",
|
|
254
250
|
headers: _headers,
|
|
255
|
-
|
|
251
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
256
252
|
requestType: "file",
|
|
257
253
|
duplex: _maybeEncodedRequest.duplex,
|
|
258
254
|
body: _maybeEncodedRequest.body,
|
|
@@ -127,7 +127,7 @@ class AudioNativeClient {
|
|
|
127
127
|
url: core.url.join((_j = (_h = (yield core.Supplier.get(this._options.baseUrl))) !== null && _h !== void 0 ? _h : (yield core.Supplier.get(this._options.environment))) !== null && _j !== void 0 ? _j : environments.ElevenLabsEnvironment.Production, "v1/audio-native"),
|
|
128
128
|
method: "POST",
|
|
129
129
|
headers: _headers,
|
|
130
|
-
|
|
130
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
131
131
|
requestType: "file",
|
|
132
132
|
duplex: _maybeEncodedRequest.duplex,
|
|
133
133
|
body: _maybeEncodedRequest.body,
|
|
@@ -185,7 +185,7 @@ class AudioNativeClient {
|
|
|
185
185
|
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/audio-native/${core.url.encodePathParam(project_id)}/settings`),
|
|
186
186
|
method: "GET",
|
|
187
187
|
headers: _headers,
|
|
188
|
-
|
|
188
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
189
189
|
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,
|
|
190
190
|
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,
|
|
191
191
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -253,7 +253,7 @@ class AudioNativeClient {
|
|
|
253
253
|
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.ElevenLabsEnvironment.Production, `v1/audio-native/${core.url.encodePathParam(project_id)}/content`),
|
|
254
254
|
method: "POST",
|
|
255
255
|
headers: _headers,
|
|
256
|
-
|
|
256
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
257
257
|
requestType: "file",
|
|
258
258
|
duplex: _maybeEncodedRequest.duplex,
|
|
259
259
|
body: _maybeEncodedRequest.body,
|
|
@@ -314,7 +314,7 @@ class AudioNativeClient {
|
|
|
314
314
|
method: "POST",
|
|
315
315
|
headers: _headers,
|
|
316
316
|
contentType: "application/json",
|
|
317
|
-
|
|
317
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
318
318
|
requestType: "json",
|
|
319
319
|
body: serializers.BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.jsonOrThrow(request, {
|
|
320
320
|
unrecognizedObjectKeys: "strip",
|
|
@@ -197,11 +197,7 @@ class ConversationalAiClient {
|
|
|
197
197
|
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"),
|
|
198
198
|
method: "POST",
|
|
199
199
|
headers: _headers,
|
|
200
|
-
|
|
201
|
-
.queryBuilder()
|
|
202
|
-
.addMany(_queryParams)
|
|
203
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
204
|
-
.build(),
|
|
200
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
205
201
|
requestType: "file",
|
|
206
202
|
duplex: _maybeEncodedRequest.duplex,
|
|
207
203
|
body: _maybeEncodedRequest.body,
|
|
@@ -258,7 +254,7 @@ class ConversationalAiClient {
|
|
|
258
254
|
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/rag-index"),
|
|
259
255
|
method: "GET",
|
|
260
256
|
headers: _headers,
|
|
261
|
-
|
|
257
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
262
258
|
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,
|
|
263
259
|
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,
|
|
264
260
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -313,7 +309,7 @@ class ConversationalAiClient {
|
|
|
313
309
|
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)}/rag-index`),
|
|
314
310
|
method: "GET",
|
|
315
311
|
headers: _headers,
|
|
316
|
-
|
|
312
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
317
313
|
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,
|
|
318
314
|
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,
|
|
319
315
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -369,7 +365,7 @@ class ConversationalAiClient {
|
|
|
369
365
|
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)}/rag-index/${core.url.encodePathParam(rag_index_id)}`),
|
|
370
366
|
method: "DELETE",
|
|
371
367
|
headers: _headers,
|
|
372
|
-
|
|
368
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
373
369
|
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,
|
|
374
370
|
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,
|
|
375
371
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -137,7 +137,9 @@ export declare class AgentsClient {
|
|
|
137
137
|
duplicate(agent_id: string, request?: ElevenLabs.conversationalAi.BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost, requestOptions?: AgentsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.CreateAgentResponseModel>;
|
|
138
138
|
private __duplicate;
|
|
139
139
|
/**
|
|
140
|
-
*
|
|
140
|
+
* @deprecated
|
|
141
|
+
*
|
|
142
|
+
* Deprecated. Use the `/v1/convai/agent-testing/create` and `/v1/convai/agents/:agent_id/run-tests` endpoints to create and run simulations. Run a conversation between the agent and a simulated user.
|
|
141
143
|
*
|
|
142
144
|
* @param {string} agent_id - The id of an agent. This is returned on agent creation.
|
|
143
145
|
* @param {ElevenLabs.conversationalAi.BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost} request
|
|
@@ -159,7 +161,9 @@ export declare class AgentsClient {
|
|
|
159
161
|
simulateConversation(agent_id: string, request: ElevenLabs.conversationalAi.BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost, requestOptions?: AgentsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.AgentSimulatedChatTestResponseModel>;
|
|
160
162
|
private __simulateConversation;
|
|
161
163
|
/**
|
|
162
|
-
*
|
|
164
|
+
* @deprecated
|
|
165
|
+
*
|
|
166
|
+
* Deprecated. Use the `/v1/convai/agent-testing/create` and `/v1/convai/agents/:agent_id/run-tests` endpoints to create and run simulations. Run a conversation between the agent and a simulated user and stream back the response. Response is streamed back as partial lists of messages that should be concatenated and once the conversation has complete a single final message with the conversation analysis will be sent.
|
|
163
167
|
*
|
|
164
168
|
* @param {string} agent_id - The id of an agent. This is returned on agent creation.
|
|
165
169
|
* @param {ElevenLabs.conversationalAi.BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost} request
|
|
@@ -142,11 +142,7 @@ class AgentsClient {
|
|
|
142
142
|
method: "POST",
|
|
143
143
|
headers: _headers,
|
|
144
144
|
contentType: "application/json",
|
|
145
|
-
|
|
146
|
-
.queryBuilder()
|
|
147
|
-
.addMany(_queryParams)
|
|
148
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
149
|
-
.build(),
|
|
145
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
150
146
|
requestType: "json",
|
|
151
147
|
body: serializers.conversationalAi.BodyCreateAgentV1ConvaiAgentsCreatePost.jsonOrThrow(_body, {
|
|
152
148
|
unrecognizedObjectKeys: "strip",
|
|
@@ -214,11 +210,7 @@ class AgentsClient {
|
|
|
214
210
|
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/agents/${core.url.encodePathParam(agent_id)}`),
|
|
215
211
|
method: "GET",
|
|
216
212
|
headers: _headers,
|
|
217
|
-
|
|
218
|
-
.queryBuilder()
|
|
219
|
-
.addMany(_queryParams)
|
|
220
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
221
|
-
.build(),
|
|
213
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
222
214
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
223
215
|
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,
|
|
224
216
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -273,7 +265,7 @@ class AgentsClient {
|
|
|
273
265
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/agents/${core.url.encodePathParam(agent_id)}`),
|
|
274
266
|
method: "DELETE",
|
|
275
267
|
headers: _headers,
|
|
276
|
-
|
|
268
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
277
269
|
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,
|
|
278
270
|
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,
|
|
279
271
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -330,11 +322,7 @@ class AgentsClient {
|
|
|
330
322
|
method: "PATCH",
|
|
331
323
|
headers: _headers,
|
|
332
324
|
contentType: "application/json",
|
|
333
|
-
|
|
334
|
-
.queryBuilder()
|
|
335
|
-
.addMany(_queryParams)
|
|
336
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
337
|
-
.build(),
|
|
325
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
338
326
|
requestType: "json",
|
|
339
327
|
body: serializers.conversationalAi.UpdateAgentRequest.jsonOrThrow(_body, {
|
|
340
328
|
unrecognizedObjectKeys: "strip",
|
|
@@ -417,11 +405,7 @@ class AgentsClient {
|
|
|
417
405
|
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/agents"),
|
|
418
406
|
method: "GET",
|
|
419
407
|
headers: _headers,
|
|
420
|
-
|
|
421
|
-
.queryBuilder()
|
|
422
|
-
.addMany(_queryParams)
|
|
423
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
424
|
-
.build(),
|
|
408
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
425
409
|
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,
|
|
426
410
|
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,
|
|
427
411
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -478,7 +462,7 @@ class AgentsClient {
|
|
|
478
462
|
method: "POST",
|
|
479
463
|
headers: _headers,
|
|
480
464
|
contentType: "application/json",
|
|
481
|
-
|
|
465
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
482
466
|
requestType: "json",
|
|
483
467
|
body: serializers.conversationalAi.BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
484
468
|
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,
|
|
@@ -514,7 +498,9 @@ class AgentsClient {
|
|
|
514
498
|
});
|
|
515
499
|
}
|
|
516
500
|
/**
|
|
517
|
-
*
|
|
501
|
+
* @deprecated
|
|
502
|
+
*
|
|
503
|
+
* Deprecated. Use the `/v1/convai/agent-testing/create` and `/v1/convai/agents/:agent_id/run-tests` endpoints to create and run simulations. Run a conversation between the agent and a simulated user.
|
|
518
504
|
*
|
|
519
505
|
* @param {string} agent_id - The id of an agent. This is returned on agent creation.
|
|
520
506
|
* @param {ElevenLabs.conversationalAi.BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost} request
|
|
@@ -545,7 +531,7 @@ class AgentsClient {
|
|
|
545
531
|
method: "POST",
|
|
546
532
|
headers: _headers,
|
|
547
533
|
contentType: "application/json",
|
|
548
|
-
|
|
534
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
549
535
|
requestType: "json",
|
|
550
536
|
body: serializers.conversationalAi.BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
551
537
|
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,
|
|
@@ -581,7 +567,9 @@ class AgentsClient {
|
|
|
581
567
|
});
|
|
582
568
|
}
|
|
583
569
|
/**
|
|
584
|
-
*
|
|
570
|
+
* @deprecated
|
|
571
|
+
*
|
|
572
|
+
* Deprecated. Use the `/v1/convai/agent-testing/create` and `/v1/convai/agents/:agent_id/run-tests` endpoints to create and run simulations. Run a conversation between the agent and a simulated user and stream back the response. Response is streamed back as partial lists of messages that should be concatenated and once the conversation has complete a single final message with the conversation analysis will be sent.
|
|
585
573
|
*
|
|
586
574
|
* @param {string} agent_id - The id of an agent. This is returned on agent creation.
|
|
587
575
|
* @param {ElevenLabs.conversationalAi.BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost} request
|
|
@@ -612,7 +600,7 @@ class AgentsClient {
|
|
|
612
600
|
method: "POST",
|
|
613
601
|
headers: _headers,
|
|
614
602
|
contentType: "application/json",
|
|
615
|
-
|
|
603
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
616
604
|
requestType: "json",
|
|
617
605
|
body: serializers.conversationalAi.BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
618
606
|
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,
|
|
@@ -667,7 +655,7 @@ class AgentsClient {
|
|
|
667
655
|
method: "POST",
|
|
668
656
|
headers: _headers,
|
|
669
657
|
contentType: "application/json",
|
|
670
|
-
|
|
658
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
671
659
|
requestType: "json",
|
|
672
660
|
body: serializers.conversationalAi.RunAgentTestsRequestModel.jsonOrThrow(request, {
|
|
673
661
|
unrecognizedObjectKeys: "strip",
|
package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts
CHANGED
|
@@ -74,6 +74,24 @@ export declare class BranchesClient {
|
|
|
74
74
|
*/
|
|
75
75
|
update(agent_id: string, branch_id: string, request?: ElevenLabs.conversationalAi.agents.BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch, requestOptions?: BranchesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.AgentBranchResponse>;
|
|
76
76
|
private __update;
|
|
77
|
+
/**
|
|
78
|
+
* Returns the result of merging the source branch into the target branch without performing the merge. Useful for showing an accurate diff before confirming.
|
|
79
|
+
*
|
|
80
|
+
* @param {string} agent_id - The id of an agent. This is returned on agent creation.
|
|
81
|
+
* @param {string} source_branch_id - Unique identifier for the source branch to merge from.
|
|
82
|
+
* @param {ElevenLabs.conversationalAi.agents.BranchesPreviewMergeRequest} request
|
|
83
|
+
* @param {BranchesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* await client.conversationalAi.agents.branches.previewMerge("agent_3701k3ttaq12ewp8b7qv5rfyszkz", "agtbrch_8901k4t9z5defmb8vh3e9361y7nj", {
|
|
89
|
+
* targetBranchId: "agtbrch_8901k4t9z5defmb8vh3e9361y7nj",
|
|
90
|
+
* force: true
|
|
91
|
+
* })
|
|
92
|
+
*/
|
|
93
|
+
previewMerge(agent_id: string, source_branch_id: string, request: ElevenLabs.conversationalAi.agents.BranchesPreviewMergeRequest, requestOptions?: BranchesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.MergePreviewResponseModel>;
|
|
94
|
+
private __previewMerge;
|
|
77
95
|
/**
|
|
78
96
|
* Merge a branch into a target branch
|
|
79
97
|
*
|
|
@@ -91,4 +109,32 @@ export declare class BranchesClient {
|
|
|
91
109
|
*/
|
|
92
110
|
merge(agent_id: string, source_branch_id: string, request: ElevenLabs.conversationalAi.agents.BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost, requestOptions?: BranchesClient.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
93
111
|
private __merge;
|
|
112
|
+
/**
|
|
113
|
+
* Returns the result of rebasing the branch onto main without performing the rebase. Useful for showing an accurate diff before confirming.
|
|
114
|
+
*
|
|
115
|
+
* @param {string} agent_id - The id of an agent. This is returned on agent creation.
|
|
116
|
+
* @param {string} branch_id - Unique identifier for the source branch to merge from.
|
|
117
|
+
* @param {BranchesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* await client.conversationalAi.agents.branches.previewRebase("agent_3701k3ttaq12ewp8b7qv5rfyszkz", "agtbrch_8901k4t9z5defmb8vh3e9361y7nj")
|
|
123
|
+
*/
|
|
124
|
+
previewRebase(agent_id: string, branch_id: string, requestOptions?: BranchesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.MergePreviewResponseModel>;
|
|
125
|
+
private __previewRebase;
|
|
126
|
+
/**
|
|
127
|
+
* Rebase a branch onto the latest main branch, incorporating main's changes while preserving the branch's own changes.
|
|
128
|
+
*
|
|
129
|
+
* @param {string} agent_id - The id of an agent. This is returned on agent creation.
|
|
130
|
+
* @param {string} branch_id - Unique identifier for the source branch to merge from.
|
|
131
|
+
* @param {BranchesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
132
|
+
*
|
|
133
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
134
|
+
*
|
|
135
|
+
* @example
|
|
136
|
+
* await client.conversationalAi.agents.branches.rebase("agent_3701k3ttaq12ewp8b7qv5rfyszkz", "agtbrch_8901k4t9z5defmb8vh3e9361y7nj")
|
|
137
|
+
*/
|
|
138
|
+
rebase(agent_id: string, branch_id: string, requestOptions?: BranchesClient.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
139
|
+
private __rebase;
|
|
94
140
|
}
|