@elevenlabs/elevenlabs-js 2.54.0 → 2.55.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/.fern/metadata.json +2 -2
- package/.fern/replay.lock +8 -2
- package/BaseClient.js +2 -2
- package/Client.d.ts +2 -2
- package/Client.js +4 -4
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +6 -2
- package/api/resources/conversationalAi/resources/agents/client/Client.js +6 -2
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +32 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +121 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.d.ts +13 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.js +3 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +1 -0
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/api/resources/workspace/client/Client.d.ts +18 -1
- package/api/resources/workspace/client/Client.js +99 -0
- package/api/resources/workspace/client/index.d.ts +1 -1
- package/api/resources/workspace/client/index.js +15 -0
- package/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +8 -0
- package/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +3 -0
- package/api/resources/workspace/client/requests/index.d.ts +1 -0
- package/api/resources/workspace/client/requests/index.js +2 -0
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +4 -1
- package/api/types/AgentBranchSummary.d.ts +2 -0
- package/api/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +3 -6
- package/api/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +3 -6
- package/api/types/AudioFilterId.d.ts +7 -0
- package/api/types/AudioFilterId.js +10 -0
- package/api/types/AuthConnectionStatus.d.ts +15 -0
- package/api/types/AuthConnectionStatus.js +18 -0
- package/api/types/BaseTurnConfig.d.ts +2 -0
- package/api/types/BasicAuthResponse.d.ts +3 -0
- package/api/types/BearerAuthResponse.d.ts +3 -0
- package/api/types/CaptionStyleModel.d.ts +4 -0
- package/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +3 -0
- package/api/types/CaptionStyleSectionAnimationModelEnterType.js +3 -0
- package/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +3 -0
- package/api/types/CaptionStyleSectionAnimationModelExitType.js +3 -0
- package/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +3 -0
- package/api/types/CaptionStyleWordAnimationModelEnterType.js +3 -0
- package/api/types/CaptionStyleWordAnimationModelExitType.d.ts +3 -0
- package/api/types/CaptionStyleWordAnimationModelExitType.js +3 -0
- package/api/types/CharacterAge.d.ts +6 -0
- package/api/types/CharacterAge.js +9 -0
- package/api/types/CharacterGender.d.ts +6 -0
- package/api/types/CharacterGender.js +9 -0
- package/api/types/CharacterMetadataResponseModel.d.ts +8 -0
- package/api/types/CharacterMetadataResponseModel.js +3 -0
- package/api/types/CharacterResponseModel.d.ts +6 -0
- package/api/types/CharacterResponseModel.js +3 -0
- package/api/types/ConvAiWebhooks.d.ts +1 -1
- package/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/api/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +3 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptResponseModel.d.ts +2 -0
- package/api/types/ConversationReasoningModel.d.ts +4 -0
- package/api/types/ConversationReasoningModel.js +3 -0
- package/api/types/ConversationSummaryResponseModel.d.ts +2 -0
- package/api/types/ConversationUserResponseModel.d.ts +3 -0
- package/api/types/CreateAgentProcedureParams.d.ts +3 -0
- package/api/types/CreateAgentProcedureParams.js +3 -0
- package/api/types/CreateExotelPhoneNumberRequest.d.ts +2 -0
- package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
- package/api/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
- package/api/types/CriteriaScoringMode.d.ts +5 -0
- package/api/types/CriteriaScoringMode.js +8 -0
- package/api/types/CustomGuardrailConfig.d.ts +1 -1
- package/api/types/CustomHeaderAuthResponse.d.ts +3 -0
- package/api/types/DeleteAgentProcedureParams.d.ts +3 -0
- package/api/types/DeleteAgentProcedureParams.js +3 -0
- package/api/types/FrustratedConversationRef.d.ts +9 -0
- package/api/types/FrustratedConversationRef.js +3 -0
- package/api/types/FrustratedConversationRefOverallLabel.d.ts +6 -0
- package/api/types/FrustratedConversationRefOverallLabel.js +9 -0
- package/api/types/ListAgentProceduresParams.d.ts +3 -0
- package/api/types/ListAgentProceduresParams.js +3 -0
- package/api/types/ListAgentReferencesParams.d.ts +3 -0
- package/api/types/ListAgentReferencesParams.js +3 -0
- package/api/types/LiteralJsonSchemaPropertyType.d.ts +1 -7
- package/api/types/LiteralJsonSchemaPropertyType.js +0 -7
- package/api/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -7
- package/api/types/LlmLiteralJsonSchemaPropertyType.js +0 -7
- package/api/types/MergePreviewResponseModel.d.ts +33 -0
- package/api/types/MergePreviewResponseModel.js +3 -0
- package/api/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +13 -0
- package/api/types/MergePreviewResponseModelPhoneNumbersItem.js +3 -0
- package/api/types/MtlsAuthResponse.d.ts +3 -0
- package/api/types/OAuth2ClientCredsResponse.d.ts +3 -0
- package/api/types/OAuth2JwtResponse.d.ts +3 -0
- package/api/types/PermissionType.d.ts +2 -0
- package/api/types/PermissionType.js +2 -0
- package/api/types/PhoneNumberTransfer.d.ts +2 -0
- package/api/types/PrivateKeyJwtResponse.d.ts +3 -0
- package/api/types/ProcedureAtVersionInput.d.ts +1 -1
- package/api/types/ProcedureAtVersionOutput.d.ts +1 -1
- package/api/types/PromptAgentApiModelInput.d.ts +2 -0
- package/api/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
- package/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
- package/api/types/PromptEvaluationCriteria.d.ts +6 -0
- package/api/types/ScimGroupResponseModel.d.ts +8 -0
- package/api/types/ScimGroupResponseModel.js +3 -0
- package/api/types/ScopedAnalysisResult.d.ts +1 -0
- package/api/types/SentimentAggregate.d.ts +8 -0
- package/api/types/SentimentAggregate.js +3 -0
- package/api/types/SlackBotAuthResponse.d.ts +3 -0
- package/api/types/TurnConfig.d.ts +2 -0
- package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/api/types/UpdateAgentProcedureParams.d.ts +3 -0
- package/api/types/UpdateAgentProcedureParams.js +3 -0
- package/api/types/UpdateBearerAuthRequest.d.ts +4 -0
- package/api/types/UpdateBearerAuthRequest.js +3 -0
- package/api/types/UrlSecretAuthResponse.d.ts +3 -0
- package/api/types/UuiTransferConfig.d.ts +18 -0
- package/api/types/UuiTransferConfig.js +3 -0
- package/api/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +6 -0
- package/api/types/UuiTransferConfigProtocolDiscriminatorMode.js +9 -0
- package/api/types/WebhookEventType.d.ts +2 -0
- package/api/types/WebhookEventType.js +2 -0
- package/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/api/types/WhatsAppAuthResponse.d.ts +3 -0
- package/api/types/WorkflowOverrideAgentNodeModelInput.d.ts +4 -4
- package/api/types/WorkflowOverrideAgentNodeModelOutput.d.ts +4 -4
- package/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
- package/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
- package/api/types/WorkspaceGroupPermission.d.ts +2 -0
- package/api/types/WorkspaceGroupPermission.js +2 -0
- package/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/api/types/index.d.ts +22 -1
- package/api/types/index.js +22 -1
- package/dist/BaseClient.js +2 -2
- package/dist/Client.d.ts +2 -2
- package/dist/Client.js +4 -4
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +6 -2
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +6 -2
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +32 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +121 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +1 -0
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +1 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/dist/api/resources/workspace/client/Client.d.ts +18 -1
- package/dist/api/resources/workspace/client/Client.js +99 -0
- package/dist/api/resources/workspace/client/index.d.ts +1 -1
- package/dist/api/resources/workspace/client/index.js +15 -0
- package/dist/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +8 -0
- package/dist/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +3 -0
- package/dist/api/resources/workspace/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workspace/client/requests/index.js +2 -0
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +4 -1
- package/dist/api/types/AgentBranchSummary.d.ts +2 -0
- package/dist/api/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +3 -6
- package/dist/api/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +3 -6
- package/dist/api/types/AudioFilterId.d.ts +7 -0
- package/dist/api/types/AudioFilterId.js +10 -0
- package/dist/api/types/AuthConnectionStatus.d.ts +15 -0
- package/dist/api/types/AuthConnectionStatus.js +18 -0
- package/dist/api/types/BaseTurnConfig.d.ts +2 -0
- package/dist/api/types/BasicAuthResponse.d.ts +3 -0
- package/dist/api/types/BearerAuthResponse.d.ts +3 -0
- package/dist/api/types/CaptionStyleModel.d.ts +4 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +3 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.js +3 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +3 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelExitType.js +3 -0
- package/dist/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +3 -0
- package/dist/api/types/CaptionStyleWordAnimationModelEnterType.js +3 -0
- package/dist/api/types/CaptionStyleWordAnimationModelExitType.d.ts +3 -0
- package/dist/api/types/CaptionStyleWordAnimationModelExitType.js +3 -0
- package/dist/api/types/CharacterAge.d.ts +6 -0
- package/dist/api/types/CharacterAge.js +9 -0
- package/dist/api/types/CharacterGender.d.ts +6 -0
- package/dist/api/types/CharacterGender.js +9 -0
- package/dist/api/types/CharacterMetadataResponseModel.d.ts +8 -0
- package/dist/api/types/CharacterMetadataResponseModel.js +3 -0
- package/dist/api/types/CharacterResponseModel.d.ts +6 -0
- package/dist/api/types/CharacterResponseModel.js +3 -0
- package/dist/api/types/ConvAiWebhooks.d.ts +1 -1
- package/dist/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +3 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptResponseModel.d.ts +2 -0
- package/dist/api/types/ConversationReasoningModel.d.ts +4 -0
- package/dist/api/types/ConversationReasoningModel.js +3 -0
- package/dist/api/types/ConversationSummaryResponseModel.d.ts +2 -0
- package/dist/api/types/ConversationUserResponseModel.d.ts +3 -0
- package/dist/api/types/CreateAgentProcedureParams.d.ts +3 -0
- package/dist/api/types/CreateAgentProcedureParams.js +3 -0
- package/dist/api/types/CreateExotelPhoneNumberRequest.d.ts +2 -0
- package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
- package/dist/api/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
- package/dist/api/types/CriteriaScoringMode.d.ts +5 -0
- package/dist/api/types/CriteriaScoringMode.js +8 -0
- package/dist/api/types/CustomGuardrailConfig.d.ts +1 -1
- package/dist/api/types/CustomHeaderAuthResponse.d.ts +3 -0
- package/dist/api/types/DeleteAgentProcedureParams.d.ts +3 -0
- package/dist/api/types/DeleteAgentProcedureParams.js +3 -0
- package/dist/api/types/FrustratedConversationRef.d.ts +9 -0
- package/dist/api/types/FrustratedConversationRef.js +3 -0
- package/dist/api/types/FrustratedConversationRefOverallLabel.d.ts +6 -0
- package/dist/api/types/FrustratedConversationRefOverallLabel.js +9 -0
- package/dist/api/types/ListAgentProceduresParams.d.ts +3 -0
- package/dist/api/types/ListAgentProceduresParams.js +3 -0
- package/dist/api/types/ListAgentReferencesParams.d.ts +3 -0
- package/dist/api/types/ListAgentReferencesParams.js +3 -0
- package/dist/api/types/LiteralJsonSchemaPropertyType.d.ts +1 -7
- package/dist/api/types/LiteralJsonSchemaPropertyType.js +0 -7
- package/dist/api/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -7
- package/dist/api/types/LlmLiteralJsonSchemaPropertyType.js +0 -7
- package/dist/api/types/MergePreviewResponseModel.d.ts +33 -0
- package/dist/api/types/MergePreviewResponseModel.js +3 -0
- package/dist/api/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +13 -0
- package/dist/api/types/MergePreviewResponseModelPhoneNumbersItem.js +3 -0
- package/dist/api/types/MtlsAuthResponse.d.ts +3 -0
- package/dist/api/types/OAuth2ClientCredsResponse.d.ts +3 -0
- package/dist/api/types/OAuth2JwtResponse.d.ts +3 -0
- package/dist/api/types/PermissionType.d.ts +2 -0
- package/dist/api/types/PermissionType.js +2 -0
- package/dist/api/types/PhoneNumberTransfer.d.ts +2 -0
- package/dist/api/types/PrivateKeyJwtResponse.d.ts +3 -0
- package/dist/api/types/ProcedureAtVersionInput.d.ts +1 -1
- package/dist/api/types/ProcedureAtVersionOutput.d.ts +1 -1
- package/dist/api/types/PromptAgentApiModelInput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
- package/dist/api/types/PromptEvaluationCriteria.d.ts +6 -0
- package/dist/api/types/ScimGroupResponseModel.d.ts +8 -0
- package/dist/api/types/ScimGroupResponseModel.js +3 -0
- package/dist/api/types/ScopedAnalysisResult.d.ts +1 -0
- package/dist/api/types/SentimentAggregate.d.ts +8 -0
- package/dist/api/types/SentimentAggregate.js +3 -0
- package/dist/api/types/SlackBotAuthResponse.d.ts +3 -0
- package/dist/api/types/TurnConfig.d.ts +2 -0
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/dist/api/types/UpdateAgentProcedureParams.d.ts +3 -0
- package/dist/api/types/UpdateAgentProcedureParams.js +3 -0
- package/dist/api/types/UpdateBearerAuthRequest.d.ts +4 -0
- package/dist/api/types/UpdateBearerAuthRequest.js +3 -0
- package/dist/api/types/UrlSecretAuthResponse.d.ts +3 -0
- package/dist/api/types/UuiTransferConfig.d.ts +18 -0
- package/dist/api/types/UuiTransferConfig.js +3 -0
- package/dist/api/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +6 -0
- package/dist/api/types/UuiTransferConfigProtocolDiscriminatorMode.js +9 -0
- package/dist/api/types/WebhookEventType.d.ts +2 -0
- package/dist/api/types/WebhookEventType.js +2 -0
- package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/dist/api/types/WhatsAppAuthResponse.d.ts +3 -0
- package/dist/api/types/WorkflowOverrideAgentNodeModelInput.d.ts +4 -4
- package/dist/api/types/WorkflowOverrideAgentNodeModelOutput.d.ts +4 -4
- package/dist/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
- package/dist/api/types/WorkspaceGroupPermission.d.ts +2 -0
- package/dist/api/types/WorkspaceGroupPermission.js +2 -0
- package/dist/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/dist/api/types/index.d.ts +22 -1
- package/dist/api/types/index.js +22 -1
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +1 -0
- package/dist/serialization/resources/workspace/client/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/client/index.js +17 -0
- package/dist/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +9 -0
- package/dist/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +41 -0
- package/dist/serialization/resources/workspace/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/client/requests/index.js +5 -0
- package/dist/serialization/resources/workspace/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/index.js +1 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +5 -1
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +2 -0
- package/dist/serialization/types/AgentBranchSummary.d.ts +1 -0
- package/dist/serialization/types/AgentBranchSummary.js +1 -0
- package/dist/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +4 -4
- package/dist/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.js +4 -4
- package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +4 -4
- package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponse.js +4 -4
- package/dist/serialization/types/AudioFilterId.d.ts +7 -0
- package/dist/serialization/types/{OAuthConnectionStatus.js → AudioFilterId.js} +2 -2
- package/dist/serialization/types/AuthConnectionStatus.d.ts +7 -0
- package/dist/serialization/types/AuthConnectionStatus.js +39 -0
- package/dist/serialization/types/BaseTurnConfig.d.ts +1 -0
- package/dist/serialization/types/BaseTurnConfig.js +1 -0
- package/dist/serialization/types/BasicAuthResponse.d.ts +4 -0
- package/dist/serialization/types/BasicAuthResponse.js +4 -0
- package/dist/serialization/types/BearerAuthResponse.d.ts +4 -0
- package/dist/serialization/types/BearerAuthResponse.js +4 -0
- package/dist/serialization/types/CaptionStyleModel.d.ts +4 -0
- package/dist/serialization/types/CaptionStyleModel.js +4 -0
- package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
- package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +11 -1
- package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
- package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.js +11 -1
- package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
- package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.js +11 -1
- package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
- package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.js +11 -1
- package/dist/serialization/types/CharacterAge.d.ts +7 -0
- package/{serialization/types/OAuthConnectionStatus.js → dist/serialization/types/CharacterAge.js} +2 -2
- package/dist/serialization/types/CharacterGender.d.ts +7 -0
- package/dist/serialization/types/CharacterGender.js +39 -0
- package/dist/serialization/types/CharacterMetadataResponseModel.d.ts +15 -0
- package/dist/serialization/types/CharacterMetadataResponseModel.js +47 -0
- package/dist/serialization/types/CharacterResponseModel.d.ts +12 -0
- package/dist/serialization/types/CharacterResponseModel.js +44 -0
- package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +4 -0
- package/dist/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.js +4 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +3 -0
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.js +3 -0
- package/dist/serialization/types/ConversationReasoningModel.d.ts +10 -0
- package/dist/serialization/types/ConversationReasoningModel.js +42 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +3 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.js +3 -0
- package/dist/serialization/types/ConversationUserResponseModel.d.ts +4 -0
- package/dist/serialization/types/ConversationUserResponseModel.js +4 -0
- package/dist/serialization/types/CreateAgentProcedureParams.d.ts +9 -0
- package/dist/serialization/types/CreateAgentProcedureParams.js +41 -0
- package/dist/serialization/types/CreateExotelPhoneNumberRequest.d.ts +1 -0
- package/dist/serialization/types/CreateExotelPhoneNumberRequest.js +1 -0
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
- package/dist/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +1 -0
- package/dist/serialization/types/CreateTwilioPhoneNumberRequest.js +1 -0
- package/dist/serialization/types/CriteriaScoringMode.d.ts +7 -0
- package/dist/serialization/types/CriteriaScoringMode.js +39 -0
- package/dist/serialization/types/CustomHeaderAuthResponse.d.ts +4 -0
- package/dist/serialization/types/CustomHeaderAuthResponse.js +4 -0
- package/dist/serialization/types/DeleteAgentProcedureParams.d.ts +9 -0
- package/dist/serialization/types/DeleteAgentProcedureParams.js +41 -0
- package/dist/serialization/types/FrustratedConversationRef.d.ts +15 -0
- package/dist/serialization/types/FrustratedConversationRef.js +47 -0
- package/dist/serialization/types/FrustratedConversationRefOverallLabel.d.ts +7 -0
- package/dist/serialization/types/FrustratedConversationRefOverallLabel.js +39 -0
- package/dist/serialization/types/ListAgentProceduresParams.d.ts +9 -0
- package/dist/serialization/types/ListAgentProceduresParams.js +41 -0
- package/dist/serialization/types/ListAgentReferencesParams.d.ts +9 -0
- package/dist/serialization/types/ListAgentReferencesParams.js +41 -0
- package/dist/serialization/types/LiteralJsonSchemaPropertyType.d.ts +1 -1
- package/dist/serialization/types/LiteralJsonSchemaPropertyType.js +7 -1
- package/dist/serialization/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -1
- package/dist/serialization/types/LlmLiteralJsonSchemaPropertyType.js +7 -1
- package/dist/serialization/types/MergePreviewResponseModel.d.ts +30 -0
- package/dist/serialization/types/MergePreviewResponseModel.js +62 -0
- package/dist/serialization/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +19 -0
- package/dist/serialization/types/MergePreviewResponseModelPhoneNumbersItem.js +51 -0
- package/dist/serialization/types/MtlsAuthResponse.d.ts +4 -0
- package/dist/serialization/types/MtlsAuthResponse.js +4 -0
- package/dist/serialization/types/OAuth2ClientCredsResponse.d.ts +4 -0
- package/dist/serialization/types/OAuth2ClientCredsResponse.js +4 -0
- package/dist/serialization/types/OAuth2JwtResponse.d.ts +4 -0
- package/dist/serialization/types/OAuth2JwtResponse.js +4 -0
- package/dist/serialization/types/PermissionType.d.ts +1 -1
- package/dist/serialization/types/PermissionType.js +2 -0
- package/dist/serialization/types/PhoneNumberTransfer.d.ts +2 -0
- package/dist/serialization/types/PhoneNumberTransfer.js +2 -0
- package/dist/serialization/types/PrivateKeyJwtResponse.d.ts +4 -0
- package/dist/serialization/types/PrivateKeyJwtResponse.js +4 -0
- package/dist/serialization/types/ProcedureAtVersionInput.d.ts +1 -1
- package/dist/serialization/types/ProcedureAtVersionInput.js +1 -1
- package/dist/serialization/types/ProcedureAtVersionOutput.d.ts +1 -1
- package/dist/serialization/types/ProcedureAtVersionOutput.js +1 -1
- package/dist/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelInput.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
- package/dist/serialization/types/PromptEvaluationCriteria.d.ts +4 -0
- package/dist/serialization/types/PromptEvaluationCriteria.js +4 -0
- package/dist/serialization/types/ScimGroupResponseModel.d.ts +14 -0
- package/dist/serialization/types/ScimGroupResponseModel.js +46 -0
- package/dist/serialization/types/ScopedAnalysisResult.d.ts +1 -0
- package/dist/serialization/types/ScopedAnalysisResult.js +1 -0
- package/dist/serialization/types/SentimentAggregate.d.ts +14 -0
- package/dist/serialization/types/SentimentAggregate.js +46 -0
- package/dist/serialization/types/SlackBotAuthResponse.d.ts +4 -0
- package/dist/serialization/types/SlackBotAuthResponse.js +4 -0
- 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/UpdateAgentProcedureParams.d.ts +9 -0
- package/dist/serialization/types/UpdateAgentProcedureParams.js +41 -0
- package/dist/serialization/types/UpdateBearerAuthRequest.d.ts +10 -0
- package/dist/serialization/types/UpdateBearerAuthRequest.js +42 -0
- package/dist/serialization/types/UrlSecretAuthResponse.d.ts +4 -0
- package/dist/serialization/types/UrlSecretAuthResponse.js +4 -0
- package/dist/serialization/types/UuiTransferConfig.d.ts +12 -0
- package/dist/serialization/types/UuiTransferConfig.js +44 -0
- package/dist/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +7 -0
- package/dist/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.js +39 -0
- package/dist/serialization/types/WebhookEventType.d.ts +1 -1
- package/dist/serialization/types/WebhookEventType.js +7 -1
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -0
- package/dist/serialization/types/WhatsAppAuthResponse.d.ts +4 -0
- package/dist/serialization/types/WhatsAppAuthResponse.js +4 -0
- package/dist/serialization/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -2
- package/dist/serialization/types/WorkflowOverrideAgentNodeModelInput.js +2 -2
- package/dist/serialization/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -2
- package/dist/serialization/types/WorkflowOverrideAgentNodeModelOutput.js +2 -2
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
- package/dist/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
- package/dist/serialization/types/WorkspaceGroupPermission.js +2 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +2 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.js +2 -0
- package/dist/serialization/types/index.d.ts +22 -1
- package/dist/serialization/types/index.js +22 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +219 -2
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +1 -0
- package/serialization/resources/workspace/client/index.d.ts +1 -0
- package/serialization/resources/workspace/client/index.js +17 -0
- package/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +9 -0
- package/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +41 -0
- package/serialization/resources/workspace/client/requests/index.d.ts +1 -0
- package/serialization/resources/workspace/client/requests/index.js +5 -0
- package/serialization/resources/workspace/index.d.ts +1 -0
- package/serialization/resources/workspace/index.js +1 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +5 -1
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +2 -0
- package/serialization/types/AgentBranchSummary.d.ts +1 -0
- package/serialization/types/AgentBranchSummary.js +1 -0
- package/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +4 -4
- package/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.js +4 -4
- package/serialization/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +4 -4
- package/serialization/types/ApiIntegrationOAuth2CustomAppResponse.js +4 -4
- package/serialization/types/AudioFilterId.d.ts +7 -0
- package/serialization/types/AudioFilterId.js +39 -0
- package/serialization/types/AuthConnectionStatus.d.ts +7 -0
- package/serialization/types/AuthConnectionStatus.js +39 -0
- package/serialization/types/BaseTurnConfig.d.ts +1 -0
- package/serialization/types/BaseTurnConfig.js +1 -0
- package/serialization/types/BasicAuthResponse.d.ts +4 -0
- package/serialization/types/BasicAuthResponse.js +4 -0
- package/serialization/types/BearerAuthResponse.d.ts +4 -0
- package/serialization/types/BearerAuthResponse.js +4 -0
- package/serialization/types/CaptionStyleModel.d.ts +4 -0
- package/serialization/types/CaptionStyleModel.js +4 -0
- package/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
- package/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +11 -1
- package/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
- package/serialization/types/CaptionStyleSectionAnimationModelExitType.js +11 -1
- package/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
- package/serialization/types/CaptionStyleWordAnimationModelEnterType.js +11 -1
- package/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
- package/serialization/types/CaptionStyleWordAnimationModelExitType.js +11 -1
- package/serialization/types/CharacterAge.d.ts +7 -0
- package/serialization/types/CharacterAge.js +39 -0
- package/serialization/types/CharacterGender.d.ts +7 -0
- package/serialization/types/CharacterGender.js +39 -0
- package/serialization/types/CharacterMetadataResponseModel.d.ts +15 -0
- package/serialization/types/CharacterMetadataResponseModel.js +47 -0
- package/serialization/types/CharacterResponseModel.d.ts +12 -0
- package/serialization/types/CharacterResponseModel.js +44 -0
- package/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
- package/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +4 -0
- package/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.js +4 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +3 -0
- package/serialization/types/ConversationHistoryTranscriptResponseModel.js +3 -0
- package/serialization/types/ConversationReasoningModel.d.ts +10 -0
- package/serialization/types/ConversationReasoningModel.js +42 -0
- package/serialization/types/ConversationSummaryResponseModel.d.ts +3 -0
- package/serialization/types/ConversationSummaryResponseModel.js +3 -0
- package/serialization/types/ConversationUserResponseModel.d.ts +4 -0
- package/serialization/types/ConversationUserResponseModel.js +4 -0
- package/serialization/types/CreateAgentProcedureParams.d.ts +9 -0
- package/serialization/types/CreateAgentProcedureParams.js +41 -0
- package/serialization/types/CreateExotelPhoneNumberRequest.d.ts +1 -0
- package/serialization/types/CreateExotelPhoneNumberRequest.js +1 -0
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
- package/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +1 -0
- package/serialization/types/CreateTwilioPhoneNumberRequest.js +1 -0
- package/serialization/types/CriteriaScoringMode.d.ts +7 -0
- package/serialization/types/CriteriaScoringMode.js +39 -0
- package/serialization/types/CustomHeaderAuthResponse.d.ts +4 -0
- package/serialization/types/CustomHeaderAuthResponse.js +4 -0
- package/serialization/types/DeleteAgentProcedureParams.d.ts +9 -0
- package/serialization/types/DeleteAgentProcedureParams.js +41 -0
- package/serialization/types/FrustratedConversationRef.d.ts +15 -0
- package/serialization/types/FrustratedConversationRef.js +47 -0
- package/serialization/types/FrustratedConversationRefOverallLabel.d.ts +7 -0
- package/serialization/types/FrustratedConversationRefOverallLabel.js +39 -0
- package/serialization/types/ListAgentProceduresParams.d.ts +9 -0
- package/serialization/types/ListAgentProceduresParams.js +41 -0
- package/serialization/types/ListAgentReferencesParams.d.ts +9 -0
- package/serialization/types/ListAgentReferencesParams.js +41 -0
- package/serialization/types/LiteralJsonSchemaPropertyType.d.ts +1 -1
- package/serialization/types/LiteralJsonSchemaPropertyType.js +7 -1
- package/serialization/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -1
- package/serialization/types/LlmLiteralJsonSchemaPropertyType.js +7 -1
- package/serialization/types/MergePreviewResponseModel.d.ts +30 -0
- package/serialization/types/MergePreviewResponseModel.js +62 -0
- package/serialization/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +19 -0
- package/serialization/types/MergePreviewResponseModelPhoneNumbersItem.js +51 -0
- package/serialization/types/MtlsAuthResponse.d.ts +4 -0
- package/serialization/types/MtlsAuthResponse.js +4 -0
- package/serialization/types/OAuth2ClientCredsResponse.d.ts +4 -0
- package/serialization/types/OAuth2ClientCredsResponse.js +4 -0
- package/serialization/types/OAuth2JwtResponse.d.ts +4 -0
- package/serialization/types/OAuth2JwtResponse.js +4 -0
- package/serialization/types/PermissionType.d.ts +1 -1
- package/serialization/types/PermissionType.js +2 -0
- package/serialization/types/PhoneNumberTransfer.d.ts +2 -0
- package/serialization/types/PhoneNumberTransfer.js +2 -0
- package/serialization/types/PrivateKeyJwtResponse.d.ts +4 -0
- package/serialization/types/PrivateKeyJwtResponse.js +4 -0
- package/serialization/types/ProcedureAtVersionInput.d.ts +1 -1
- package/serialization/types/ProcedureAtVersionInput.js +1 -1
- package/serialization/types/ProcedureAtVersionOutput.d.ts +1 -1
- package/serialization/types/ProcedureAtVersionOutput.js +1 -1
- package/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelInput.js +1 -0
- package/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelOutput.js +1 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
- package/serialization/types/PromptEvaluationCriteria.d.ts +4 -0
- package/serialization/types/PromptEvaluationCriteria.js +4 -0
- package/serialization/types/ScimGroupResponseModel.d.ts +14 -0
- package/serialization/types/ScimGroupResponseModel.js +46 -0
- package/serialization/types/ScopedAnalysisResult.d.ts +1 -0
- package/serialization/types/ScopedAnalysisResult.js +1 -0
- package/serialization/types/SentimentAggregate.d.ts +14 -0
- package/serialization/types/SentimentAggregate.js +46 -0
- package/serialization/types/SlackBotAuthResponse.d.ts +4 -0
- package/serialization/types/SlackBotAuthResponse.js +4 -0
- 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/UpdateAgentProcedureParams.d.ts +9 -0
- package/serialization/types/UpdateAgentProcedureParams.js +41 -0
- package/serialization/types/UpdateBearerAuthRequest.d.ts +10 -0
- package/serialization/types/UpdateBearerAuthRequest.js +42 -0
- package/serialization/types/UrlSecretAuthResponse.d.ts +4 -0
- package/serialization/types/UrlSecretAuthResponse.js +4 -0
- package/serialization/types/UuiTransferConfig.d.ts +12 -0
- package/serialization/types/UuiTransferConfig.js +44 -0
- package/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +7 -0
- package/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.js +39 -0
- package/serialization/types/WebhookEventType.d.ts +1 -1
- package/serialization/types/WebhookEventType.js +7 -1
- package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -0
- package/serialization/types/WhatsAppAuthResponse.d.ts +4 -0
- package/serialization/types/WhatsAppAuthResponse.js +4 -0
- package/serialization/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -2
- package/serialization/types/WorkflowOverrideAgentNodeModelInput.js +2 -2
- package/serialization/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -2
- package/serialization/types/WorkflowOverrideAgentNodeModelOutput.js +2 -2
- package/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
- package/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
- package/serialization/types/WorkspaceGroupPermission.js +2 -0
- package/serialization/types/WorkspaceGroupResponseModel.d.ts +2 -0
- package/serialization/types/WorkspaceGroupResponseModel.js +2 -0
- package/serialization/types/index.d.ts +22 -1
- package/serialization/types/index.js +22 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/OAuthConnectionStatus.d.ts +0 -6
- package/api/types/OAuthConnectionStatus.js +0 -9
- package/dist/api/types/OAuthConnectionStatus.d.ts +0 -6
- package/dist/api/types/OAuthConnectionStatus.js +0 -9
- package/dist/serialization/types/OAuthConnectionStatus.d.ts +0 -7
- package/serialization/types/OAuthConnectionStatus.d.ts +0 -7
|
@@ -22,7 +22,7 @@ export interface BodyTextToDialogueStreamWithTimestamps {
|
|
|
22
22
|
inputs: ElevenLabs.DialogueInput[];
|
|
23
23
|
/** 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. */
|
|
24
24
|
modelId?: string;
|
|
25
|
-
/** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code,
|
|
25
|
+
/** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support the provided language code, it will be ignored. This parameter is not supported for multilingual_v2 models. */
|
|
26
26
|
languageCode?: string;
|
|
27
27
|
/** Settings controlling the dialogue generation. */
|
|
28
28
|
settings?: ElevenLabs.ModelSettingsResponseModel;
|
|
@@ -27,7 +27,7 @@ export interface BodyTextToSpeechFull {
|
|
|
27
27
|
text: string;
|
|
28
28
|
/** 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. */
|
|
29
29
|
modelId?: string;
|
|
30
|
-
/** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code,
|
|
30
|
+
/** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support the provided language code, it will be ignored. This parameter is not supported for multilingual_v2 models. */
|
|
31
31
|
languageCode?: string;
|
|
32
32
|
/** Voice settings overriding stored settings for the given voice. They are applied only on the given request. */
|
|
33
33
|
voiceSettings?: ElevenLabs.VoiceSettings;
|
package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export interface BodyTextToSpeechFullWithTimestamps {
|
|
|
28
28
|
text: string;
|
|
29
29
|
/** 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. */
|
|
30
30
|
modelId?: string;
|
|
31
|
-
/** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code,
|
|
31
|
+
/** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support the provided language code, it will be ignored. This parameter is not supported for multilingual_v2 models. */
|
|
32
32
|
languageCode?: string;
|
|
33
33
|
/** Voice settings overriding stored settings for the given voice. They are applied only on the given request. */
|
|
34
34
|
voiceSettings?: ElevenLabs.VoiceSettings;
|
|
@@ -27,7 +27,7 @@ export interface StreamTextToSpeechRequest {
|
|
|
27
27
|
text: string;
|
|
28
28
|
/** 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. */
|
|
29
29
|
modelId?: string;
|
|
30
|
-
/** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code,
|
|
30
|
+
/** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support the provided language code, it will be ignored. This parameter is not supported for multilingual_v2 models. */
|
|
31
31
|
languageCode?: string;
|
|
32
32
|
/** Voice settings overriding stored settings for the given voice. They are applied only on the given request. */
|
|
33
33
|
voiceSettings?: ElevenLabs.VoiceSettings;
|
package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export interface StreamTextToSpeechWithTimestampsRequest {
|
|
|
27
27
|
text: string;
|
|
28
28
|
/** 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. */
|
|
29
29
|
modelId?: string;
|
|
30
|
-
/** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code,
|
|
30
|
+
/** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support the provided language code, it will be ignored. This parameter is not supported for multilingual_v2 models. */
|
|
31
31
|
languageCode?: string;
|
|
32
32
|
/** Voice settings overriding stored settings for the given voice. They are applied only on the given request. */
|
|
33
33
|
voiceSettings?: ElevenLabs.VoiceSettings;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import type { BaseClientOptions } from "../../../../BaseClient";
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient";
|
|
2
2
|
import { type NormalizedClientOptions } from "../../../../BaseClient";
|
|
3
|
+
import * as core from "../../../../core";
|
|
4
|
+
import * as ElevenLabs from "../../../index";
|
|
3
5
|
import { AnalyticsClient } from "../resources/analytics/client/Client";
|
|
4
6
|
import { AuditLogsClient } from "../resources/auditLogs/client/Client";
|
|
5
7
|
import { AuthConnectionsClient } from "../resources/authConnections/client/Client";
|
|
@@ -10,6 +12,8 @@ import { ResourcesClient } from "../resources/resources/client/Client";
|
|
|
10
12
|
import { UsageClient } from "../resources/usage/client/Client";
|
|
11
13
|
export declare namespace WorkspaceClient {
|
|
12
14
|
type Options = BaseClientOptions;
|
|
15
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
16
|
+
}
|
|
13
17
|
}
|
|
14
18
|
export declare class WorkspaceClient {
|
|
15
19
|
protected readonly _options: NormalizedClientOptions<WorkspaceClient.Options>;
|
|
@@ -30,4 +34,17 @@ export declare class WorkspaceClient {
|
|
|
30
34
|
get resources(): ResourcesClient;
|
|
31
35
|
get usage(): UsageClient;
|
|
32
36
|
get analytics(): AnalyticsClient;
|
|
37
|
+
/**
|
|
38
|
+
* Set the workspace-wide Third-Party Disabling policy. When set, it forces, for every API key in the workspace, whether the holder of a key (potentially a third party who found it) may disable it via the self-disable endpoint or when it leaks publicly — overriding each key's own setting. Pass `true` to allow it for all keys, `false` to forbid it for all keys, or `null` to clear the override so per-key values and the plan default apply again. Workspace admins only; requires self-disable access.
|
|
39
|
+
*
|
|
40
|
+
* @param {ElevenLabs.BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost} request
|
|
41
|
+
* @param {WorkspaceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* await client.workspace.setThirdPartyDisablingPolicy()
|
|
47
|
+
*/
|
|
48
|
+
setThirdPartyDisablingPolicy(request?: ElevenLabs.BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost, requestOptions?: WorkspaceClient.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
49
|
+
private __setThirdPartyDisablingPolicy;
|
|
33
50
|
}
|
|
@@ -1,8 +1,57 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
3
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
46
|
exports.WorkspaceClient = void 0;
|
|
5
47
|
const BaseClient_1 = require("../../../../BaseClient");
|
|
48
|
+
const core = __importStar(require("../../../../core"));
|
|
49
|
+
const headers_1 = require("../../../../core/headers");
|
|
50
|
+
const environments = __importStar(require("../../../../environments"));
|
|
51
|
+
const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCodeError");
|
|
52
|
+
const errors = __importStar(require("../../../../errors/index"));
|
|
53
|
+
const serializers = __importStar(require("../../../../serialization/index"));
|
|
54
|
+
const ElevenLabs = __importStar(require("../../../index"));
|
|
6
55
|
const Client_1 = require("../resources/analytics/client/Client");
|
|
7
56
|
const Client_2 = require("../resources/auditLogs/client/Client");
|
|
8
57
|
const Client_3 = require("../resources/authConnections/client/Client");
|
|
@@ -47,5 +96,55 @@ class WorkspaceClient {
|
|
|
47
96
|
var _a;
|
|
48
97
|
return ((_a = this._analytics) !== null && _a !== void 0 ? _a : (this._analytics = new Client_1.AnalyticsClient(this._options)));
|
|
49
98
|
}
|
|
99
|
+
/**
|
|
100
|
+
* Set the workspace-wide Third-Party Disabling policy. When set, it forces, for every API key in the workspace, whether the holder of a key (potentially a third party who found it) may disable it via the self-disable endpoint or when it leaks publicly — overriding each key's own setting. Pass `true` to allow it for all keys, `false` to forbid it for all keys, or `null` to clear the override so per-key values and the plan default apply again. Workspace admins only; requires self-disable access.
|
|
101
|
+
*
|
|
102
|
+
* @param {ElevenLabs.BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost} request
|
|
103
|
+
* @param {WorkspaceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* await client.workspace.setThirdPartyDisablingPolicy()
|
|
109
|
+
*/
|
|
110
|
+
setThirdPartyDisablingPolicy(request = {}, requestOptions) {
|
|
111
|
+
return core.HttpResponsePromise.fromPromise(this.__setThirdPartyDisablingPolicy(request, requestOptions));
|
|
112
|
+
}
|
|
113
|
+
__setThirdPartyDisablingPolicy() {
|
|
114
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
115
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
116
|
+
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);
|
|
117
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
118
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/workspaces/api-keys/third-party-disabling"),
|
|
119
|
+
method: "POST",
|
|
120
|
+
headers: _headers,
|
|
121
|
+
contentType: "application/json",
|
|
122
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
123
|
+
requestType: "json",
|
|
124
|
+
body: serializers.BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
125
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
126
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
127
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
128
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
129
|
+
logging: this._options.logging,
|
|
130
|
+
});
|
|
131
|
+
if (_response.ok) {
|
|
132
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
133
|
+
}
|
|
134
|
+
if (_response.error.reason === "status-code") {
|
|
135
|
+
switch (_response.error.statusCode) {
|
|
136
|
+
case 422:
|
|
137
|
+
throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
138
|
+
default:
|
|
139
|
+
throw new errors.ElevenLabsError({
|
|
140
|
+
statusCode: _response.error.statusCode,
|
|
141
|
+
body: _response.error.body,
|
|
142
|
+
rawResponse: _response.rawResponse,
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/workspaces/api-keys/third-party-disabling");
|
|
147
|
+
});
|
|
148
|
+
}
|
|
50
149
|
}
|
|
51
150
|
exports.WorkspaceClient = WorkspaceClient;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./requests";
|
|
@@ -1,2 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {}
|
|
4
|
+
*/
|
|
5
|
+
export interface BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost {
|
|
6
|
+
/** `true` forces every key in the workspace to be disable-able by its holder; `false` forbids it for every key; `null` clears the override (per-key values and the plan default apply). */
|
|
7
|
+
thirdPartyDisableAllowed?: boolean;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost } from "./BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost";
|
|
@@ -2,7 +2,7 @@ import type * as ElevenLabs from "../../../../../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* Updated auth connection fields
|
|
4
4
|
*/
|
|
5
|
-
export type AuthConnectionsUpdateRequestBody = ElevenLabs.workspace.AuthConnectionsUpdateRequestBody.Oauth2ClientCredentials | ElevenLabs.workspace.AuthConnectionsUpdateRequestBody.BasicAuth | ElevenLabs.workspace.AuthConnectionsUpdateRequestBody.Oauth2Jwt;
|
|
5
|
+
export type AuthConnectionsUpdateRequestBody = ElevenLabs.workspace.AuthConnectionsUpdateRequestBody.Oauth2ClientCredentials | ElevenLabs.workspace.AuthConnectionsUpdateRequestBody.BasicAuth | ElevenLabs.workspace.AuthConnectionsUpdateRequestBody.BearerAuth | ElevenLabs.workspace.AuthConnectionsUpdateRequestBody.Oauth2Jwt;
|
|
6
6
|
export declare namespace AuthConnectionsUpdateRequestBody {
|
|
7
7
|
interface Oauth2ClientCredentials extends ElevenLabs.UpdateOAuth2ClientCredsRequest {
|
|
8
8
|
authType: "oauth2_client_credentials";
|
|
@@ -10,6 +10,9 @@ export declare namespace AuthConnectionsUpdateRequestBody {
|
|
|
10
10
|
interface BasicAuth extends ElevenLabs.UpdateBasicAuthRequest {
|
|
11
11
|
authType: "basic_auth";
|
|
12
12
|
}
|
|
13
|
+
interface BearerAuth extends ElevenLabs.UpdateBearerAuthRequest {
|
|
14
|
+
authType: "bearer_auth";
|
|
15
|
+
}
|
|
13
16
|
interface Oauth2Jwt extends ElevenLabs.UpdateOAuth2JwtRequest {
|
|
14
17
|
authType: "oauth2_jwt";
|
|
15
18
|
}
|
|
@@ -13,12 +13,9 @@ export interface ApiIntegrationOAuth2AuthCodeResponse {
|
|
|
13
13
|
expiresAt: string;
|
|
14
14
|
integrationId: string;
|
|
15
15
|
credentialId: string;
|
|
16
|
-
/** Current health status of the OAuth connection */
|
|
17
|
-
status?: ElevenLabs.OAuthConnectionStatus;
|
|
18
|
-
/** Human-readable detail about the current status, e.g. the error message on refresh failure */
|
|
19
|
-
statusDetail?: string;
|
|
20
|
-
/** ISO 8601 timestamp of the last status change */
|
|
21
|
-
statusUpdatedAt?: string;
|
|
22
16
|
id: string;
|
|
23
17
|
usedBy?: ElevenLabs.AuthConnectionDependencies;
|
|
18
|
+
status?: ElevenLabs.AuthConnectionStatus;
|
|
19
|
+
statusDetail?: string;
|
|
20
|
+
statusUpdatedAt?: string;
|
|
24
21
|
}
|
|
@@ -13,14 +13,11 @@ export interface ApiIntegrationOAuth2CustomAppResponse {
|
|
|
13
13
|
expiresAt: string;
|
|
14
14
|
integrationId: string;
|
|
15
15
|
credentialId: string;
|
|
16
|
-
/** Current health status of the OAuth connection */
|
|
17
|
-
status?: ElevenLabs.OAuthConnectionStatus;
|
|
18
|
-
/** Human-readable detail about the current status, e.g. the error message on refresh failure */
|
|
19
|
-
statusDetail?: string;
|
|
20
|
-
/** ISO 8601 timestamp of the last status change */
|
|
21
|
-
statusUpdatedAt?: string;
|
|
22
16
|
/** OAuth client ID (rendered from template if credential uses templated credentials, None for legacy connections) */
|
|
23
17
|
clientId: string;
|
|
24
18
|
id: string;
|
|
25
19
|
usedBy?: ElevenLabs.AuthConnectionDependencies;
|
|
20
|
+
status?: ElevenLabs.AuthConnectionStatus;
|
|
21
|
+
statusDetail?: string;
|
|
22
|
+
statusUpdatedAt?: string;
|
|
26
23
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Identifiers for audio voice filters. */
|
|
2
|
+
export declare const AudioFilterId: {
|
|
3
|
+
readonly Phone: "phone";
|
|
4
|
+
readonly LowQualityPhone: "low_quality_phone";
|
|
5
|
+
readonly BrightPhone: "bright_phone";
|
|
6
|
+
};
|
|
7
|
+
export type AudioFilterId = (typeof AudioFilterId)[keyof typeof AudioFilterId];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.AudioFilterId = void 0;
|
|
5
|
+
/** Identifiers for audio voice filters. */
|
|
6
|
+
exports.AudioFilterId = {
|
|
7
|
+
Phone: "phone",
|
|
8
|
+
LowQualityPhone: "low_quality_phone",
|
|
9
|
+
BrightPhone: "bright_phone",
|
|
10
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Single status field shared by every auth type's stored credential.
|
|
3
|
+
*
|
|
4
|
+
* OAuth values (``REFRESH_FAILED``, ``REVOKED``) are written by the OAuth
|
|
5
|
+
* token-manager refresh path. ``CREDENTIAL_INVALID`` is written by the
|
|
6
|
+
* tool execution path when an upstream response matches a credential's
|
|
7
|
+
* ``failure_signatures`` entry (Bearer, Basic auth, etc.).
|
|
8
|
+
*/
|
|
9
|
+
export declare const AuthConnectionStatus: {
|
|
10
|
+
readonly Active: "active";
|
|
11
|
+
readonly RefreshFailed: "refresh_failed";
|
|
12
|
+
readonly Revoked: "revoked";
|
|
13
|
+
readonly CredentialInvalid: "credential_invalid";
|
|
14
|
+
};
|
|
15
|
+
export type AuthConnectionStatus = (typeof AuthConnectionStatus)[keyof typeof AuthConnectionStatus];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.AuthConnectionStatus = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* Single status field shared by every auth type's stored credential.
|
|
7
|
+
*
|
|
8
|
+
* OAuth values (``REFRESH_FAILED``, ``REVOKED``) are written by the OAuth
|
|
9
|
+
* token-manager refresh path. ``CREDENTIAL_INVALID`` is written by the
|
|
10
|
+
* tool execution path when an upstream response matches a credential's
|
|
11
|
+
* ``failure_signatures`` entry (Bearer, Basic auth, etc.).
|
|
12
|
+
*/
|
|
13
|
+
exports.AuthConnectionStatus = {
|
|
14
|
+
Active: "active",
|
|
15
|
+
RefreshFailed: "refresh_failed",
|
|
16
|
+
Revoked: "revoked",
|
|
17
|
+
CredentialInvalid: "credential_invalid",
|
|
18
|
+
};
|
|
@@ -17,4 +17,6 @@ export interface BaseTurnConfig {
|
|
|
17
17
|
turnModel?: ElevenLabs.TurnModel;
|
|
18
18
|
/** List of terms that should not trigger an interruption when spoken by the user (e.g. 'gotcha', 'understood'). Uses case-insensitive exact matching. */
|
|
19
19
|
interruptionIgnoreTerms?: string[];
|
|
20
|
+
/** When interruptions are disabled, still transcribe what the user says so it can carry into the next turn. When off, user speech during a non-interruptible turn is ignored and won't trigger a turn. */
|
|
21
|
+
transcribeOnDisabledInterruptions?: boolean;
|
|
20
22
|
}
|
|
@@ -14,10 +14,14 @@ export interface CaptionStyleModel {
|
|
|
14
14
|
backgroundEnabled?: boolean;
|
|
15
15
|
backgroundColor?: string;
|
|
16
16
|
backgroundOpacity?: number;
|
|
17
|
+
backgroundBlur?: number;
|
|
18
|
+
backgroundBorderRadius?: number;
|
|
17
19
|
wordHighlightsEnabled?: boolean;
|
|
18
20
|
wordHighlightsColor?: string;
|
|
19
21
|
wordHighlightsBackgroundColor?: string;
|
|
20
22
|
wordHighlightsOpacity?: number;
|
|
23
|
+
wordHighlightsBorderRadius?: number;
|
|
24
|
+
wordHighlightsBlur?: number;
|
|
21
25
|
sectionAnimation?: ElevenLabs.CaptionStyleSectionAnimationModel;
|
|
22
26
|
wordAnimation?: ElevenLabs.CaptionStyleWordAnimationModel;
|
|
23
27
|
characterAnimation?: ElevenLabs.CaptionStyleCharacterAnimationModel;
|
|
@@ -5,5 +5,8 @@ export declare const CaptionStyleSectionAnimationModelEnterType: {
|
|
|
5
5
|
readonly Pop: "pop";
|
|
6
6
|
readonly SlideUp: "slide_up";
|
|
7
7
|
readonly SlideDown: "slide_down";
|
|
8
|
+
readonly Slam: "slam";
|
|
9
|
+
readonly ScaleDown: "scale_down";
|
|
10
|
+
readonly SlideIn: "slide_in";
|
|
8
11
|
};
|
|
9
12
|
export type CaptionStyleSectionAnimationModelEnterType = (typeof CaptionStyleSectionAnimationModelEnterType)[keyof typeof CaptionStyleSectionAnimationModelEnterType];
|
|
@@ -5,5 +5,8 @@ export declare const CaptionStyleSectionAnimationModelExitType: {
|
|
|
5
5
|
readonly Pop: "pop";
|
|
6
6
|
readonly SlideUp: "slide_up";
|
|
7
7
|
readonly SlideDown: "slide_down";
|
|
8
|
+
readonly Slam: "slam";
|
|
9
|
+
readonly ScaleDown: "scale_down";
|
|
10
|
+
readonly SlideIn: "slide_in";
|
|
8
11
|
};
|
|
9
12
|
export type CaptionStyleSectionAnimationModelExitType = (typeof CaptionStyleSectionAnimationModelExitType)[keyof typeof CaptionStyleSectionAnimationModelExitType];
|
|
@@ -5,5 +5,8 @@ export declare const CaptionStyleWordAnimationModelEnterType: {
|
|
|
5
5
|
readonly Pop: "pop";
|
|
6
6
|
readonly SlideUp: "slide_up";
|
|
7
7
|
readonly SlideDown: "slide_down";
|
|
8
|
+
readonly Slam: "slam";
|
|
9
|
+
readonly ScaleDown: "scale_down";
|
|
10
|
+
readonly SlideIn: "slide_in";
|
|
8
11
|
};
|
|
9
12
|
export type CaptionStyleWordAnimationModelEnterType = (typeof CaptionStyleWordAnimationModelEnterType)[keyof typeof CaptionStyleWordAnimationModelEnterType];
|
|
@@ -5,5 +5,8 @@ export declare const CaptionStyleWordAnimationModelExitType: {
|
|
|
5
5
|
readonly Pop: "pop";
|
|
6
6
|
readonly SlideUp: "slide_up";
|
|
7
7
|
readonly SlideDown: "slide_down";
|
|
8
|
+
readonly Slam: "slam";
|
|
9
|
+
readonly ScaleDown: "scale_down";
|
|
10
|
+
readonly SlideIn: "slide_in";
|
|
8
11
|
};
|
|
9
12
|
export type CaptionStyleWordAnimationModelExitType = (typeof CaptionStyleWordAnimationModelExitType)[keyof typeof CaptionStyleWordAnimationModelExitType];
|
|
@@ -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.CharacterAge = void 0;
|
|
5
|
+
exports.CharacterAge = {
|
|
6
|
+
Young: "young",
|
|
7
|
+
MiddleAged: "middle-aged",
|
|
8
|
+
Old: "old",
|
|
9
|
+
};
|
|
@@ -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.CharacterGender = void 0;
|
|
5
|
+
exports.CharacterGender = {
|
|
6
|
+
Male: "male",
|
|
7
|
+
Female: "female",
|
|
8
|
+
Neutral: "neutral",
|
|
9
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
2
|
export interface ConvAiWebhooks {
|
|
3
3
|
postCallWebhookId?: string;
|
|
4
|
-
/** List of event types to send via webhook. Options: transcript, audio, call_initiation_failure. */
|
|
4
|
+
/** List of event types to send via webhook. Options: transcript, audio, call_initiation_failure, unredacted_transcript, unredacted_audio. */
|
|
5
5
|
events?: ElevenLabs.WebhookEventType[];
|
|
6
6
|
/** Format for transcript webhooks. */
|
|
7
7
|
transcriptFormat?: ElevenLabs.WebhookTranscriptFormat;
|
|
@@ -5,6 +5,7 @@ export interface ConversationHistoryAnalysisCommonModel {
|
|
|
5
5
|
evaluationCriteriaResultsList?: ElevenLabs.ConversationHistoryEvaluationCriteriaResultCommonModel[];
|
|
6
6
|
dataCollectionResultsList?: ElevenLabs.DataCollectionResultCommonModel[];
|
|
7
7
|
callSuccessful: ElevenLabs.EvaluationSuccessResult;
|
|
8
|
+
callSuccessScore?: number;
|
|
8
9
|
transcriptSummary: string;
|
|
9
10
|
callSummaryTitle?: string;
|
|
10
11
|
scoped?: ElevenLabs.ScopedAnalysisResult[];
|
|
@@ -14,6 +14,7 @@ export interface ConversationHistoryTranscriptCommonModelInput {
|
|
|
14
14
|
llmUsage?: ElevenLabs.LlmUsageInput;
|
|
15
15
|
interrupted?: boolean;
|
|
16
16
|
originalMessage?: string;
|
|
17
|
+
reasoning?: ElevenLabs.ConversationReasoningModel[];
|
|
17
18
|
sourceMedium?: ElevenLabs.ChatSourceMedium;
|
|
18
19
|
sourceEventId?: number;
|
|
19
20
|
usedStaticKbDocumentIds?: string[];
|
|
@@ -14,6 +14,7 @@ export interface ConversationHistoryTranscriptCommonModelOutput {
|
|
|
14
14
|
llmUsage?: ElevenLabs.LlmUsageOutput;
|
|
15
15
|
interrupted?: boolean;
|
|
16
16
|
originalMessage?: string;
|
|
17
|
+
reasoning?: ElevenLabs.ConversationReasoningModel[];
|
|
17
18
|
sourceMedium?: ElevenLabs.ChatSourceMedium;
|
|
18
19
|
sourceEventId?: number;
|
|
19
20
|
usedStaticKbDocumentIds?: string[];
|
|
@@ -14,10 +14,12 @@ export interface ConversationHistoryTranscriptResponseModel {
|
|
|
14
14
|
llmUsage?: ElevenLabs.LlmUsageOutput;
|
|
15
15
|
interrupted?: boolean;
|
|
16
16
|
originalMessage?: string;
|
|
17
|
+
reasoning?: ElevenLabs.ConversationReasoningModel[];
|
|
17
18
|
sourceMedium?: ElevenLabs.ChatSourceMedium;
|
|
18
19
|
sourceEventId?: number;
|
|
19
20
|
usedStaticKbDocumentIds?: string[];
|
|
20
21
|
userIdentifier?: string;
|
|
21
22
|
fileInput?: ElevenLabs.ConversationHistoryTranscriptFileInputResponseModel;
|
|
22
23
|
contextualUpdateInfo?: ElevenLabs.ContextualUpdateInfo;
|
|
24
|
+
reasoned?: boolean;
|
|
23
25
|
}
|