@elevenlabs/elevenlabs-js 2.33.0 → 2.34.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/BaseClient.js +2 -2
- package/Client.d.ts +8 -0
- package/Client.js +37 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/index.js +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/types/index.js +17 -0
- package/api/resources/conversationalAi/resources/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/index.js +1 -0
- package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +6 -2
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +18 -6
- package/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts +13 -0
- package/api/resources/conversationalAi/resources/secrets/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +12 -29
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +49 -118
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
- package/api/resources/textToDialogue/client/Client.d.ts +1 -1
- package/api/resources/textToDialogue/client/Client.js +3 -7
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +4 -4
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -3
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +32 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +35 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +32 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +35 -0
- package/api/resources/textToDialogue/types/index.d.ts +2 -0
- package/api/resources/textToDialogue/types/index.js +2 -0
- package/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +2 -2
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/api/resources/workspace/resources/invites/client/Client.d.ts +3 -3
- package/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/api/types/AlignmentGuardrail.d.ts +3 -0
- package/api/types/ApiIntegrationWebhookOverridesInput.d.ts +2 -0
- package/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +2 -0
- package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/api/types/ConversationTurnMetrics.d.ts +1 -0
- package/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/api/types/GetUnitTestResponseModel.d.ts +2 -0
- package/api/types/GetWorkspaceSecretsResponseModel.d.ts +4 -0
- package/api/types/GuardrailsV1Input.d.ts +1 -0
- package/api/types/GuardrailsV1Output.d.ts +1 -0
- package/api/types/InvoiceResponse.d.ts +1 -1
- package/api/types/NonStreamingOutputFormats.d.ts +10 -0
- package/api/types/NonStreamingOutputFormats.js +13 -0
- package/api/types/PermissionType.d.ts +6 -0
- package/api/types/PermissionType.js +6 -0
- package/api/types/ProcedureDraftRef.d.ts +4 -0
- package/api/types/ProcedureVersionRef.d.ts +6 -0
- package/api/types/ProcedureVersionRef.js +3 -0
- package/api/types/ResponseFilterMode.d.ts +6 -0
- package/api/types/ResponseFilterMode.js +9 -0
- package/api/types/SongMetadata.d.ts +0 -4
- package/api/types/TurnConfig.d.ts +2 -0
- package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/api/types/UnitTestCommonModel.d.ts +2 -0
- package/api/types/User.d.ts +2 -0
- package/api/types/index.d.ts +5 -1
- package/api/types/index.js +5 -1
- package/dist/BaseClient.js +2 -2
- package/dist/Client.d.ts +8 -0
- package/dist/Client.js +37 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/types/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +6 -2
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +18 -6
- package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/secrets/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +12 -29
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +49 -118
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
- package/dist/api/resources/textToDialogue/client/Client.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/Client.js +3 -7
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +4 -4
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -3
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +32 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +35 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +32 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +35 -0
- package/dist/api/resources/textToDialogue/types/index.d.ts +2 -0
- package/dist/api/resources/textToDialogue/types/index.js +2 -0
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +2 -2
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/dist/api/resources/workspace/resources/invites/client/Client.d.ts +3 -3
- package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/dist/api/types/AlignmentGuardrail.d.ts +3 -0
- package/dist/api/types/AlignmentGuardrail.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesInput.d.ts +2 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +2 -0
- package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/dist/api/types/ConversationTurnMetrics.d.ts +1 -0
- package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/dist/api/types/GetUnitTestResponseModel.d.ts +2 -0
- package/dist/api/types/GetWorkspaceSecretsResponseModel.d.ts +4 -0
- package/dist/api/types/GuardrailsV1Input.d.ts +1 -0
- package/dist/api/types/GuardrailsV1Output.d.ts +1 -0
- package/dist/api/types/InvoiceResponse.d.ts +1 -1
- package/dist/api/types/NonStreamingOutputFormats.d.ts +10 -0
- package/dist/api/types/NonStreamingOutputFormats.js +13 -0
- package/dist/api/types/PermissionType.d.ts +6 -0
- package/dist/api/types/PermissionType.js +6 -0
- package/dist/api/types/ProcedureDraftRef.d.ts +4 -0
- package/dist/api/types/ProcedureDraftRef.js +3 -0
- package/dist/api/types/ProcedureVersionRef.d.ts +6 -0
- package/dist/api/types/ProcedureVersionRef.js +3 -0
- package/dist/api/types/ResponseFilterMode.d.ts +6 -0
- package/dist/api/types/ResponseFilterMode.js +9 -0
- package/dist/api/types/SongMetadata.d.ts +0 -4
- package/dist/api/types/TurnConfig.d.ts +2 -0
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/dist/api/types/UnitTestCommonModel.d.ts +2 -0
- package/dist/api/types/User.d.ts +2 -0
- package/dist/api/types/index.d.ts +5 -1
- package/dist/api/types/index.js +5 -1
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +9 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/types/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +1 -3
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +7 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +68 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +68 -0
- package/dist/serialization/resources/textToDialogue/types/index.d.ts +2 -0
- package/dist/serialization/resources/textToDialogue/types/index.js +2 -0
- package/dist/serialization/types/AlignmentGuardrail.d.ts +9 -0
- package/dist/serialization/types/{ImportWhatsAppAccountResponse.js → AlignmentGuardrail.js} +3 -3
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +3 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.js +3 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +3 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
- package/dist/serialization/types/ConversationTurnMetrics.d.ts +1 -0
- package/dist/serialization/types/ConversationTurnMetrics.js +1 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -0
- package/dist/serialization/types/GetUnitTestResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetUnitTestResponseModel.js +1 -0
- package/dist/serialization/types/GetWorkspaceSecretsResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetWorkspaceSecretsResponseModel.js +2 -0
- package/dist/serialization/types/GuardrailsV1Input.d.ts +2 -0
- package/dist/serialization/types/GuardrailsV1Input.js +2 -0
- package/dist/serialization/types/GuardrailsV1Output.d.ts +2 -0
- package/dist/serialization/types/GuardrailsV1Output.js +2 -0
- package/dist/serialization/types/NonStreamingOutputFormats.d.ts +7 -0
- package/dist/serialization/types/NonStreamingOutputFormats.js +47 -0
- package/dist/serialization/types/PermissionType.d.ts +1 -1
- package/dist/serialization/types/PermissionType.js +6 -0
- package/dist/serialization/types/ProcedureDraftRef.d.ts +9 -0
- package/{serialization/types/ImportWhatsAppAccountResponse.js → dist/serialization/types/ProcedureDraftRef.js} +3 -3
- package/dist/serialization/types/ProcedureVersionRef.d.ts +10 -0
- package/dist/serialization/{resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → types/ProcedureVersionRef.js} +5 -6
- package/dist/serialization/types/ResponseFilterMode.d.ts +7 -0
- package/dist/serialization/types/ResponseFilterMode.js +39 -0
- package/dist/serialization/types/SongMetadata.d.ts +0 -2
- package/dist/serialization/types/SongMetadata.js +0 -2
- package/dist/serialization/types/TurnConfig.d.ts +1 -0
- package/dist/serialization/types/TurnConfig.js +1 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.js +1 -0
- package/dist/serialization/types/UnitTestCommonModel.d.ts +1 -0
- package/dist/serialization/types/UnitTestCommonModel.js +1 -0
- package/dist/serialization/types/User.d.ts +1 -0
- package/dist/serialization/types/User.js +1 -0
- package/dist/serialization/types/index.d.ts +5 -1
- package/dist/serialization/types/index.js +5 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +40 -96
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +2 -0
- package/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +1 -0
- package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +9 -0
- package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +41 -0
- package/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/types/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +1 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +1 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +1 -3
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +7 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +68 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +68 -0
- package/serialization/resources/textToDialogue/types/index.d.ts +2 -0
- package/serialization/resources/textToDialogue/types/index.js +2 -0
- package/serialization/types/AlignmentGuardrail.d.ts +9 -0
- package/serialization/types/AlignmentGuardrail.js +41 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +3 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInput.js +3 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +3 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
- package/serialization/types/ConversationTurnMetrics.d.ts +1 -0
- package/serialization/types/ConversationTurnMetrics.js +1 -0
- package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/serialization/types/DirectPublishingReadResponseModel.js +1 -0
- package/serialization/types/GetUnitTestResponseModel.d.ts +1 -0
- package/serialization/types/GetUnitTestResponseModel.js +1 -0
- package/serialization/types/GetWorkspaceSecretsResponseModel.d.ts +2 -0
- package/serialization/types/GetWorkspaceSecretsResponseModel.js +2 -0
- package/serialization/types/GuardrailsV1Input.d.ts +2 -0
- package/serialization/types/GuardrailsV1Input.js +2 -0
- package/serialization/types/GuardrailsV1Output.d.ts +2 -0
- package/serialization/types/GuardrailsV1Output.js +2 -0
- package/serialization/types/NonStreamingOutputFormats.d.ts +7 -0
- package/serialization/types/NonStreamingOutputFormats.js +47 -0
- package/serialization/types/PermissionType.d.ts +1 -1
- package/serialization/types/PermissionType.js +6 -0
- package/serialization/types/ProcedureDraftRef.d.ts +9 -0
- package/serialization/types/ProcedureDraftRef.js +41 -0
- package/serialization/types/ProcedureVersionRef.d.ts +10 -0
- package/serialization/{resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → types/ProcedureVersionRef.js} +5 -6
- package/serialization/types/ResponseFilterMode.d.ts +7 -0
- package/serialization/types/ResponseFilterMode.js +39 -0
- package/serialization/types/SongMetadata.d.ts +0 -2
- package/serialization/types/SongMetadata.js +0 -2
- package/serialization/types/TurnConfig.d.ts +1 -0
- package/serialization/types/TurnConfig.js +1 -0
- package/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
- package/serialization/types/TurnConfigWorkflowOverride.js +1 -0
- package/serialization/types/UnitTestCommonModel.d.ts +1 -0
- package/serialization/types/UnitTestCommonModel.js +1 -0
- package/serialization/types/User.d.ts +1 -0
- package/serialization/types/User.js +1 -0
- package/serialization/types/index.d.ts +5 -1
- package/serialization/types/index.js +5 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -13
- package/api/types/ImportWhatsAppAccountResponse.d.ts +0 -3
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -13
- package/dist/api/types/ImportWhatsAppAccountResponse.d.ts +0 -3
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -11
- package/dist/serialization/types/ImportWhatsAppAccountResponse.d.ts +0 -9
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -11
- package/serialization/types/ImportWhatsAppAccountResponse.d.ts +0 -9
- /package/api/resources/conversationalAi/resources/{whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js} +0 -0
- /package/api/{types/ImportWhatsAppAccountResponse.js → resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.js} +0 -0
- /package/{dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → api/types/AlignmentGuardrail.js} +0 -0
- /package/{dist/api/types/ImportWhatsAppAccountResponse.js → api/types/ProcedureDraftRef.js} +0 -0
|
@@ -80,9 +80,7 @@ class TextToDialogueClient {
|
|
|
80
80
|
const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
|
|
81
81
|
const _queryParams = {};
|
|
82
82
|
if (outputFormat != null) {
|
|
83
|
-
_queryParams.output_format = serializers.
|
|
84
|
-
unrecognizedObjectKeys: "strip",
|
|
85
|
-
});
|
|
83
|
+
_queryParams.output_format = serializers.TextToDialogueConvertRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
|
|
86
84
|
}
|
|
87
85
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
88
86
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
@@ -268,7 +266,7 @@ class TextToDialogueClient {
|
|
|
268
266
|
*
|
|
269
267
|
* @example
|
|
270
268
|
* await client.textToDialogue.convertWithTimestamps({
|
|
271
|
-
* outputFormat: "
|
|
269
|
+
* outputFormat: "alaw_8000",
|
|
272
270
|
* inputs: [{
|
|
273
271
|
* text: "Hello, how are you?",
|
|
274
272
|
* voiceId: "bYTqZQo3Jz7LQtmGTgwi"
|
|
@@ -287,9 +285,7 @@ class TextToDialogueClient {
|
|
|
287
285
|
const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
|
|
288
286
|
const _queryParams = {};
|
|
289
287
|
if (outputFormat != null) {
|
|
290
|
-
_queryParams.output_format = serializers.
|
|
291
|
-
unrecognizedObjectKeys: "strip",
|
|
292
|
-
});
|
|
288
|
+
_queryParams.output_format = serializers.TextToDialogueConvertWithTimestampsRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
|
|
293
289
|
}
|
|
294
290
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
295
291
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
|
-
* outputFormat: "
|
|
5
|
+
* outputFormat: "alaw_8000",
|
|
6
6
|
* inputs: [{
|
|
7
7
|
* text: "Hello, how are you?",
|
|
8
8
|
* voiceId: "bYTqZQo3Jz7LQtmGTgwi"
|
|
@@ -13,9 +13,9 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
13
13
|
* }
|
|
14
14
|
*/
|
|
15
15
|
export interface BodyTextToDialogueFullWithTimestamps {
|
|
16
|
-
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
17
|
-
outputFormat?: ElevenLabs.
|
|
18
|
-
/** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. */
|
|
16
|
+
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
17
|
+
outputFormat?: ElevenLabs.TextToDialogueConvertWithTimestampsRequestOutputFormat;
|
|
18
|
+
/** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. */
|
|
19
19
|
inputs: ElevenLabs.DialogueInput[];
|
|
20
20
|
/** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
|
|
21
21
|
modelId?: string;
|
|
@@ -14,7 +14,7 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
14
14
|
export interface BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost {
|
|
15
15
|
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
16
16
|
outputFormat?: ElevenLabs.AllowedOutputFormats;
|
|
17
|
-
/** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. */
|
|
17
|
+
/** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. */
|
|
18
18
|
inputs: ElevenLabs.DialogueInput[];
|
|
19
19
|
/** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
|
|
20
20
|
modelId?: string;
|
|
@@ -12,9 +12,9 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
12
12
|
* }
|
|
13
13
|
*/
|
|
14
14
|
export interface BodyTextToDialogueMultiVoiceV1TextToDialoguePost {
|
|
15
|
-
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
16
|
-
outputFormat?: ElevenLabs.
|
|
17
|
-
/** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. */
|
|
15
|
+
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
16
|
+
outputFormat?: ElevenLabs.TextToDialogueConvertRequestOutputFormat;
|
|
17
|
+
/** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. */
|
|
18
18
|
inputs: ElevenLabs.DialogueInput[];
|
|
19
19
|
/** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
|
|
20
20
|
modelId?: string;
|
package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
15
15
|
export interface BodyTextToDialogueStreamWithTimestamps {
|
|
16
16
|
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
17
17
|
outputFormat?: ElevenLabs.AllowedOutputFormats;
|
|
18
|
-
/** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. */
|
|
18
|
+
/** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. */
|
|
19
19
|
inputs: ElevenLabs.DialogueInput[];
|
|
20
20
|
/** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
|
|
21
21
|
modelId?: string;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
2
|
+
export declare const TextToDialogueConvertRequestOutputFormat: {
|
|
3
|
+
readonly Alaw8000: "alaw_8000";
|
|
4
|
+
readonly Mp32205032: "mp3_22050_32";
|
|
5
|
+
readonly Mp32400048: "mp3_24000_48";
|
|
6
|
+
readonly Mp344100128: "mp3_44100_128";
|
|
7
|
+
readonly Mp344100192: "mp3_44100_192";
|
|
8
|
+
readonly Mp34410032: "mp3_44100_32";
|
|
9
|
+
readonly Mp34410064: "mp3_44100_64";
|
|
10
|
+
readonly Mp34410096: "mp3_44100_96";
|
|
11
|
+
readonly Opus48000128: "opus_48000_128";
|
|
12
|
+
readonly Opus48000192: "opus_48000_192";
|
|
13
|
+
readonly Opus4800032: "opus_48000_32";
|
|
14
|
+
readonly Opus4800064: "opus_48000_64";
|
|
15
|
+
readonly Opus4800096: "opus_48000_96";
|
|
16
|
+
readonly Pcm16000: "pcm_16000";
|
|
17
|
+
readonly Pcm22050: "pcm_22050";
|
|
18
|
+
readonly Pcm24000: "pcm_24000";
|
|
19
|
+
readonly Pcm32000: "pcm_32000";
|
|
20
|
+
readonly Pcm44100: "pcm_44100";
|
|
21
|
+
readonly Pcm48000: "pcm_48000";
|
|
22
|
+
readonly Pcm8000: "pcm_8000";
|
|
23
|
+
readonly Ulaw8000: "ulaw_8000";
|
|
24
|
+
readonly Wav16000: "wav_16000";
|
|
25
|
+
readonly Wav22050: "wav_22050";
|
|
26
|
+
readonly Wav24000: "wav_24000";
|
|
27
|
+
readonly Wav32000: "wav_32000";
|
|
28
|
+
readonly Wav44100: "wav_44100";
|
|
29
|
+
readonly Wav48000: "wav_48000";
|
|
30
|
+
readonly Wav8000: "wav_8000";
|
|
31
|
+
};
|
|
32
|
+
export type TextToDialogueConvertRequestOutputFormat = (typeof TextToDialogueConvertRequestOutputFormat)[keyof typeof TextToDialogueConvertRequestOutputFormat];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.TextToDialogueConvertRequestOutputFormat = void 0;
|
|
5
|
+
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
6
|
+
exports.TextToDialogueConvertRequestOutputFormat = {
|
|
7
|
+
Alaw8000: "alaw_8000",
|
|
8
|
+
Mp32205032: "mp3_22050_32",
|
|
9
|
+
Mp32400048: "mp3_24000_48",
|
|
10
|
+
Mp344100128: "mp3_44100_128",
|
|
11
|
+
Mp344100192: "mp3_44100_192",
|
|
12
|
+
Mp34410032: "mp3_44100_32",
|
|
13
|
+
Mp34410064: "mp3_44100_64",
|
|
14
|
+
Mp34410096: "mp3_44100_96",
|
|
15
|
+
Opus48000128: "opus_48000_128",
|
|
16
|
+
Opus48000192: "opus_48000_192",
|
|
17
|
+
Opus4800032: "opus_48000_32",
|
|
18
|
+
Opus4800064: "opus_48000_64",
|
|
19
|
+
Opus4800096: "opus_48000_96",
|
|
20
|
+
Pcm16000: "pcm_16000",
|
|
21
|
+
Pcm22050: "pcm_22050",
|
|
22
|
+
Pcm24000: "pcm_24000",
|
|
23
|
+
Pcm32000: "pcm_32000",
|
|
24
|
+
Pcm44100: "pcm_44100",
|
|
25
|
+
Pcm48000: "pcm_48000",
|
|
26
|
+
Pcm8000: "pcm_8000",
|
|
27
|
+
Ulaw8000: "ulaw_8000",
|
|
28
|
+
Wav16000: "wav_16000",
|
|
29
|
+
Wav22050: "wav_22050",
|
|
30
|
+
Wav24000: "wav_24000",
|
|
31
|
+
Wav32000: "wav_32000",
|
|
32
|
+
Wav44100: "wav_44100",
|
|
33
|
+
Wav48000: "wav_48000",
|
|
34
|
+
Wav8000: "wav_8000",
|
|
35
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
2
|
+
export declare const TextToDialogueConvertWithTimestampsRequestOutputFormat: {
|
|
3
|
+
readonly Alaw8000: "alaw_8000";
|
|
4
|
+
readonly Mp32205032: "mp3_22050_32";
|
|
5
|
+
readonly Mp32400048: "mp3_24000_48";
|
|
6
|
+
readonly Mp344100128: "mp3_44100_128";
|
|
7
|
+
readonly Mp344100192: "mp3_44100_192";
|
|
8
|
+
readonly Mp34410032: "mp3_44100_32";
|
|
9
|
+
readonly Mp34410064: "mp3_44100_64";
|
|
10
|
+
readonly Mp34410096: "mp3_44100_96";
|
|
11
|
+
readonly Opus48000128: "opus_48000_128";
|
|
12
|
+
readonly Opus48000192: "opus_48000_192";
|
|
13
|
+
readonly Opus4800032: "opus_48000_32";
|
|
14
|
+
readonly Opus4800064: "opus_48000_64";
|
|
15
|
+
readonly Opus4800096: "opus_48000_96";
|
|
16
|
+
readonly Pcm16000: "pcm_16000";
|
|
17
|
+
readonly Pcm22050: "pcm_22050";
|
|
18
|
+
readonly Pcm24000: "pcm_24000";
|
|
19
|
+
readonly Pcm32000: "pcm_32000";
|
|
20
|
+
readonly Pcm44100: "pcm_44100";
|
|
21
|
+
readonly Pcm48000: "pcm_48000";
|
|
22
|
+
readonly Pcm8000: "pcm_8000";
|
|
23
|
+
readonly Ulaw8000: "ulaw_8000";
|
|
24
|
+
readonly Wav16000: "wav_16000";
|
|
25
|
+
readonly Wav22050: "wav_22050";
|
|
26
|
+
readonly Wav24000: "wav_24000";
|
|
27
|
+
readonly Wav32000: "wav_32000";
|
|
28
|
+
readonly Wav44100: "wav_44100";
|
|
29
|
+
readonly Wav48000: "wav_48000";
|
|
30
|
+
readonly Wav8000: "wav_8000";
|
|
31
|
+
};
|
|
32
|
+
export type TextToDialogueConvertWithTimestampsRequestOutputFormat = (typeof TextToDialogueConvertWithTimestampsRequestOutputFormat)[keyof typeof TextToDialogueConvertWithTimestampsRequestOutputFormat];
|
package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.TextToDialogueConvertWithTimestampsRequestOutputFormat = void 0;
|
|
5
|
+
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
6
|
+
exports.TextToDialogueConvertWithTimestampsRequestOutputFormat = {
|
|
7
|
+
Alaw8000: "alaw_8000",
|
|
8
|
+
Mp32205032: "mp3_22050_32",
|
|
9
|
+
Mp32400048: "mp3_24000_48",
|
|
10
|
+
Mp344100128: "mp3_44100_128",
|
|
11
|
+
Mp344100192: "mp3_44100_192",
|
|
12
|
+
Mp34410032: "mp3_44100_32",
|
|
13
|
+
Mp34410064: "mp3_44100_64",
|
|
14
|
+
Mp34410096: "mp3_44100_96",
|
|
15
|
+
Opus48000128: "opus_48000_128",
|
|
16
|
+
Opus48000192: "opus_48000_192",
|
|
17
|
+
Opus4800032: "opus_48000_32",
|
|
18
|
+
Opus4800064: "opus_48000_64",
|
|
19
|
+
Opus4800096: "opus_48000_96",
|
|
20
|
+
Pcm16000: "pcm_16000",
|
|
21
|
+
Pcm22050: "pcm_22050",
|
|
22
|
+
Pcm24000: "pcm_24000",
|
|
23
|
+
Pcm32000: "pcm_32000",
|
|
24
|
+
Pcm44100: "pcm_44100",
|
|
25
|
+
Pcm48000: "pcm_48000",
|
|
26
|
+
Pcm8000: "pcm_8000",
|
|
27
|
+
Ulaw8000: "ulaw_8000",
|
|
28
|
+
Wav16000: "wav_16000",
|
|
29
|
+
Wav22050: "wav_22050",
|
|
30
|
+
Wav24000: "wav_24000",
|
|
31
|
+
Wav32000: "wav_32000",
|
|
32
|
+
Wav44100: "wav_44100",
|
|
33
|
+
Wav48000: "wav_48000",
|
|
34
|
+
Wav8000: "wav_8000",
|
|
35
|
+
};
|
|
@@ -2,3 +2,5 @@ export * from "./BodyTextToDialogueFullWithTimestampsApplyTextNormalization";
|
|
|
2
2
|
export * from "./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization";
|
|
3
3
|
export * from "./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization";
|
|
4
4
|
export * from "./BodyTextToDialogueStreamWithTimestampsApplyTextNormalization";
|
|
5
|
+
export * from "./TextToDialogueConvertRequestOutputFormat";
|
|
6
|
+
export * from "./TextToDialogueConvertWithTimestampsRequestOutputFormat";
|
|
@@ -18,3 +18,5 @@ __exportStar(require("./BodyTextToDialogueFullWithTimestampsApplyTextNormalizati
|
|
|
18
18
|
__exportStar(require("./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization"), exports);
|
|
19
19
|
__exportStar(require("./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization"), exports);
|
|
20
20
|
__exportStar(require("./BodyTextToDialogueStreamWithTimestampsApplyTextNormalization"), exports);
|
|
21
|
+
__exportStar(require("./TextToDialogueConvertRequestOutputFormat"), exports);
|
|
22
|
+
__exportStar(require("./TextToDialogueConvertWithTimestampsRequestOutputFormat"), exports);
|
|
@@ -11,7 +11,7 @@ export declare class MembersClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptions<MembersClient.Options>;
|
|
12
12
|
constructor(options?: MembersClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Removes a member from the specified group.
|
|
14
|
+
* Removes a member from the specified group. Requires `group_members_manage` permission.
|
|
15
15
|
*
|
|
16
16
|
* @param {string} group_id - The ID of the target group.
|
|
17
17
|
* @param {ElevenLabs.workspace.groups.BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIdMembersRemovePost} request
|
|
@@ -27,7 +27,7 @@ export declare class MembersClient {
|
|
|
27
27
|
remove(group_id: string, request: ElevenLabs.workspace.groups.BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIdMembersRemovePost, requestOptions?: MembersClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.DeleteWorkspaceGroupMemberResponseModel>;
|
|
28
28
|
private __remove;
|
|
29
29
|
/**
|
|
30
|
-
* Adds a member of your workspace to the specified group.
|
|
30
|
+
* Adds a member of your workspace to the specified group. Requires `group_members_manage` permission.
|
|
31
31
|
*
|
|
32
32
|
* @param {string} group_id - The ID of the target group.
|
|
33
33
|
* @param {ElevenLabs.workspace.groups.AddMemberToGroupRequest} request
|
|
@@ -57,7 +57,7 @@ class MembersClient {
|
|
|
57
57
|
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
* Removes a member from the specified group.
|
|
60
|
+
* Removes a member from the specified group. Requires `group_members_manage` permission.
|
|
61
61
|
*
|
|
62
62
|
* @param {string} group_id - The ID of the target group.
|
|
63
63
|
* @param {ElevenLabs.workspace.groups.BodyDeleteMemberFromUserGroupV1WorkspaceGroupsGroupIdMembersRemovePost} request
|
|
@@ -123,7 +123,7 @@ class MembersClient {
|
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
126
|
-
* Adds a member of your workspace to the specified group.
|
|
126
|
+
* Adds a member of your workspace to the specified group. Requires `group_members_manage` permission.
|
|
127
127
|
*
|
|
128
128
|
* @param {string} group_id - The ID of the target group.
|
|
129
129
|
* @param {ElevenLabs.workspace.groups.AddMemberToGroupRequest} request
|
|
@@ -11,7 +11,7 @@ export declare class InvitesClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptions<InvitesClient.Options>;
|
|
12
12
|
constructor(options?: InvitesClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Sends an email invitation to join your workspace to the provided email. If the user doesn't have an account they will be prompted to create one. If the user accepts this invite they will be added as a user to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace
|
|
14
|
+
* Sends an email invitation to join your workspace to the provided email. If the user doesn't have an account they will be prompted to create one. If the user accepts this invite they will be added as a user to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace members with the WORKSPACE_MEMBERS_INVITE permission. If the user is already in the workspace a 400 error will be returned.
|
|
15
15
|
*
|
|
16
16
|
* @param {ElevenLabs.workspace.InviteUserRequest} request
|
|
17
17
|
* @param {InvitesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -26,7 +26,7 @@ export declare class InvitesClient {
|
|
|
26
26
|
create(request: ElevenLabs.workspace.InviteUserRequest, requestOptions?: InvitesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.AddWorkspaceInviteResponseModel>;
|
|
27
27
|
private __create;
|
|
28
28
|
/**
|
|
29
|
-
* Sends email invitations to join your workspace to the provided emails. Requires all email addresses to be part of a verified domain. If the users don't have an account they will be prompted to create one. If the users accept these invites they will be added as users to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace
|
|
29
|
+
* Sends email invitations to join your workspace to the provided emails. Requires all email addresses to be part of a verified domain. If the users don't have an account they will be prompted to create one. If the users accept these invites they will be added as users to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace members with the WORKSPACE_MEMBERS_INVITE permission.
|
|
30
30
|
*
|
|
31
31
|
* @param {ElevenLabs.workspace.BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost} request
|
|
32
32
|
* @param {InvitesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -41,7 +41,7 @@ export declare class InvitesClient {
|
|
|
41
41
|
createBatch(request: ElevenLabs.workspace.BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost, requestOptions?: InvitesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.AddWorkspaceInviteResponseModel>;
|
|
42
42
|
private __createBatch;
|
|
43
43
|
/**
|
|
44
|
-
* Invalidates an existing email invitation. The invitation will still show up in the inbox it has been delivered to, but activating it to join the workspace won't work. This endpoint may only be called by workspace
|
|
44
|
+
* Invalidates an existing email invitation. The invitation will still show up in the inbox it has been delivered to, but activating it to join the workspace won't work. This endpoint may only be called by workspace members with the WORKSPACE_MEMBERS_INVITE permission.
|
|
45
45
|
*
|
|
46
46
|
* @param {ElevenLabs.workspace.BodyDeleteExistingInvitationV1WorkspaceInvitesDelete} request
|
|
47
47
|
* @param {InvitesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -57,7 +57,7 @@ class InvitesClient {
|
|
|
57
57
|
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
* Sends an email invitation to join your workspace to the provided email. If the user doesn't have an account they will be prompted to create one. If the user accepts this invite they will be added as a user to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace
|
|
60
|
+
* Sends an email invitation to join your workspace to the provided email. If the user doesn't have an account they will be prompted to create one. If the user accepts this invite they will be added as a user to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace members with the WORKSPACE_MEMBERS_INVITE permission. If the user is already in the workspace a 400 error will be returned.
|
|
61
61
|
*
|
|
62
62
|
* @param {ElevenLabs.workspace.InviteUserRequest} request
|
|
63
63
|
* @param {InvitesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -122,7 +122,7 @@ class InvitesClient {
|
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
|
-
* Sends email invitations to join your workspace to the provided emails. Requires all email addresses to be part of a verified domain. If the users don't have an account they will be prompted to create one. If the users accept these invites they will be added as users to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace
|
|
125
|
+
* Sends email invitations to join your workspace to the provided emails. Requires all email addresses to be part of a verified domain. If the users don't have an account they will be prompted to create one. If the users accept these invites they will be added as users to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace members with the WORKSPACE_MEMBERS_INVITE permission.
|
|
126
126
|
*
|
|
127
127
|
* @param {ElevenLabs.workspace.BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost} request
|
|
128
128
|
* @param {InvitesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -189,7 +189,7 @@ class InvitesClient {
|
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
192
|
-
* Invalidates an existing email invitation. The invitation will still show up in the inbox it has been delivered to, but activating it to join the workspace won't work. This endpoint may only be called by workspace
|
|
192
|
+
* Invalidates an existing email invitation. The invitation will still show up in the inbox it has been delivered to, but activating it to join the workspace won't work. This endpoint may only be called by workspace members with the WORKSPACE_MEMBERS_INVITE permission.
|
|
193
193
|
*
|
|
194
194
|
* @param {ElevenLabs.workspace.BodyDeleteExistingInvitationV1WorkspaceInvitesDelete} request
|
|
195
195
|
* @param {InvitesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -8,4 +8,6 @@ export interface ApiIntegrationWebhookOverridesInput {
|
|
|
8
8
|
queryParamsSchema?: ElevenLabs.QueryOverride;
|
|
9
9
|
requestBodySchema?: ElevenLabs.ObjectOverrideInput;
|
|
10
10
|
requestHeaders?: Record<string, ElevenLabs.ApiIntegrationWebhookOverridesInputRequestHeadersValue | undefined>;
|
|
11
|
+
responseFilterMode?: ElevenLabs.ResponseFilterMode;
|
|
12
|
+
responseFilters?: string[];
|
|
11
13
|
}
|
|
@@ -8,4 +8,6 @@ export interface ApiIntegrationWebhookOverridesOutput {
|
|
|
8
8
|
queryParamsSchema?: ElevenLabs.QueryOverride;
|
|
9
9
|
requestBodySchema?: ElevenLabs.ObjectOverrideOutput;
|
|
10
10
|
requestHeaders?: Record<string, ElevenLabs.ApiIntegrationWebhookOverridesOutputRequestHeadersValue | undefined>;
|
|
11
|
+
responseFilterMode?: ElevenLabs.ResponseFilterMode;
|
|
12
|
+
responseFilters?: string[];
|
|
11
13
|
}
|
package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export interface ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCo
|
|
|
7
7
|
toolHasBeenCalled: boolean;
|
|
8
8
|
toolLatencySecs?: number;
|
|
9
9
|
errorType?: string;
|
|
10
|
+
rawErrorMessage?: string;
|
|
10
11
|
dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
|
|
11
12
|
type: "api_integration_webhook";
|
|
12
13
|
integrationId: string;
|
|
@@ -7,6 +7,7 @@ export interface ConversationHistoryTranscriptOtherToolsResultCommonModel {
|
|
|
7
7
|
toolHasBeenCalled: boolean;
|
|
8
8
|
toolLatencySecs?: number;
|
|
9
9
|
errorType?: string;
|
|
10
|
+
rawErrorMessage?: string;
|
|
10
11
|
dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
|
|
11
12
|
type?: ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModelType;
|
|
12
13
|
}
|
|
@@ -7,6 +7,7 @@ export interface ConversationHistoryTranscriptSystemToolResultCommonModel {
|
|
|
7
7
|
toolHasBeenCalled: boolean;
|
|
8
8
|
toolLatencySecs?: number;
|
|
9
9
|
errorType?: string;
|
|
10
|
+
rawErrorMessage?: string;
|
|
10
11
|
dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
|
|
11
12
|
type: "system";
|
|
12
13
|
result?: ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult;
|
|
@@ -7,6 +7,7 @@ export interface ConversationHistoryTranscriptWorkflowToolsResultCommonModelInpu
|
|
|
7
7
|
toolHasBeenCalled: boolean;
|
|
8
8
|
toolLatencySecs?: number;
|
|
9
9
|
errorType?: string;
|
|
10
|
+
rawErrorMessage?: string;
|
|
10
11
|
dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
|
|
11
12
|
type: "workflow";
|
|
12
13
|
result?: ElevenLabs.WorkflowToolResponseModelInput;
|
|
@@ -7,6 +7,7 @@ export interface ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutp
|
|
|
7
7
|
toolHasBeenCalled: boolean;
|
|
8
8
|
toolLatencySecs?: number;
|
|
9
9
|
errorType?: string;
|
|
10
|
+
rawErrorMessage?: string;
|
|
10
11
|
dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
|
|
11
12
|
type: "workflow";
|
|
12
13
|
result?: ElevenLabs.WorkflowToolResponseModelOutput;
|
|
@@ -38,6 +38,7 @@ export interface DirectPublishingReadResponseModel {
|
|
|
38
38
|
payoutType?: ElevenLabs.DirectPublishingReadResponseModelPayoutType;
|
|
39
39
|
listPrice?: number;
|
|
40
40
|
currency?: "usd";
|
|
41
|
+
originalAudioProjectExportId?: string;
|
|
41
42
|
originalAudioDocumentId?: string;
|
|
42
43
|
seriesId?: string;
|
|
43
44
|
volume?: number;
|
|
@@ -9,6 +9,8 @@ export interface GetUnitTestResponseModel {
|
|
|
9
9
|
failureExamples: ElevenLabs.AgentFailureResponseExample[];
|
|
10
10
|
/** How to evaluate the agent's tool call (if any). If empty, the tool call is not evaluated. */
|
|
11
11
|
toolCallParameters?: ElevenLabs.UnitTestToolCallEvaluationModelOutput;
|
|
12
|
+
/** If set to True this test will pass if any tool call returned by the LLM matches the criteria. Otherwise it will fail if more than one tool is returned by the agent. */
|
|
13
|
+
checkAnyToolMatches?: boolean;
|
|
12
14
|
/** Dynamic variables to replace in the agent config during testing */
|
|
13
15
|
dynamicVariables?: Record<string, ElevenLabs.GetUnitTestResponseModelDynamicVariablesValue | undefined>;
|
|
14
16
|
type?: ElevenLabs.UnitTestCommonModelType;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
2
|
export interface GetWorkspaceSecretsResponseModel {
|
|
3
3
|
secrets: ElevenLabs.ConvAiWorkspaceStoredSecretConfig[];
|
|
4
|
+
/** Cursor for fetching the next page of secrets */
|
|
5
|
+
nextCursor?: string;
|
|
6
|
+
/** Whether there are more secrets to fetch */
|
|
7
|
+
hasMore?: boolean;
|
|
4
8
|
}
|
|
@@ -12,7 +12,7 @@ export interface InvoiceResponse {
|
|
|
12
12
|
discountAmountOff?: number;
|
|
13
13
|
/** The discounts applied to the invoice. */
|
|
14
14
|
discounts: ElevenLabs.DiscountResponseModel[];
|
|
15
|
-
/** The Unix timestamp of the next payment attempt. */
|
|
15
|
+
/** The Unix timestamp of the next payment attempt. -1 when there is no next payment attempt. */
|
|
16
16
|
nextPaymentAttemptUnix: number;
|
|
17
17
|
/** Deprecated. Use [payment_intent_statusses] instead. The status of this invoice's first payment intent. None when there is no payment intent. */
|
|
18
18
|
paymentIntentStatus?: ElevenLabs.InvoiceResponseModelPaymentIntentStatus;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const NonStreamingOutputFormats: {
|
|
2
|
+
readonly Wav8000: "wav_8000";
|
|
3
|
+
readonly Wav16000: "wav_16000";
|
|
4
|
+
readonly Wav22050: "wav_22050";
|
|
5
|
+
readonly Wav24000: "wav_24000";
|
|
6
|
+
readonly Wav32000: "wav_32000";
|
|
7
|
+
readonly Wav44100: "wav_44100";
|
|
8
|
+
readonly Wav48000: "wav_48000";
|
|
9
|
+
};
|
|
10
|
+
export type NonStreamingOutputFormats = (typeof NonStreamingOutputFormats)[keyof typeof NonStreamingOutputFormats];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.NonStreamingOutputFormats = void 0;
|
|
5
|
+
exports.NonStreamingOutputFormats = {
|
|
6
|
+
Wav8000: "wav_8000",
|
|
7
|
+
Wav16000: "wav_16000",
|
|
8
|
+
Wav22050: "wav_22050",
|
|
9
|
+
Wav24000: "wav_24000",
|
|
10
|
+
Wav32000: "wav_32000",
|
|
11
|
+
Wav44100: "wav_44100",
|
|
12
|
+
Wav48000: "wav_48000",
|
|
13
|
+
};
|
|
@@ -34,5 +34,11 @@ export declare const PermissionType: {
|
|
|
34
34
|
readonly ShareVoiceExternally: "share_voice_externally";
|
|
35
35
|
readonly CreateUserApiKey: "create_user_api_key";
|
|
36
36
|
readonly WorkspaceAnalyticsFullRead: "workspace_analytics_full_read";
|
|
37
|
+
readonly WebhooksWrite: "webhooks_write";
|
|
38
|
+
readonly ServiceAccountWrite: "service_account_write";
|
|
39
|
+
readonly GroupMembersManage: "group_members_manage";
|
|
40
|
+
readonly WorkspaceMembersInvite: "workspace_members_invite";
|
|
41
|
+
readonly WorkspaceMembersRemove: "workspace_members_remove";
|
|
42
|
+
readonly TermsOfServiceAccept: "terms_of_service_accept";
|
|
37
43
|
};
|
|
38
44
|
export type PermissionType = (typeof PermissionType)[keyof typeof PermissionType];
|
|
@@ -38,4 +38,10 @@ exports.PermissionType = {
|
|
|
38
38
|
ShareVoiceExternally: "share_voice_externally",
|
|
39
39
|
CreateUserApiKey: "create_user_api_key",
|
|
40
40
|
WorkspaceAnalyticsFullRead: "workspace_analytics_full_read",
|
|
41
|
+
WebhooksWrite: "webhooks_write",
|
|
42
|
+
ServiceAccountWrite: "service_account_write",
|
|
43
|
+
GroupMembersManage: "group_members_manage",
|
|
44
|
+
WorkspaceMembersInvite: "workspace_members_invite",
|
|
45
|
+
WorkspaceMembersRemove: "workspace_members_remove",
|
|
46
|
+
TermsOfServiceAccept: "terms_of_service_accept",
|
|
41
47
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Controls how tool responses are filtered before being visible to the agent. */
|
|
2
|
+
export declare const ResponseFilterMode: {
|
|
3
|
+
readonly All: "all";
|
|
4
|
+
readonly Allow: "allow";
|
|
5
|
+
};
|
|
6
|
+
export type ResponseFilterMode = (typeof ResponseFilterMode)[keyof typeof ResponseFilterMode];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ResponseFilterMode = void 0;
|
|
5
|
+
/** Controls how tool responses are filtered before being visible to the agent. */
|
|
6
|
+
exports.ResponseFilterMode = {
|
|
7
|
+
All: "all",
|
|
8
|
+
Allow: "allow",
|
|
9
|
+
};
|
|
@@ -12,4 +12,6 @@ export interface TurnConfig {
|
|
|
12
12
|
turnEagerness?: ElevenLabs.TurnEagerness;
|
|
13
13
|
/** Controls if the agent should be more patient when user is spelling numbers and named entities. Auto = model based, Off = never wait extra */
|
|
14
14
|
spellingPatience?: ElevenLabs.SpellingPatience;
|
|
15
|
+
/** When enabled, starts generating LLM responses during silence before full turn confidence is reached, reducing perceived latency. May increase LLM costs. */
|
|
16
|
+
speculativeTurn?: boolean;
|
|
15
17
|
}
|
|
@@ -12,4 +12,6 @@ export interface TurnConfigWorkflowOverride {
|
|
|
12
12
|
turnEagerness?: ElevenLabs.TurnEagerness;
|
|
13
13
|
/** Controls if the agent should be more patient when user is spelling numbers and named entities. Auto = model based, Off = never wait extra */
|
|
14
14
|
spellingPatience?: ElevenLabs.SpellingPatience;
|
|
15
|
+
/** When enabled, starts generating LLM responses during silence before full turn confidence is reached, reducing perceived latency. May increase LLM costs. */
|
|
16
|
+
speculativeTurn?: boolean;
|
|
15
17
|
}
|
|
@@ -12,6 +12,8 @@ export interface UnitTestCommonModel {
|
|
|
12
12
|
failureExamples: ElevenLabs.AgentFailureResponseExample[];
|
|
13
13
|
/** How to evaluate the agent's tool call (if any). If empty, the tool call is not evaluated. */
|
|
14
14
|
toolCallParameters?: ElevenLabs.UnitTestToolCallEvaluationModelOutput;
|
|
15
|
+
/** If set to True this test will pass if any tool call returned by the LLM matches the criteria. Otherwise it will fail if more than one tool is returned by the agent. */
|
|
16
|
+
checkAnyToolMatches?: boolean;
|
|
15
17
|
/** Dynamic variables to replace in the agent config during testing */
|
|
16
18
|
dynamicVariables?: Record<string, ElevenLabs.UnitTestCommonModelDynamicVariablesValue | undefined>;
|
|
17
19
|
type?: ElevenLabs.UnitTestCommonModelType;
|
package/api/types/User.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ export interface User {
|
|
|
14
14
|
isOnboardingCompleted: boolean;
|
|
15
15
|
/** Whether the user's onboarding checklist is completed. */
|
|
16
16
|
isOnboardingChecklistCompleted: boolean;
|
|
17
|
+
/** Whether to show compliance terms (ToS, Privacy Policy, biometric consent) during onboarding. Set for users signing up from the marketing site. */
|
|
18
|
+
showComplianceTerms?: boolean;
|
|
17
19
|
/** First name of the user. */
|
|
18
20
|
firstName?: string;
|
|
19
21
|
/** Whether the user's API key is hashed. */
|