@elevenlabs/elevenlabs-js 2.10.0 → 2.12.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 +160 -0
- package/Client.js +687 -2
- package/api/client/index.d.ts +1 -0
- package/api/client/index.js +17 -0
- package/api/client/requests/CreateUnitTestRequest.d.ts +37 -0
- package/api/client/requests/ListChatResponseTestsRouteRequest.d.ts +21 -0
- package/api/client/requests/ListTestsByIdsRequestModel.d.ts +13 -0
- package/api/client/requests/ListTestsByIdsRequestModel.js +5 -0
- package/api/client/requests/ResubmitTestsRequestModel.d.ts +19 -0
- package/api/client/requests/ResubmitTestsRequestModel.js +5 -0
- package/api/client/requests/RunAgentTestsRequestModel.d.ts +18 -0
- package/api/client/requests/RunAgentTestsRequestModel.js +5 -0
- package/api/client/requests/UpdateUnitTestRequest.d.ts +37 -0
- package/api/client/requests/UpdateUnitTestRequest.js +5 -0
- package/api/client/requests/index.d.ts +6 -0
- package/api/client/requests/index.js +2 -0
- package/api/index.d.ts +1 -0
- package/api/index.js +1 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/tools/client/Client.js +1 -1
- package/api/resources/music/client/Client.d.ts +6 -0
- package/api/resources/music/client/Client.js +67 -0
- package/api/{types → resources/music/client/requests}/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +5 -1
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +5 -0
- package/api/resources/music/client/requests/index.d.ts +1 -0
- package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +28 -0
- package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +27 -0
- package/api/resources/music/types/index.d.ts +1 -0
- package/api/resources/music/types/index.js +1 -0
- package/api/resources/pronunciationDictionaries/client/Client.d.ts +20 -6
- package/api/resources/pronunciationDictionaries/client/Client.js +90 -16
- package/api/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.d.ts +13 -0
- package/api/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.js +5 -0
- package/api/resources/pronunciationDictionaries/client/requests/index.d.ts +1 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +4 -1
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +3 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +4 -1
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +3 -0
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -1
- package/api/resources/textToDialogue/client/Client.d.ts +2 -2
- package/api/resources/textToDialogue/client/Client.js +2 -2
- package/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -1
- package/api/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +8 -0
- package/api/types/AdhocAgentConfigOverrideForTestRequestModel.js +5 -0
- package/api/types/AgentFailureResponseExample.d.ts +7 -0
- package/api/types/AgentFailureResponseExample.js +5 -0
- package/api/types/AgentSuccessfulResponseExample.d.ts +7 -0
- package/api/types/AgentSuccessfulResponseExample.js +5 -0
- package/api/types/AgentTestingSettings.d.ts +2 -1
- package/api/types/AttachedTestModel.d.ts +6 -0
- package/api/types/AttachedTestModel.js +5 -0
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +4 -1
- package/api/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +4 -0
- package/api/types/CreateUnitTestRequestDynamicVariablesValue.js +5 -0
- package/api/types/CreateUnitTestResponseModel.d.ts +6 -0
- package/api/types/CreateUnitTestResponseModel.js +5 -0
- package/api/types/DetailedMusicResponse.d.ts +13 -0
- package/api/types/DetailedMusicResponse.js +5 -0
- package/api/types/ExactParameterEvaluationStrategy.d.ts +7 -0
- package/api/types/ExactParameterEvaluationStrategy.js +5 -0
- package/api/types/ExtendedSubscriptionResponseModelPendingChange.d.ts +8 -0
- package/api/types/ExtendedSubscriptionResponseModelPendingChange.js +5 -0
- package/api/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/api/types/GetTestSuiteInvocationResponseModel.d.ts +9 -0
- package/api/types/GetTestSuiteInvocationResponseModel.js +5 -0
- package/api/types/GetTestsPageResponseModel.d.ts +9 -0
- package/api/types/GetTestsPageResponseModel.js +5 -0
- package/api/types/GetTestsSummariesByIdsResponseModel.d.ts +8 -0
- package/api/types/GetTestsSummariesByIdsResponseModel.js +5 -0
- package/api/types/GetUnitTestResponseModel.d.ts +19 -0
- package/api/types/GetUnitTestResponseModel.js +5 -0
- package/api/types/GetUnitTestResponseModelDynamicVariablesValue.d.ts +4 -0
- package/api/types/GetUnitTestResponseModelDynamicVariablesValue.js +5 -0
- package/api/types/Llm.d.ts +3 -3
- package/api/types/Llm.js +2 -2
- package/api/types/LlmParameterEvaluationStrategy.d.ts +7 -0
- package/api/types/LlmParameterEvaluationStrategy.js +5 -0
- package/api/types/MultipartMusicResponse.d.ts +13 -0
- package/api/types/MultipartMusicResponse.js +5 -0
- package/api/types/PendingCancellationResponseModel.d.ts +8 -0
- package/api/types/PendingCancellationResponseModel.js +5 -0
- package/api/types/PendingSubscriptionSwitchResponseModel.d.ts +11 -0
- package/api/types/PendingSubscriptionSwitchResponseModel.js +5 -0
- package/api/types/PendingSubscriptionSwitchResponseModelNextTier.d.ts +19 -0
- package/api/types/PendingSubscriptionSwitchResponseModelNextTier.js +18 -0
- package/api/types/ReferencedToolCommonModel.d.ts +13 -0
- package/api/types/ReferencedToolCommonModel.js +5 -0
- package/api/types/RegexParameterEvaluationStrategy.d.ts +7 -0
- package/api/types/RegexParameterEvaluationStrategy.js +5 -0
- package/api/types/SingleTestRunRequestModel.d.ts +7 -0
- package/api/types/SingleTestRunRequestModel.js +5 -0
- package/api/types/SongMetadata.d.ts +15 -0
- package/api/types/SongMetadata.js +5 -0
- package/api/types/Subscription.d.ts +2 -0
- package/api/types/TestConditionRationaleCommonModel.d.ts +12 -0
- package/api/types/TestConditionRationaleCommonModel.js +5 -0
- package/api/types/TestConditionResultCommonModel.d.ts +8 -0
- package/api/types/TestConditionResultCommonModel.js +5 -0
- package/api/types/TestRunStatus.d.ts +9 -0
- package/api/types/TestRunStatus.js +11 -0
- package/api/types/TestToolResultModel.d.ts +7 -0
- package/api/types/TestToolResultModel.js +5 -0
- package/api/types/UnitTestRunResponseModel.d.ts +13 -0
- package/api/types/UnitTestRunResponseModel.js +5 -0
- package/api/types/UnitTestSummaryResponseModel.d.ts +16 -0
- package/api/types/UnitTestSummaryResponseModel.js +5 -0
- package/api/types/UnitTestToolCallEvaluationModelInput.d.ts +10 -0
- package/api/types/UnitTestToolCallEvaluationModelInput.js +5 -0
- package/api/types/UnitTestToolCallEvaluationModelOutput.d.ts +10 -0
- package/api/types/UnitTestToolCallEvaluationModelOutput.js +5 -0
- package/api/types/UnitTestToolCallParameter.d.ts +8 -0
- package/api/types/UnitTestToolCallParameter.js +5 -0
- package/api/types/UnitTestToolCallParameterEval.d.ts +16 -0
- package/api/types/UnitTestToolCallParameterEval.js +5 -0
- package/api/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +4 -0
- package/api/types/UpdateUnitTestRequestDynamicVariablesValue.js +5 -0
- package/api/types/User.d.ts +3 -1
- package/api/types/WebhookAuthMethodType.d.ts +2 -1
- package/api/types/WebhookAuthMethodType.js +1 -0
- package/api/types/WorkflowFeaturesUsageCommonModel.d.ts +8 -0
- package/api/types/WorkflowFeaturesUsageCommonModel.js +5 -0
- package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +4 -1
- package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.js +3 -0
- package/api/types/WorkspaceResourceType.d.ts +1 -2
- package/api/types/WorkspaceResourceType.js +0 -1
- package/api/types/index.d.ts +35 -1
- package/api/types/index.js +35 -1
- package/dist/Client.d.ts +160 -0
- package/dist/Client.js +687 -2
- package/dist/api/client/index.d.ts +1 -0
- package/dist/api/client/index.js +17 -0
- package/dist/api/client/requests/CreateUnitTestRequest.d.ts +37 -0
- package/dist/api/client/requests/CreateUnitTestRequest.js +5 -0
- package/dist/api/client/requests/ListChatResponseTestsRouteRequest.d.ts +21 -0
- package/dist/api/client/requests/ListChatResponseTestsRouteRequest.js +5 -0
- package/dist/api/client/requests/ListTestsByIdsRequestModel.d.ts +13 -0
- package/dist/api/client/requests/ListTestsByIdsRequestModel.js +5 -0
- package/dist/api/client/requests/ResubmitTestsRequestModel.d.ts +19 -0
- package/dist/api/client/requests/ResubmitTestsRequestModel.js +5 -0
- package/dist/api/client/requests/RunAgentTestsRequestModel.d.ts +18 -0
- package/dist/api/client/requests/RunAgentTestsRequestModel.js +5 -0
- package/dist/api/client/requests/UpdateUnitTestRequest.d.ts +37 -0
- package/dist/api/client/requests/UpdateUnitTestRequest.js +5 -0
- package/dist/api/client/requests/index.d.ts +6 -0
- package/dist/api/client/requests/index.js +2 -0
- package/dist/api/index.d.ts +1 -0
- package/dist/api/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +1 -1
- package/dist/api/resources/music/client/Client.d.ts +6 -0
- package/dist/api/resources/music/client/Client.js +67 -0
- package/dist/api/{types → resources/music/client/requests}/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +5 -1
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +5 -0
- package/dist/api/resources/music/client/requests/index.d.ts +1 -0
- package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +28 -0
- package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +27 -0
- package/dist/api/resources/music/types/index.d.ts +1 -0
- package/dist/api/resources/music/types/index.js +1 -0
- package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +20 -6
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +90 -16
- package/dist/api/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.d.ts +13 -0
- package/dist/api/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.js +5 -0
- package/dist/api/resources/pronunciationDictionaries/client/requests/index.d.ts +1 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +4 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +3 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +4 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +3 -0
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/Client.d.ts +2 -2
- package/dist/api/resources/textToDialogue/client/Client.js +2 -2
- package/dist/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -1
- package/dist/api/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +8 -0
- package/dist/api/types/AdhocAgentConfigOverrideForTestRequestModel.js +5 -0
- package/dist/api/types/AgentFailureResponseExample.d.ts +7 -0
- package/dist/api/types/AgentFailureResponseExample.js +5 -0
- package/dist/api/types/AgentSuccessfulResponseExample.d.ts +7 -0
- package/dist/api/types/AgentSuccessfulResponseExample.js +5 -0
- package/dist/api/types/AgentTestingSettings.d.ts +2 -1
- package/dist/api/types/AttachedTestModel.d.ts +6 -0
- package/dist/api/types/AttachedTestModel.js +5 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +4 -1
- package/dist/api/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +4 -0
- package/dist/api/types/CreateUnitTestRequestDynamicVariablesValue.js +5 -0
- package/dist/api/types/CreateUnitTestResponseModel.d.ts +6 -0
- package/dist/api/types/CreateUnitTestResponseModel.js +5 -0
- package/dist/api/types/DetailedMusicResponse.d.ts +13 -0
- package/dist/api/types/DetailedMusicResponse.js +5 -0
- package/dist/api/types/ExactParameterEvaluationStrategy.d.ts +7 -0
- package/dist/api/types/ExactParameterEvaluationStrategy.js +5 -0
- package/dist/api/types/ExtendedSubscriptionResponseModelPendingChange.d.ts +8 -0
- package/dist/api/types/ExtendedSubscriptionResponseModelPendingChange.js +5 -0
- package/dist/api/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/dist/api/types/GetTestSuiteInvocationResponseModel.d.ts +9 -0
- package/dist/api/types/GetTestSuiteInvocationResponseModel.js +5 -0
- package/dist/api/types/GetTestsPageResponseModel.d.ts +9 -0
- package/dist/api/types/GetTestsPageResponseModel.js +5 -0
- package/dist/api/types/GetTestsSummariesByIdsResponseModel.d.ts +8 -0
- package/dist/api/types/GetTestsSummariesByIdsResponseModel.js +5 -0
- package/dist/api/types/GetUnitTestResponseModel.d.ts +19 -0
- package/dist/api/types/GetUnitTestResponseModel.js +5 -0
- package/dist/api/types/GetUnitTestResponseModelDynamicVariablesValue.d.ts +4 -0
- package/dist/api/types/GetUnitTestResponseModelDynamicVariablesValue.js +5 -0
- package/dist/api/types/Llm.d.ts +3 -3
- package/dist/api/types/Llm.js +2 -2
- package/dist/api/types/LlmParameterEvaluationStrategy.d.ts +7 -0
- package/dist/api/types/LlmParameterEvaluationStrategy.js +5 -0
- package/dist/api/types/MultipartMusicResponse.d.ts +13 -0
- package/dist/api/types/MultipartMusicResponse.js +5 -0
- package/dist/api/types/PendingCancellationResponseModel.d.ts +8 -0
- package/dist/api/types/PendingCancellationResponseModel.js +5 -0
- package/dist/api/types/PendingSubscriptionSwitchResponseModel.d.ts +11 -0
- package/dist/api/types/PendingSubscriptionSwitchResponseModel.js +5 -0
- package/dist/api/types/PendingSubscriptionSwitchResponseModelNextTier.d.ts +19 -0
- package/dist/api/types/PendingSubscriptionSwitchResponseModelNextTier.js +18 -0
- package/dist/api/types/ReferencedToolCommonModel.d.ts +13 -0
- package/dist/api/types/ReferencedToolCommonModel.js +5 -0
- package/dist/api/types/RegexParameterEvaluationStrategy.d.ts +7 -0
- package/dist/api/types/RegexParameterEvaluationStrategy.js +5 -0
- package/dist/api/types/SingleTestRunRequestModel.d.ts +7 -0
- package/dist/api/types/SingleTestRunRequestModel.js +5 -0
- package/dist/api/types/SongMetadata.d.ts +15 -0
- package/dist/api/types/SongMetadata.js +5 -0
- package/dist/api/types/Subscription.d.ts +2 -0
- package/dist/api/types/TestConditionRationaleCommonModel.d.ts +12 -0
- package/dist/api/types/TestConditionRationaleCommonModel.js +5 -0
- package/dist/api/types/TestConditionResultCommonModel.d.ts +8 -0
- package/dist/api/types/TestConditionResultCommonModel.js +5 -0
- package/dist/api/types/TestRunStatus.d.ts +9 -0
- package/dist/api/types/TestRunStatus.js +11 -0
- package/dist/api/types/TestToolResultModel.d.ts +7 -0
- package/dist/api/types/TestToolResultModel.js +5 -0
- package/dist/api/types/UnitTestRunResponseModel.d.ts +13 -0
- package/dist/api/types/UnitTestRunResponseModel.js +5 -0
- package/dist/api/types/UnitTestSummaryResponseModel.d.ts +16 -0
- package/dist/api/types/UnitTestSummaryResponseModel.js +5 -0
- package/dist/api/types/UnitTestToolCallEvaluationModelInput.d.ts +10 -0
- package/dist/api/types/UnitTestToolCallEvaluationModelInput.js +5 -0
- package/dist/api/types/UnitTestToolCallEvaluationModelOutput.d.ts +10 -0
- package/dist/api/types/UnitTestToolCallEvaluationModelOutput.js +5 -0
- package/dist/api/types/UnitTestToolCallParameter.d.ts +8 -0
- package/dist/api/types/UnitTestToolCallParameter.js +5 -0
- package/dist/api/types/UnitTestToolCallParameterEval.d.ts +16 -0
- package/dist/api/types/UnitTestToolCallParameterEval.js +5 -0
- package/dist/api/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +4 -0
- package/dist/api/types/UpdateUnitTestRequestDynamicVariablesValue.js +5 -0
- package/dist/api/types/User.d.ts +3 -1
- package/dist/api/types/WebhookAuthMethodType.d.ts +2 -1
- package/dist/api/types/WebhookAuthMethodType.js +1 -0
- package/dist/api/types/WorkflowFeaturesUsageCommonModel.d.ts +8 -0
- package/dist/api/types/WorkflowFeaturesUsageCommonModel.js +5 -0
- package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +4 -1
- package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.js +3 -0
- package/dist/api/types/WorkspaceResourceType.d.ts +1 -2
- package/dist/api/types/WorkspaceResourceType.js +0 -1
- package/dist/api/types/index.d.ts +35 -1
- package/dist/api/types/index.js +35 -1
- package/dist/serialization/client/index.d.ts +1 -0
- package/dist/serialization/client/index.js +17 -0
- package/dist/serialization/client/requests/CreateUnitTestRequest.d.ts +23 -0
- package/dist/serialization/client/requests/CreateUnitTestRequest.js +56 -0
- package/dist/serialization/client/requests/ListTestsByIdsRequestModel.d.ts +12 -0
- package/dist/serialization/client/requests/ListTestsByIdsRequestModel.js +43 -0
- package/dist/serialization/client/requests/ResubmitTestsRequestModel.d.ts +15 -0
- package/dist/serialization/client/requests/ResubmitTestsRequestModel.js +46 -0
- package/dist/serialization/client/requests/RunAgentTestsRequestModel.d.ts +15 -0
- package/dist/serialization/client/requests/RunAgentTestsRequestModel.js +46 -0
- package/dist/serialization/client/requests/UpdateUnitTestRequest.d.ts +23 -0
- package/dist/serialization/client/requests/UpdateUnitTestRequest.js +56 -0
- package/dist/serialization/client/requests/index.d.ts +5 -0
- package/dist/serialization/client/requests/index.js +13 -0
- package/dist/serialization/index.d.ts +1 -0
- package/dist/serialization/index.js +1 -0
- package/dist/serialization/{types → resources/music/client/requests}/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +5 -5
- package/dist/serialization/{types → resources/music/client/requests}/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +2 -2
- package/dist/serialization/resources/music/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/music/client/requests/index.js +3 -1
- package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +10 -0
- package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/music/types/index.d.ts +1 -0
- package/dist/serialization/resources/music/types/index.js +1 -0
- package/dist/serialization/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.d.ts +13 -0
- package/dist/serialization/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.js +44 -0
- package/dist/serialization/resources/pronunciationDictionaries/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/pronunciationDictionaries/client/requests/index.js +3 -1
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +1 -1
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +3 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +1 -1
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +3 -0
- package/dist/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +15 -0
- package/dist/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.js +46 -0
- package/dist/serialization/types/AgentFailureResponseExample.d.ts +13 -0
- package/dist/serialization/types/AgentFailureResponseExample.js +44 -0
- package/dist/serialization/types/AgentSuccessfulResponseExample.d.ts +13 -0
- package/dist/serialization/types/AgentSuccessfulResponseExample.js +44 -0
- package/dist/serialization/types/AgentTestingSettings.d.ts +2 -1
- package/dist/serialization/types/AgentTestingSettings.js +2 -1
- package/dist/serialization/types/AttachedTestModel.d.ts +12 -0
- package/dist/serialization/types/AttachedTestModel.js +43 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +5 -1
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +2 -0
- package/dist/serialization/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +10 -0
- package/dist/serialization/types/CreateUnitTestRequestDynamicVariablesValue.js +46 -0
- package/dist/serialization/types/CreateUnitTestResponseModel.d.ts +12 -0
- package/dist/serialization/types/CreateUnitTestResponseModel.js +43 -0
- package/dist/serialization/types/DetailedMusicResponse.d.ts +15 -0
- package/dist/serialization/types/DetailedMusicResponse.js +46 -0
- package/dist/serialization/types/ExactParameterEvaluationStrategy.d.ts +12 -0
- package/dist/serialization/types/ExactParameterEvaluationStrategy.js +43 -0
- package/dist/serialization/types/ExtendedSubscriptionResponseModelPendingChange.d.ts +12 -0
- package/dist/serialization/types/ExtendedSubscriptionResponseModelPendingChange.js +43 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +2 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.js +2 -0
- package/dist/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +15 -0
- package/dist/serialization/types/GetTestSuiteInvocationResponseModel.js +46 -0
- package/dist/serialization/types/GetTestsPageResponseModel.d.ts +15 -0
- package/dist/serialization/types/GetTestsPageResponseModel.js +46 -0
- package/dist/serialization/types/GetTestsSummariesByIdsResponseModel.d.ts +13 -0
- package/dist/serialization/types/GetTestsSummariesByIdsResponseModel.js +44 -0
- package/dist/serialization/types/GetUnitTestResponseModel.d.ts +24 -0
- package/dist/serialization/types/GetUnitTestResponseModel.js +57 -0
- package/dist/serialization/types/GetUnitTestResponseModelDynamicVariablesValue.d.ts +10 -0
- package/dist/serialization/types/GetUnitTestResponseModelDynamicVariablesValue.js +46 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +2 -2
- package/dist/serialization/types/LlmParameterEvaluationStrategy.d.ts +12 -0
- package/dist/serialization/types/LlmParameterEvaluationStrategy.js +43 -0
- package/dist/serialization/types/MultipartMusicResponse.d.ts +14 -0
- package/dist/serialization/types/MultipartMusicResponse.js +45 -0
- package/dist/serialization/types/PendingCancellationResponseModel.d.ts +13 -0
- package/dist/serialization/types/PendingCancellationResponseModel.js +44 -0
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +15 -0
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.js +46 -0
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextTier.d.ts +10 -0
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextTier.js +52 -0
- package/dist/serialization/types/ReferencedToolCommonModel.d.ts +14 -0
- package/dist/serialization/types/ReferencedToolCommonModel.js +45 -0
- package/dist/serialization/types/RegexParameterEvaluationStrategy.d.ts +12 -0
- package/dist/serialization/types/RegexParameterEvaluationStrategy.js +43 -0
- package/dist/serialization/types/SingleTestRunRequestModel.d.ts +12 -0
- package/dist/serialization/types/SingleTestRunRequestModel.js +43 -0
- package/dist/serialization/types/SongMetadata.d.ts +16 -0
- package/dist/serialization/types/SongMetadata.js +47 -0
- package/dist/serialization/types/Subscription.d.ts +2 -0
- package/dist/serialization/types/Subscription.js +2 -0
- package/dist/serialization/types/TestConditionRationaleCommonModel.d.ts +13 -0
- package/dist/serialization/types/TestConditionRationaleCommonModel.js +44 -0
- package/dist/serialization/types/TestConditionResultCommonModel.d.ts +15 -0
- package/dist/serialization/types/TestConditionResultCommonModel.js +46 -0
- package/dist/serialization/types/TestRunStatus.d.ts +10 -0
- package/dist/serialization/types/TestRunStatus.js +41 -0
- package/dist/serialization/types/TestToolResultModel.d.ts +13 -0
- package/dist/serialization/types/TestToolResultModel.js +44 -0
- package/dist/serialization/types/UnitTestRunResponseModel.d.ts +21 -0
- package/dist/serialization/types/UnitTestRunResponseModel.js +52 -0
- package/dist/serialization/types/UnitTestSummaryResponseModel.d.ts +17 -0
- package/dist/serialization/types/UnitTestSummaryResponseModel.js +48 -0
- package/dist/serialization/types/UnitTestToolCallEvaluationModelInput.d.ts +15 -0
- package/dist/serialization/types/UnitTestToolCallEvaluationModelInput.js +46 -0
- package/dist/serialization/types/UnitTestToolCallEvaluationModelOutput.d.ts +15 -0
- package/dist/serialization/types/UnitTestToolCallEvaluationModelOutput.js +46 -0
- package/dist/serialization/types/UnitTestToolCallParameter.d.ts +14 -0
- package/dist/serialization/types/UnitTestToolCallParameter.js +45 -0
- package/dist/serialization/types/UnitTestToolCallParameterEval.d.ts +22 -0
- package/dist/serialization/types/UnitTestToolCallParameterEval.js +53 -0
- package/dist/serialization/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +10 -0
- package/dist/serialization/types/UpdateUnitTestRequestDynamicVariablesValue.js +46 -0
- package/dist/serialization/types/User.d.ts +1 -0
- package/dist/serialization/types/User.js +1 -0
- package/dist/serialization/types/WebhookAuthMethodType.d.ts +1 -1
- package/dist/serialization/types/WebhookAuthMethodType.js +1 -1
- package/dist/serialization/types/WorkflowFeaturesUsageCommonModel.d.ts +14 -0
- package/dist/serialization/types/WorkflowFeaturesUsageCommonModel.js +45 -0
- package/dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +1 -1
- package/dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js +3 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +0 -1
- package/dist/serialization/types/index.d.ts +35 -1
- package/dist/serialization/types/index.js +35 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/ElevenLabsClient.d.ts +3 -0
- package/dist/wrapper/ElevenLabsClient.js +8 -0
- package/dist/wrapper/index.d.ts +1 -0
- package/dist/wrapper/index.js +3 -1
- package/dist/wrapper/music.d.ts +43 -0
- package/dist/wrapper/music.js +162 -0
- package/package.json +1 -1
- package/reference.md +74 -3
- package/serialization/client/index.d.ts +1 -0
- package/serialization/client/index.js +17 -0
- package/serialization/client/requests/CreateUnitTestRequest.d.ts +23 -0
- package/serialization/client/requests/CreateUnitTestRequest.js +56 -0
- package/serialization/client/requests/ListTestsByIdsRequestModel.d.ts +12 -0
- package/serialization/client/requests/ListTestsByIdsRequestModel.js +43 -0
- package/serialization/client/requests/ResubmitTestsRequestModel.d.ts +15 -0
- package/serialization/client/requests/ResubmitTestsRequestModel.js +46 -0
- package/serialization/client/requests/RunAgentTestsRequestModel.d.ts +15 -0
- package/serialization/client/requests/RunAgentTestsRequestModel.js +46 -0
- package/serialization/client/requests/UpdateUnitTestRequest.d.ts +23 -0
- package/serialization/client/requests/UpdateUnitTestRequest.js +56 -0
- package/serialization/client/requests/index.d.ts +5 -0
- package/serialization/client/requests/index.js +13 -0
- package/serialization/index.d.ts +1 -0
- package/serialization/index.js +1 -0
- package/serialization/{types → resources/music/client/requests}/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +5 -5
- package/serialization/{types → resources/music/client/requests}/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +2 -2
- package/serialization/resources/music/client/requests/index.d.ts +1 -0
- package/serialization/resources/music/client/requests/index.js +3 -1
- package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +10 -0
- package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +61 -0
- package/serialization/resources/music/types/index.d.ts +1 -0
- package/serialization/resources/music/types/index.js +1 -0
- package/serialization/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.d.ts +13 -0
- package/serialization/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.js +44 -0
- package/serialization/resources/pronunciationDictionaries/client/requests/index.d.ts +1 -0
- package/serialization/resources/pronunciationDictionaries/client/requests/index.js +3 -1
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +1 -1
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +3 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +1 -1
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +3 -0
- package/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +15 -0
- package/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.js +46 -0
- package/serialization/types/AgentFailureResponseExample.d.ts +13 -0
- package/serialization/types/AgentFailureResponseExample.js +44 -0
- package/serialization/types/AgentSuccessfulResponseExample.d.ts +13 -0
- package/serialization/types/AgentSuccessfulResponseExample.js +44 -0
- package/serialization/types/AgentTestingSettings.d.ts +2 -1
- package/serialization/types/AgentTestingSettings.js +2 -1
- package/serialization/types/AttachedTestModel.d.ts +12 -0
- package/serialization/types/AttachedTestModel.js +43 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +5 -1
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +2 -0
- package/serialization/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +10 -0
- package/serialization/types/CreateUnitTestRequestDynamicVariablesValue.js +46 -0
- package/serialization/types/CreateUnitTestResponseModel.d.ts +12 -0
- package/serialization/types/CreateUnitTestResponseModel.js +43 -0
- package/serialization/types/DetailedMusicResponse.d.ts +15 -0
- package/serialization/types/DetailedMusicResponse.js +46 -0
- package/serialization/types/ExactParameterEvaluationStrategy.d.ts +12 -0
- package/serialization/types/ExactParameterEvaluationStrategy.js +43 -0
- package/serialization/types/ExtendedSubscriptionResponseModelPendingChange.d.ts +12 -0
- package/serialization/types/ExtendedSubscriptionResponseModelPendingChange.js +43 -0
- package/serialization/types/FeaturesUsageCommonModel.d.ts +2 -0
- package/serialization/types/FeaturesUsageCommonModel.js +2 -0
- package/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +15 -0
- package/serialization/types/GetTestSuiteInvocationResponseModel.js +46 -0
- package/serialization/types/GetTestsPageResponseModel.d.ts +15 -0
- package/serialization/types/GetTestsPageResponseModel.js +46 -0
- package/serialization/types/GetTestsSummariesByIdsResponseModel.d.ts +13 -0
- package/serialization/types/GetTestsSummariesByIdsResponseModel.js +44 -0
- package/serialization/types/GetUnitTestResponseModel.d.ts +24 -0
- package/serialization/types/GetUnitTestResponseModel.js +57 -0
- package/serialization/types/GetUnitTestResponseModelDynamicVariablesValue.d.ts +10 -0
- package/serialization/types/GetUnitTestResponseModelDynamicVariablesValue.js +46 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +2 -2
- package/serialization/types/LlmParameterEvaluationStrategy.d.ts +12 -0
- package/serialization/types/LlmParameterEvaluationStrategy.js +43 -0
- package/serialization/types/MultipartMusicResponse.d.ts +14 -0
- package/serialization/types/MultipartMusicResponse.js +45 -0
- package/serialization/types/PendingCancellationResponseModel.d.ts +13 -0
- package/serialization/types/PendingCancellationResponseModel.js +44 -0
- package/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +15 -0
- package/serialization/types/PendingSubscriptionSwitchResponseModel.js +46 -0
- package/serialization/types/PendingSubscriptionSwitchResponseModelNextTier.d.ts +10 -0
- package/serialization/types/PendingSubscriptionSwitchResponseModelNextTier.js +52 -0
- package/serialization/types/ReferencedToolCommonModel.d.ts +14 -0
- package/serialization/types/ReferencedToolCommonModel.js +45 -0
- package/serialization/types/RegexParameterEvaluationStrategy.d.ts +12 -0
- package/serialization/types/RegexParameterEvaluationStrategy.js +43 -0
- package/serialization/types/SingleTestRunRequestModel.d.ts +12 -0
- package/serialization/types/SingleTestRunRequestModel.js +43 -0
- package/serialization/types/SongMetadata.d.ts +16 -0
- package/serialization/types/SongMetadata.js +47 -0
- package/serialization/types/Subscription.d.ts +2 -0
- package/serialization/types/Subscription.js +2 -0
- package/serialization/types/TestConditionRationaleCommonModel.d.ts +13 -0
- package/serialization/types/TestConditionRationaleCommonModel.js +44 -0
- package/serialization/types/TestConditionResultCommonModel.d.ts +15 -0
- package/serialization/types/TestConditionResultCommonModel.js +46 -0
- package/serialization/types/TestRunStatus.d.ts +10 -0
- package/serialization/types/TestRunStatus.js +41 -0
- package/serialization/types/TestToolResultModel.d.ts +13 -0
- package/serialization/types/TestToolResultModel.js +44 -0
- package/serialization/types/UnitTestRunResponseModel.d.ts +21 -0
- package/serialization/types/UnitTestRunResponseModel.js +52 -0
- package/serialization/types/UnitTestSummaryResponseModel.d.ts +17 -0
- package/serialization/types/UnitTestSummaryResponseModel.js +48 -0
- package/serialization/types/UnitTestToolCallEvaluationModelInput.d.ts +15 -0
- package/serialization/types/UnitTestToolCallEvaluationModelInput.js +46 -0
- package/serialization/types/UnitTestToolCallEvaluationModelOutput.d.ts +15 -0
- package/serialization/types/UnitTestToolCallEvaluationModelOutput.js +46 -0
- package/serialization/types/UnitTestToolCallParameter.d.ts +14 -0
- package/serialization/types/UnitTestToolCallParameter.js +45 -0
- package/serialization/types/UnitTestToolCallParameterEval.d.ts +22 -0
- package/serialization/types/UnitTestToolCallParameterEval.js +53 -0
- package/serialization/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +10 -0
- package/serialization/types/UpdateUnitTestRequestDynamicVariablesValue.js +46 -0
- package/serialization/types/User.d.ts +1 -0
- package/serialization/types/User.js +1 -0
- package/serialization/types/WebhookAuthMethodType.d.ts +1 -1
- package/serialization/types/WebhookAuthMethodType.js +1 -1
- package/serialization/types/WorkflowFeaturesUsageCommonModel.d.ts +14 -0
- package/serialization/types/WorkflowFeaturesUsageCommonModel.js +45 -0
- package/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +1 -1
- package/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js +3 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +0 -1
- package/serialization/types/index.d.ts +35 -1
- package/serialization/types/index.js +35 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/ElevenLabsClient.d.ts +3 -0
- package/wrapper/ElevenLabsClient.js +8 -0
- package/wrapper/index.d.ts +1 -0
- package/wrapper/index.js +3 -1
- package/wrapper/music.d.ts +43 -0
- package/wrapper/music.js +162 -0
- /package/api/{types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js → client/requests/CreateUnitTestRequest.js} +0 -0
- /package/{dist/api/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js → api/client/requests/ListChatResponseTestsRouteRequest.js} +0 -0
package/api/types/index.js
CHANGED
|
@@ -15,6 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./BadRequestErrorBody"), exports);
|
|
18
|
+
__exportStar(require("./CreateUnitTestRequestDynamicVariablesValue"), exports);
|
|
19
|
+
__exportStar(require("./UpdateUnitTestRequestDynamicVariablesValue"), exports);
|
|
18
20
|
__exportStar(require("./AsrConversationalConfig"), exports);
|
|
19
21
|
__exportStar(require("./AsrInputFormat"), exports);
|
|
20
22
|
__exportStar(require("./AsrProvider"), exports);
|
|
@@ -30,14 +32,17 @@ __exportStar(require("./AddWorkspaceGroupMemberResponseModel"), exports);
|
|
|
30
32
|
__exportStar(require("./AddWorkspaceInviteResponseModel"), exports);
|
|
31
33
|
__exportStar(require("./AdditionalFormatResponseModel"), exports);
|
|
32
34
|
__exportStar(require("./AdditionalFormats"), exports);
|
|
35
|
+
__exportStar(require("./AdhocAgentConfigOverrideForTestRequestModel"), exports);
|
|
33
36
|
__exportStar(require("./AgentCallLimits"), exports);
|
|
34
37
|
__exportStar(require("./AgentConfig"), exports);
|
|
35
38
|
__exportStar(require("./AgentConfigOverride"), exports);
|
|
36
39
|
__exportStar(require("./AgentConfigOverrideConfig"), exports);
|
|
40
|
+
__exportStar(require("./AgentFailureResponseExample"), exports);
|
|
37
41
|
__exportStar(require("./AgentMetadataResponseModel"), exports);
|
|
38
42
|
__exportStar(require("./AgentPlatformSettingsRequestModel"), exports);
|
|
39
43
|
__exportStar(require("./AgentPlatformSettingsResponseModel"), exports);
|
|
40
44
|
__exportStar(require("./AgentSimulatedChatTestResponseModel"), exports);
|
|
45
|
+
__exportStar(require("./AgentSuccessfulResponseExample"), exports);
|
|
41
46
|
__exportStar(require("./AgentSummaryResponseModel"), exports);
|
|
42
47
|
__exportStar(require("./AgentTestingSettings"), exports);
|
|
43
48
|
__exportStar(require("./AgentTransfer"), exports);
|
|
@@ -48,6 +53,7 @@ __exportStar(require("./ArrayJsonSchemaPropertyInputItems"), exports);
|
|
|
48
53
|
__exportStar(require("./ArrayJsonSchemaPropertyInput"), exports);
|
|
49
54
|
__exportStar(require("./ArrayJsonSchemaPropertyOutputItems"), exports);
|
|
50
55
|
__exportStar(require("./ArrayJsonSchemaPropertyOutput"), exports);
|
|
56
|
+
__exportStar(require("./AttachedTestModel"), exports);
|
|
51
57
|
__exportStar(require("./AudioNativeCreateProjectResponseModel"), exports);
|
|
52
58
|
__exportStar(require("./AudioNativeEditContentResponseModel"), exports);
|
|
53
59
|
__exportStar(require("./AudioNativeProjectSettingsResponseModelStatus"), exports);
|
|
@@ -61,7 +67,6 @@ __exportStar(require("./BatchCallDetailedResponse"), exports);
|
|
|
61
67
|
__exportStar(require("./BatchCallRecipientStatus"), exports);
|
|
62
68
|
__exportStar(require("./BatchCallResponse"), exports);
|
|
63
69
|
__exportStar(require("./BatchCallStatus"), exports);
|
|
64
|
-
__exportStar(require("./BodyComposeMusicWithADetailedResponseV1MusicDetailedPost"), exports);
|
|
65
70
|
__exportStar(require("./CreatePreviouslyGeneratedVoiceRequest"), exports);
|
|
66
71
|
__exportStar(require("./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender"), exports);
|
|
67
72
|
__exportStar(require("./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge"), exports);
|
|
@@ -187,6 +192,7 @@ __exportStar(require("./CreatePhoneNumberResponseModel"), exports);
|
|
|
187
192
|
__exportStar(require("./CreatePronunciationDictionaryResponseModel"), exports);
|
|
188
193
|
__exportStar(require("./CreateSipTrunkPhoneNumberRequest"), exports);
|
|
189
194
|
__exportStar(require("./CreateTwilioPhoneNumberRequest"), exports);
|
|
195
|
+
__exportStar(require("./CreateUnitTestResponseModel"), exports);
|
|
190
196
|
__exportStar(require("./CustomLlmRequestHeadersValue"), exports);
|
|
191
197
|
__exportStar(require("./CustomLlm"), exports);
|
|
192
198
|
__exportStar(require("./DashboardCallSuccessChartModel"), exports);
|
|
@@ -210,6 +216,7 @@ __exportStar(require("./DependentAvailableToolIdentifier"), exports);
|
|
|
210
216
|
__exportStar(require("./DependentPhoneNumberIdentifier"), exports);
|
|
211
217
|
__exportStar(require("./DependentUnknownAgentIdentifier"), exports);
|
|
212
218
|
__exportStar(require("./DependentUnknownToolIdentifier"), exports);
|
|
219
|
+
__exportStar(require("./DetailedMusicResponse"), exports);
|
|
213
220
|
__exportStar(require("./DialogueInput"), exports);
|
|
214
221
|
__exportStar(require("./DialogueInputResponseModel"), exports);
|
|
215
222
|
__exportStar(require("./DoDubbingResponse"), exports);
|
|
@@ -236,10 +243,12 @@ __exportStar(require("./EndCallToolConfig"), exports);
|
|
|
236
243
|
__exportStar(require("./EndCallToolResultModel"), exports);
|
|
237
244
|
__exportStar(require("./EvaluationSettings"), exports);
|
|
238
245
|
__exportStar(require("./EvaluationSuccessResult"), exports);
|
|
246
|
+
__exportStar(require("./ExactParameterEvaluationStrategy"), exports);
|
|
239
247
|
__exportStar(require("./ExportOptions"), exports);
|
|
240
248
|
__exportStar(require("./ExtendedSubscriptionResponseModelCurrency"), exports);
|
|
241
249
|
__exportStar(require("./ExtendedSubscriptionResponseModelBillingPeriod"), exports);
|
|
242
250
|
__exportStar(require("./ExtendedSubscriptionResponseModelCharacterRefreshPeriod"), exports);
|
|
251
|
+
__exportStar(require("./ExtendedSubscriptionResponseModelPendingChange"), exports);
|
|
243
252
|
__exportStar(require("./Subscription"), exports);
|
|
244
253
|
__exportStar(require("./FeatureStatusCommonModel"), exports);
|
|
245
254
|
__exportStar(require("./FeaturesUsageCommonModel"), exports);
|
|
@@ -286,8 +295,13 @@ __exportStar(require("./GetPronunciationDictionariesMetadataResponseModel"), exp
|
|
|
286
295
|
__exportStar(require("./GetPronunciationDictionaryMetadataResponseModelPermissionOnResource"), exports);
|
|
287
296
|
__exportStar(require("./GetPronunciationDictionaryMetadataResponse"), exports);
|
|
288
297
|
__exportStar(require("./GetSpeechHistoryResponse"), exports);
|
|
298
|
+
__exportStar(require("./GetTestSuiteInvocationResponseModel"), exports);
|
|
299
|
+
__exportStar(require("./GetTestsPageResponseModel"), exports);
|
|
300
|
+
__exportStar(require("./GetTestsSummariesByIdsResponseModel"), exports);
|
|
289
301
|
__exportStar(require("./GetToolDependentAgentsResponseModelAgentsItem"), exports);
|
|
290
302
|
__exportStar(require("./GetToolDependentAgentsResponseModel"), exports);
|
|
303
|
+
__exportStar(require("./GetUnitTestResponseModelDynamicVariablesValue"), exports);
|
|
304
|
+
__exportStar(require("./GetUnitTestResponseModel"), exports);
|
|
291
305
|
__exportStar(require("./GetVoicesResponse"), exports);
|
|
292
306
|
__exportStar(require("./GetVoicesV2Response"), exports);
|
|
293
307
|
__exportStar(require("./GetWorkspaceSecretsResponseModel"), exports);
|
|
@@ -306,6 +320,7 @@ __exportStar(require("./KnowledgeBaseLocator"), exports);
|
|
|
306
320
|
__exportStar(require("./Llm"), exports);
|
|
307
321
|
__exportStar(require("./LlmCategoryUsage"), exports);
|
|
308
322
|
__exportStar(require("./LlmInputOutputTokensUsage"), exports);
|
|
323
|
+
__exportStar(require("./LlmParameterEvaluationStrategy"), exports);
|
|
309
324
|
__exportStar(require("./LlmTokensCategoryUsage"), exports);
|
|
310
325
|
__exportStar(require("./LlmUsageInput"), exports);
|
|
311
326
|
__exportStar(require("./LlmUsageOutput"), exports);
|
|
@@ -352,6 +367,7 @@ __exportStar(require("./ModerationStatusResponseModelSafetyStatus"), exports);
|
|
|
352
367
|
__exportStar(require("./ModerationStatusResponseModelWarningStatus"), exports);
|
|
353
368
|
__exportStar(require("./ModerationStatusResponseModel"), exports);
|
|
354
369
|
__exportStar(require("./MultichannelSpeechToTextResponseModel"), exports);
|
|
370
|
+
__exportStar(require("./MultipartMusicResponse"), exports);
|
|
355
371
|
__exportStar(require("./MusicPrompt"), exports);
|
|
356
372
|
__exportStar(require("./ObjectJsonSchemaPropertyInputPropertiesValue"), exports);
|
|
357
373
|
__exportStar(require("./ObjectJsonSchemaPropertyInput"), exports);
|
|
@@ -362,6 +378,9 @@ __exportStar(require("./OutboundCallRecipient"), exports);
|
|
|
362
378
|
__exportStar(require("./OutboundCallRecipientResponseModel"), exports);
|
|
363
379
|
__exportStar(require("./OutboundSipTrunkConfigRequestModel"), exports);
|
|
364
380
|
__exportStar(require("./PdfExportOptions"), exports);
|
|
381
|
+
__exportStar(require("./PendingCancellationResponseModel"), exports);
|
|
382
|
+
__exportStar(require("./PendingSubscriptionSwitchResponseModelNextTier"), exports);
|
|
383
|
+
__exportStar(require("./PendingSubscriptionSwitchResponseModel"), exports);
|
|
365
384
|
__exportStar(require("./PhoneNumberAgentInfo"), exports);
|
|
366
385
|
__exportStar(require("./PhoneNumberTransferTransferDestination"), exports);
|
|
367
386
|
__exportStar(require("./PhoneNumberTransfer"), exports);
|
|
@@ -426,6 +445,8 @@ __exportStar(require("./RagRetrievalInfo"), exports);
|
|
|
426
445
|
__exportStar(require("./ReaderResourceResponseModelResourceType"), exports);
|
|
427
446
|
__exportStar(require("./ReaderResourceResponseModel"), exports);
|
|
428
447
|
__exportStar(require("./RecordingResponse"), exports);
|
|
448
|
+
__exportStar(require("./ReferencedToolCommonModel"), exports);
|
|
449
|
+
__exportStar(require("./RegexParameterEvaluationStrategy"), exports);
|
|
429
450
|
__exportStar(require("./RenderStatus"), exports);
|
|
430
451
|
__exportStar(require("./Render"), exports);
|
|
431
452
|
__exportStar(require("./RenderType"), exports);
|
|
@@ -457,8 +478,10 @@ __exportStar(require("./ShareOptionResponseModel"), exports);
|
|
|
457
478
|
__exportStar(require("./SimilarVoiceCategory"), exports);
|
|
458
479
|
__exportStar(require("./SimilarVoice"), exports);
|
|
459
480
|
__exportStar(require("./SimilarVoicesForSpeakerResponse"), exports);
|
|
481
|
+
__exportStar(require("./SingleTestRunRequestModel"), exports);
|
|
460
482
|
__exportStar(require("./SkipTurnToolConfig"), exports);
|
|
461
483
|
__exportStar(require("./SkipTurnToolResponseModel"), exports);
|
|
484
|
+
__exportStar(require("./SongMetadata"), exports);
|
|
462
485
|
__exportStar(require("./SongSection"), exports);
|
|
463
486
|
__exportStar(require("./SpeakerAudioResponseModel"), exports);
|
|
464
487
|
__exportStar(require("./SpeakerResponseModel"), exports);
|
|
@@ -500,6 +523,10 @@ __exportStar(require("./TtsModelFamily"), exports);
|
|
|
500
523
|
__exportStar(require("./TtsOptimizeStreamingLatency"), exports);
|
|
501
524
|
__exportStar(require("./TtsOutputFormat"), exports);
|
|
502
525
|
__exportStar(require("./TelephonyProvider"), exports);
|
|
526
|
+
__exportStar(require("./TestConditionRationaleCommonModel"), exports);
|
|
527
|
+
__exportStar(require("./TestConditionResultCommonModel"), exports);
|
|
528
|
+
__exportStar(require("./TestRunStatus"), exports);
|
|
529
|
+
__exportStar(require("./TestToolResultModel"), exports);
|
|
503
530
|
__exportStar(require("./TokenResponseModel"), exports);
|
|
504
531
|
__exportStar(require("./Tool"), exports);
|
|
505
532
|
__exportStar(require("./ToolAnnotations"), exports);
|
|
@@ -525,6 +552,12 @@ __exportStar(require("./TurnMode"), exports);
|
|
|
525
552
|
__exportStar(require("./TwilioOutboundCallResponse"), exports);
|
|
526
553
|
__exportStar(require("./TxtExportOptions"), exports);
|
|
527
554
|
__exportStar(require("./UrlAvatar"), exports);
|
|
555
|
+
__exportStar(require("./UnitTestRunResponseModel"), exports);
|
|
556
|
+
__exportStar(require("./UnitTestSummaryResponseModel"), exports);
|
|
557
|
+
__exportStar(require("./UnitTestToolCallEvaluationModelInput"), exports);
|
|
558
|
+
__exportStar(require("./UnitTestToolCallEvaluationModelOutput"), exports);
|
|
559
|
+
__exportStar(require("./UnitTestToolCallParameterEval"), exports);
|
|
560
|
+
__exportStar(require("./UnitTestToolCallParameter"), exports);
|
|
528
561
|
__exportStar(require("./UpdateWorkspaceMemberResponseModel"), exports);
|
|
529
562
|
__exportStar(require("./UsageAggregationInterval"), exports);
|
|
530
563
|
__exportStar(require("./UsageCharactersResponseModel"), exports);
|
|
@@ -577,6 +610,7 @@ __exportStar(require("./WidgetLanguagePresetResponse"), exports);
|
|
|
577
610
|
__exportStar(require("./WidgetPlacement"), exports);
|
|
578
611
|
__exportStar(require("./WidgetStyles"), exports);
|
|
579
612
|
__exportStar(require("./WidgetTextContents"), exports);
|
|
613
|
+
__exportStar(require("./WorkflowFeaturesUsageCommonModel"), exports);
|
|
580
614
|
__exportStar(require("./WorkflowToolEdgeStepModel"), exports);
|
|
581
615
|
__exportStar(require("./WorkflowToolMaxIterationsExceededStepModel"), exports);
|
|
582
616
|
__exportStar(require("./WorkflowToolNestedToolsStepModelInputResultsItem"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "./environments";
|
|
5
5
|
import * as core from "./core";
|
|
6
|
+
import * as ElevenLabs from "./api/index";
|
|
6
7
|
import { History } from "./api/resources/history/client/Client";
|
|
7
8
|
import { TextToSoundEffects } from "./api/resources/textToSoundEffects/client/Client";
|
|
8
9
|
import { AudioIsolation } from "./api/resources/audioIsolation/client/Client";
|
|
@@ -98,6 +99,165 @@ export declare class ElevenLabsClient {
|
|
|
98
99
|
get conversationalAi(): ConversationalAi;
|
|
99
100
|
get music(): Music;
|
|
100
101
|
get workspace(): Workspace;
|
|
102
|
+
/**
|
|
103
|
+
* Creates a new agent response test.
|
|
104
|
+
*
|
|
105
|
+
* @param {ElevenLabs.CreateUnitTestRequest} request
|
|
106
|
+
* @param {ElevenLabsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* await client.createAgentResponseTestRoute({
|
|
112
|
+
* chatHistory: [{
|
|
113
|
+
* role: "user",
|
|
114
|
+
* timeInCallSecs: 1
|
|
115
|
+
* }],
|
|
116
|
+
* successCondition: "success_condition",
|
|
117
|
+
* successExamples: [{
|
|
118
|
+
* response: "response",
|
|
119
|
+
* type: "success"
|
|
120
|
+
* }],
|
|
121
|
+
* failureExamples: [{
|
|
122
|
+
* response: "response",
|
|
123
|
+
* type: "failure"
|
|
124
|
+
* }],
|
|
125
|
+
* name: "name"
|
|
126
|
+
* })
|
|
127
|
+
*/
|
|
128
|
+
createAgentResponseTestRoute(request: ElevenLabs.CreateUnitTestRequest, requestOptions?: ElevenLabsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.CreateUnitTestResponseModel>;
|
|
129
|
+
private __createAgentResponseTestRoute;
|
|
130
|
+
/**
|
|
131
|
+
* Gets an agent response test by ID.
|
|
132
|
+
*
|
|
133
|
+
* @param {string} testId - The id of a chat response test. This is returned on test creation.
|
|
134
|
+
* @param {ElevenLabsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
135
|
+
*
|
|
136
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* await client.getAgentResponseTestRoute("TeaqRRdTcIfIu2i7BYfT")
|
|
140
|
+
*/
|
|
141
|
+
getAgentResponseTestRoute(testId: string, requestOptions?: ElevenLabsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetUnitTestResponseModel>;
|
|
142
|
+
private __getAgentResponseTestRoute;
|
|
143
|
+
/**
|
|
144
|
+
* Updates an agent response test by ID.
|
|
145
|
+
*
|
|
146
|
+
* @param {string} testId - The id of a chat response test. This is returned on test creation.
|
|
147
|
+
* @param {ElevenLabs.UpdateUnitTestRequest} request
|
|
148
|
+
* @param {ElevenLabsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
149
|
+
*
|
|
150
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* await client.updateAgentResponseTestRoute("TeaqRRdTcIfIu2i7BYfT", {
|
|
154
|
+
* chatHistory: [{
|
|
155
|
+
* role: "user",
|
|
156
|
+
* timeInCallSecs: 1
|
|
157
|
+
* }],
|
|
158
|
+
* successCondition: "success_condition",
|
|
159
|
+
* successExamples: [{
|
|
160
|
+
* response: "response",
|
|
161
|
+
* type: "success"
|
|
162
|
+
* }],
|
|
163
|
+
* failureExamples: [{
|
|
164
|
+
* response: "response",
|
|
165
|
+
* type: "failure"
|
|
166
|
+
* }],
|
|
167
|
+
* name: "name"
|
|
168
|
+
* })
|
|
169
|
+
*/
|
|
170
|
+
updateAgentResponseTestRoute(testId: string, request: ElevenLabs.UpdateUnitTestRequest, requestOptions?: ElevenLabsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetUnitTestResponseModel>;
|
|
171
|
+
private __updateAgentResponseTestRoute;
|
|
172
|
+
/**
|
|
173
|
+
* Deletes an agent response test by ID.
|
|
174
|
+
*
|
|
175
|
+
* @param {string} testId - The id of a chat response test. This is returned on test creation.
|
|
176
|
+
* @param {ElevenLabsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
177
|
+
*
|
|
178
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
179
|
+
*
|
|
180
|
+
* @example
|
|
181
|
+
* await client.deleteChatResponseTestRoute("TeaqRRdTcIfIu2i7BYfT")
|
|
182
|
+
*/
|
|
183
|
+
deleteChatResponseTestRoute(testId: string, requestOptions?: ElevenLabsClient.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
184
|
+
private __deleteChatResponseTestRoute;
|
|
185
|
+
/**
|
|
186
|
+
* Gets multiple agent response tests by their IDs. Returns a dictionary mapping test IDs to test summaries.
|
|
187
|
+
*
|
|
188
|
+
* @param {ElevenLabs.ListTestsByIdsRequestModel} request
|
|
189
|
+
* @param {ElevenLabsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
190
|
+
*
|
|
191
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
192
|
+
*
|
|
193
|
+
* @example
|
|
194
|
+
* await client.getAgentResponseTestsSummariesRoute({
|
|
195
|
+
* testIds: ["test_id_1", "test_id_2"]
|
|
196
|
+
* })
|
|
197
|
+
*/
|
|
198
|
+
getAgentResponseTestsSummariesRoute(request: ElevenLabs.ListTestsByIdsRequestModel, requestOptions?: ElevenLabsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetTestsSummariesByIdsResponseModel>;
|
|
199
|
+
private __getAgentResponseTestsSummariesRoute;
|
|
200
|
+
/**
|
|
201
|
+
* Lists all agent response tests with pagination support and optional search filtering.
|
|
202
|
+
*
|
|
203
|
+
* @param {ElevenLabs.ListChatResponseTestsRouteRequest} request
|
|
204
|
+
* @param {ElevenLabsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
205
|
+
*
|
|
206
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
207
|
+
*
|
|
208
|
+
* @example
|
|
209
|
+
* await client.listChatResponseTestsRoute()
|
|
210
|
+
*/
|
|
211
|
+
listChatResponseTestsRoute(request?: ElevenLabs.ListChatResponseTestsRouteRequest, requestOptions?: ElevenLabsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetTestsPageResponseModel>;
|
|
212
|
+
private __listChatResponseTestsRoute;
|
|
213
|
+
/**
|
|
214
|
+
* Run selected tests on the agent with provided configuration. If the agent configuration is provided, it will be used to override default agent configuration.
|
|
215
|
+
*
|
|
216
|
+
* @param {string} agentId - The id of an agent. This is returned on agent creation.
|
|
217
|
+
* @param {ElevenLabs.RunAgentTestsRequestModel} request
|
|
218
|
+
* @param {ElevenLabsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
219
|
+
*
|
|
220
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
221
|
+
*
|
|
222
|
+
* @example
|
|
223
|
+
* await client.runAgentTestSuiteRoute("21m00Tcm4TlvDq8ikWAM", {
|
|
224
|
+
* tests: [{
|
|
225
|
+
* testId: "test_id"
|
|
226
|
+
* }]
|
|
227
|
+
* })
|
|
228
|
+
*/
|
|
229
|
+
runAgentTestSuiteRoute(agentId: string, request: ElevenLabs.RunAgentTestsRequestModel, requestOptions?: ElevenLabsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetTestSuiteInvocationResponseModel>;
|
|
230
|
+
private __runAgentTestSuiteRoute;
|
|
231
|
+
/**
|
|
232
|
+
* Gets a test invocation by ID.
|
|
233
|
+
*
|
|
234
|
+
* @param {string} testInvocationId - The id of a test invocation. This is returned when tests are run.
|
|
235
|
+
* @param {ElevenLabsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
236
|
+
*
|
|
237
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
* await client.getTestInvocationRoute("test_invocation_id")
|
|
241
|
+
*/
|
|
242
|
+
getTestInvocationRoute(testInvocationId: string, requestOptions?: ElevenLabsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetTestSuiteInvocationResponseModel>;
|
|
243
|
+
private __getTestInvocationRoute;
|
|
244
|
+
/**
|
|
245
|
+
* Resubmits specific test runs from a test invocation.
|
|
246
|
+
*
|
|
247
|
+
* @param {string} testInvocationId - The id of a test invocation. This is returned when tests are run.
|
|
248
|
+
* @param {ElevenLabs.ResubmitTestsRequestModel} request
|
|
249
|
+
* @param {ElevenLabsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
250
|
+
*
|
|
251
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
252
|
+
*
|
|
253
|
+
* @example
|
|
254
|
+
* await client.resubmitTestsRoute("test_invocation_id", {
|
|
255
|
+
* testRunIds: ["test_run_ids"],
|
|
256
|
+
* agentId: "agent_id"
|
|
257
|
+
* })
|
|
258
|
+
*/
|
|
259
|
+
resubmitTestsRoute(testInvocationId: string, request: ElevenLabs.ResubmitTestsRequestModel, requestOptions?: ElevenLabsClient.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
260
|
+
private __resubmitTestsRoute;
|
|
101
261
|
/**
|
|
102
262
|
* Add a generated voice to the voice library.
|
|
103
263
|
*
|