@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
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface SongMetadata {
|
|
5
|
+
/** The title of the song */
|
|
6
|
+
title?: string;
|
|
7
|
+
/** The description of the song */
|
|
8
|
+
description?: string;
|
|
9
|
+
/** The genres of the song */
|
|
10
|
+
genres: string[];
|
|
11
|
+
/** The languages of the song */
|
|
12
|
+
languages: string[];
|
|
13
|
+
/** Whether the song is explicit */
|
|
14
|
+
isExplicit?: boolean;
|
|
15
|
+
}
|
|
@@ -47,4 +47,6 @@ export interface Subscription {
|
|
|
47
47
|
nextInvoice?: ElevenLabs.InvoiceResponse;
|
|
48
48
|
/** Whether the user has open invoices. */
|
|
49
49
|
hasOpenInvoices: boolean;
|
|
50
|
+
/** The pending change for the user. */
|
|
51
|
+
pendingChange?: ElevenLabs.ExtendedSubscriptionResponseModelPendingChange;
|
|
50
52
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Structured rationale for test condition results containing individual failure/success reasons.
|
|
6
|
+
*/
|
|
7
|
+
export interface TestConditionRationaleCommonModel {
|
|
8
|
+
/** List of individual parameter evaluation messages or reasons */
|
|
9
|
+
messages?: string[];
|
|
10
|
+
/** High-level summary of the evaluation result */
|
|
11
|
+
summary?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface TestConditionResultCommonModel {
|
|
6
|
+
result: ElevenLabs.EvaluationSuccessResult;
|
|
7
|
+
rationale?: ElevenLabs.TestConditionRationaleCommonModel;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type TestRunStatus = "pending" | "passed" | "failed";
|
|
5
|
+
export declare const TestRunStatus: {
|
|
6
|
+
readonly Pending: "pending";
|
|
7
|
+
readonly Passed: "passed";
|
|
8
|
+
readonly Failed: "failed";
|
|
9
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
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.TestRunStatus = void 0;
|
|
7
|
+
exports.TestRunStatus = {
|
|
8
|
+
Pending: "pending",
|
|
9
|
+
Passed: "passed",
|
|
10
|
+
Failed: "failed",
|
|
11
|
+
};
|
|
@@ -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 interface UnitTestRunResponseModel {
|
|
6
|
+
testRunId: string;
|
|
7
|
+
testInvocationId: string;
|
|
8
|
+
agentId: string;
|
|
9
|
+
status: ElevenLabs.TestRunStatus;
|
|
10
|
+
agentResponses?: ElevenLabs.ConversationHistoryTranscriptCommonModelOutput[];
|
|
11
|
+
testId: string;
|
|
12
|
+
conditionResult?: ElevenLabs.TestConditionResultCommonModel;
|
|
13
|
+
}
|
|
@@ -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 UnitTestSummaryResponseModel {
|
|
6
|
+
/** The ID of the test */
|
|
7
|
+
id: string;
|
|
8
|
+
/** Name of the test */
|
|
9
|
+
name: string;
|
|
10
|
+
/** The access information of the test */
|
|
11
|
+
accessInfo?: ElevenLabs.ResourceAccessInfo;
|
|
12
|
+
/** Creation time of the test in unix seconds */
|
|
13
|
+
createdAtUnixSecs: number;
|
|
14
|
+
/** Last update time of the test in unix seconds */
|
|
15
|
+
lastUpdatedAtUnixSecs: number;
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface UnitTestToolCallEvaluationModelInput {
|
|
6
|
+
/** Parameters to evaluate for the agent's tool call. If empty, the tool call parameters are not evaluated. */
|
|
7
|
+
parameters?: ElevenLabs.UnitTestToolCallParameter[];
|
|
8
|
+
/** The tool to evaluate a call against. */
|
|
9
|
+
referencedTool: ElevenLabs.ReferencedToolCommonModel;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface UnitTestToolCallEvaluationModelOutput {
|
|
6
|
+
/** Parameters to evaluate for the agent's tool call. If empty, the tool call parameters are not evaluated. */
|
|
7
|
+
parameters?: ElevenLabs.UnitTestToolCallParameter[];
|
|
8
|
+
/** The tool to evaluate a call against. */
|
|
9
|
+
referencedTool: ElevenLabs.ReferencedToolCommonModel;
|
|
10
|
+
}
|
|
@@ -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 type UnitTestToolCallParameterEval = ElevenLabs.UnitTestToolCallParameterEval.Exact | ElevenLabs.UnitTestToolCallParameterEval.Llm | ElevenLabs.UnitTestToolCallParameterEval.Regex;
|
|
6
|
+
export declare namespace UnitTestToolCallParameterEval {
|
|
7
|
+
interface Exact extends ElevenLabs.ExactParameterEvaluationStrategy {
|
|
8
|
+
type: "exact";
|
|
9
|
+
}
|
|
10
|
+
interface Llm extends ElevenLabs.LlmParameterEvaluationStrategy {
|
|
11
|
+
type: "llm";
|
|
12
|
+
}
|
|
13
|
+
interface Regex extends ElevenLabs.RegexParameterEvaluationStrategy {
|
|
14
|
+
type: "regex";
|
|
15
|
+
}
|
|
16
|
+
}
|
package/api/types/User.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export interface User {
|
|
|
9
9
|
subscription: ElevenLabs.SubscriptionResponse;
|
|
10
10
|
/** Optional additional details about the user's subscription. */
|
|
11
11
|
subscriptionExtras?: ElevenLabs.SubscriptionExtrasResponseModel;
|
|
12
|
-
/** Whether the user is new. */
|
|
12
|
+
/** Whether the user is new. This field is deprecated and will be removed in the future. Use 'created_at' instead. */
|
|
13
13
|
isNewUser: boolean;
|
|
14
14
|
/** The API key of the user. */
|
|
15
15
|
xiApiKey?: string;
|
|
@@ -29,4 +29,6 @@ export interface User {
|
|
|
29
29
|
referralLinkCode?: string;
|
|
30
30
|
/** The Partnerstack partner default link of the user. */
|
|
31
31
|
partnerstackPartnerDefaultLink?: string;
|
|
32
|
+
/** The unix timestamp of the user's creation. 0 if the user was created before the unix timestamp was added. */
|
|
33
|
+
createdAt: number;
|
|
32
34
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type WebhookAuthMethodType = "hmac" | "oauth2";
|
|
4
|
+
export type WebhookAuthMethodType = "hmac" | "oauth2" | "mtls";
|
|
5
5
|
export declare const WebhookAuthMethodType: {
|
|
6
6
|
readonly Hmac: "hmac";
|
|
7
7
|
readonly Oauth2: "oauth2";
|
|
8
|
+
readonly Mtls: "mtls";
|
|
8
9
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type WorkspaceApiKeyResponseModelPermissionsItem = "text_to_speech" | "speech_to_speech" | "speech_to_text" | "models_read" | "models_write" | "voices_read" | "voices_write" | "speech_history_read" | "speech_history_write" | "sound_generation" | "audio_isolation" | "voice_generation" | "dubbing_read" | "dubbing_write" | "pronunciation_dictionaries_read" | "pronunciation_dictionaries_write" | "user_read" | "user_write" | "projects_read" | "projects_write" | "audio_native_read" | "audio_native_write" | "workspace_read" | "workspace_write" | "forced_alignment";
|
|
4
|
+
export type WorkspaceApiKeyResponseModelPermissionsItem = "text_to_speech" | "speech_to_speech" | "speech_to_text" | "models_read" | "models_write" | "voices_read" | "voices_write" | "speech_history_read" | "speech_history_write" | "sound_generation" | "audio_isolation" | "voice_generation" | "dubbing_read" | "dubbing_write" | "pronunciation_dictionaries_read" | "pronunciation_dictionaries_write" | "user_read" | "user_write" | "projects_read" | "projects_write" | "audio_native_read" | "audio_native_write" | "workspace_read" | "workspace_write" | "forced_alignment" | "convai_read" | "convai_write" | "music_generation";
|
|
5
5
|
export declare const WorkspaceApiKeyResponseModelPermissionsItem: {
|
|
6
6
|
readonly TextToSpeech: "text_to_speech";
|
|
7
7
|
readonly SpeechToSpeech: "speech_to_speech";
|
|
@@ -28,4 +28,7 @@ export declare const WorkspaceApiKeyResponseModelPermissionsItem: {
|
|
|
28
28
|
readonly WorkspaceRead: "workspace_read";
|
|
29
29
|
readonly WorkspaceWrite: "workspace_write";
|
|
30
30
|
readonly ForcedAlignment: "forced_alignment";
|
|
31
|
+
readonly ConvaiRead: "convai_read";
|
|
32
|
+
readonly ConvaiWrite: "convai_write";
|
|
33
|
+
readonly MusicGeneration: "music_generation";
|
|
31
34
|
};
|
|
@@ -30,4 +30,7 @@ exports.WorkspaceApiKeyResponseModelPermissionsItem = {
|
|
|
30
30
|
WorkspaceRead: "workspace_read",
|
|
31
31
|
WorkspaceWrite: "workspace_write",
|
|
32
32
|
ForcedAlignment: "forced_alignment",
|
|
33
|
+
ConvaiRead: "convai_read",
|
|
34
|
+
ConvaiWrite: "convai_write",
|
|
35
|
+
MusicGeneration: "music_generation",
|
|
33
36
|
};
|
|
@@ -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" | "
|
|
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" | "convai_phone_numbers" | "convai_mcp_servers" | "convai_batch_calls" | "convai_agent_response_tests" | "convai_test_suite_invocations";
|
|
8
8
|
export declare const WorkspaceResourceType: {
|
|
9
9
|
readonly Voice: "voice";
|
|
10
10
|
readonly VoiceCollection: "voice_collection";
|
|
@@ -17,7 +17,6 @@ export declare const WorkspaceResourceType: {
|
|
|
17
17
|
readonly ConvaiSettings: "convai_settings";
|
|
18
18
|
readonly ConvaiSecrets: "convai_secrets";
|
|
19
19
|
readonly WorkspaceAuthConnections: "workspace_auth_connections";
|
|
20
|
-
readonly MusicLatent: "music_latent";
|
|
21
20
|
readonly ConvaiPhoneNumbers: "convai_phone_numbers";
|
|
22
21
|
readonly ConvaiMcpServers: "convai_mcp_servers";
|
|
23
22
|
readonly ConvaiBatchCalls: "convai_batch_calls";
|
|
@@ -16,7 +16,6 @@ exports.WorkspaceResourceType = {
|
|
|
16
16
|
ConvaiSettings: "convai_settings",
|
|
17
17
|
ConvaiSecrets: "convai_secrets",
|
|
18
18
|
WorkspaceAuthConnections: "workspace_auth_connections",
|
|
19
|
-
MusicLatent: "music_latent",
|
|
20
19
|
ConvaiPhoneNumbers: "convai_phone_numbers",
|
|
21
20
|
ConvaiMcpServers: "convai_mcp_servers",
|
|
22
21
|
ConvaiBatchCalls: "convai_batch_calls",
|
package/api/types/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from "./BadRequestErrorBody";
|
|
2
|
+
export * from "./CreateUnitTestRequestDynamicVariablesValue";
|
|
3
|
+
export * from "./UpdateUnitTestRequestDynamicVariablesValue";
|
|
2
4
|
export * from "./AsrConversationalConfig";
|
|
3
5
|
export * from "./AsrInputFormat";
|
|
4
6
|
export * from "./AsrProvider";
|
|
@@ -14,14 +16,17 @@ export * from "./AddWorkspaceGroupMemberResponseModel";
|
|
|
14
16
|
export * from "./AddWorkspaceInviteResponseModel";
|
|
15
17
|
export * from "./AdditionalFormatResponseModel";
|
|
16
18
|
export * from "./AdditionalFormats";
|
|
19
|
+
export * from "./AdhocAgentConfigOverrideForTestRequestModel";
|
|
17
20
|
export * from "./AgentCallLimits";
|
|
18
21
|
export * from "./AgentConfig";
|
|
19
22
|
export * from "./AgentConfigOverride";
|
|
20
23
|
export * from "./AgentConfigOverrideConfig";
|
|
24
|
+
export * from "./AgentFailureResponseExample";
|
|
21
25
|
export * from "./AgentMetadataResponseModel";
|
|
22
26
|
export * from "./AgentPlatformSettingsRequestModel";
|
|
23
27
|
export * from "./AgentPlatformSettingsResponseModel";
|
|
24
28
|
export * from "./AgentSimulatedChatTestResponseModel";
|
|
29
|
+
export * from "./AgentSuccessfulResponseExample";
|
|
25
30
|
export * from "./AgentSummaryResponseModel";
|
|
26
31
|
export * from "./AgentTestingSettings";
|
|
27
32
|
export * from "./AgentTransfer";
|
|
@@ -32,6 +37,7 @@ export * from "./ArrayJsonSchemaPropertyInputItems";
|
|
|
32
37
|
export * from "./ArrayJsonSchemaPropertyInput";
|
|
33
38
|
export * from "./ArrayJsonSchemaPropertyOutputItems";
|
|
34
39
|
export * from "./ArrayJsonSchemaPropertyOutput";
|
|
40
|
+
export * from "./AttachedTestModel";
|
|
35
41
|
export * from "./AudioNativeCreateProjectResponseModel";
|
|
36
42
|
export * from "./AudioNativeEditContentResponseModel";
|
|
37
43
|
export * from "./AudioNativeProjectSettingsResponseModelStatus";
|
|
@@ -45,7 +51,6 @@ export * from "./BatchCallDetailedResponse";
|
|
|
45
51
|
export * from "./BatchCallRecipientStatus";
|
|
46
52
|
export * from "./BatchCallResponse";
|
|
47
53
|
export * from "./BatchCallStatus";
|
|
48
|
-
export * from "./BodyComposeMusicWithADetailedResponseV1MusicDetailedPost";
|
|
49
54
|
export * from "./CreatePreviouslyGeneratedVoiceRequest";
|
|
50
55
|
export * from "./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender";
|
|
51
56
|
export * from "./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge";
|
|
@@ -171,6 +176,7 @@ export * from "./CreatePhoneNumberResponseModel";
|
|
|
171
176
|
export * from "./CreatePronunciationDictionaryResponseModel";
|
|
172
177
|
export * from "./CreateSipTrunkPhoneNumberRequest";
|
|
173
178
|
export * from "./CreateTwilioPhoneNumberRequest";
|
|
179
|
+
export * from "./CreateUnitTestResponseModel";
|
|
174
180
|
export * from "./CustomLlmRequestHeadersValue";
|
|
175
181
|
export * from "./CustomLlm";
|
|
176
182
|
export * from "./DashboardCallSuccessChartModel";
|
|
@@ -194,6 +200,7 @@ export * from "./DependentAvailableToolIdentifier";
|
|
|
194
200
|
export * from "./DependentPhoneNumberIdentifier";
|
|
195
201
|
export * from "./DependentUnknownAgentIdentifier";
|
|
196
202
|
export * from "./DependentUnknownToolIdentifier";
|
|
203
|
+
export * from "./DetailedMusicResponse";
|
|
197
204
|
export * from "./DialogueInput";
|
|
198
205
|
export * from "./DialogueInputResponseModel";
|
|
199
206
|
export * from "./DoDubbingResponse";
|
|
@@ -220,10 +227,12 @@ export * from "./EndCallToolConfig";
|
|
|
220
227
|
export * from "./EndCallToolResultModel";
|
|
221
228
|
export * from "./EvaluationSettings";
|
|
222
229
|
export * from "./EvaluationSuccessResult";
|
|
230
|
+
export * from "./ExactParameterEvaluationStrategy";
|
|
223
231
|
export * from "./ExportOptions";
|
|
224
232
|
export * from "./ExtendedSubscriptionResponseModelCurrency";
|
|
225
233
|
export * from "./ExtendedSubscriptionResponseModelBillingPeriod";
|
|
226
234
|
export * from "./ExtendedSubscriptionResponseModelCharacterRefreshPeriod";
|
|
235
|
+
export * from "./ExtendedSubscriptionResponseModelPendingChange";
|
|
227
236
|
export * from "./Subscription";
|
|
228
237
|
export * from "./FeatureStatusCommonModel";
|
|
229
238
|
export * from "./FeaturesUsageCommonModel";
|
|
@@ -270,8 +279,13 @@ export * from "./GetPronunciationDictionariesMetadataResponseModel";
|
|
|
270
279
|
export * from "./GetPronunciationDictionaryMetadataResponseModelPermissionOnResource";
|
|
271
280
|
export * from "./GetPronunciationDictionaryMetadataResponse";
|
|
272
281
|
export * from "./GetSpeechHistoryResponse";
|
|
282
|
+
export * from "./GetTestSuiteInvocationResponseModel";
|
|
283
|
+
export * from "./GetTestsPageResponseModel";
|
|
284
|
+
export * from "./GetTestsSummariesByIdsResponseModel";
|
|
273
285
|
export * from "./GetToolDependentAgentsResponseModelAgentsItem";
|
|
274
286
|
export * from "./GetToolDependentAgentsResponseModel";
|
|
287
|
+
export * from "./GetUnitTestResponseModelDynamicVariablesValue";
|
|
288
|
+
export * from "./GetUnitTestResponseModel";
|
|
275
289
|
export * from "./GetVoicesResponse";
|
|
276
290
|
export * from "./GetVoicesV2Response";
|
|
277
291
|
export * from "./GetWorkspaceSecretsResponseModel";
|
|
@@ -290,6 +304,7 @@ export * from "./KnowledgeBaseLocator";
|
|
|
290
304
|
export * from "./Llm";
|
|
291
305
|
export * from "./LlmCategoryUsage";
|
|
292
306
|
export * from "./LlmInputOutputTokensUsage";
|
|
307
|
+
export * from "./LlmParameterEvaluationStrategy";
|
|
293
308
|
export * from "./LlmTokensCategoryUsage";
|
|
294
309
|
export * from "./LlmUsageInput";
|
|
295
310
|
export * from "./LlmUsageOutput";
|
|
@@ -336,6 +351,7 @@ export * from "./ModerationStatusResponseModelSafetyStatus";
|
|
|
336
351
|
export * from "./ModerationStatusResponseModelWarningStatus";
|
|
337
352
|
export * from "./ModerationStatusResponseModel";
|
|
338
353
|
export * from "./MultichannelSpeechToTextResponseModel";
|
|
354
|
+
export * from "./MultipartMusicResponse";
|
|
339
355
|
export * from "./MusicPrompt";
|
|
340
356
|
export * from "./ObjectJsonSchemaPropertyInputPropertiesValue";
|
|
341
357
|
export * from "./ObjectJsonSchemaPropertyInput";
|
|
@@ -346,6 +362,9 @@ export * from "./OutboundCallRecipient";
|
|
|
346
362
|
export * from "./OutboundCallRecipientResponseModel";
|
|
347
363
|
export * from "./OutboundSipTrunkConfigRequestModel";
|
|
348
364
|
export * from "./PdfExportOptions";
|
|
365
|
+
export * from "./PendingCancellationResponseModel";
|
|
366
|
+
export * from "./PendingSubscriptionSwitchResponseModelNextTier";
|
|
367
|
+
export * from "./PendingSubscriptionSwitchResponseModel";
|
|
349
368
|
export * from "./PhoneNumberAgentInfo";
|
|
350
369
|
export * from "./PhoneNumberTransferTransferDestination";
|
|
351
370
|
export * from "./PhoneNumberTransfer";
|
|
@@ -410,6 +429,8 @@ export * from "./RagRetrievalInfo";
|
|
|
410
429
|
export * from "./ReaderResourceResponseModelResourceType";
|
|
411
430
|
export * from "./ReaderResourceResponseModel";
|
|
412
431
|
export * from "./RecordingResponse";
|
|
432
|
+
export * from "./ReferencedToolCommonModel";
|
|
433
|
+
export * from "./RegexParameterEvaluationStrategy";
|
|
413
434
|
export * from "./RenderStatus";
|
|
414
435
|
export * from "./Render";
|
|
415
436
|
export * from "./RenderType";
|
|
@@ -441,8 +462,10 @@ export * from "./ShareOptionResponseModel";
|
|
|
441
462
|
export * from "./SimilarVoiceCategory";
|
|
442
463
|
export * from "./SimilarVoice";
|
|
443
464
|
export * from "./SimilarVoicesForSpeakerResponse";
|
|
465
|
+
export * from "./SingleTestRunRequestModel";
|
|
444
466
|
export * from "./SkipTurnToolConfig";
|
|
445
467
|
export * from "./SkipTurnToolResponseModel";
|
|
468
|
+
export * from "./SongMetadata";
|
|
446
469
|
export * from "./SongSection";
|
|
447
470
|
export * from "./SpeakerAudioResponseModel";
|
|
448
471
|
export * from "./SpeakerResponseModel";
|
|
@@ -484,6 +507,10 @@ export * from "./TtsModelFamily";
|
|
|
484
507
|
export * from "./TtsOptimizeStreamingLatency";
|
|
485
508
|
export * from "./TtsOutputFormat";
|
|
486
509
|
export * from "./TelephonyProvider";
|
|
510
|
+
export * from "./TestConditionRationaleCommonModel";
|
|
511
|
+
export * from "./TestConditionResultCommonModel";
|
|
512
|
+
export * from "./TestRunStatus";
|
|
513
|
+
export * from "./TestToolResultModel";
|
|
487
514
|
export * from "./TokenResponseModel";
|
|
488
515
|
export * from "./Tool";
|
|
489
516
|
export * from "./ToolAnnotations";
|
|
@@ -509,6 +536,12 @@ export * from "./TurnMode";
|
|
|
509
536
|
export * from "./TwilioOutboundCallResponse";
|
|
510
537
|
export * from "./TxtExportOptions";
|
|
511
538
|
export * from "./UrlAvatar";
|
|
539
|
+
export * from "./UnitTestRunResponseModel";
|
|
540
|
+
export * from "./UnitTestSummaryResponseModel";
|
|
541
|
+
export * from "./UnitTestToolCallEvaluationModelInput";
|
|
542
|
+
export * from "./UnitTestToolCallEvaluationModelOutput";
|
|
543
|
+
export * from "./UnitTestToolCallParameterEval";
|
|
544
|
+
export * from "./UnitTestToolCallParameter";
|
|
512
545
|
export * from "./UpdateWorkspaceMemberResponseModel";
|
|
513
546
|
export * from "./UsageAggregationInterval";
|
|
514
547
|
export * from "./UsageCharactersResponseModel";
|
|
@@ -561,6 +594,7 @@ export * from "./WidgetLanguagePresetResponse";
|
|
|
561
594
|
export * from "./WidgetPlacement";
|
|
562
595
|
export * from "./WidgetStyles";
|
|
563
596
|
export * from "./WidgetTextContents";
|
|
597
|
+
export * from "./WorkflowFeaturesUsageCommonModel";
|
|
564
598
|
export * from "./WorkflowToolEdgeStepModel";
|
|
565
599
|
export * from "./WorkflowToolMaxIterationsExceededStepModel";
|
|
566
600
|
export * from "./WorkflowToolNestedToolsStepModelInputResultsItem";
|