@elevenlabs/elevenlabs-js 2.5.0 → 2.7.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/Client.d.ts +1 -1
- package/Client.js +4 -4
- package/api/resources/audioIsolation/client/Client.d.ts +1 -1
- package/api/resources/audioIsolation/client/Client.js +5 -9
- package/api/resources/audioNative/client/Client.d.ts +1 -1
- package/api/resources/audioNative/client/Client.js +7 -11
- package/api/resources/conversationalAi/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/client/Client.js +11 -15
- package/api/resources/conversationalAi/conversation/AudioInterface.d.ts +44 -0
- package/api/resources/conversationalAi/conversation/AudioInterface.js +12 -0
- package/api/resources/conversationalAi/conversation/ClientTools.d.ts +60 -0
- package/api/resources/conversationalAi/conversation/ClientTools.js +132 -0
- package/api/resources/conversationalAi/conversation/Conversation.d.ts +94 -0
- package/api/resources/conversationalAi/conversation/Conversation.js +283 -0
- package/api/resources/conversationalAi/conversation/ConversationConfig.d.ts +18 -0
- package/api/resources/conversationalAi/conversation/ConversationConfig.js +16 -0
- package/api/resources/conversationalAi/conversation/DefaultAudioInterface.d.ts +63 -0
- package/api/resources/conversationalAi/conversation/DefaultAudioInterface.js +126 -0
- package/api/resources/conversationalAi/conversation/__tests__/Conversation.test.d.ts +1 -0
- package/api/resources/conversationalAi/conversation/__tests__/Conversation.test.js +358 -0
- package/api/resources/conversationalAi/conversation/events.d.ts +84 -0
- package/api/resources/conversationalAi/conversation/events.js +19 -0
- package/api/resources/conversationalAi/conversation/index.d.ts +6 -0
- package/api/resources/conversationalAi/conversation/index.js +22 -0
- package/api/resources/conversationalAi/conversation/interfaces/ConversationClient.d.ts +11 -0
- package/api/resources/conversationalAi/conversation/interfaces/ConversationClient.js +2 -0
- package/api/resources/conversationalAi/conversation/interfaces/WebSocketInterface.d.ts +12 -0
- package/api/resources/conversationalAi/conversation/interfaces/WebSocketInterface.js +13 -0
- package/api/resources/conversationalAi/conversation/mocks/ConversationTestFactory.d.ts +15 -0
- package/api/resources/conversationalAi/conversation/mocks/ConversationTestFactory.js +28 -0
- package/api/resources/conversationalAi/conversation/mocks/MockConversation.d.ts +43 -0
- package/api/resources/conversationalAi/conversation/mocks/MockConversation.js +108 -0
- package/api/resources/conversationalAi/conversation/mocks/index.d.ts +2 -0
- package/api/resources/conversationalAi/conversation/mocks/index.js +18 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +5 -5
- package/api/resources/conversationalAi/resources/agents/client/Client.js +21 -25
- package/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +2 -2
- package/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +2 -2
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +2 -2
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +12 -16
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -13
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +5 -9
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +17 -21
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +7 -11
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +5 -9
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +13 -13
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +79 -83
- package/api/resources/conversationalAi/resources/phoneNumbers/types/index.d.ts +1 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/types/index.js +1 -1
- package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +7 -11
- package/api/resources/conversationalAi/resources/settings/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/settings/client/Client.js +5 -9
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/tools/client/Client.js +13 -17
- package/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/twilio/client/Client.js +3 -7
- package/api/resources/dubbing/client/Client.d.ts +14 -1
- package/api/resources/dubbing/client/Client.js +94 -11
- package/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +26 -0
- package/api/resources/dubbing/client/requests/index.d.ts +1 -0
- package/api/resources/dubbing/index.d.ts +1 -0
- package/api/resources/dubbing/index.js +1 -0
- package/api/resources/dubbing/resources/audio/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/audio/client/Client.js +3 -7
- package/api/resources/dubbing/resources/resource/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/resource/client/Client.js +11 -15
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +3 -7
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +5 -9
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +5 -9
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +3 -7
- package/api/resources/dubbing/resources/transcript/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/transcript/client/Client.js +3 -7
- package/api/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +12 -0
- package/api/resources/dubbing/types/DubbingListRequestDubbingStatus.js +11 -0
- package/api/resources/dubbing/types/DubbingListRequestFilterByCreator.d.ts +12 -0
- package/api/resources/dubbing/types/DubbingListRequestFilterByCreator.js +11 -0
- package/api/resources/dubbing/types/index.d.ts +2 -0
- package/api/resources/dubbing/types/index.js +18 -0
- package/api/resources/forcedAlignment/client/Client.d.ts +1 -1
- package/api/resources/forcedAlignment/client/Client.js +3 -7
- package/api/resources/history/client/Client.d.ts +1 -1
- package/api/resources/history/client/Client.js +11 -15
- package/api/resources/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/models/client/Client.d.ts +1 -1
- package/api/resources/models/client/Client.js +3 -7
- package/api/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
- package/api/resources/pronunciationDictionaries/client/Client.js +11 -15
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +1 -1
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +5 -9
- package/api/resources/samples/client/Client.d.ts +1 -1
- package/api/resources/samples/client/Client.js +3 -7
- package/api/resources/speechToSpeech/client/Client.d.ts +1 -1
- package/api/resources/speechToSpeech/client/Client.js +5 -9
- package/api/resources/speechToText/client/Client.d.ts +1 -1
- package/api/resources/speechToText/client/Client.js +9 -7
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -0
- package/api/resources/studio/client/Client.d.ts +1 -1
- package/api/resources/studio/client/Client.js +3 -7
- package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +6 -0
- package/api/resources/studio/resources/projects/client/Client.d.ts +1 -1
- package/api/resources/studio/resources/projects/client/Client.js +13 -17
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +13 -17
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +7 -11
- package/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +3 -7
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +3 -7
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +9 -13
- package/api/resources/textToDialogue/client/Client.d.ts +1 -1
- package/api/resources/textToDialogue/client/Client.js +5 -9
- package/api/resources/textToSoundEffects/client/Client.d.ts +1 -1
- package/api/resources/textToSoundEffects/client/Client.js +3 -7
- package/api/resources/textToSpeech/client/Client.d.ts +1 -1
- package/api/resources/textToSpeech/client/Client.js +9 -13
- package/api/resources/textToVoice/client/Client.d.ts +4 -1
- package/api/resources/textToVoice/client/Client.js +14 -13
- package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
- package/api/resources/textToVoice/index.d.ts +1 -0
- package/api/resources/textToVoice/index.js +1 -0
- package/api/resources/textToVoice/resources/index.d.ts +1 -0
- package/api/resources/textToVoice/resources/index.js +37 -0
- package/api/resources/textToVoice/resources/preview/client/Client.d.ts +38 -0
- package/api/resources/textToVoice/resources/preview/client/Client.js +116 -0
- package/api/resources/textToVoice/resources/preview/client/index.d.ts +1 -0
- package/api/resources/textToVoice/resources/preview/client/index.js +2 -0
- package/api/resources/textToVoice/resources/preview/index.d.ts +1 -0
- package/api/resources/textToVoice/resources/preview/index.js +17 -0
- package/api/resources/usage/client/Client.d.ts +1 -1
- package/api/resources/usage/client/Client.js +3 -7
- package/api/resources/user/client/Client.d.ts +1 -1
- package/api/resources/user/client/Client.js +3 -7
- package/api/resources/user/resources/subscription/client/Client.d.ts +1 -1
- package/api/resources/user/resources/subscription/client/Client.js +3 -7
- package/api/resources/voices/client/Client.d.ts +1 -1
- package/api/resources/voices/client/Client.js +17 -21
- package/api/resources/voices/resources/ivc/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/ivc/client/Client.js +3 -7
- package/api/resources/voices/resources/pvc/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/client/Client.js +7 -11
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +7 -11
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +3 -7
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +5 -9
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +3 -7
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +3 -7
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +3 -7
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -9
- package/api/resources/voices/resources/samples/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/samples/resources/audio/client/Client.js +3 -7
- package/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/settings/client/Client.js +7 -11
- package/api/resources/webhooks/client/Client.d.ts +1 -1
- package/api/resources/webhooks/client/Client.js +3 -7
- package/api/resources/workspace/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/groups/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/groups/client/Client.js +3 -7
- package/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +5 -9
- package/api/resources/workspace/resources/invites/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/invites/client/Client.js +7 -11
- package/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +3 -1
- package/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js +2 -0
- package/api/resources/workspace/resources/members/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/members/client/Client.js +5 -9
- package/api/resources/workspace/resources/resources/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/resources/client/Client.js +7 -11
- package/api/types/AgentConfig.d.ts +1 -10
- package/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/api/types/AgentTestingSettings.d.ts +10 -0
- package/api/types/AgentTransfer.d.ts +3 -0
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +6 -0
- package/api/types/BreakdownTypes.d.ts +2 -1
- package/api/types/BreakdownTypes.js +1 -0
- package/api/types/ClientToolConfigInput.d.ts +1 -1
- package/api/types/ClientToolConfigOutput.d.ts +1 -1
- package/api/types/ConvAiWebhooks.d.ts +2 -0
- package/api/types/ConversationHistoryElevenAssistantCommonModel.d.ts +6 -0
- package/api/types/ConversationHistoryMetadataCommonModel.d.ts +5 -0
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.d.ts +4 -1
- package/api/types/ConversationHistoryTranscriptToolCallMcpDetails.d.ts +13 -0
- package/api/types/ConversationInitiationClientDataInternal.d.ts +2 -0
- package/api/types/ConversationInitiationClientDataRequestInput.d.ts +2 -0
- package/api/types/ConversationInitiationClientDataRequestOutput.d.ts +2 -0
- package/api/types/ConversationInitiationSource.d.ts +20 -0
- package/api/types/ConversationInitiationSource.js +19 -0
- package/api/types/ConversationSimulationSpecification.d.ts +1 -1
- package/api/types/ConversationalConfig.d.ts +1 -1
- package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +6 -21
- package/api/types/CreateTwilioPhoneNumberRequest.d.ts +4 -0
- package/api/types/CustomLlm.d.ts +2 -0
- package/api/types/DubbingMetadataPageResponseModel.d.ts +9 -0
- package/api/types/DubbingMetadataResponse.d.ts +4 -0
- package/api/types/GetAgentResponseModel.d.ts +1 -0
- package/api/types/GetConversationResponseModel.d.ts +1 -0
- package/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +15 -0
- package/api/types/{SipTrunkConfigResponseModel.d.ts → GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts} +1 -1
- package/api/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.js +5 -0
- package/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +9 -1
- package/api/types/GetPhoneNumberTwilioResponseModel.d.ts +4 -0
- package/api/types/InboundSipTrunkConfigRequestModel.d.ts +14 -0
- package/api/types/InboundSipTrunkConfigRequestModel.js +5 -0
- package/api/types/Llm.d.ts +1 -3
- package/api/types/Llm.js +0 -2
- package/api/types/OutboundSipTrunkConfigRequestModel.d.ts +16 -0
- package/api/types/OutboundSipTrunkConfigRequestModel.js +5 -0
- package/api/types/PhoneNumberTransfer.d.ts +4 -1
- package/api/types/PhoneNumberTransferDestination.d.ts +6 -0
- package/api/types/PhoneNumberTransferDestination.js +5 -0
- package/api/types/PhoneNumberTransferTransferDestination.d.ts +13 -0
- package/api/types/PhoneNumberTransferTransferDestination.js +5 -0
- package/api/types/PromptAgentApiModelInput.d.ts +3 -1
- package/api/types/PromptAgentApiModelOutput.d.ts +3 -1
- package/api/types/PromptAgentDbModel.d.ts +0 -26
- package/{dist/api/types/SipTrunkCredentials.d.ts → api/types/SipTrunkCredentialsRequestModel.d.ts} +1 -1
- package/api/types/SipTrunkCredentialsRequestModel.js +5 -0
- package/api/types/SipUriTransferDestination.d.ts +6 -0
- package/api/types/SipUriTransferDestination.js +5 -0
- package/api/types/SubscriptionStatusType.d.ts +1 -3
- package/api/types/SubscriptionStatusType.js +0 -2
- package/api/types/SystemToolConfigInputParams.d.ts +1 -1
- package/api/types/SystemToolConfigOutputParams.d.ts +1 -1
- package/api/types/{TransferToNumberToolConfig.d.ts → TransferToNumberToolConfigInput.d.ts} +1 -1
- package/api/types/TransferToNumberToolConfigInput.js +5 -0
- package/api/types/TransferToNumberToolConfigOutput.d.ts +9 -0
- package/api/types/TransferToNumberToolConfigOutput.js +5 -0
- package/api/types/TransferTypeEnum.d.ts +8 -0
- package/api/types/TransferTypeEnum.js +10 -0
- package/api/types/WidgetTextContents.d.ts +8 -0
- package/api/types/WorkspaceResourceType.d.ts +2 -1
- package/api/types/WorkspaceResourceType.js +1 -0
- package/api/types/index.d.ts +17 -4
- package/api/types/index.js +17 -4
- package/core/fetcher/BinaryResponse.d.ts +7 -4
- package/core/fetcher/BinaryResponse.js +5 -2
- package/core/fetcher/Fetcher.js +3 -3
- package/core/fetcher/createRequestUrl.d.ts +1 -1
- package/core/fetcher/createRequestUrl.js +3 -7
- package/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/core/fetcher/getErrorResponseBody.js +44 -0
- package/core/fetcher/getResponseBody.js +2 -1
- package/core/form-data-utils/FormDataWrapper.js +4 -4
- package/core/form-data-utils/encodeAsFormParameter.d.ts +0 -3
- package/core/form-data-utils/encodeAsFormParameter.js +2 -8
- package/core/headers.d.ts +1 -1
- package/core/index.d.ts +1 -0
- package/core/index.js +2 -1
- package/core/url/index.d.ts +2 -0
- package/core/url/index.js +7 -0
- package/core/url/join.d.ts +1 -0
- package/core/url/join.js +49 -0
- package/core/url/qs.d.ts +6 -0
- package/core/url/qs.js +64 -0
- package/dist/Client.d.ts +1 -1
- package/dist/Client.js +4 -4
- package/dist/api/resources/audioIsolation/client/Client.d.ts +1 -1
- package/dist/api/resources/audioIsolation/client/Client.js +5 -9
- package/dist/api/resources/audioNative/client/Client.d.ts +1 -1
- package/dist/api/resources/audioNative/client/Client.js +7 -11
- package/dist/api/resources/conversationalAi/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/client/Client.js +11 -15
- package/dist/api/resources/conversationalAi/conversation/AudioInterface.d.ts +44 -0
- package/dist/api/resources/conversationalAi/conversation/AudioInterface.js +12 -0
- package/dist/api/resources/conversationalAi/conversation/ClientTools.d.ts +60 -0
- package/dist/api/resources/conversationalAi/conversation/ClientTools.js +132 -0
- package/dist/api/resources/conversationalAi/conversation/Conversation.d.ts +94 -0
- package/dist/api/resources/conversationalAi/conversation/Conversation.js +283 -0
- package/dist/api/resources/conversationalAi/conversation/ConversationConfig.d.ts +18 -0
- package/dist/api/resources/conversationalAi/conversation/ConversationConfig.js +16 -0
- package/dist/api/resources/conversationalAi/conversation/DefaultAudioInterface.d.ts +63 -0
- package/dist/api/resources/conversationalAi/conversation/DefaultAudioInterface.js +126 -0
- package/dist/api/resources/conversationalAi/conversation/__tests__/Conversation.test.d.ts +1 -0
- package/dist/api/resources/conversationalAi/conversation/__tests__/Conversation.test.js +358 -0
- package/dist/api/resources/conversationalAi/conversation/events.d.ts +84 -0
- package/dist/api/resources/conversationalAi/conversation/events.js +19 -0
- package/dist/api/resources/conversationalAi/conversation/index.d.ts +6 -0
- package/dist/api/resources/conversationalAi/conversation/index.js +22 -0
- package/dist/api/resources/conversationalAi/conversation/interfaces/ConversationClient.d.ts +11 -0
- package/dist/api/resources/conversationalAi/conversation/interfaces/ConversationClient.js +2 -0
- package/dist/api/resources/conversationalAi/conversation/interfaces/WebSocketInterface.d.ts +12 -0
- package/dist/api/resources/conversationalAi/conversation/interfaces/WebSocketInterface.js +13 -0
- package/dist/api/resources/conversationalAi/conversation/mocks/ConversationTestFactory.d.ts +15 -0
- package/dist/api/resources/conversationalAi/conversation/mocks/ConversationTestFactory.js +28 -0
- package/dist/api/resources/conversationalAi/conversation/mocks/MockConversation.d.ts +43 -0
- package/dist/api/resources/conversationalAi/conversation/mocks/MockConversation.js +108 -0
- package/dist/api/resources/conversationalAi/conversation/mocks/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/conversation/mocks/index.js +18 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +5 -5
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +21 -25
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +3 -7
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +3 -7
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +3 -7
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +3 -7
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +3 -7
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +12 -16
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -13
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +3 -7
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +3 -7
- package/dist/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +5 -9
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -7
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -7
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +17 -21
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +3 -7
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +3 -7
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +7 -11
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +3 -7
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +5 -9
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +3 -7
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +13 -13
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +79 -83
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/index.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/index.js +1 -1
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +7 -11
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +5 -9
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +3 -7
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +13 -17
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +3 -7
- package/dist/api/resources/dubbing/client/Client.d.ts +14 -1
- package/dist/api/resources/dubbing/client/Client.js +94 -11
- package/dist/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +26 -0
- package/dist/api/resources/dubbing/client/requests/DubbingListRequest.js +5 -0
- package/dist/api/resources/dubbing/client/requests/index.d.ts +1 -0
- package/dist/api/resources/dubbing/index.d.ts +1 -0
- package/dist/api/resources/dubbing/index.js +1 -0
- package/dist/api/resources/dubbing/resources/audio/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/audio/client/Client.js +3 -7
- package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +11 -15
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +3 -7
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +5 -9
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +5 -9
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +3 -7
- package/dist/api/resources/dubbing/resources/transcript/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/transcript/client/Client.js +3 -7
- package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +12 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatus.js +11 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestFilterByCreator.d.ts +12 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestFilterByCreator.js +11 -0
- package/dist/api/resources/dubbing/types/index.d.ts +2 -0
- package/dist/api/resources/dubbing/types/index.js +18 -0
- package/dist/api/resources/forcedAlignment/client/Client.d.ts +1 -1
- package/dist/api/resources/forcedAlignment/client/Client.js +3 -7
- package/dist/api/resources/history/client/Client.d.ts +1 -1
- package/dist/api/resources/history/client/Client.js +11 -15
- package/dist/api/resources/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/models/client/Client.d.ts +1 -1
- package/dist/api/resources/models/client/Client.js +3 -7
- package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +11 -15
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +1 -1
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +5 -9
- package/dist/api/resources/samples/client/Client.d.ts +1 -1
- package/dist/api/resources/samples/client/Client.js +3 -7
- package/dist/api/resources/speechToSpeech/client/Client.d.ts +1 -1
- package/dist/api/resources/speechToSpeech/client/Client.js +5 -9
- package/dist/api/resources/speechToText/client/Client.d.ts +1 -1
- package/dist/api/resources/speechToText/client/Client.js +9 -7
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -0
- package/dist/api/resources/studio/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/client/Client.js +3 -7
- package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +6 -0
- package/dist/api/resources/studio/resources/projects/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/client/Client.js +13 -17
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +13 -17
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +7 -11
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +3 -7
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +3 -7
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +9 -13
- package/dist/api/resources/textToDialogue/client/Client.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/Client.js +5 -9
- package/dist/api/resources/textToSoundEffects/client/Client.d.ts +1 -1
- package/dist/api/resources/textToSoundEffects/client/Client.js +3 -7
- package/dist/api/resources/textToSpeech/client/Client.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/Client.js +9 -13
- package/dist/api/resources/textToVoice/client/Client.d.ts +4 -1
- package/dist/api/resources/textToVoice/client/Client.js +14 -13
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
- package/dist/api/resources/textToVoice/index.d.ts +1 -0
- package/dist/api/resources/textToVoice/index.js +1 -0
- package/dist/api/resources/textToVoice/resources/index.d.ts +1 -0
- package/dist/api/resources/textToVoice/resources/index.js +37 -0
- package/dist/api/resources/textToVoice/resources/preview/client/Client.d.ts +38 -0
- package/dist/api/resources/textToVoice/resources/preview/client/Client.js +116 -0
- package/dist/api/resources/textToVoice/resources/preview/client/index.d.ts +1 -0
- package/dist/api/resources/textToVoice/resources/preview/client/index.js +2 -0
- package/dist/api/resources/textToVoice/resources/preview/index.d.ts +1 -0
- package/dist/api/resources/textToVoice/resources/preview/index.js +17 -0
- package/dist/api/resources/usage/client/Client.d.ts +1 -1
- package/dist/api/resources/usage/client/Client.js +3 -7
- package/dist/api/resources/user/client/Client.d.ts +1 -1
- package/dist/api/resources/user/client/Client.js +3 -7
- package/dist/api/resources/user/resources/subscription/client/Client.d.ts +1 -1
- package/dist/api/resources/user/resources/subscription/client/Client.js +3 -7
- package/dist/api/resources/voices/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/client/Client.js +17 -21
- package/dist/api/resources/voices/resources/ivc/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/ivc/client/Client.js +3 -7
- package/dist/api/resources/voices/resources/pvc/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/client/Client.js +7 -11
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +7 -11
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +3 -7
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +5 -9
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +3 -7
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +3 -7
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +3 -7
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -9
- package/dist/api/resources/voices/resources/samples/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +3 -7
- package/dist/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/settings/client/Client.js +7 -11
- package/dist/api/resources/webhooks/client/Client.d.ts +1 -1
- package/dist/api/resources/webhooks/client/Client.js +3 -7
- package/dist/api/resources/workspace/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/groups/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/groups/client/Client.js +3 -7
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +5 -9
- package/dist/api/resources/workspace/resources/invites/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/invites/client/Client.js +7 -11
- package/dist/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +3 -1
- package/dist/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js +2 -0
- package/dist/api/resources/workspace/resources/members/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/members/client/Client.js +5 -9
- package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/resources/client/Client.js +7 -11
- package/dist/api/types/AgentConfig.d.ts +1 -10
- package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/dist/api/types/AgentTestingSettings.d.ts +10 -0
- package/dist/api/types/AgentTestingSettings.js +5 -0
- package/dist/api/types/AgentTransfer.d.ts +3 -0
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +6 -0
- package/dist/api/types/BreakdownTypes.d.ts +2 -1
- package/dist/api/types/BreakdownTypes.js +1 -0
- package/dist/api/types/ClientToolConfigInput.d.ts +1 -1
- package/dist/api/types/ClientToolConfigOutput.d.ts +1 -1
- package/dist/api/types/ConvAiWebhooks.d.ts +2 -0
- package/dist/api/types/ConversationHistoryElevenAssistantCommonModel.d.ts +6 -0
- package/dist/api/types/ConversationHistoryElevenAssistantCommonModel.js +5 -0
- package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +5 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.d.ts +4 -1
- package/dist/api/types/ConversationHistoryTranscriptToolCallMcpDetails.d.ts +13 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallMcpDetails.js +5 -0
- package/dist/api/types/ConversationInitiationClientDataInternal.d.ts +2 -0
- package/dist/api/types/ConversationInitiationClientDataRequestInput.d.ts +2 -0
- package/dist/api/types/ConversationInitiationClientDataRequestOutput.d.ts +2 -0
- package/dist/api/types/ConversationInitiationSource.d.ts +20 -0
- package/dist/api/types/ConversationInitiationSource.js +19 -0
- package/dist/api/types/ConversationSimulationSpecification.d.ts +1 -1
- package/dist/api/types/ConversationalConfig.d.ts +1 -1
- package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +6 -21
- package/dist/api/types/CreateTwilioPhoneNumberRequest.d.ts +4 -0
- package/dist/api/types/CustomLlm.d.ts +2 -0
- package/dist/api/types/DubbingMetadataPageResponseModel.d.ts +9 -0
- package/dist/api/types/DubbingMetadataPageResponseModel.js +5 -0
- package/dist/api/types/DubbingMetadataResponse.d.ts +4 -0
- package/dist/api/types/GetAgentResponseModel.d.ts +1 -0
- package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +15 -0
- package/dist/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +5 -0
- package/dist/api/types/{SipTrunkConfigResponseModel.d.ts → GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts} +1 -1
- package/dist/api/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.js +5 -0
- package/dist/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +9 -1
- package/dist/api/types/GetPhoneNumberTwilioResponseModel.d.ts +4 -0
- package/dist/api/types/InboundSipTrunkConfigRequestModel.d.ts +14 -0
- package/dist/api/types/InboundSipTrunkConfigRequestModel.js +5 -0
- package/dist/api/types/Llm.d.ts +1 -3
- package/dist/api/types/Llm.js +0 -2
- package/dist/api/types/OutboundSipTrunkConfigRequestModel.d.ts +16 -0
- package/dist/api/types/OutboundSipTrunkConfigRequestModel.js +5 -0
- package/dist/api/types/PhoneNumberTransfer.d.ts +4 -1
- package/dist/api/types/PhoneNumberTransferDestination.d.ts +6 -0
- package/dist/api/types/PhoneNumberTransferDestination.js +5 -0
- package/dist/api/types/PhoneNumberTransferTransferDestination.d.ts +13 -0
- package/dist/api/types/PhoneNumberTransferTransferDestination.js +5 -0
- package/dist/api/types/PromptAgentApiModelInput.d.ts +3 -1
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +3 -1
- package/dist/api/types/PromptAgentDbModel.d.ts +0 -26
- package/{api/types/SipTrunkCredentials.d.ts → dist/api/types/SipTrunkCredentialsRequestModel.d.ts} +1 -1
- package/dist/api/types/SipTrunkCredentialsRequestModel.js +5 -0
- package/dist/api/types/SipUriTransferDestination.d.ts +6 -0
- package/dist/api/types/SipUriTransferDestination.js +5 -0
- package/dist/api/types/SubscriptionStatusType.d.ts +1 -3
- package/dist/api/types/SubscriptionStatusType.js +0 -2
- package/dist/api/types/SystemToolConfigInputParams.d.ts +1 -1
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +1 -1
- package/dist/api/types/{TransferToNumberToolConfig.d.ts → TransferToNumberToolConfigInput.d.ts} +1 -1
- package/dist/api/types/TransferToNumberToolConfigInput.js +5 -0
- package/dist/api/types/TransferToNumberToolConfigOutput.d.ts +9 -0
- package/dist/api/types/TransferToNumberToolConfigOutput.js +5 -0
- package/dist/api/types/TransferTypeEnum.d.ts +8 -0
- package/dist/api/types/TransferTypeEnum.js +10 -0
- package/dist/api/types/WidgetTextContents.d.ts +8 -0
- package/dist/api/types/WorkspaceResourceType.d.ts +2 -1
- package/dist/api/types/WorkspaceResourceType.js +1 -0
- package/dist/api/types/index.d.ts +17 -4
- package/dist/api/types/index.js +17 -4
- package/dist/core/fetcher/BinaryResponse.d.ts +7 -4
- package/dist/core/fetcher/BinaryResponse.js +5 -2
- package/dist/core/fetcher/Fetcher.js +3 -3
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.js +3 -7
- package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getErrorResponseBody.js +44 -0
- package/dist/core/fetcher/getResponseBody.js +2 -1
- package/dist/core/form-data-utils/FormDataWrapper.js +4 -4
- package/dist/core/form-data-utils/encodeAsFormParameter.d.ts +0 -3
- package/dist/core/form-data-utils/encodeAsFormParameter.js +2 -8
- package/dist/core/headers.d.ts +1 -1
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +2 -1
- package/dist/core/url/index.d.ts +2 -0
- package/dist/core/url/index.js +7 -0
- package/dist/core/url/join.d.ts +1 -0
- package/dist/core/url/join.js +49 -0
- package/dist/core/url/qs.d.ts +6 -0
- package/dist/core/url/qs.js +64 -0
- package/dist/environments.d.ts +4 -20
- package/dist/environments.js +4 -16
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/index.d.ts +1 -1
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/index.js +1 -1
- package/dist/serialization/resources/dubbing/index.d.ts +1 -0
- package/dist/serialization/resources/dubbing/index.js +1 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +10 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatus.js +41 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestFilterByCreator.d.ts +10 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestFilterByCreator.js +41 -0
- package/dist/serialization/resources/dubbing/types/index.d.ts +2 -0
- package/dist/serialization/resources/dubbing/types/index.js +18 -0
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +3 -0
- package/dist/serialization/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.js +3 -0
- package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -0
- package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +1 -0
- package/dist/serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +1 -1
- package/dist/serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js +2 -0
- package/dist/serialization/types/AgentConfig.d.ts +2 -9
- package/dist/serialization/types/AgentConfig.js +1 -8
- 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/AgentTestingSettings.d.ts +12 -0
- package/dist/serialization/types/AgentTestingSettings.js +43 -0
- package/dist/serialization/types/AgentTransfer.d.ts +3 -0
- package/dist/serialization/types/AgentTransfer.js +3 -0
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +3 -0
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js +3 -0
- package/dist/serialization/types/BreakdownTypes.d.ts +1 -1
- package/dist/serialization/types/BreakdownTypes.js +1 -0
- package/dist/serialization/types/ConvAiWebhooks.d.ts +1 -0
- package/dist/serialization/types/ConvAiWebhooks.js +1 -0
- package/dist/serialization/types/ConversationHistoryElevenAssistantCommonModel.d.ts +12 -0
- package/dist/serialization/types/ConversationHistoryElevenAssistantCommonModel.js +43 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +7 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +7 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.d.ts +5 -1
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallMcpDetails.d.ts +19 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallMcpDetails.js +50 -0
- package/dist/serialization/types/ConversationInitiationClientDataInternal.d.ts +1 -0
- package/dist/serialization/types/ConversationInitiationClientDataInternal.js +1 -0
- package/dist/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +1 -0
- package/dist/serialization/types/ConversationInitiationClientDataRequestInput.js +1 -0
- package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -0
- package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.js +1 -0
- package/dist/serialization/types/ConversationInitiationSource.d.ts +10 -0
- package/dist/serialization/types/ConversationInitiationSource.js +53 -0
- package/dist/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
- package/dist/serialization/types/ConversationalConfig.d.ts +1 -1
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +6 -10
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.js +6 -10
- package/dist/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
- package/dist/serialization/types/CreateTwilioPhoneNumberRequest.js +2 -0
- package/dist/serialization/types/CustomLlm.d.ts +1 -0
- package/dist/serialization/types/CustomLlm.js +1 -0
- package/dist/serialization/types/DubbingMetadataPageResponseModel.d.ts +15 -0
- package/dist/serialization/types/DubbingMetadataPageResponseModel.js +46 -0
- package/dist/serialization/types/DubbingMetadataResponse.d.ts +2 -0
- package/dist/serialization/types/DubbingMetadataResponse.js +2 -0
- package/dist/serialization/types/GetAgentResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetAgentResponseModel.js +1 -0
- package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetConversationResponseModel.js +1 -0
- package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +17 -0
- package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +48 -0
- package/{serialization/types/SipTrunkConfigResponseModel.d.ts → dist/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts} +2 -2
- package/dist/serialization/types/{SipTrunkConfigResponseModel.js → GetPhoneNumberOutboundSipTrunkConfigResponseModel.js} +2 -2
- package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +7 -2
- package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +7 -2
- package/dist/serialization/types/GetPhoneNumberTwilioResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetPhoneNumberTwilioResponseModel.js +2 -0
- package/dist/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +17 -0
- package/dist/serialization/types/InboundSipTrunkConfigRequestModel.js +48 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +0 -2
- package/dist/serialization/types/OutboundSipTrunkConfigRequestModel.d.ts +19 -0
- package/dist/serialization/types/OutboundSipTrunkConfigRequestModel.js +50 -0
- package/dist/serialization/types/PhoneNumberTransfer.d.ts +5 -1
- package/dist/serialization/types/PhoneNumberTransfer.js +5 -1
- package/dist/serialization/types/PhoneNumberTransferDestination.d.ts +12 -0
- package/dist/serialization/types/PhoneNumberTransferDestination.js +43 -0
- package/dist/serialization/types/PhoneNumberTransferTransferDestination.d.ts +18 -0
- package/dist/serialization/types/PhoneNumberTransferTransferDestination.js +51 -0
- 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/PromptAgentDbModel.d.ts +0 -18
- package/dist/serialization/types/PromptAgentDbModel.js +0 -18
- package/{serialization/types/SipTrunkCredentials.d.ts → dist/serialization/types/SipTrunkCredentialsRequestModel.d.ts} +2 -2
- package/{serialization/types/SipTrunkCredentials.js → dist/serialization/types/SipTrunkCredentialsRequestModel.js} +2 -2
- package/dist/serialization/types/SipUriTransferDestination.d.ts +12 -0
- package/dist/serialization/types/SipUriTransferDestination.js +43 -0
- package/dist/serialization/types/SubscriptionStatusType.d.ts +1 -1
- package/dist/serialization/types/SubscriptionStatusType.js +1 -10
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +2 -2
- package/dist/serialization/types/SystemToolConfigInputParams.js +2 -2
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +2 -2
- package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -2
- package/dist/serialization/types/{TransferToNumberToolConfig.d.ts → TransferToNumberToolConfigInput.d.ts} +2 -2
- package/dist/serialization/types/{TransferToNumberToolConfig.js → TransferToNumberToolConfigInput.js} +2 -2
- package/dist/serialization/types/TransferToNumberToolConfigOutput.d.ts +14 -0
- package/dist/serialization/types/TransferToNumberToolConfigOutput.js +45 -0
- package/dist/serialization/types/TransferTypeEnum.d.ts +10 -0
- package/dist/serialization/types/TransferTypeEnum.js +41 -0
- package/dist/serialization/types/WidgetTextContents.d.ts +4 -0
- package/dist/serialization/types/WidgetTextContents.js +4 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +1 -0
- package/dist/serialization/types/index.d.ts +17 -4
- package/dist/serialization/types/index.js +17 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/environments.d.ts +4 -20
- package/environments.js +4 -16
- package/jest.config.mjs +36 -6
- package/package.json +21 -20
- package/reference.md +106 -41
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +1 -0
- package/serialization/resources/conversationalAi/resources/phoneNumbers/types/index.d.ts +1 -1
- package/serialization/resources/conversationalAi/resources/phoneNumbers/types/index.js +1 -1
- package/serialization/resources/dubbing/index.d.ts +1 -0
- package/serialization/resources/dubbing/index.js +1 -0
- package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +10 -0
- package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatus.js +41 -0
- package/serialization/resources/dubbing/types/DubbingListRequestFilterByCreator.d.ts +10 -0
- package/serialization/resources/dubbing/types/DubbingListRequestFilterByCreator.js +41 -0
- package/serialization/resources/dubbing/types/index.d.ts +2 -0
- package/serialization/resources/dubbing/types/index.js +18 -0
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +3 -0
- package/serialization/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.js +3 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +1 -0
- package/serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +1 -1
- package/serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js +2 -0
- package/serialization/types/AgentConfig.d.ts +2 -9
- package/serialization/types/AgentConfig.js +1 -8
- 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/AgentTestingSettings.d.ts +12 -0
- package/serialization/types/AgentTestingSettings.js +43 -0
- package/serialization/types/AgentTransfer.d.ts +3 -0
- package/serialization/types/AgentTransfer.js +3 -0
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +3 -0
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js +3 -0
- package/serialization/types/BreakdownTypes.d.ts +1 -1
- package/serialization/types/BreakdownTypes.js +1 -0
- package/serialization/types/ConvAiWebhooks.d.ts +1 -0
- package/serialization/types/ConvAiWebhooks.js +1 -0
- package/serialization/types/ConversationHistoryElevenAssistantCommonModel.d.ts +12 -0
- package/serialization/types/ConversationHistoryElevenAssistantCommonModel.js +43 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +7 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.js +7 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.d.ts +5 -1
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallMcpDetails.d.ts +19 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallMcpDetails.js +50 -0
- package/serialization/types/ConversationInitiationClientDataInternal.d.ts +1 -0
- package/serialization/types/ConversationInitiationClientDataInternal.js +1 -0
- package/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +1 -0
- package/serialization/types/ConversationInitiationClientDataRequestInput.js +1 -0
- package/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -0
- package/serialization/types/ConversationInitiationClientDataRequestOutput.js +1 -0
- package/serialization/types/ConversationInitiationSource.d.ts +10 -0
- package/serialization/types/ConversationInitiationSource.js +53 -0
- package/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
- package/serialization/types/ConversationalConfig.d.ts +1 -1
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +6 -10
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.js +6 -10
- package/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
- package/serialization/types/CreateTwilioPhoneNumberRequest.js +2 -0
- package/serialization/types/CustomLlm.d.ts +1 -0
- package/serialization/types/CustomLlm.js +1 -0
- package/serialization/types/DubbingMetadataPageResponseModel.d.ts +15 -0
- package/serialization/types/DubbingMetadataPageResponseModel.js +46 -0
- package/serialization/types/DubbingMetadataResponse.d.ts +2 -0
- package/serialization/types/DubbingMetadataResponse.js +2 -0
- package/serialization/types/GetAgentResponseModel.d.ts +1 -0
- package/serialization/types/GetAgentResponseModel.js +1 -0
- package/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/serialization/types/GetConversationResponseModel.js +1 -0
- package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +17 -0
- package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +48 -0
- package/{dist/serialization/types/SipTrunkConfigResponseModel.d.ts → serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts} +2 -2
- package/serialization/types/{SipTrunkConfigResponseModel.js → GetPhoneNumberOutboundSipTrunkConfigResponseModel.js} +2 -2
- package/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +7 -2
- package/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +7 -2
- package/serialization/types/GetPhoneNumberTwilioResponseModel.d.ts +2 -0
- package/serialization/types/GetPhoneNumberTwilioResponseModel.js +2 -0
- package/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +17 -0
- package/serialization/types/InboundSipTrunkConfigRequestModel.js +48 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +0 -2
- package/serialization/types/OutboundSipTrunkConfigRequestModel.d.ts +19 -0
- package/serialization/types/OutboundSipTrunkConfigRequestModel.js +50 -0
- package/serialization/types/PhoneNumberTransfer.d.ts +5 -1
- package/serialization/types/PhoneNumberTransfer.js +5 -1
- package/serialization/types/PhoneNumberTransferDestination.d.ts +12 -0
- package/serialization/types/PhoneNumberTransferDestination.js +43 -0
- package/serialization/types/PhoneNumberTransferTransferDestination.d.ts +18 -0
- package/serialization/types/PhoneNumberTransferTransferDestination.js +51 -0
- 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/PromptAgentDbModel.d.ts +0 -18
- package/serialization/types/PromptAgentDbModel.js +0 -18
- package/{dist/serialization/types/SipTrunkCredentials.d.ts → serialization/types/SipTrunkCredentialsRequestModel.d.ts} +2 -2
- package/{dist/serialization/types/SipTrunkCredentials.js → serialization/types/SipTrunkCredentialsRequestModel.js} +2 -2
- package/serialization/types/SipUriTransferDestination.d.ts +12 -0
- package/serialization/types/SipUriTransferDestination.js +43 -0
- package/serialization/types/SubscriptionStatusType.d.ts +1 -1
- package/serialization/types/SubscriptionStatusType.js +1 -10
- package/serialization/types/SystemToolConfigInputParams.d.ts +2 -2
- package/serialization/types/SystemToolConfigInputParams.js +2 -2
- package/serialization/types/SystemToolConfigOutputParams.d.ts +2 -2
- package/serialization/types/SystemToolConfigOutputParams.js +2 -2
- package/serialization/types/{TransferToNumberToolConfig.d.ts → TransferToNumberToolConfigInput.d.ts} +2 -2
- package/serialization/types/{TransferToNumberToolConfig.js → TransferToNumberToolConfigInput.js} +2 -2
- package/serialization/types/TransferToNumberToolConfigOutput.d.ts +14 -0
- package/serialization/types/TransferToNumberToolConfigOutput.js +45 -0
- package/serialization/types/TransferTypeEnum.d.ts +10 -0
- package/serialization/types/TransferTypeEnum.js +41 -0
- package/serialization/types/WidgetTextContents.d.ts +4 -0
- package/serialization/types/WidgetTextContents.js +4 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +1 -0
- package/serialization/types/index.d.ts +17 -4
- package/serialization/types/index.js +17 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/jest.browser.config.mjs +0 -10
- /package/api/{types/SipTrunkConfigResponseModel.js → resources/dubbing/client/requests/DubbingListRequest.js} +0 -0
- /package/api/types/{SipTrunkCredentials.js → AgentTestingSettings.js} +0 -0
- /package/api/types/{TransferToNumberToolConfig.js → ConversationHistoryElevenAssistantCommonModel.js} +0 -0
- /package/{dist/api/types/SipTrunkConfigResponseModel.js → api/types/ConversationHistoryTranscriptToolCallMcpDetails.js} +0 -0
- /package/{dist/api/types/SipTrunkCredentials.js → api/types/DubbingMetadataPageResponseModel.js} +0 -0
- /package/{dist/api/types/TransferToNumberToolConfig.js → api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js} +0 -0
|
@@ -43,7 +43,7 @@ const LanguageDetectionToolConfig_1 = require("./LanguageDetectionToolConfig");
|
|
|
43
43
|
const PlayDtmfToolConfig_1 = require("./PlayDtmfToolConfig");
|
|
44
44
|
const SkipTurnToolConfig_1 = require("./SkipTurnToolConfig");
|
|
45
45
|
const TransferToAgentToolConfig_1 = require("./TransferToAgentToolConfig");
|
|
46
|
-
const
|
|
46
|
+
const TransferToNumberToolConfigOutput_1 = require("./TransferToNumberToolConfigOutput");
|
|
47
47
|
exports.SystemToolConfigOutputParams = core.serialization
|
|
48
48
|
.union(core.serialization.discriminant("systemToolType", "system_tool_type"), {
|
|
49
49
|
end_call: EndCallToolConfig_1.EndCallToolConfig,
|
|
@@ -51,7 +51,7 @@ exports.SystemToolConfigOutputParams = core.serialization
|
|
|
51
51
|
play_keypad_touch_tone: PlayDtmfToolConfig_1.PlayDtmfToolConfig,
|
|
52
52
|
skip_turn: SkipTurnToolConfig_1.SkipTurnToolConfig,
|
|
53
53
|
transfer_to_agent: TransferToAgentToolConfig_1.TransferToAgentToolConfig,
|
|
54
|
-
transfer_to_number:
|
|
54
|
+
transfer_to_number: TransferToNumberToolConfigOutput_1.TransferToNumberToolConfigOutput,
|
|
55
55
|
})
|
|
56
56
|
.transform({
|
|
57
57
|
transform: (value) => value,
|
|
@@ -5,8 +5,8 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { PhoneNumberTransfer } from "./PhoneNumberTransfer";
|
|
8
|
-
export declare const
|
|
9
|
-
export declare namespace
|
|
8
|
+
export declare const TransferToNumberToolConfigInput: core.serialization.ObjectSchema<serializers.TransferToNumberToolConfigInput.Raw, ElevenLabs.TransferToNumberToolConfigInput>;
|
|
9
|
+
export declare namespace TransferToNumberToolConfigInput {
|
|
10
10
|
interface Raw {
|
|
11
11
|
transfers: PhoneNumberTransfer.Raw[];
|
|
12
12
|
enable_client_message?: boolean | null;
|
|
@@ -36,10 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.TransferToNumberToolConfigInput = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const PhoneNumberTransfer_1 = require("./PhoneNumberTransfer");
|
|
42
|
-
exports.
|
|
42
|
+
exports.TransferToNumberToolConfigInput = core.serialization.object({
|
|
43
43
|
transfers: core.serialization.list(PhoneNumberTransfer_1.PhoneNumberTransfer),
|
|
44
44
|
enableClientMessage: core.serialization.property("enable_client_message", core.serialization.boolean().optional()),
|
|
45
45
|
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { PhoneNumberTransfer } from "./PhoneNumberTransfer";
|
|
8
|
+
export declare const TransferToNumberToolConfigOutput: core.serialization.ObjectSchema<serializers.TransferToNumberToolConfigOutput.Raw, ElevenLabs.TransferToNumberToolConfigOutput>;
|
|
9
|
+
export declare namespace TransferToNumberToolConfigOutput {
|
|
10
|
+
interface Raw {
|
|
11
|
+
transfers: PhoneNumberTransfer.Raw[];
|
|
12
|
+
enable_client_message?: boolean | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TransferToNumberToolConfigOutput = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const PhoneNumberTransfer_1 = require("./PhoneNumberTransfer");
|
|
42
|
+
exports.TransferToNumberToolConfigOutput = core.serialization.object({
|
|
43
|
+
transfers: core.serialization.list(PhoneNumberTransfer_1.PhoneNumberTransfer),
|
|
44
|
+
enableClientMessage: core.serialization.property("enable_client_message", core.serialization.boolean().optional()),
|
|
45
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TransferTypeEnum: core.serialization.Schema<serializers.TransferTypeEnum.Raw, ElevenLabs.TransferTypeEnum>;
|
|
8
|
+
export declare namespace TransferTypeEnum {
|
|
9
|
+
type Raw = "conference" | "sip_refer";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TransferTypeEnum = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.TransferTypeEnum = core.serialization.enum_(["conference", "sip_refer"]);
|
|
@@ -9,6 +9,7 @@ export declare namespace WidgetTextContents {
|
|
|
9
9
|
interface Raw {
|
|
10
10
|
main_label?: string | null;
|
|
11
11
|
start_call?: string | null;
|
|
12
|
+
start_chat?: string | null;
|
|
12
13
|
new_call?: string | null;
|
|
13
14
|
end_call?: string | null;
|
|
14
15
|
mute_microphone?: string | null;
|
|
@@ -21,8 +22,11 @@ export declare namespace WidgetTextContents {
|
|
|
21
22
|
listening_status?: string | null;
|
|
22
23
|
speaking_status?: string | null;
|
|
23
24
|
connecting_status?: string | null;
|
|
25
|
+
chatting_status?: string | null;
|
|
24
26
|
input_label?: string | null;
|
|
25
27
|
input_placeholder?: string | null;
|
|
28
|
+
input_placeholder_text_only?: string | null;
|
|
29
|
+
input_placeholder_new_conversation?: string | null;
|
|
26
30
|
user_ended_conversation?: string | null;
|
|
27
31
|
agent_ended_conversation?: string | null;
|
|
28
32
|
conversation_id?: string | null;
|
|
@@ -41,6 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
exports.WidgetTextContents = core.serialization.object({
|
|
42
42
|
mainLabel: core.serialization.property("main_label", core.serialization.string().optional()),
|
|
43
43
|
startCall: core.serialization.property("start_call", core.serialization.string().optional()),
|
|
44
|
+
startChat: core.serialization.property("start_chat", core.serialization.string().optional()),
|
|
44
45
|
newCall: core.serialization.property("new_call", core.serialization.string().optional()),
|
|
45
46
|
endCall: core.serialization.property("end_call", core.serialization.string().optional()),
|
|
46
47
|
muteMicrophone: core.serialization.property("mute_microphone", core.serialization.string().optional()),
|
|
@@ -53,8 +54,11 @@ exports.WidgetTextContents = core.serialization.object({
|
|
|
53
54
|
listeningStatus: core.serialization.property("listening_status", core.serialization.string().optional()),
|
|
54
55
|
speakingStatus: core.serialization.property("speaking_status", core.serialization.string().optional()),
|
|
55
56
|
connectingStatus: core.serialization.property("connecting_status", core.serialization.string().optional()),
|
|
57
|
+
chattingStatus: core.serialization.property("chatting_status", core.serialization.string().optional()),
|
|
56
58
|
inputLabel: core.serialization.property("input_label", core.serialization.string().optional()),
|
|
57
59
|
inputPlaceholder: core.serialization.property("input_placeholder", core.serialization.string().optional()),
|
|
60
|
+
inputPlaceholderTextOnly: core.serialization.property("input_placeholder_text_only", core.serialization.string().optional()),
|
|
61
|
+
inputPlaceholderNewConversation: core.serialization.property("input_placeholder_new_conversation", core.serialization.string().optional()),
|
|
58
62
|
userEndedConversation: core.serialization.property("user_ended_conversation", core.serialization.string().optional()),
|
|
59
63
|
agentEndedConversation: core.serialization.property("agent_ended_conversation", core.serialization.string().optional()),
|
|
60
64
|
conversationId: core.serialization.property("conversation_id", core.serialization.string().optional()),
|
|
@@ -6,5 +6,5 @@ import * as ElevenLabs from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const WorkspaceResourceType: core.serialization.Schema<serializers.WorkspaceResourceType.Raw, ElevenLabs.WorkspaceResourceType>;
|
|
8
8
|
export declare namespace WorkspaceResourceType {
|
|
9
|
-
type Raw = "voice" | "voice_collection" | "pronunciation_dictionary" | "dubbing" | "project" | "convai_agents" | "convai_knowledge_base_documents" | "convai_tools" | "convai_settings" | "convai_secrets" | "workspace_auth_connections" | "music_latent" | "convai_phone_numbers" | "convai_mcp_servers" | "convai_batch_calls";
|
|
9
|
+
type Raw = "voice" | "voice_collection" | "pronunciation_dictionary" | "dubbing" | "project" | "convai_agents" | "convai_knowledge_base_documents" | "convai_tools" | "convai_settings" | "convai_secrets" | "workspace_auth_connections" | "music_latent" | "convai_phone_numbers" | "convai_mcp_servers" | "convai_batch_calls" | "convai_agent_response_tests";
|
|
10
10
|
}
|
|
@@ -24,6 +24,7 @@ export * from "./AgentPlatformSettingsRequestModel";
|
|
|
24
24
|
export * from "./AgentPlatformSettingsResponseModel";
|
|
25
25
|
export * from "./AgentSimulatedChatTestResponseModel";
|
|
26
26
|
export * from "./AgentSummaryResponseModel";
|
|
27
|
+
export * from "./AgentTestingSettings";
|
|
27
28
|
export * from "./AgentTransfer";
|
|
28
29
|
export * from "./AgentWorkspaceOverridesInput";
|
|
29
30
|
export * from "./AgentWorkspaceOverridesOutput";
|
|
@@ -113,6 +114,7 @@ export * from "./ConversationConfigOverrideConfig";
|
|
|
113
114
|
export * from "./ConversationDeletionSettings";
|
|
114
115
|
export * from "./ConversationHistoryAnalysisCommonModel";
|
|
115
116
|
export * from "./ConversationHistoryBatchCallModel";
|
|
117
|
+
export * from "./ConversationHistoryElevenAssistantCommonModel";
|
|
116
118
|
export * from "./ConversationHistoryErrorCommonModel";
|
|
117
119
|
export * from "./ConversationHistoryEvaluationCriteriaResultCommonModel";
|
|
118
120
|
export * from "./ConversationHistoryFeedbackCommonModel";
|
|
@@ -130,6 +132,7 @@ export * from "./ConversationHistoryTranscriptCommonModelOutput";
|
|
|
130
132
|
export * from "./ConversationHistoryTranscriptToolCallClientDetails";
|
|
131
133
|
export * from "./ConversationHistoryTranscriptToolCallCommonModelToolDetails";
|
|
132
134
|
export * from "./ConversationHistoryTranscriptToolCallCommonModel";
|
|
135
|
+
export * from "./ConversationHistoryTranscriptToolCallMcpDetails";
|
|
133
136
|
export * from "./ConversationHistoryTranscriptToolCallWebhookDetails";
|
|
134
137
|
export * from "./ConversationHistoryTranscriptToolResultCommonModel";
|
|
135
138
|
export * from "./ConversationHistoryTwilioPhoneCallModelDirection";
|
|
@@ -144,6 +147,7 @@ export * from "./ConversationInitiationClientDataRequestOutputDynamicVariablesVa
|
|
|
144
147
|
export * from "./ConversationInitiationClientDataRequestOutput";
|
|
145
148
|
export * from "./ConversationInitiationClientDataWebhookRequestHeadersValue";
|
|
146
149
|
export * from "./ConversationInitiationClientDataWebhook";
|
|
150
|
+
export * from "./ConversationInitiationSource";
|
|
147
151
|
export * from "./ConversationSignedUrlResponseModel";
|
|
148
152
|
export * from "./ConversationSimulationSpecificationDynamicVariablesValue";
|
|
149
153
|
export * from "./ConversationSimulationSpecification";
|
|
@@ -191,6 +195,7 @@ export * from "./DocxExportOptions";
|
|
|
191
195
|
export * from "./DubbedSegment";
|
|
192
196
|
export * from "./DubbingMediaMetadata";
|
|
193
197
|
export * from "./DubbingMediaReference";
|
|
198
|
+
export * from "./DubbingMetadataPageResponseModel";
|
|
194
199
|
export * from "./DubbingMetadataResponse";
|
|
195
200
|
export * from "./DubbingRenderResponseModel";
|
|
196
201
|
export * from "./DubbingResource";
|
|
@@ -246,6 +251,8 @@ export * from "./GetKnowledgeBaseSummaryUrlResponseModel";
|
|
|
246
251
|
export * from "./GetKnowledgeBaseTextResponseModel";
|
|
247
252
|
export * from "./GetKnowledgeBaseUrlResponseModel";
|
|
248
253
|
export * from "./GetLibraryVoicesResponse";
|
|
254
|
+
export * from "./GetPhoneNumberInboundSipTrunkConfigResponseModel";
|
|
255
|
+
export * from "./GetPhoneNumberOutboundSipTrunkConfigResponseModel";
|
|
249
256
|
export * from "./GetPhoneNumberSipTrunkResponseModel";
|
|
250
257
|
export * from "./GetPhoneNumberTwilioResponseModel";
|
|
251
258
|
export * from "./GetProjectsResponse";
|
|
@@ -263,6 +270,7 @@ export * from "./HistoryAlignmentResponseModel";
|
|
|
263
270
|
export * from "./HistoryAlignmentsResponseModel";
|
|
264
271
|
export * from "./HtmlExportOptions";
|
|
265
272
|
export * from "./ImageAvatar";
|
|
273
|
+
export * from "./InboundSipTrunkConfigRequestModel";
|
|
266
274
|
export * from "./IntegrationType";
|
|
267
275
|
export * from "./InvoiceResponse";
|
|
268
276
|
export * from "./KnowledgeBaseDocumentChunkResponseModel";
|
|
@@ -325,9 +333,12 @@ export * from "./ObjectJsonSchemaPropertyOutput";
|
|
|
325
333
|
export * from "./OrbAvatar";
|
|
326
334
|
export * from "./OutboundCallRecipient";
|
|
327
335
|
export * from "./OutboundCallRecipientResponseModel";
|
|
336
|
+
export * from "./OutboundSipTrunkConfigRequestModel";
|
|
328
337
|
export * from "./PdfExportOptions";
|
|
329
338
|
export * from "./PhoneNumberAgentInfo";
|
|
339
|
+
export * from "./PhoneNumberTransferTransferDestination";
|
|
330
340
|
export * from "./PhoneNumberTransfer";
|
|
341
|
+
export * from "./PhoneNumberTransferDestination";
|
|
331
342
|
export * from "./PlayDtmfToolConfig";
|
|
332
343
|
export * from "./PodcastBulletinMode";
|
|
333
344
|
export * from "./PodcastBulletinModeData";
|
|
@@ -364,7 +375,6 @@ export * from "./PromptAgentApiModelOutputToolsItem";
|
|
|
364
375
|
export * from "./PromptAgentApiModelOutput";
|
|
365
376
|
export * from "./PromptAgentApiModelOverride";
|
|
366
377
|
export * from "./PromptAgentApiModelOverrideConfig";
|
|
367
|
-
export * from "./PromptAgentDbModel";
|
|
368
378
|
export * from "./PromptEvaluationCriteria";
|
|
369
379
|
export * from "./PronunciationDictionaryAliasRuleRequestModel";
|
|
370
380
|
export * from "./PronunciationDictionaryLocatorResponseModel";
|
|
@@ -395,10 +405,10 @@ export * from "./ResourceAccessInfoRole";
|
|
|
395
405
|
export * from "./ResourceAccessInfo";
|
|
396
406
|
export * from "./ResourceMetadataResponseModel";
|
|
397
407
|
export * from "./SipMediaEncryptionEnum";
|
|
398
|
-
export * from "./
|
|
399
|
-
export * from "./SipTrunkCredentials";
|
|
408
|
+
export * from "./SipTrunkCredentialsRequestModel";
|
|
400
409
|
export * from "./SipTrunkOutboundCallResponse";
|
|
401
410
|
export * from "./SipTrunkTransportEnum";
|
|
411
|
+
export * from "./SipUriTransferDestination";
|
|
402
412
|
export * from "./SafetyCommonModel";
|
|
403
413
|
export * from "./SafetyEvaluation";
|
|
404
414
|
export * from "./SafetyResponseModel";
|
|
@@ -466,7 +476,9 @@ export * from "./ToolResponseModelToolConfig";
|
|
|
466
476
|
export * from "./ToolResponseModel";
|
|
467
477
|
export * from "./ToolsResponseModel";
|
|
468
478
|
export * from "./TransferToAgentToolConfig";
|
|
469
|
-
export * from "./
|
|
479
|
+
export * from "./TransferToNumberToolConfigInput";
|
|
480
|
+
export * from "./TransferToNumberToolConfigOutput";
|
|
481
|
+
export * from "./TransferTypeEnum";
|
|
470
482
|
export * from "./TurnConfig";
|
|
471
483
|
export * from "./TurnMode";
|
|
472
484
|
export * from "./TwilioOutboundCallResponse";
|
|
@@ -528,6 +540,7 @@ export * from "./WorkspaceResourceType";
|
|
|
528
540
|
export * from "./WorkspaceWebhookListResponseModel";
|
|
529
541
|
export * from "./WorkspaceWebhookResponseModel";
|
|
530
542
|
export * from "./WorkspaceWebhookUsageResponseModel";
|
|
543
|
+
export * from "./PromptAgentDbModel";
|
|
531
544
|
export * from "./OutputFormat";
|
|
532
545
|
export * from "./HistoryItemResponse";
|
|
533
546
|
export * from "./Age";
|
|
@@ -40,6 +40,7 @@ __exportStar(require("./AgentPlatformSettingsRequestModel"), exports);
|
|
|
40
40
|
__exportStar(require("./AgentPlatformSettingsResponseModel"), exports);
|
|
41
41
|
__exportStar(require("./AgentSimulatedChatTestResponseModel"), exports);
|
|
42
42
|
__exportStar(require("./AgentSummaryResponseModel"), exports);
|
|
43
|
+
__exportStar(require("./AgentTestingSettings"), exports);
|
|
43
44
|
__exportStar(require("./AgentTransfer"), exports);
|
|
44
45
|
__exportStar(require("./AgentWorkspaceOverridesInput"), exports);
|
|
45
46
|
__exportStar(require("./AgentWorkspaceOverridesOutput"), exports);
|
|
@@ -129,6 +130,7 @@ __exportStar(require("./ConversationConfigOverrideConfig"), exports);
|
|
|
129
130
|
__exportStar(require("./ConversationDeletionSettings"), exports);
|
|
130
131
|
__exportStar(require("./ConversationHistoryAnalysisCommonModel"), exports);
|
|
131
132
|
__exportStar(require("./ConversationHistoryBatchCallModel"), exports);
|
|
133
|
+
__exportStar(require("./ConversationHistoryElevenAssistantCommonModel"), exports);
|
|
132
134
|
__exportStar(require("./ConversationHistoryErrorCommonModel"), exports);
|
|
133
135
|
__exportStar(require("./ConversationHistoryEvaluationCriteriaResultCommonModel"), exports);
|
|
134
136
|
__exportStar(require("./ConversationHistoryFeedbackCommonModel"), exports);
|
|
@@ -146,6 +148,7 @@ __exportStar(require("./ConversationHistoryTranscriptCommonModelOutput"), export
|
|
|
146
148
|
__exportStar(require("./ConversationHistoryTranscriptToolCallClientDetails"), exports);
|
|
147
149
|
__exportStar(require("./ConversationHistoryTranscriptToolCallCommonModelToolDetails"), exports);
|
|
148
150
|
__exportStar(require("./ConversationHistoryTranscriptToolCallCommonModel"), exports);
|
|
151
|
+
__exportStar(require("./ConversationHistoryTranscriptToolCallMcpDetails"), exports);
|
|
149
152
|
__exportStar(require("./ConversationHistoryTranscriptToolCallWebhookDetails"), exports);
|
|
150
153
|
__exportStar(require("./ConversationHistoryTranscriptToolResultCommonModel"), exports);
|
|
151
154
|
__exportStar(require("./ConversationHistoryTwilioPhoneCallModelDirection"), exports);
|
|
@@ -160,6 +163,7 @@ __exportStar(require("./ConversationInitiationClientDataRequestOutputDynamicVari
|
|
|
160
163
|
__exportStar(require("./ConversationInitiationClientDataRequestOutput"), exports);
|
|
161
164
|
__exportStar(require("./ConversationInitiationClientDataWebhookRequestHeadersValue"), exports);
|
|
162
165
|
__exportStar(require("./ConversationInitiationClientDataWebhook"), exports);
|
|
166
|
+
__exportStar(require("./ConversationInitiationSource"), exports);
|
|
163
167
|
__exportStar(require("./ConversationSignedUrlResponseModel"), exports);
|
|
164
168
|
__exportStar(require("./ConversationSimulationSpecificationDynamicVariablesValue"), exports);
|
|
165
169
|
__exportStar(require("./ConversationSimulationSpecification"), exports);
|
|
@@ -207,6 +211,7 @@ __exportStar(require("./DocxExportOptions"), exports);
|
|
|
207
211
|
__exportStar(require("./DubbedSegment"), exports);
|
|
208
212
|
__exportStar(require("./DubbingMediaMetadata"), exports);
|
|
209
213
|
__exportStar(require("./DubbingMediaReference"), exports);
|
|
214
|
+
__exportStar(require("./DubbingMetadataPageResponseModel"), exports);
|
|
210
215
|
__exportStar(require("./DubbingMetadataResponse"), exports);
|
|
211
216
|
__exportStar(require("./DubbingRenderResponseModel"), exports);
|
|
212
217
|
__exportStar(require("./DubbingResource"), exports);
|
|
@@ -262,6 +267,8 @@ __exportStar(require("./GetKnowledgeBaseSummaryUrlResponseModel"), exports);
|
|
|
262
267
|
__exportStar(require("./GetKnowledgeBaseTextResponseModel"), exports);
|
|
263
268
|
__exportStar(require("./GetKnowledgeBaseUrlResponseModel"), exports);
|
|
264
269
|
__exportStar(require("./GetLibraryVoicesResponse"), exports);
|
|
270
|
+
__exportStar(require("./GetPhoneNumberInboundSipTrunkConfigResponseModel"), exports);
|
|
271
|
+
__exportStar(require("./GetPhoneNumberOutboundSipTrunkConfigResponseModel"), exports);
|
|
265
272
|
__exportStar(require("./GetPhoneNumberSipTrunkResponseModel"), exports);
|
|
266
273
|
__exportStar(require("./GetPhoneNumberTwilioResponseModel"), exports);
|
|
267
274
|
__exportStar(require("./GetProjectsResponse"), exports);
|
|
@@ -279,6 +286,7 @@ __exportStar(require("./HistoryAlignmentResponseModel"), exports);
|
|
|
279
286
|
__exportStar(require("./HistoryAlignmentsResponseModel"), exports);
|
|
280
287
|
__exportStar(require("./HtmlExportOptions"), exports);
|
|
281
288
|
__exportStar(require("./ImageAvatar"), exports);
|
|
289
|
+
__exportStar(require("./InboundSipTrunkConfigRequestModel"), exports);
|
|
282
290
|
__exportStar(require("./IntegrationType"), exports);
|
|
283
291
|
__exportStar(require("./InvoiceResponse"), exports);
|
|
284
292
|
__exportStar(require("./KnowledgeBaseDocumentChunkResponseModel"), exports);
|
|
@@ -341,9 +349,12 @@ __exportStar(require("./ObjectJsonSchemaPropertyOutput"), exports);
|
|
|
341
349
|
__exportStar(require("./OrbAvatar"), exports);
|
|
342
350
|
__exportStar(require("./OutboundCallRecipient"), exports);
|
|
343
351
|
__exportStar(require("./OutboundCallRecipientResponseModel"), exports);
|
|
352
|
+
__exportStar(require("./OutboundSipTrunkConfigRequestModel"), exports);
|
|
344
353
|
__exportStar(require("./PdfExportOptions"), exports);
|
|
345
354
|
__exportStar(require("./PhoneNumberAgentInfo"), exports);
|
|
355
|
+
__exportStar(require("./PhoneNumberTransferTransferDestination"), exports);
|
|
346
356
|
__exportStar(require("./PhoneNumberTransfer"), exports);
|
|
357
|
+
__exportStar(require("./PhoneNumberTransferDestination"), exports);
|
|
347
358
|
__exportStar(require("./PlayDtmfToolConfig"), exports);
|
|
348
359
|
__exportStar(require("./PodcastBulletinMode"), exports);
|
|
349
360
|
__exportStar(require("./PodcastBulletinModeData"), exports);
|
|
@@ -380,7 +391,6 @@ __exportStar(require("./PromptAgentApiModelOutputToolsItem"), exports);
|
|
|
380
391
|
__exportStar(require("./PromptAgentApiModelOutput"), exports);
|
|
381
392
|
__exportStar(require("./PromptAgentApiModelOverride"), exports);
|
|
382
393
|
__exportStar(require("./PromptAgentApiModelOverrideConfig"), exports);
|
|
383
|
-
__exportStar(require("./PromptAgentDbModel"), exports);
|
|
384
394
|
__exportStar(require("./PromptEvaluationCriteria"), exports);
|
|
385
395
|
__exportStar(require("./PronunciationDictionaryAliasRuleRequestModel"), exports);
|
|
386
396
|
__exportStar(require("./PronunciationDictionaryLocatorResponseModel"), exports);
|
|
@@ -411,10 +421,10 @@ __exportStar(require("./ResourceAccessInfoRole"), exports);
|
|
|
411
421
|
__exportStar(require("./ResourceAccessInfo"), exports);
|
|
412
422
|
__exportStar(require("./ResourceMetadataResponseModel"), exports);
|
|
413
423
|
__exportStar(require("./SipMediaEncryptionEnum"), exports);
|
|
414
|
-
__exportStar(require("./
|
|
415
|
-
__exportStar(require("./SipTrunkCredentials"), exports);
|
|
424
|
+
__exportStar(require("./SipTrunkCredentialsRequestModel"), exports);
|
|
416
425
|
__exportStar(require("./SipTrunkOutboundCallResponse"), exports);
|
|
417
426
|
__exportStar(require("./SipTrunkTransportEnum"), exports);
|
|
427
|
+
__exportStar(require("./SipUriTransferDestination"), exports);
|
|
418
428
|
__exportStar(require("./SafetyCommonModel"), exports);
|
|
419
429
|
__exportStar(require("./SafetyEvaluation"), exports);
|
|
420
430
|
__exportStar(require("./SafetyResponseModel"), exports);
|
|
@@ -482,7 +492,9 @@ __exportStar(require("./ToolResponseModelToolConfig"), exports);
|
|
|
482
492
|
__exportStar(require("./ToolResponseModel"), exports);
|
|
483
493
|
__exportStar(require("./ToolsResponseModel"), exports);
|
|
484
494
|
__exportStar(require("./TransferToAgentToolConfig"), exports);
|
|
485
|
-
__exportStar(require("./
|
|
495
|
+
__exportStar(require("./TransferToNumberToolConfigInput"), exports);
|
|
496
|
+
__exportStar(require("./TransferToNumberToolConfigOutput"), exports);
|
|
497
|
+
__exportStar(require("./TransferTypeEnum"), exports);
|
|
486
498
|
__exportStar(require("./TurnConfig"), exports);
|
|
487
499
|
__exportStar(require("./TurnMode"), exports);
|
|
488
500
|
__exportStar(require("./TwilioOutboundCallResponse"), exports);
|
|
@@ -544,6 +556,7 @@ __exportStar(require("./WorkspaceResourceType"), exports);
|
|
|
544
556
|
__exportStar(require("./WorkspaceWebhookListResponseModel"), exports);
|
|
545
557
|
__exportStar(require("./WorkspaceWebhookResponseModel"), exports);
|
|
546
558
|
__exportStar(require("./WorkspaceWebhookUsageResponseModel"), exports);
|
|
559
|
+
__exportStar(require("./PromptAgentDbModel"), exports);
|
|
547
560
|
__exportStar(require("./OutputFormat"), exports);
|
|
548
561
|
__exportStar(require("./HistoryItemResponse"), exports);
|
|
549
562
|
__exportStar(require("./Age"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v2.
|
|
1
|
+
export declare const SDK_VERSION = "v2.7.0";
|
package/dist/version.js
CHANGED
package/environments.d.ts
CHANGED
|
@@ -1,26 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export interface ElevenLabsEnvironmentUrls {
|
|
5
|
-
base: string;
|
|
6
|
-
wss: string;
|
|
7
|
-
}
|
|
8
4
|
export declare const ElevenLabsEnvironment: {
|
|
9
|
-
readonly Production:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
readonly ProductionUs: {
|
|
14
|
-
readonly base: "https://api.us.elevenlabs.io";
|
|
15
|
-
readonly wss: "wss://api.elevenlabs.io";
|
|
16
|
-
};
|
|
17
|
-
readonly ProductionEu: {
|
|
18
|
-
readonly base: "https://api.eu.residency.elevenlabs.io";
|
|
19
|
-
readonly wss: "wss://api.elevenlabs.io";
|
|
20
|
-
};
|
|
21
|
-
readonly ProductionIndia: {
|
|
22
|
-
readonly base: "https://api.in.residency.elevenlabs.io";
|
|
23
|
-
readonly wss: "wss://api.elevenlabs.io";
|
|
24
|
-
};
|
|
5
|
+
readonly Production: "https://api.elevenlabs.io";
|
|
6
|
+
readonly ProductionUs: "https://api.us.elevenlabs.io";
|
|
7
|
+
readonly ProductionEu: "https://api.eu.residency.elevenlabs.io";
|
|
8
|
+
readonly ProductionIndia: "https://api.in.residency.elevenlabs.io";
|
|
25
9
|
};
|
|
26
10
|
export type ElevenLabsEnvironment = typeof ElevenLabsEnvironment.Production | typeof ElevenLabsEnvironment.ProductionUs | typeof ElevenLabsEnvironment.ProductionEu | typeof ElevenLabsEnvironment.ProductionIndia;
|
package/environments.js
CHANGED
|
@@ -5,20 +5,8 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ElevenLabsEnvironment = void 0;
|
|
7
7
|
exports.ElevenLabsEnvironment = {
|
|
8
|
-
Production:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
ProductionUs: {
|
|
13
|
-
base: "https://api.us.elevenlabs.io",
|
|
14
|
-
wss: "wss://api.elevenlabs.io",
|
|
15
|
-
},
|
|
16
|
-
ProductionEu: {
|
|
17
|
-
base: "https://api.eu.residency.elevenlabs.io",
|
|
18
|
-
wss: "wss://api.elevenlabs.io",
|
|
19
|
-
},
|
|
20
|
-
ProductionIndia: {
|
|
21
|
-
base: "https://api.in.residency.elevenlabs.io",
|
|
22
|
-
wss: "wss://api.elevenlabs.io",
|
|
23
|
-
},
|
|
8
|
+
Production: "https://api.elevenlabs.io",
|
|
9
|
+
ProductionUs: "https://api.us.elevenlabs.io",
|
|
10
|
+
ProductionEu: "https://api.eu.residency.elevenlabs.io",
|
|
11
|
+
ProductionIndia: "https://api.in.residency.elevenlabs.io",
|
|
24
12
|
};
|
package/jest.config.mjs
CHANGED
|
@@ -2,11 +2,41 @@
|
|
|
2
2
|
export default {
|
|
3
3
|
preset: "ts-jest",
|
|
4
4
|
testEnvironment: "node",
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
projects: [
|
|
6
|
+
{
|
|
7
|
+
displayName: "unit",
|
|
8
|
+
preset: "ts-jest",
|
|
9
|
+
testEnvironment: "node",
|
|
10
|
+
moduleNameMapper: {
|
|
11
|
+
"^(\.{1,2}/.*)\.js$": "$1",
|
|
12
|
+
},
|
|
13
|
+
roots: ["<rootDir>/tests"],
|
|
14
|
+
testPathIgnorePatterns: ["\.browser\.(spec|test)\.[jt]sx?$", "/tests/wire/"],
|
|
15
|
+
setupFilesAfterEnv: [],
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
displayName: "browser",
|
|
19
|
+
preset: "ts-jest",
|
|
20
|
+
testEnvironment: "<rootDir>/tests/BrowserTestEnvironment.ts",
|
|
21
|
+
moduleNameMapper: {
|
|
22
|
+
"^(\.{1,2}/.*)\.js$": "$1",
|
|
23
|
+
},
|
|
24
|
+
roots: ["<rootDir>/tests"],
|
|
25
|
+
testMatch: ["<rootDir>/tests/unit/**/?(*.)+(browser).(spec|test).[jt]s?(x)"],
|
|
26
|
+
setupFilesAfterEnv: [],
|
|
27
|
+
},
|
|
28
|
+
,
|
|
29
|
+
{
|
|
30
|
+
displayName: "wire",
|
|
31
|
+
preset: "ts-jest",
|
|
32
|
+
testEnvironment: "node",
|
|
33
|
+
moduleNameMapper: {
|
|
34
|
+
"^(\.{1,2}/.*)\.js$": "$1",
|
|
35
|
+
},
|
|
36
|
+
roots: ["<rootDir>/tests/wire"],
|
|
37
|
+
setupFilesAfterEnv: ["<rootDir>/tests/mock-server/setup.ts"],
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
workerThreads: false,
|
|
11
41
|
passWithNoTests: true,
|
|
12
42
|
};
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elevenlabs/elevenlabs-js",
|
|
3
|
-
"version": "v2.
|
|
3
|
+
"version": "v2.7.0",
|
|
4
4
|
"private": false,
|
|
5
|
-
"repository": "
|
|
5
|
+
"repository": "github:elevenlabs/elevenlabs-js",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "./index.js",
|
|
8
8
|
"types": "./index.d.ts",
|
|
@@ -10,33 +10,30 @@
|
|
|
10
10
|
"format": "prettier . --write --ignore-unknown",
|
|
11
11
|
"build": "tsc",
|
|
12
12
|
"prepack": "cp -rv dist/. .",
|
|
13
|
-
"test": "jest
|
|
14
|
-
"test:
|
|
15
|
-
"test:
|
|
16
|
-
"wire
|
|
13
|
+
"test": "jest --config jest.config.mjs",
|
|
14
|
+
"test:unit": "jest --selectProjects unit",
|
|
15
|
+
"test:browser": "jest --selectProjects browser",
|
|
16
|
+
"test:wire": "jest --selectProjects wire"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"
|
|
20
|
-
"node-fetch": "^2.7.0"
|
|
21
|
-
"qs": "^6.13.1",
|
|
22
|
-
"command-exists": "^1.2.9"
|
|
19
|
+
"command-exists": "^1.2.9",
|
|
20
|
+
"node-fetch": "^2.7.0"
|
|
23
21
|
},
|
|
24
22
|
"devDependencies": {
|
|
25
|
-
"@types/url-join": "4.0.1",
|
|
26
|
-
"@types/qs": "^6.9.17",
|
|
27
|
-
"@types/node-fetch": "^2.6.12",
|
|
28
|
-
"webpack": "^5.97.1",
|
|
29
|
-
"ts-loader": "^9.5.1",
|
|
30
|
-
"jest": "^29.7.0",
|
|
31
23
|
"@jest/globals": "^29.7.0",
|
|
24
|
+
"@types/command-exists": "^1.2.3",
|
|
32
25
|
"@types/jest": "^29.5.5",
|
|
33
|
-
"
|
|
26
|
+
"@types/node": "^18.19.70",
|
|
27
|
+
"@types/node-fetch": "^2.6.12",
|
|
28
|
+
"@types/ws": "^8.18.1",
|
|
29
|
+
"jest": "^29.7.0",
|
|
34
30
|
"jest-environment-jsdom": "^29.7.0",
|
|
35
31
|
"msw": "^2.8.4",
|
|
36
|
-
"@types/node": "^18.19.70",
|
|
37
32
|
"prettier": "^3.4.2",
|
|
33
|
+
"ts-jest": "^29.1.1",
|
|
34
|
+
"ts-loader": "^9.5.1",
|
|
38
35
|
"typescript": "~5.7.2",
|
|
39
|
-
"
|
|
36
|
+
"webpack": "^5.97.1"
|
|
40
37
|
},
|
|
41
38
|
"browser": {
|
|
42
39
|
"fs": false,
|
|
@@ -45,5 +42,9 @@
|
|
|
45
42
|
"stream": false,
|
|
46
43
|
"command-exists": false
|
|
47
44
|
},
|
|
48
|
-
"packageManager": "yarn@1.22.22"
|
|
45
|
+
"packageManager": "yarn@1.22.22",
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=18.0.0"
|
|
48
|
+
},
|
|
49
|
+
"sideEffects": false
|
|
49
50
|
}
|