@elevenlabs/elevenlabs-js 2.5.0 → 2.6.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.js +4 -4
- package/api/resources/audioIsolation/client/Client.js +5 -9
- package/api/resources/audioNative/client/Client.js +7 -11
- 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 +280 -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 +4 -4
- package/api/resources/conversationalAi/resources/agents/client/Client.js +21 -25
- 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/resources/knowledgeBase/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +3 -7
- 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.js +3 -7
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +12 -16
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -13
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +5 -9
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -7
- 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.js +3 -7
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +7 -11
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +5 -9
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +12 -12
- 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.js +7 -11
- package/api/resources/conversationalAi/resources/settings/client/Client.js +5 -9
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/tools/client/Client.js +13 -17
- package/api/resources/conversationalAi/resources/twilio/client/Client.js +3 -7
- package/api/resources/dubbing/client/Client.js +7 -11
- package/api/resources/dubbing/resources/audio/client/Client.js +3 -7
- package/api/resources/dubbing/resources/resource/client/Client.js +11 -15
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +3 -7
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +5 -9
- 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.js +3 -7
- package/api/resources/dubbing/resources/transcript/client/Client.js +3 -7
- package/api/resources/forcedAlignment/client/Client.js +3 -7
- package/api/resources/history/client/Client.js +11 -15
- package/api/resources/models/client/Client.js +3 -7
- package/api/resources/pronunciationDictionaries/client/Client.js +11 -15
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +5 -9
- package/api/resources/samples/client/Client.js +3 -7
- package/api/resources/speechToSpeech/client/Client.js +5 -9
- package/api/resources/speechToText/client/Client.js +6 -7
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
- 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.js +13 -17
- 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.js +7 -11
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +3 -7
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +3 -7
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +9 -13
- package/api/resources/textToDialogue/client/Client.js +5 -9
- package/api/resources/textToSoundEffects/client/Client.js +3 -7
- package/api/resources/textToSpeech/client/Client.js +9 -13
- package/api/resources/textToVoice/client/Client.d.ts +3 -0
- 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.js +3 -7
- package/api/resources/user/client/Client.js +3 -7
- package/api/resources/user/resources/subscription/client/Client.js +3 -7
- package/api/resources/voices/client/Client.js +17 -21
- package/api/resources/voices/resources/ivc/client/Client.js +3 -7
- package/api/resources/voices/resources/pvc/client/Client.js +7 -11
- 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.js +3 -7
- 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.js +3 -7
- 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.js +3 -7
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -9
- package/api/resources/voices/resources/samples/resources/audio/client/Client.js +3 -7
- package/api/resources/voices/resources/settings/client/Client.js +7 -11
- package/api/resources/webhooks/client/Client.js +3 -7
- package/api/resources/workspace/resources/groups/client/Client.js +3 -7
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +5 -9
- 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.js +5 -9
- package/api/resources/workspace/resources/resources/client/Client.js +7 -11
- package/api/types/AgentConfig.d.ts +1 -10
- 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 +3 -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 +2 -21
- 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/GetPhoneNumberSipTrunkResponseModel.d.ts +5 -1
- package/api/types/InboundSipTrunkConfigRequestModel.d.ts +14 -0
- package/api/types/OutboundSipTrunkConfigRequestModel.d.ts +16 -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 +1 -1
- package/api/types/PromptAgentApiModelOutput.d.ts +1 -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 +15 -4
- package/api/types/index.js +15 -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.js +4 -4
- package/dist/api/resources/audioIsolation/client/Client.js +5 -9
- package/dist/api/resources/audioNative/client/Client.js +7 -11
- 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 +280 -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 +4 -4
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +21 -25
- 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/resources/knowledgeBase/client/Client.js +3 -7
- 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.js +3 -7
- 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.js +3 -7
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +12 -16
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -13
- 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.js +3 -7
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +5 -9
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -7
- 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.js +17 -21
- 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.js +3 -7
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +7 -11
- 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.js +5 -9
- 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 +12 -12
- 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.js +7 -11
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +5 -9
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +3 -7
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +13 -17
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +3 -7
- package/dist/api/resources/dubbing/client/Client.js +7 -11
- package/dist/api/resources/dubbing/resources/audio/client/Client.js +3 -7
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +11 -15
- 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.js +5 -9
- 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.js +3 -7
- package/dist/api/resources/dubbing/resources/transcript/client/Client.js +3 -7
- package/dist/api/resources/forcedAlignment/client/Client.js +3 -7
- package/dist/api/resources/history/client/Client.js +11 -15
- package/dist/api/resources/models/client/Client.js +3 -7
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +11 -15
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +5 -9
- package/dist/api/resources/samples/client/Client.js +3 -7
- package/dist/api/resources/speechToSpeech/client/Client.js +5 -9
- package/dist/api/resources/speechToText/client/Client.js +6 -7
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
- 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.js +13 -17
- 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.js +7 -11
- 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.js +3 -7
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +9 -13
- package/dist/api/resources/textToDialogue/client/Client.js +5 -9
- package/dist/api/resources/textToSoundEffects/client/Client.js +3 -7
- package/dist/api/resources/textToSpeech/client/Client.js +9 -13
- package/dist/api/resources/textToVoice/client/Client.d.ts +3 -0
- 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.js +3 -7
- package/dist/api/resources/user/client/Client.js +3 -7
- package/dist/api/resources/user/resources/subscription/client/Client.js +3 -7
- package/dist/api/resources/voices/client/Client.js +17 -21
- package/dist/api/resources/voices/resources/ivc/client/Client.js +3 -7
- package/dist/api/resources/voices/resources/pvc/client/Client.js +7 -11
- 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.js +3 -7
- 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.js +3 -7
- 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.js +3 -7
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -9
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +3 -7
- package/dist/api/resources/voices/resources/settings/client/Client.js +7 -11
- package/dist/api/resources/webhooks/client/Client.js +3 -7
- package/dist/api/resources/workspace/resources/groups/client/Client.js +3 -7
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +5 -9
- 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.js +5 -9
- 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/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 +3 -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 +2 -21
- 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 +5 -1
- package/dist/api/types/InboundSipTrunkConfigRequestModel.d.ts +14 -0
- package/dist/api/types/InboundSipTrunkConfigRequestModel.js +5 -0
- 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 +1 -1
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +1 -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 +15 -4
- package/dist/api/types/index.js +15 -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/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/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/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 +5 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +5 -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 +4 -10
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.js +4 -10
- 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 +5 -2
- package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +5 -2
- package/dist/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +17 -0
- package/dist/serialization/types/InboundSipTrunkConfigRequestModel.js +48 -0
- 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/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 +15 -4
- package/dist/serialization/types/index.js +15 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/jest.config.mjs +36 -6
- package/package.json +21 -20
- package/reference.md +43 -41
- 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/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/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 +5 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.js +5 -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 +4 -10
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.js +4 -10
- 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 +5 -2
- package/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +5 -2
- package/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +17 -0
- package/serialization/types/InboundSipTrunkConfigRequestModel.js +48 -0
- 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/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 +15 -4
- package/serialization/types/index.js +15 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/jest.browser.config.mjs +0 -10
- /package/api/types/{SipTrunkConfigResponseModel.js → ConversationHistoryElevenAssistantCommonModel.js} +0 -0
- /package/api/types/{SipTrunkCredentials.js → ConversationHistoryTranscriptToolCallMcpDetails.js} +0 -0
- /package/api/types/{TransferToNumberToolConfig.js → GetPhoneNumberInboundSipTrunkConfigResponseModel.js} +0 -0
- /package/{dist/api/types/SipTrunkConfigResponseModel.js → api/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.js} +0 -0
- /package/{dist/api/types/SipTrunkCredentials.js → api/types/InboundSipTrunkConfigRequestModel.js} +0 -0
- /package/{dist/api/types/TransferToNumberToolConfig.js → api/types/OutboundSipTrunkConfigRequestModel.js} +0 -0
|
@@ -5,5 +5,7 @@ import * as ElevenLabs from "../index";
|
|
|
5
5
|
export interface ConversationInitiationClientDataRequestOutput {
|
|
6
6
|
conversationConfigOverride?: ElevenLabs.ConversationConfigClientOverrideOutput;
|
|
7
7
|
customLlmExtraBody?: Record<string, unknown>;
|
|
8
|
+
/** ID of the end user participating in this conversation (for agent owner's user identification) */
|
|
9
|
+
userId?: string;
|
|
8
10
|
dynamicVariables?: Record<string, ElevenLabs.ConversationInitiationClientDataRequestOutputDynamicVariablesValue | undefined>;
|
|
9
11
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Enum representing the possible sources for conversation initiation.
|
|
6
|
+
*/
|
|
7
|
+
export type ConversationInitiationSource = "unknown" | "android_sdk" | "node_js_sdk" | "react_native_sdk" | "react_sdk" | "js_sdk" | "python_sdk" | "widget" | "sip_trunk" | "twilio" | "genesys";
|
|
8
|
+
export declare const ConversationInitiationSource: {
|
|
9
|
+
readonly Unknown: "unknown";
|
|
10
|
+
readonly AndroidSdk: "android_sdk";
|
|
11
|
+
readonly NodeJsSdk: "node_js_sdk";
|
|
12
|
+
readonly ReactNativeSdk: "react_native_sdk";
|
|
13
|
+
readonly ReactSdk: "react_sdk";
|
|
14
|
+
readonly JsSdk: "js_sdk";
|
|
15
|
+
readonly PythonSdk: "python_sdk";
|
|
16
|
+
readonly Widget: "widget";
|
|
17
|
+
readonly SipTrunk: "sip_trunk";
|
|
18
|
+
readonly Twilio: "twilio";
|
|
19
|
+
readonly Genesys: "genesys";
|
|
20
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ConversationInitiationSource = void 0;
|
|
7
|
+
exports.ConversationInitiationSource = {
|
|
8
|
+
Unknown: "unknown",
|
|
9
|
+
AndroidSdk: "android_sdk",
|
|
10
|
+
NodeJsSdk: "node_js_sdk",
|
|
11
|
+
ReactNativeSdk: "react_native_sdk",
|
|
12
|
+
ReactSdk: "react_sdk",
|
|
13
|
+
JsSdk: "js_sdk",
|
|
14
|
+
PythonSdk: "python_sdk",
|
|
15
|
+
Widget: "widget",
|
|
16
|
+
SipTrunk: "sip_trunk",
|
|
17
|
+
Twilio: "twilio",
|
|
18
|
+
Genesys: "genesys",
|
|
19
|
+
};
|
|
@@ -6,7 +6,7 @@ import * as ElevenLabs from "../index";
|
|
|
6
6
|
* A specification that will be used to simulate a conversation between an agent and an AI user.
|
|
7
7
|
*/
|
|
8
8
|
export interface ConversationSimulationSpecification {
|
|
9
|
-
simulatedUserConfig
|
|
9
|
+
simulatedUserConfig?: ElevenLabs.AgentConfig;
|
|
10
10
|
toolMockConfig?: Record<string, ElevenLabs.ToolMockConfig>;
|
|
11
11
|
/** A partial conversation history to start the simulation from. If empty, simulation starts fresh. */
|
|
12
12
|
partialConversationHistory?: ElevenLabs.ConversationHistoryTranscriptCommonModelInput[];
|
|
@@ -14,5 +14,5 @@ export interface ConversationalConfig {
|
|
|
14
14
|
/** Language presets for conversations */
|
|
15
15
|
languagePresets?: Record<string, ElevenLabs.LanguagePresetOutput>;
|
|
16
16
|
/** Agent specific configuration */
|
|
17
|
-
agent?: ElevenLabs.AgentConfig;
|
|
17
|
+
agent?: ElevenLabs.AgentConfig | undefined;
|
|
18
18
|
}
|
|
@@ -2,30 +2,11 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as ElevenLabs from "../index";
|
|
5
|
-
/**
|
|
6
|
-
* SIP trunk phone number request
|
|
7
|
-
*
|
|
8
|
-
* Includes termination URI and optional digest authentication credentials.
|
|
9
|
-
* If credentials are provided, both username and password must be included.
|
|
10
|
-
* If credentials are not provided, ACL authentication is assumed. (user needs to add our ips in their settings)
|
|
11
|
-
*/
|
|
12
5
|
export interface CreateSipTrunkPhoneNumberRequest {
|
|
13
6
|
/** Phone number */
|
|
14
7
|
phoneNumber: string;
|
|
15
8
|
/** Label for the phone number */
|
|
16
9
|
label: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
/** Hostname or IP the SIP INVITE is sent to. */
|
|
20
|
-
address?: string;
|
|
21
|
-
/** Protocol to use for SIP transport (signalling layer). */
|
|
22
|
-
transport?: ElevenLabs.SipTrunkTransportEnum;
|
|
23
|
-
/** Whether or not to encrypt media (data layer). */
|
|
24
|
-
mediaEncryption?: ElevenLabs.SipMediaEncryptionEnum;
|
|
25
|
-
/** Whether or not to encrypt media (data layer) for inbound calls. */
|
|
26
|
-
inboundMediaEncryption?: ElevenLabs.SipMediaEncryptionEnum;
|
|
27
|
-
/** SIP X-* headers for INVITE request. These headers are sent as-is and may help identify this call. */
|
|
28
|
-
headers?: Record<string, string>;
|
|
29
|
-
/** Optional digest authentication credentials (username/password). If not provided, ACL authentication is assumed. */
|
|
30
|
-
credentials?: ElevenLabs.SipTrunkCredentials;
|
|
10
|
+
inboundTrunkConfig?: ElevenLabs.InboundSipTrunkConfigRequestModel;
|
|
11
|
+
outboundTrunkConfig?: ElevenLabs.OutboundSipTrunkConfigRequestModel;
|
|
31
12
|
}
|
|
@@ -6,6 +6,7 @@ export interface GetConversationResponseModel {
|
|
|
6
6
|
agentId: string;
|
|
7
7
|
conversationId: string;
|
|
8
8
|
status: ElevenLabs.GetConversationResponseModelStatus;
|
|
9
|
+
userId?: string;
|
|
9
10
|
transcript: ElevenLabs.ConversationHistoryTranscriptCommonModelOutput[];
|
|
10
11
|
metadata: ElevenLabs.ConversationHistoryMetadataCommonModel;
|
|
11
12
|
analysis?: ElevenLabs.ConversationHistoryAnalysisCommonModel;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface GetPhoneNumberInboundSipTrunkConfigResponseModel {
|
|
6
|
+
/** List of IP addresses that are allowed to use the trunk. Each item in the list can be an individual IP address or a Classless Inter-Domain Routing notation representing a CIDR block. */
|
|
7
|
+
allowedAddresses: string[];
|
|
8
|
+
/** List of phone numbers that are allowed to use the trunk. */
|
|
9
|
+
allowedNumbers?: string[];
|
|
10
|
+
mediaEncryption: ElevenLabs.SipMediaEncryptionEnum;
|
|
11
|
+
/** Whether authentication credentials are configured */
|
|
12
|
+
hasAuthCredentials: boolean;
|
|
13
|
+
/** SIP trunk username (if available) */
|
|
14
|
+
username?: string;
|
|
15
|
+
}
|
|
@@ -5,7 +5,7 @@ import * as ElevenLabs from "../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* SIP Trunk configuration details for a phone number
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface GetPhoneNumberOutboundSipTrunkConfigResponseModel {
|
|
9
9
|
/** Hostname or IP the SIP INVITE is sent to */
|
|
10
10
|
address: string;
|
|
11
11
|
/** Protocol to use for SIP transport */
|
|
@@ -11,5 +11,9 @@ export interface GetPhoneNumberSipTrunkResponseModel {
|
|
|
11
11
|
phoneNumberId: string;
|
|
12
12
|
/** The agent that is assigned to the phone number */
|
|
13
13
|
assignedAgent?: ElevenLabs.PhoneNumberAgentInfo;
|
|
14
|
-
providerConfig?: ElevenLabs.
|
|
14
|
+
providerConfig?: ElevenLabs.GetPhoneNumberOutboundSipTrunkConfigResponseModel;
|
|
15
|
+
/** Configuration of the Outbound SIP trunk - if configured. */
|
|
16
|
+
outboundTrunk?: ElevenLabs.GetPhoneNumberOutboundSipTrunkConfigResponseModel;
|
|
17
|
+
/** Configuration of the Inbound SIP trunk - if configured. */
|
|
18
|
+
inboundTrunk?: ElevenLabs.GetPhoneNumberInboundSipTrunkConfigResponseModel;
|
|
15
19
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface InboundSipTrunkConfigRequestModel {
|
|
6
|
+
/** List of IP addresses that are allowed to use the trunk. Each item in the list can be an individual IP address or a Classless Inter-Domain Routing notation representing a CIDR block. */
|
|
7
|
+
allowedAddresses?: string[];
|
|
8
|
+
/** List of phone numbers that are allowed to use the trunk. */
|
|
9
|
+
allowedNumbers?: string[];
|
|
10
|
+
/** Whether or not to encrypt media (data layer). */
|
|
11
|
+
mediaEncryption?: ElevenLabs.SipMediaEncryptionEnum;
|
|
12
|
+
/** Optional digest authentication credentials (username/password). */
|
|
13
|
+
credentials?: ElevenLabs.SipTrunkCredentialsRequestModel;
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface OutboundSipTrunkConfigRequestModel {
|
|
6
|
+
/** Hostname or IP the SIP INVITE is sent to. */
|
|
7
|
+
address: string;
|
|
8
|
+
/** Protocol to use for SIP transport (signalling layer). */
|
|
9
|
+
transport?: ElevenLabs.SipTrunkTransportEnum;
|
|
10
|
+
/** Whether or not to encrypt media (data layer). */
|
|
11
|
+
mediaEncryption?: ElevenLabs.SipMediaEncryptionEnum;
|
|
12
|
+
/** SIP X-* headers for INVITE request. These headers are sent as-is and may help identify this call. */
|
|
13
|
+
headers?: Record<string, string>;
|
|
14
|
+
/** Optional digest authentication credentials (username/password). If not provided, ACL authentication is assumed. */
|
|
15
|
+
credentials?: ElevenLabs.SipTrunkCredentialsRequestModel;
|
|
16
|
+
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
4
5
|
export interface PhoneNumberTransfer {
|
|
5
|
-
|
|
6
|
+
transferDestination?: ElevenLabs.PhoneNumberTransferTransferDestination;
|
|
7
|
+
phoneNumber?: string;
|
|
6
8
|
condition: string;
|
|
9
|
+
transferType?: ElevenLabs.TransferTypeEnum;
|
|
7
10
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export type PhoneNumberTransferTransferDestination = ElevenLabs.PhoneNumberTransferTransferDestination.Phone | ElevenLabs.PhoneNumberTransferTransferDestination.SipUri;
|
|
6
|
+
export declare namespace PhoneNumberTransferTransferDestination {
|
|
7
|
+
interface Phone extends ElevenLabs.PhoneNumberTransferDestination {
|
|
8
|
+
type: "phone";
|
|
9
|
+
}
|
|
10
|
+
interface SipUri extends ElevenLabs.SipUriTransferDestination {
|
|
11
|
+
type: "sip_uri";
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -5,7 +5,7 @@ import * as ElevenLabs from "../index";
|
|
|
5
5
|
export interface PromptAgentApiModelInput {
|
|
6
6
|
/** The prompt for the agent */
|
|
7
7
|
prompt?: string;
|
|
8
|
-
/** The LLM to query with the prompt and the chat history */
|
|
8
|
+
/** The LLM to query with the prompt and the chat history. If using data residency, the LLM must be supported in the data residency environment */
|
|
9
9
|
llm?: ElevenLabs.Llm;
|
|
10
10
|
/** The temperature for the LLM */
|
|
11
11
|
temperature?: number;
|
|
@@ -5,7 +5,7 @@ import * as ElevenLabs from "../index";
|
|
|
5
5
|
export interface PromptAgentApiModelOutput {
|
|
6
6
|
/** The prompt for the agent */
|
|
7
7
|
prompt?: string;
|
|
8
|
-
/** The LLM to query with the prompt and the chat history */
|
|
8
|
+
/** The LLM to query with the prompt and the chat history. If using data residency, the LLM must be supported in the data residency environment */
|
|
9
9
|
llm?: ElevenLabs.Llm;
|
|
10
10
|
/** The temperature for the LLM */
|
|
11
11
|
temperature?: number;
|
|
@@ -1,32 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as ElevenLabs from "../index";
|
|
5
4
|
export interface PromptAgentDbModel {
|
|
6
|
-
/** The prompt for the agent */
|
|
7
|
-
prompt?: string;
|
|
8
|
-
/** The LLM to query with the prompt and the chat history */
|
|
9
|
-
llm?: ElevenLabs.Llm;
|
|
10
|
-
/** The temperature for the LLM */
|
|
11
|
-
temperature?: number;
|
|
12
|
-
/** If greater than 0, maximum number of tokens the LLM can predict */
|
|
13
|
-
maxTokens?: number;
|
|
14
|
-
/** A list of IDs of tools used by the agent */
|
|
15
|
-
toolIds?: string[];
|
|
16
|
-
/** Built-in system tools to be used by the agent */
|
|
17
|
-
builtInTools?: ElevenLabs.BuiltInToolsInput;
|
|
18
|
-
/** A list of MCP server ids to be used by the agent */
|
|
19
|
-
mcpServerIds?: string[];
|
|
20
|
-
/** A list of Native MCP server ids to be used by the agent */
|
|
21
|
-
nativeMcpServerIds?: string[];
|
|
22
|
-
/** A list of knowledge bases to be used by the agent */
|
|
23
|
-
knowledgeBase?: ElevenLabs.KnowledgeBaseLocator[];
|
|
24
|
-
/** Definition for a custom LLM if LLM field is set to 'CUSTOM_LLM' */
|
|
25
|
-
customLlm?: ElevenLabs.CustomLlm;
|
|
26
|
-
/** Whether to ignore the default personality */
|
|
27
|
-
ignoreDefaultPersonality?: boolean;
|
|
28
|
-
/** Configuration for RAG */
|
|
29
|
-
rag?: ElevenLabs.RagConfig;
|
|
30
|
-
knowledgeBaseDocumentIds?: string[];
|
|
31
5
|
tools?: unknown;
|
|
32
6
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type SubscriptionStatusType = "trialing" | "active" | "incomplete" | "
|
|
4
|
+
export type SubscriptionStatusType = "trialing" | "active" | "incomplete" | "past_due" | "free" | "free_disabled";
|
|
5
5
|
export declare const SubscriptionStatusType: {
|
|
6
6
|
readonly Trialing: "trialing";
|
|
7
7
|
readonly Active: "active";
|
|
8
8
|
readonly Incomplete: "incomplete";
|
|
9
|
-
readonly IncompleteExpired: "incomplete_expired";
|
|
10
9
|
readonly PastDue: "past_due";
|
|
11
10
|
readonly Free: "free";
|
|
12
11
|
readonly FreeDisabled: "free_disabled";
|
|
13
|
-
readonly Canceled: "canceled";
|
|
14
12
|
};
|
|
@@ -19,7 +19,7 @@ export declare namespace SystemToolConfigInputParams {
|
|
|
19
19
|
interface TransferToAgent extends ElevenLabs.TransferToAgentToolConfig {
|
|
20
20
|
systemToolType: "transfer_to_agent";
|
|
21
21
|
}
|
|
22
|
-
interface TransferToNumber extends ElevenLabs.
|
|
22
|
+
interface TransferToNumber extends ElevenLabs.TransferToNumberToolConfigInput {
|
|
23
23
|
systemToolType: "transfer_to_number";
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -19,7 +19,7 @@ export declare namespace SystemToolConfigOutputParams {
|
|
|
19
19
|
interface TransferToAgent extends ElevenLabs.TransferToAgentToolConfig {
|
|
20
20
|
systemToolType: "transfer_to_agent";
|
|
21
21
|
}
|
|
22
|
-
interface TransferToNumber extends ElevenLabs.
|
|
22
|
+
interface TransferToNumber extends ElevenLabs.TransferToNumberToolConfigOutput {
|
|
23
23
|
systemToolType: "transfer_to_number";
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as ElevenLabs from "../index";
|
|
5
|
-
export interface
|
|
5
|
+
export interface TransferToNumberToolConfigInput {
|
|
6
6
|
transfers: ElevenLabs.PhoneNumberTransfer[];
|
|
7
7
|
/** Whether to play a message to the client while they wait for transfer. Defaults to true for backward compatibility. */
|
|
8
8
|
enableClientMessage?: boolean;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface TransferToNumberToolConfigOutput {
|
|
6
|
+
transfers: ElevenLabs.PhoneNumberTransfer[];
|
|
7
|
+
/** Whether to play a message to the client while they wait for transfer. Defaults to true for backward compatibility. */
|
|
8
|
+
enableClientMessage?: boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.TransferTypeEnum = void 0;
|
|
7
|
+
exports.TransferTypeEnum = {
|
|
8
|
+
Conference: "conference",
|
|
9
|
+
SipRefer: "sip_refer",
|
|
10
|
+
};
|
|
@@ -6,6 +6,8 @@ export interface WidgetTextContents {
|
|
|
6
6
|
mainLabel?: string;
|
|
7
7
|
/** Text and ARIA label for the start call button. */
|
|
8
8
|
startCall?: string;
|
|
9
|
+
/** Text and ARIA label for the start chat button (text only) */
|
|
10
|
+
startChat?: string;
|
|
9
11
|
/** Text and ARIA label for the new call button. Displayed when the caller already finished at least one call in order ot start the next one. */
|
|
10
12
|
newCall?: string;
|
|
11
13
|
/** Text and ARIA label for the end call button. */
|
|
@@ -30,10 +32,16 @@ export interface WidgetTextContents {
|
|
|
30
32
|
speakingStatus?: string;
|
|
31
33
|
/** Status displayed when the agent is connecting. */
|
|
32
34
|
connectingStatus?: string;
|
|
35
|
+
/** Status displayed when the agent is chatting (text only) */
|
|
36
|
+
chattingStatus?: string;
|
|
33
37
|
/** ARIA label for the text message input. */
|
|
34
38
|
inputLabel?: string;
|
|
35
39
|
/** Placeholder text for the text message input. */
|
|
36
40
|
inputPlaceholder?: string;
|
|
41
|
+
/** Placeholder text for the text message input (text only) */
|
|
42
|
+
inputPlaceholderTextOnly?: string;
|
|
43
|
+
/** Placeholder text for the text message input when starting a new conversation (text only) */
|
|
44
|
+
inputPlaceholderNewConversation?: string;
|
|
37
45
|
/** Information message displayed when the user ends the conversation. */
|
|
38
46
|
userEndedConversation?: string;
|
|
39
47
|
/** Information message displayed when the agent ends the conversation. */
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Resource types that can be shared in the workspace. The name always need to match the collection names
|
|
6
6
|
*/
|
|
7
|
-
export type WorkspaceResourceType = "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";
|
|
7
|
+
export type WorkspaceResourceType = "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";
|
|
8
8
|
export declare const WorkspaceResourceType: {
|
|
9
9
|
readonly Voice: "voice";
|
|
10
10
|
readonly VoiceCollection: "voice_collection";
|
|
@@ -21,4 +21,5 @@ export declare const WorkspaceResourceType: {
|
|
|
21
21
|
readonly ConvaiPhoneNumbers: "convai_phone_numbers";
|
|
22
22
|
readonly ConvaiMcpServers: "convai_mcp_servers";
|
|
23
23
|
readonly ConvaiBatchCalls: "convai_batch_calls";
|
|
24
|
+
readonly ConvaiAgentResponseTests: "convai_agent_response_tests";
|
|
24
25
|
};
|
package/api/types/index.d.ts
CHANGED
|
@@ -113,6 +113,7 @@ export * from "./ConversationConfigOverrideConfig";
|
|
|
113
113
|
export * from "./ConversationDeletionSettings";
|
|
114
114
|
export * from "./ConversationHistoryAnalysisCommonModel";
|
|
115
115
|
export * from "./ConversationHistoryBatchCallModel";
|
|
116
|
+
export * from "./ConversationHistoryElevenAssistantCommonModel";
|
|
116
117
|
export * from "./ConversationHistoryErrorCommonModel";
|
|
117
118
|
export * from "./ConversationHistoryEvaluationCriteriaResultCommonModel";
|
|
118
119
|
export * from "./ConversationHistoryFeedbackCommonModel";
|
|
@@ -130,6 +131,7 @@ export * from "./ConversationHistoryTranscriptCommonModelOutput";
|
|
|
130
131
|
export * from "./ConversationHistoryTranscriptToolCallClientDetails";
|
|
131
132
|
export * from "./ConversationHistoryTranscriptToolCallCommonModelToolDetails";
|
|
132
133
|
export * from "./ConversationHistoryTranscriptToolCallCommonModel";
|
|
134
|
+
export * from "./ConversationHistoryTranscriptToolCallMcpDetails";
|
|
133
135
|
export * from "./ConversationHistoryTranscriptToolCallWebhookDetails";
|
|
134
136
|
export * from "./ConversationHistoryTranscriptToolResultCommonModel";
|
|
135
137
|
export * from "./ConversationHistoryTwilioPhoneCallModelDirection";
|
|
@@ -144,6 +146,7 @@ export * from "./ConversationInitiationClientDataRequestOutputDynamicVariablesVa
|
|
|
144
146
|
export * from "./ConversationInitiationClientDataRequestOutput";
|
|
145
147
|
export * from "./ConversationInitiationClientDataWebhookRequestHeadersValue";
|
|
146
148
|
export * from "./ConversationInitiationClientDataWebhook";
|
|
149
|
+
export * from "./ConversationInitiationSource";
|
|
147
150
|
export * from "./ConversationSignedUrlResponseModel";
|
|
148
151
|
export * from "./ConversationSimulationSpecificationDynamicVariablesValue";
|
|
149
152
|
export * from "./ConversationSimulationSpecification";
|
|
@@ -246,6 +249,8 @@ export * from "./GetKnowledgeBaseSummaryUrlResponseModel";
|
|
|
246
249
|
export * from "./GetKnowledgeBaseTextResponseModel";
|
|
247
250
|
export * from "./GetKnowledgeBaseUrlResponseModel";
|
|
248
251
|
export * from "./GetLibraryVoicesResponse";
|
|
252
|
+
export * from "./GetPhoneNumberInboundSipTrunkConfigResponseModel";
|
|
253
|
+
export * from "./GetPhoneNumberOutboundSipTrunkConfigResponseModel";
|
|
249
254
|
export * from "./GetPhoneNumberSipTrunkResponseModel";
|
|
250
255
|
export * from "./GetPhoneNumberTwilioResponseModel";
|
|
251
256
|
export * from "./GetProjectsResponse";
|
|
@@ -263,6 +268,7 @@ export * from "./HistoryAlignmentResponseModel";
|
|
|
263
268
|
export * from "./HistoryAlignmentsResponseModel";
|
|
264
269
|
export * from "./HtmlExportOptions";
|
|
265
270
|
export * from "./ImageAvatar";
|
|
271
|
+
export * from "./InboundSipTrunkConfigRequestModel";
|
|
266
272
|
export * from "./IntegrationType";
|
|
267
273
|
export * from "./InvoiceResponse";
|
|
268
274
|
export * from "./KnowledgeBaseDocumentChunkResponseModel";
|
|
@@ -325,9 +331,12 @@ export * from "./ObjectJsonSchemaPropertyOutput";
|
|
|
325
331
|
export * from "./OrbAvatar";
|
|
326
332
|
export * from "./OutboundCallRecipient";
|
|
327
333
|
export * from "./OutboundCallRecipientResponseModel";
|
|
334
|
+
export * from "./OutboundSipTrunkConfigRequestModel";
|
|
328
335
|
export * from "./PdfExportOptions";
|
|
329
336
|
export * from "./PhoneNumberAgentInfo";
|
|
337
|
+
export * from "./PhoneNumberTransferTransferDestination";
|
|
330
338
|
export * from "./PhoneNumberTransfer";
|
|
339
|
+
export * from "./PhoneNumberTransferDestination";
|
|
331
340
|
export * from "./PlayDtmfToolConfig";
|
|
332
341
|
export * from "./PodcastBulletinMode";
|
|
333
342
|
export * from "./PodcastBulletinModeData";
|
|
@@ -364,7 +373,6 @@ export * from "./PromptAgentApiModelOutputToolsItem";
|
|
|
364
373
|
export * from "./PromptAgentApiModelOutput";
|
|
365
374
|
export * from "./PromptAgentApiModelOverride";
|
|
366
375
|
export * from "./PromptAgentApiModelOverrideConfig";
|
|
367
|
-
export * from "./PromptAgentDbModel";
|
|
368
376
|
export * from "./PromptEvaluationCriteria";
|
|
369
377
|
export * from "./PronunciationDictionaryAliasRuleRequestModel";
|
|
370
378
|
export * from "./PronunciationDictionaryLocatorResponseModel";
|
|
@@ -395,10 +403,10 @@ export * from "./ResourceAccessInfoRole";
|
|
|
395
403
|
export * from "./ResourceAccessInfo";
|
|
396
404
|
export * from "./ResourceMetadataResponseModel";
|
|
397
405
|
export * from "./SipMediaEncryptionEnum";
|
|
398
|
-
export * from "./
|
|
399
|
-
export * from "./SipTrunkCredentials";
|
|
406
|
+
export * from "./SipTrunkCredentialsRequestModel";
|
|
400
407
|
export * from "./SipTrunkOutboundCallResponse";
|
|
401
408
|
export * from "./SipTrunkTransportEnum";
|
|
409
|
+
export * from "./SipUriTransferDestination";
|
|
402
410
|
export * from "./SafetyCommonModel";
|
|
403
411
|
export * from "./SafetyEvaluation";
|
|
404
412
|
export * from "./SafetyResponseModel";
|
|
@@ -466,7 +474,9 @@ export * from "./ToolResponseModelToolConfig";
|
|
|
466
474
|
export * from "./ToolResponseModel";
|
|
467
475
|
export * from "./ToolsResponseModel";
|
|
468
476
|
export * from "./TransferToAgentToolConfig";
|
|
469
|
-
export * from "./
|
|
477
|
+
export * from "./TransferToNumberToolConfigInput";
|
|
478
|
+
export * from "./TransferToNumberToolConfigOutput";
|
|
479
|
+
export * from "./TransferTypeEnum";
|
|
470
480
|
export * from "./TurnConfig";
|
|
471
481
|
export * from "./TurnMode";
|
|
472
482
|
export * from "./TwilioOutboundCallResponse";
|
|
@@ -528,6 +538,7 @@ export * from "./WorkspaceResourceType";
|
|
|
528
538
|
export * from "./WorkspaceWebhookListResponseModel";
|
|
529
539
|
export * from "./WorkspaceWebhookResponseModel";
|
|
530
540
|
export * from "./WorkspaceWebhookUsageResponseModel";
|
|
541
|
+
export * from "./PromptAgentDbModel";
|
|
531
542
|
export * from "./OutputFormat";
|
|
532
543
|
export * from "./HistoryItemResponse";
|
|
533
544
|
export * from "./Age";
|