@elevenlabs/elevenlabs-js 2.33.0 → 2.35.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 +1 -1
- package/BaseClient.js +2 -2
- 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 +2 -0
- package/api/resources/conversationalAi/resources/index.js +2 -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/whatsapp/client/Client.d.ts +25 -0
- package/api/resources/conversationalAi/resources/whatsapp/client/Client.js +75 -0
- package/api/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.d.ts +26 -0
- package/api/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/whatsapp/index.js +1 -0
- package/api/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.d.ts +13 -0
- package/api/resources/conversationalAi/resources/whatsapp/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/whatsapp/types/index.js +17 -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/index.d.ts +6 -0
- package/api/resources/index.js +7 -1
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
- package/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +1 -1
- package/api/resources/studio/resources/projects/client/Client.d.ts +13 -0
- package/api/resources/studio/resources/projects/client/Client.js +60 -0
- 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/v1SpeechToTextRealtime/index.d.ts +1 -0
- package/api/resources/v1SpeechToTextRealtime/index.js +17 -0
- package/api/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.d.ts +5 -0
- package/api/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.d.ts +6 -0
- package/{dist/api/types/BanReasonType.js → api/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.js} +4 -3
- package/api/resources/v1SpeechToTextRealtime/types/index.d.ts +2 -0
- package/api/resources/v1SpeechToTextRealtime/types/index.js +18 -0
- package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.d.ts +1 -0
- package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.js +17 -0
- package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.d.ts +5 -0
- package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.d.ts +5 -0
- package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.d.ts +2 -0
- package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.js +18 -0
- package/api/resources/v1TextToSpeechVoiceIdStreamInput/index.d.ts +1 -0
- package/api/resources/v1TextToSpeechVoiceIdStreamInput/index.js +17 -0
- package/api/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.d.ts +5 -0
- package/api/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.d.ts +5 -0
- package/api/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.js +3 -0
- package/api/resources/v1TextToSpeechVoiceIdStreamInput/types/index.d.ts +2 -0
- package/api/resources/v1TextToSpeechVoiceIdStreamInput/types/index.js +18 -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/AgentTransfer.d.ts +1 -0
- package/api/types/Alignment.d.ts +25 -0
- package/api/types/Alignment.js +3 -0
- package/api/types/AlignmentGuardrail.d.ts +3 -0
- package/api/types/AlignmentGuardrail.js +3 -0
- package/api/types/ApiIntegrationWebhookOverridesInput.d.ts +2 -0
- package/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +2 -0
- package/api/types/ApiIntegrationWebhookToolConfigInput.d.ts +2 -0
- package/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +2 -0
- package/api/types/AudioFormatEnum.d.ts +11 -0
- package/api/types/AudioFormatEnum.js +14 -0
- package/api/types/AudioOutput.d.ts +10 -0
- package/api/types/AudioOutput.js +3 -0
- package/api/types/AudioOutputMulti.d.ts +12 -0
- package/api/types/AudioOutputMulti.js +3 -0
- package/api/types/AuthSettings.d.ts +2 -0
- package/api/types/CanvasPlacement.d.ts +2 -2
- package/api/types/ClientToolConfigInput.d.ts +2 -0
- package/api/types/ClientToolConfigOutput.d.ts +2 -0
- package/api/types/CloseConnection.d.ts +4 -0
- package/api/types/CloseConnection.js +3 -0
- package/api/types/CloseContext.d.ts +9 -0
- package/api/types/CloseContext.js +3 -0
- package/api/types/CloseSocket.d.ts +7 -0
- package/api/types/CloseSocket.js +3 -0
- package/api/types/CommittedTranscriptPayload.d.ts +9 -0
- package/api/types/CommittedTranscriptPayload.js +3 -0
- package/api/types/CommittedTranscriptWithTimestampsPayload.d.ts +14 -0
- package/api/types/CommittedTranscriptWithTimestampsPayload.js +3 -0
- package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/api/types/{ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts → ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts} +3 -2
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.js +3 -0
- package/api/types/{ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts → ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts} +2 -2
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +3 -0
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +14 -0
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.js +3 -0
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +40 -0
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +3 -0
- package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/api/types/ConversationInitiationSource.d.ts +1 -0
- package/api/types/ConversationInitiationSource.js +1 -0
- package/api/types/ConversationTurnMetrics.d.ts +2 -0
- package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -2
- package/api/types/CreateTwilioPhoneNumberRequest.d.ts +2 -2
- package/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/api/types/DynamicVariableAssignment.d.ts +2 -0
- package/api/types/FinalOutput.d.ts +4 -0
- package/api/types/FinalOutput.js +3 -0
- package/api/types/FinalOutputMulti.d.ts +9 -0
- package/api/types/FinalOutputMulti.js +3 -0
- package/api/types/FlushContext.d.ts +11 -0
- package/api/types/FlushContext.js +3 -0
- package/api/types/GenerationConfig.d.ts +30 -0
- package/api/types/GenerationConfig.js +3 -0
- package/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -2
- package/api/types/GetPhoneNumberTwilioResponseModel.d.ts +2 -2
- 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/InitialiseContext.d.ts +18 -0
- package/api/types/InitialiseContext.js +3 -0
- package/api/types/InitializeConnection.d.ts +18 -0
- package/api/types/InitializeConnection.js +3 -0
- package/api/types/InitializeConnectionMulti.d.ts +18 -0
- package/api/types/InitializeConnectionMulti.js +3 -0
- package/api/types/InputAudioChunkPayload.d.ts +15 -0
- package/api/types/InputAudioChunkPayload.js +3 -0
- package/api/types/InvoiceResponse.d.ts +1 -1
- package/api/types/KeepContextAlive.d.ts +9 -0
- package/api/types/KeepContextAlive.js +3 -0
- package/api/types/NonStreamingOutputFormats.d.ts +10 -0
- package/api/types/NonStreamingOutputFormats.js +13 -0
- package/api/types/NormalizedAlignment.d.ts +25 -0
- package/api/types/NormalizedAlignment.js +3 -0
- package/api/types/PartialTranscriptPayload.d.ts +9 -0
- package/api/types/PartialTranscriptPayload.js +3 -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/ProcedureDraftRef.js +3 -0
- package/api/types/ProcedureVersionRef.d.ts +6 -0
- package/api/types/ProcedureVersionRef.js +3 -0
- package/api/types/ProjectExternalAudioResponseModel.d.ts +1 -0
- package/api/types/ProjectMutedTracksResponseModel.d.ts +4 -0
- package/api/types/ProjectMutedTracksResponseModel.js +3 -0
- package/api/types/ProjectVideoResponseModel.d.ts +1 -0
- package/api/types/PronunciationDictionaryLocator.d.ts +9 -0
- package/api/types/PronunciationDictionaryLocator.js +3 -0
- package/api/types/RealtimeVoiceSettings.d.ts +12 -0
- package/api/types/RealtimeVoiceSettings.js +3 -0
- package/api/types/ResponseFilterMode.d.ts +6 -0
- package/api/types/ResponseFilterMode.js +9 -0
- package/api/types/ScribeAuthErrorPayload.d.ts +9 -0
- package/api/types/ScribeAuthErrorPayload.js +3 -0
- package/api/types/ScribeChunkSizeExceededErrorPayload.d.ts +9 -0
- package/api/types/ScribeChunkSizeExceededErrorPayload.js +3 -0
- package/api/types/ScribeErrorPayload.d.ts +9 -0
- package/api/types/ScribeErrorPayload.js +3 -0
- package/api/types/ScribeInputErrorPayload.d.ts +9 -0
- package/api/types/ScribeInputErrorPayload.js +3 -0
- package/api/types/ScribeInsufficientAudioActivityErrorPayload.d.ts +9 -0
- package/api/types/ScribeInsufficientAudioActivityErrorPayload.js +3 -0
- package/api/types/ScribeQueueOverflowErrorPayload.d.ts +9 -0
- package/api/types/ScribeQueueOverflowErrorPayload.js +3 -0
- package/api/types/ScribeQuotaExceededErrorPayload.d.ts +9 -0
- package/api/types/ScribeQuotaExceededErrorPayload.js +3 -0
- package/api/types/ScribeRateLimitedErrorPayload.d.ts +9 -0
- package/api/types/ScribeRateLimitedErrorPayload.js +3 -0
- package/api/types/ScribeResourceExhaustedErrorPayload.d.ts +9 -0
- package/api/types/ScribeResourceExhaustedErrorPayload.js +3 -0
- package/api/types/ScribeSessionTimeLimitExceededErrorPayload.d.ts +9 -0
- package/api/types/ScribeSessionTimeLimitExceededErrorPayload.js +3 -0
- package/api/types/ScribeThrottledErrorPayload.d.ts +9 -0
- package/api/types/ScribeThrottledErrorPayload.js +3 -0
- package/api/types/ScribeTranscriberErrorPayload.d.ts +9 -0
- package/api/types/ScribeTranscriberErrorPayload.js +3 -0
- package/api/types/ScribeUnacceptedTermsErrorPayload.d.ts +9 -0
- package/api/types/ScribeUnacceptedTermsErrorPayload.js +3 -0
- package/api/types/SeatType.d.ts +1 -0
- package/api/types/SeatType.js +1 -0
- package/api/types/SendText.d.ts +29 -0
- package/api/types/SendText.js +3 -0
- package/api/types/SendTextMulti.d.ts +11 -0
- package/api/types/SendTextMulti.js +3 -0
- package/api/types/SessionStartedPayload.d.ts +12 -0
- package/api/types/SessionStartedPayload.js +3 -0
- package/api/types/SessionStartedPayloadConfig.d.ts +29 -0
- package/api/types/SessionStartedPayloadConfig.js +3 -0
- package/api/types/SessionStartedPayloadConfigCommitStrategy.d.ts +6 -0
- package/api/types/SessionStartedPayloadConfigCommitStrategy.js +9 -0
- package/api/types/SongMetadata.d.ts +0 -4
- package/api/types/SystemToolConfigInput.d.ts +2 -0
- package/api/types/SystemToolConfigOutput.d.ts +2 -0
- package/api/types/TestFromConversationMetadataInput.d.ts +1 -0
- package/api/types/TestFromConversationMetadataOutput.d.ts +1 -0
- package/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +7 -0
- package/api/types/TextToSpeechApplyTextNormalizationEnum.js +10 -0
- package/api/types/TextToSpeechOutputFormatEnum.d.ts +22 -0
- package/api/types/TextToSpeechOutputFormatEnum.js +25 -0
- package/api/types/ToolErrorHandlingMode.d.ts +8 -0
- package/api/types/ToolErrorHandlingMode.js +11 -0
- package/api/types/TranscriptionWord.d.ts +20 -0
- package/api/types/TranscriptionWord.js +3 -0
- package/api/types/TranscriptionWordType.d.ts +6 -0
- package/api/types/TranscriptionWordType.js +9 -0
- package/api/types/TransferBranchInfoDefaultingToMain.d.ts +3 -0
- package/api/types/TransferBranchInfoDefaultingToMain.js +3 -0
- package/api/types/TransferBranchInfoTrafficSplit.d.ts +4 -0
- package/api/types/TransferBranchInfoTrafficSplit.js +3 -0
- package/api/types/TransferToAgentToolResultSuccessModel.d.ts +2 -0
- package/api/types/TransferToAgentToolResultSuccessModelBranchInfo.d.ts +10 -0
- package/api/types/TransferToAgentToolResultSuccessModelBranchInfo.js +3 -0
- package/api/types/TtsConversationalConfigInput.d.ts +2 -0
- package/api/types/TtsConversationalConfigOutput.d.ts +2 -0
- package/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
- package/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
- package/api/types/TtsConversationalModel.d.ts +1 -0
- package/api/types/TtsConversationalModel.js +1 -0
- package/api/types/TtsModelFamily.d.ts +1 -0
- package/api/types/TtsModelFamily.js +1 -0
- package/api/types/TurnConfig.d.ts +2 -0
- package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/api/types/TurnModel.d.ts +6 -0
- package/api/types/TurnModel.js +9 -0
- package/api/types/UnitTestCommonModel.d.ts +2 -0
- package/api/types/UnitTestToolCallEvaluationModelInput.d.ts +2 -0
- package/api/types/UnitTestToolCallEvaluationModelOutput.d.ts +2 -0
- package/api/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.d.ts +7 -0
- package/api/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.js +3 -0
- package/api/types/User.d.ts +2 -0
- package/api/types/WebhookToolConfigInput.d.ts +2 -0
- package/api/types/WebhookToolConfigOutput.d.ts +2 -0
- package/api/types/WebsocketTtsClientMessageMulti.d.ts +31 -0
- package/api/types/WebsocketTtsClientMessageMulti.js +3 -0
- package/api/types/WebsocketTtsServerMessageMulti.d.ts +14 -0
- package/api/types/WebsocketTtsServerMessageMulti.js +3 -0
- package/api/types/WhatsAppConversationInfo.d.ts +1 -0
- package/api/types/WhatsAppOutboundMessageResponse.d.ts +3 -0
- package/api/types/WhatsAppOutboundMessageResponse.js +3 -0
- package/api/types/WhatsAppTemplateBodyComponentParams.d.ts +4 -0
- package/api/types/WhatsAppTemplateBodyComponentParams.js +3 -0
- package/api/types/WhatsAppTemplateButtonComponentParams.d.ts +6 -0
- package/api/types/WhatsAppTemplateButtonComponentParams.js +3 -0
- package/api/types/WhatsAppTemplateDocumentParam.d.ts +4 -0
- package/api/types/WhatsAppTemplateDocumentParam.js +3 -0
- package/api/types/WhatsAppTemplateDocumentParamDetails.d.ts +4 -0
- package/api/types/WhatsAppTemplateDocumentParamDetails.js +3 -0
- package/api/types/WhatsAppTemplateHeaderComponentParams.d.ts +4 -0
- package/api/types/WhatsAppTemplateHeaderComponentParams.js +3 -0
- package/api/types/WhatsAppTemplateHeaderComponentParamsParametersItem.d.ts +16 -0
- package/api/types/WhatsAppTemplateHeaderComponentParamsParametersItem.js +3 -0
- package/api/types/WhatsAppTemplateImageParam.d.ts +4 -0
- package/api/types/WhatsAppTemplateImageParam.js +3 -0
- package/api/types/WhatsAppTemplateImageParamDetails.d.ts +3 -0
- package/api/types/WhatsAppTemplateImageParamDetails.js +3 -0
- package/api/types/WhatsAppTemplateLocationParam.d.ts +4 -0
- package/api/types/WhatsAppTemplateLocationParam.js +3 -0
- package/api/types/WhatsAppTemplateLocationParamDetails.d.ts +6 -0
- package/api/types/WhatsAppTemplateLocationParamDetails.js +3 -0
- package/api/types/WhatsAppTemplateTextParam.d.ts +5 -0
- package/api/types/WhatsAppTemplateTextParam.js +3 -0
- package/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +1 -1
- package/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +1 -1
- package/api/types/WorkspaceResourceType.d.ts +1 -0
- package/api/types/WorkspaceResourceType.js +1 -0
- package/api/types/index.d.ts +74 -5
- package/api/types/index.js +74 -5
- package/dist/BaseClient.js +2 -2
- 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 +2 -0
- package/dist/api/resources/conversationalAi/resources/index.js +2 -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/whatsapp/client/Client.d.ts +25 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.js +75 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.d.ts +26 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.js +3 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/types/index.js +17 -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/index.d.ts +6 -0
- package/dist/api/resources/index.js +7 -1
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/client/Client.d.ts +13 -0
- package/dist/api/resources/studio/resources/projects/client/Client.js +60 -0
- 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/v1SpeechToTextRealtime/index.d.ts +1 -0
- package/dist/api/resources/v1SpeechToTextRealtime/index.js +17 -0
- package/dist/api/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.d.ts +5 -0
- package/dist/api/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.js +3 -0
- package/dist/api/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.d.ts +6 -0
- package/{api/types/BanReasonType.js → dist/api/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.js} +4 -3
- package/dist/api/resources/v1SpeechToTextRealtime/types/index.d.ts +2 -0
- package/dist/api/resources/v1SpeechToTextRealtime/types/index.js +18 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.d.ts +1 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.js +17 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.d.ts +5 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.js +3 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.d.ts +5 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.js +3 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.d.ts +2 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.js +18 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/index.d.ts +1 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/index.js +17 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.d.ts +5 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.js +3 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.d.ts +5 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.js +3 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/index.d.ts +2 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/index.js +18 -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/AgentTransfer.d.ts +1 -0
- package/dist/api/types/Alignment.d.ts +25 -0
- package/dist/api/types/Alignment.js +3 -0
- 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/ApiIntegrationWebhookToolConfigInput.d.ts +2 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +2 -0
- package/dist/api/types/AudioFormatEnum.d.ts +11 -0
- package/dist/api/types/AudioFormatEnum.js +14 -0
- package/dist/api/types/AudioOutput.d.ts +10 -0
- package/dist/api/types/AudioOutput.js +3 -0
- package/dist/api/types/AudioOutputMulti.d.ts +12 -0
- package/dist/api/types/AudioOutputMulti.js +3 -0
- package/dist/api/types/AuthSettings.d.ts +2 -0
- package/dist/api/types/CanvasPlacement.d.ts +2 -2
- package/dist/api/types/ClientToolConfigInput.d.ts +2 -0
- package/dist/api/types/ClientToolConfigOutput.d.ts +2 -0
- package/dist/api/types/CloseConnection.d.ts +4 -0
- package/dist/api/types/CloseConnection.js +3 -0
- package/dist/api/types/CloseContext.d.ts +9 -0
- package/dist/api/types/CloseContext.js +3 -0
- package/dist/api/types/CloseSocket.d.ts +7 -0
- package/dist/api/types/CloseSocket.js +3 -0
- package/dist/api/types/CommittedTranscriptPayload.d.ts +9 -0
- package/dist/api/types/CommittedTranscriptPayload.js +3 -0
- package/dist/api/types/CommittedTranscriptWithTimestampsPayload.d.ts +14 -0
- package/dist/api/types/CommittedTranscriptWithTimestampsPayload.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/dist/api/types/{ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts → ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts} +3 -2
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.js +3 -0
- package/dist/api/types/{ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts → ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts} +2 -2
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +14 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +40 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
- package/dist/api/types/ConversationInitiationSource.js +1 -0
- package/dist/api/types/ConversationTurnMetrics.d.ts +2 -0
- package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -2
- package/dist/api/types/CreateTwilioPhoneNumberRequest.d.ts +2 -2
- package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/dist/api/types/DynamicVariableAssignment.d.ts +2 -0
- package/dist/api/types/FinalOutput.d.ts +4 -0
- package/dist/api/types/FinalOutput.js +3 -0
- package/dist/api/types/FinalOutputMulti.d.ts +9 -0
- package/dist/api/types/FinalOutputMulti.js +3 -0
- package/dist/api/types/FlushContext.d.ts +11 -0
- package/dist/api/types/FlushContext.js +3 -0
- package/dist/api/types/GenerationConfig.d.ts +30 -0
- package/dist/api/types/GenerationConfig.js +3 -0
- package/dist/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -2
- package/dist/api/types/GetPhoneNumberTwilioResponseModel.d.ts +2 -2
- 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/InitialiseContext.d.ts +18 -0
- package/dist/api/types/InitialiseContext.js +3 -0
- package/dist/api/types/InitializeConnection.d.ts +18 -0
- package/dist/api/types/InitializeConnection.js +3 -0
- package/dist/api/types/InitializeConnectionMulti.d.ts +18 -0
- package/dist/api/types/InitializeConnectionMulti.js +3 -0
- package/dist/api/types/InputAudioChunkPayload.d.ts +15 -0
- package/dist/api/types/InputAudioChunkPayload.js +3 -0
- package/dist/api/types/InvoiceResponse.d.ts +1 -1
- package/dist/api/types/KeepContextAlive.d.ts +9 -0
- package/dist/api/types/KeepContextAlive.js +3 -0
- package/dist/api/types/NonStreamingOutputFormats.d.ts +10 -0
- package/dist/api/types/NonStreamingOutputFormats.js +13 -0
- package/dist/api/types/NormalizedAlignment.d.ts +25 -0
- package/dist/api/types/NormalizedAlignment.js +3 -0
- package/dist/api/types/PartialTranscriptPayload.d.ts +9 -0
- package/dist/api/types/PartialTranscriptPayload.js +3 -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/ProjectExternalAudioResponseModel.d.ts +1 -0
- package/dist/api/types/ProjectMutedTracksResponseModel.d.ts +4 -0
- package/dist/api/types/ProjectMutedTracksResponseModel.js +3 -0
- package/dist/api/types/ProjectVideoResponseModel.d.ts +1 -0
- package/dist/api/types/PronunciationDictionaryLocator.d.ts +9 -0
- package/dist/api/types/PronunciationDictionaryLocator.js +3 -0
- package/dist/api/types/RealtimeVoiceSettings.d.ts +12 -0
- package/dist/api/types/RealtimeVoiceSettings.js +3 -0
- package/dist/api/types/ResponseFilterMode.d.ts +6 -0
- package/dist/api/types/ResponseFilterMode.js +9 -0
- package/dist/api/types/ScribeAuthErrorPayload.d.ts +9 -0
- package/dist/api/types/ScribeAuthErrorPayload.js +3 -0
- package/dist/api/types/ScribeChunkSizeExceededErrorPayload.d.ts +9 -0
- package/dist/api/types/ScribeChunkSizeExceededErrorPayload.js +3 -0
- package/dist/api/types/ScribeErrorPayload.d.ts +9 -0
- package/dist/api/types/ScribeErrorPayload.js +3 -0
- package/dist/api/types/ScribeInputErrorPayload.d.ts +9 -0
- package/dist/api/types/ScribeInputErrorPayload.js +3 -0
- package/dist/api/types/ScribeInsufficientAudioActivityErrorPayload.d.ts +9 -0
- package/dist/api/types/ScribeInsufficientAudioActivityErrorPayload.js +3 -0
- package/dist/api/types/ScribeQueueOverflowErrorPayload.d.ts +9 -0
- package/dist/api/types/ScribeQueueOverflowErrorPayload.js +3 -0
- package/dist/api/types/ScribeQuotaExceededErrorPayload.d.ts +9 -0
- package/dist/api/types/ScribeQuotaExceededErrorPayload.js +3 -0
- package/dist/api/types/ScribeRateLimitedErrorPayload.d.ts +9 -0
- package/dist/api/types/ScribeRateLimitedErrorPayload.js +3 -0
- package/dist/api/types/ScribeResourceExhaustedErrorPayload.d.ts +9 -0
- package/dist/api/types/ScribeResourceExhaustedErrorPayload.js +3 -0
- package/dist/api/types/ScribeSessionTimeLimitExceededErrorPayload.d.ts +9 -0
- package/dist/api/types/ScribeSessionTimeLimitExceededErrorPayload.js +3 -0
- package/dist/api/types/ScribeThrottledErrorPayload.d.ts +9 -0
- package/dist/api/types/ScribeThrottledErrorPayload.js +3 -0
- package/dist/api/types/ScribeTranscriberErrorPayload.d.ts +9 -0
- package/dist/api/types/ScribeTranscriberErrorPayload.js +3 -0
- package/dist/api/types/ScribeUnacceptedTermsErrorPayload.d.ts +9 -0
- package/dist/api/types/ScribeUnacceptedTermsErrorPayload.js +3 -0
- package/dist/api/types/SeatType.d.ts +1 -0
- package/dist/api/types/SeatType.js +1 -0
- package/dist/api/types/SendText.d.ts +29 -0
- package/dist/api/types/SendText.js +3 -0
- package/dist/api/types/SendTextMulti.d.ts +11 -0
- package/dist/api/types/SendTextMulti.js +3 -0
- package/dist/api/types/SessionStartedPayload.d.ts +12 -0
- package/dist/api/types/SessionStartedPayload.js +3 -0
- package/dist/api/types/SessionStartedPayloadConfig.d.ts +29 -0
- package/dist/api/types/SessionStartedPayloadConfig.js +3 -0
- package/dist/api/types/SessionStartedPayloadConfigCommitStrategy.d.ts +6 -0
- package/dist/api/types/SessionStartedPayloadConfigCommitStrategy.js +9 -0
- package/dist/api/types/SongMetadata.d.ts +0 -4
- package/dist/api/types/SystemToolConfigInput.d.ts +2 -0
- package/dist/api/types/SystemToolConfigOutput.d.ts +2 -0
- package/dist/api/types/TestFromConversationMetadataInput.d.ts +1 -0
- package/dist/api/types/TestFromConversationMetadataOutput.d.ts +1 -0
- package/dist/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +7 -0
- package/dist/api/types/TextToSpeechApplyTextNormalizationEnum.js +10 -0
- package/dist/api/types/TextToSpeechOutputFormatEnum.d.ts +22 -0
- package/dist/api/types/TextToSpeechOutputFormatEnum.js +25 -0
- package/dist/api/types/ToolErrorHandlingMode.d.ts +8 -0
- package/dist/api/types/ToolErrorHandlingMode.js +11 -0
- package/dist/api/types/TranscriptionWord.d.ts +20 -0
- package/dist/api/types/TranscriptionWord.js +3 -0
- package/dist/api/types/TranscriptionWordType.d.ts +6 -0
- package/dist/api/types/TranscriptionWordType.js +9 -0
- package/dist/api/types/TransferBranchInfoDefaultingToMain.d.ts +3 -0
- package/dist/api/types/TransferBranchInfoDefaultingToMain.js +3 -0
- package/dist/api/types/TransferBranchInfoTrafficSplit.d.ts +4 -0
- package/dist/api/types/TransferBranchInfoTrafficSplit.js +3 -0
- package/dist/api/types/TransferToAgentToolResultSuccessModel.d.ts +2 -0
- package/dist/api/types/TransferToAgentToolResultSuccessModelBranchInfo.d.ts +10 -0
- package/dist/api/types/TransferToAgentToolResultSuccessModelBranchInfo.js +3 -0
- package/dist/api/types/TtsConversationalConfigInput.d.ts +2 -0
- package/dist/api/types/TtsConversationalConfigOutput.d.ts +2 -0
- package/dist/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
- package/dist/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
- package/dist/api/types/TtsConversationalModel.d.ts +1 -0
- package/dist/api/types/TtsConversationalModel.js +1 -0
- package/dist/api/types/TtsModelFamily.d.ts +1 -0
- package/dist/api/types/TtsModelFamily.js +1 -0
- package/dist/api/types/TurnConfig.d.ts +2 -0
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/dist/api/types/TurnModel.d.ts +6 -0
- package/dist/api/types/TurnModel.js +9 -0
- package/dist/api/types/UnitTestCommonModel.d.ts +2 -0
- package/dist/api/types/UnitTestToolCallEvaluationModelInput.d.ts +2 -0
- package/dist/api/types/UnitTestToolCallEvaluationModelOutput.d.ts +2 -0
- package/dist/api/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.d.ts +7 -0
- package/dist/api/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.js +3 -0
- package/dist/api/types/User.d.ts +2 -0
- package/dist/api/types/WebhookToolConfigInput.d.ts +2 -0
- package/dist/api/types/WebhookToolConfigOutput.d.ts +2 -0
- package/dist/api/types/WebsocketTtsClientMessageMulti.d.ts +31 -0
- package/dist/api/types/WebsocketTtsClientMessageMulti.js +3 -0
- package/dist/api/types/WebsocketTtsServerMessageMulti.d.ts +14 -0
- package/dist/api/types/WebsocketTtsServerMessageMulti.js +3 -0
- package/dist/api/types/WhatsAppConversationInfo.d.ts +1 -0
- package/dist/api/types/WhatsAppOutboundMessageResponse.d.ts +3 -0
- package/dist/api/types/WhatsAppOutboundMessageResponse.js +3 -0
- package/dist/api/types/WhatsAppTemplateBodyComponentParams.d.ts +4 -0
- package/dist/api/types/WhatsAppTemplateBodyComponentParams.js +3 -0
- package/dist/api/types/WhatsAppTemplateButtonComponentParams.d.ts +6 -0
- package/dist/api/types/WhatsAppTemplateButtonComponentParams.js +3 -0
- package/dist/api/types/WhatsAppTemplateDocumentParam.d.ts +4 -0
- package/dist/api/types/WhatsAppTemplateDocumentParam.js +3 -0
- package/dist/api/types/WhatsAppTemplateDocumentParamDetails.d.ts +4 -0
- package/dist/api/types/WhatsAppTemplateDocumentParamDetails.js +3 -0
- package/dist/api/types/WhatsAppTemplateHeaderComponentParams.d.ts +4 -0
- package/dist/api/types/WhatsAppTemplateHeaderComponentParams.js +3 -0
- package/dist/api/types/WhatsAppTemplateHeaderComponentParamsParametersItem.d.ts +16 -0
- package/dist/api/types/WhatsAppTemplateHeaderComponentParamsParametersItem.js +3 -0
- package/dist/api/types/WhatsAppTemplateImageParam.d.ts +4 -0
- package/dist/api/types/WhatsAppTemplateImageParam.js +3 -0
- package/dist/api/types/WhatsAppTemplateImageParamDetails.d.ts +3 -0
- package/dist/api/types/WhatsAppTemplateImageParamDetails.js +3 -0
- package/dist/api/types/WhatsAppTemplateLocationParam.d.ts +4 -0
- package/dist/api/types/WhatsAppTemplateLocationParam.js +3 -0
- package/dist/api/types/WhatsAppTemplateLocationParamDetails.d.ts +6 -0
- package/dist/api/types/WhatsAppTemplateLocationParamDetails.js +3 -0
- package/dist/api/types/WhatsAppTemplateTextParam.d.ts +5 -0
- package/dist/api/types/WhatsAppTemplateTextParam.js +3 -0
- package/dist/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +1 -1
- package/dist/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +1 -1
- package/dist/api/types/WorkspaceResourceType.d.ts +1 -0
- package/dist/api/types/WorkspaceResourceType.js +1 -0
- package/dist/api/types/index.d.ts +74 -5
- package/dist/api/types/index.js +74 -5
- 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/{whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js} +5 -7
- 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 +2 -0
- package/dist/serialization/resources/conversationalAi/resources/index.js +2 -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/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.d.ts +17 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.js +49 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.d.ts +19 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.js +51 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/types/index.js +17 -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/index.d.ts +6 -0
- package/dist/serialization/resources/index.js +7 -1
- 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/resources/v1SpeechToTextRealtime/index.d.ts +1 -0
- package/dist/serialization/resources/v1SpeechToTextRealtime/index.js +17 -0
- package/dist/serialization/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.d.ts +24 -0
- package/dist/serialization/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.js +74 -0
- package/dist/serialization/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.d.ts +7 -0
- package/dist/serialization/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.js +39 -0
- package/dist/serialization/resources/v1SpeechToTextRealtime/types/index.d.ts +2 -0
- package/dist/serialization/resources/v1SpeechToTextRealtime/types/index.js +18 -0
- package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.d.ts +1 -0
- package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.js +17 -0
- package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.d.ts +9 -0
- package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.js +41 -0
- package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.d.ts +14 -0
- package/{serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.js} +18 -7
- package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.d.ts +2 -0
- package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.js +18 -0
- package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/index.d.ts +1 -0
- package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/index.js +17 -0
- package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.d.ts +9 -0
- package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.js +41 -0
- package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.d.ts +10 -0
- package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.js +42 -0
- package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/index.d.ts +2 -0
- package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/index.js +18 -0
- package/dist/serialization/types/AgentTransfer.d.ts +1 -0
- package/dist/serialization/types/AgentTransfer.js +1 -0
- package/dist/serialization/types/Alignment.d.ts +11 -0
- package/dist/serialization/types/Alignment.js +43 -0
- package/dist/serialization/types/AlignmentGuardrail.d.ts +9 -0
- package/dist/serialization/types/AlignmentGuardrail.js +41 -0
- 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/ApiIntegrationWebhookToolConfigInput.d.ts +2 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigInput.js +2 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +2 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +2 -0
- package/dist/serialization/types/AudioFormatEnum.d.ts +7 -0
- package/dist/serialization/types/AudioFormatEnum.js +47 -0
- package/dist/serialization/types/AudioOutput.d.ts +13 -0
- package/dist/serialization/types/AudioOutput.js +45 -0
- package/dist/serialization/types/AudioOutputMulti.d.ts +14 -0
- package/dist/serialization/types/AudioOutputMulti.js +46 -0
- package/dist/serialization/types/AuthSettings.d.ts +1 -0
- package/dist/serialization/types/AuthSettings.js +1 -0
- package/dist/serialization/types/CanvasPlacement.d.ts +2 -2
- package/dist/serialization/types/CanvasPlacement.js +2 -2
- package/dist/serialization/types/ClientToolConfigInput.d.ts +2 -0
- package/dist/serialization/types/ClientToolConfigInput.js +2 -0
- package/dist/serialization/types/ClientToolConfigOutput.d.ts +2 -0
- package/dist/serialization/types/ClientToolConfigOutput.js +2 -0
- package/dist/serialization/types/CloseConnection.d.ts +9 -0
- package/dist/serialization/types/CloseConnection.js +41 -0
- package/dist/serialization/types/CloseContext.d.ts +10 -0
- package/dist/serialization/types/CloseContext.js +42 -0
- package/dist/serialization/types/CloseSocket.d.ts +9 -0
- package/dist/serialization/types/CloseSocket.js +41 -0
- package/dist/serialization/types/CommittedTranscriptPayload.d.ts +10 -0
- package/dist/serialization/types/CommittedTranscriptPayload.js +42 -0
- package/dist/serialization/types/CommittedTranscriptWithTimestampsPayload.d.ts +13 -0
- package/dist/serialization/types/CommittedTranscriptWithTimestampsPayload.js +45 -0
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
- package/dist/serialization/types/{ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts → ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts} +5 -4
- package/dist/serialization/types/{ConversationHistoryTranscriptSystemToolResultCommonModel.js → ConversationHistoryTranscriptSystemToolResultCommonModelInput.js} +5 -4
- package/{serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts → dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts} +3 -3
- package/dist/serialization/types/{ConversationHistoryTranscriptSystemToolResultCommonModelResult.js → ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js} +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +21 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.js +53 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +55 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +69 -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/ConversationInitiationSource.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationSource.js +1 -0
- package/dist/serialization/types/ConversationTurnMetrics.d.ts +2 -0
- package/dist/serialization/types/ConversationTurnMetrics.js +2 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -0
- package/dist/serialization/types/DynamicVariableAssignment.d.ts +1 -0
- package/dist/serialization/types/DynamicVariableAssignment.js +1 -0
- package/dist/serialization/types/FinalOutput.d.ts +9 -0
- package/dist/serialization/types/FinalOutput.js +41 -0
- package/dist/serialization/types/FinalOutputMulti.d.ts +10 -0
- package/dist/serialization/types/FinalOutputMulti.js +42 -0
- package/dist/serialization/types/FlushContext.d.ts +11 -0
- package/dist/serialization/types/FlushContext.js +43 -0
- package/dist/serialization/types/GenerationConfig.d.ts +9 -0
- package/dist/serialization/types/GenerationConfig.js +41 -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/InitialiseContext.d.ts +18 -0
- package/dist/serialization/types/InitialiseContext.js +50 -0
- package/dist/serialization/types/InitializeConnection.d.ts +17 -0
- package/dist/serialization/types/InitializeConnection.js +49 -0
- package/dist/serialization/types/InitializeConnectionMulti.d.ts +18 -0
- package/dist/serialization/types/InitializeConnectionMulti.js +50 -0
- package/dist/serialization/types/InputAudioChunkPayload.d.ts +13 -0
- package/dist/serialization/types/InputAudioChunkPayload.js +45 -0
- package/dist/serialization/types/KeepContextAlive.d.ts +10 -0
- package/dist/serialization/types/KeepContextAlive.js +42 -0
- package/dist/serialization/types/NonStreamingOutputFormats.d.ts +7 -0
- package/dist/serialization/types/NonStreamingOutputFormats.js +47 -0
- package/dist/serialization/types/NormalizedAlignment.d.ts +11 -0
- package/dist/serialization/types/NormalizedAlignment.js +43 -0
- package/dist/serialization/types/PartialTranscriptPayload.d.ts +10 -0
- package/dist/serialization/types/PartialTranscriptPayload.js +42 -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/dist/serialization/types/ProcedureDraftRef.js +41 -0
- package/dist/serialization/types/ProcedureVersionRef.d.ts +10 -0
- package/dist/serialization/types/ProcedureVersionRef.js +42 -0
- package/dist/serialization/types/ProjectExternalAudioResponseModel.d.ts +1 -0
- package/dist/serialization/types/ProjectExternalAudioResponseModel.js +1 -0
- package/dist/serialization/types/ProjectMutedTracksResponseModel.d.ts +9 -0
- package/dist/serialization/types/ProjectMutedTracksResponseModel.js +41 -0
- package/dist/serialization/types/ProjectVideoResponseModel.d.ts +1 -0
- package/dist/serialization/types/ProjectVideoResponseModel.js +1 -0
- package/dist/serialization/types/PronunciationDictionaryLocator.d.ts +10 -0
- package/dist/serialization/types/PronunciationDictionaryLocator.js +42 -0
- package/dist/serialization/types/RealtimeVoiceSettings.d.ts +13 -0
- package/dist/serialization/types/RealtimeVoiceSettings.js +45 -0
- package/dist/serialization/types/ResponseFilterMode.d.ts +7 -0
- package/dist/serialization/types/{DubbingReleaseChannel.js → ResponseFilterMode.js} +2 -2
- package/dist/serialization/types/ScribeAuthErrorPayload.d.ts +10 -0
- package/dist/serialization/types/ScribeAuthErrorPayload.js +42 -0
- package/dist/serialization/types/ScribeChunkSizeExceededErrorPayload.d.ts +10 -0
- package/dist/serialization/types/ScribeChunkSizeExceededErrorPayload.js +42 -0
- package/dist/serialization/types/ScribeErrorPayload.d.ts +10 -0
- package/dist/serialization/types/ScribeErrorPayload.js +42 -0
- package/dist/serialization/types/ScribeInputErrorPayload.d.ts +10 -0
- package/dist/serialization/types/ScribeInputErrorPayload.js +42 -0
- package/dist/serialization/types/ScribeInsufficientAudioActivityErrorPayload.d.ts +10 -0
- package/dist/serialization/types/ScribeInsufficientAudioActivityErrorPayload.js +42 -0
- package/dist/serialization/types/ScribeQueueOverflowErrorPayload.d.ts +10 -0
- package/dist/serialization/types/ScribeQueueOverflowErrorPayload.js +42 -0
- package/dist/serialization/types/ScribeQuotaExceededErrorPayload.d.ts +10 -0
- package/dist/serialization/types/ScribeQuotaExceededErrorPayload.js +42 -0
- package/dist/serialization/types/ScribeRateLimitedErrorPayload.d.ts +10 -0
- package/dist/serialization/types/ScribeRateLimitedErrorPayload.js +42 -0
- package/dist/serialization/types/ScribeResourceExhaustedErrorPayload.d.ts +10 -0
- package/dist/serialization/types/ScribeResourceExhaustedErrorPayload.js +42 -0
- package/dist/serialization/types/ScribeSessionTimeLimitExceededErrorPayload.d.ts +10 -0
- package/dist/serialization/types/ScribeSessionTimeLimitExceededErrorPayload.js +42 -0
- package/dist/serialization/types/ScribeThrottledErrorPayload.d.ts +10 -0
- package/dist/serialization/types/ScribeThrottledErrorPayload.js +42 -0
- package/dist/serialization/types/ScribeTranscriberErrorPayload.d.ts +10 -0
- package/dist/serialization/types/ScribeTranscriberErrorPayload.js +42 -0
- package/dist/serialization/types/ScribeUnacceptedTermsErrorPayload.d.ts +10 -0
- package/dist/serialization/types/ScribeUnacceptedTermsErrorPayload.js +42 -0
- package/dist/serialization/types/SeatType.d.ts +1 -1
- package/dist/serialization/types/SeatType.js +1 -1
- package/dist/serialization/types/SendText.d.ts +15 -0
- package/dist/serialization/types/SendText.js +47 -0
- package/dist/serialization/types/SendTextMulti.d.ts +11 -0
- package/dist/serialization/types/SendTextMulti.js +43 -0
- package/dist/serialization/types/SessionStartedPayload.d.ts +12 -0
- package/dist/serialization/types/SessionStartedPayload.js +44 -0
- package/dist/serialization/types/SessionStartedPayloadConfig.d.ts +22 -0
- package/dist/serialization/types/SessionStartedPayloadConfig.js +54 -0
- package/dist/serialization/types/SessionStartedPayloadConfigCommitStrategy.d.ts +7 -0
- package/dist/serialization/types/SessionStartedPayloadConfigCommitStrategy.js +39 -0
- package/dist/serialization/types/SongMetadata.d.ts +0 -2
- package/dist/serialization/types/SongMetadata.js +0 -2
- package/dist/serialization/types/SystemToolConfigInput.d.ts +2 -0
- package/dist/serialization/types/SystemToolConfigInput.js +2 -0
- package/dist/serialization/types/SystemToolConfigOutput.d.ts +2 -0
- package/dist/serialization/types/SystemToolConfigOutput.js +2 -0
- package/dist/serialization/types/TestFromConversationMetadataInput.d.ts +1 -0
- package/dist/serialization/types/TestFromConversationMetadataInput.js +1 -0
- package/dist/serialization/types/TestFromConversationMetadataOutput.d.ts +1 -0
- package/dist/serialization/types/TestFromConversationMetadataOutput.js +1 -0
- package/dist/serialization/types/TextToSpeechApplyTextNormalizationEnum.d.ts +7 -0
- package/dist/serialization/types/TextToSpeechApplyTextNormalizationEnum.js +39 -0
- package/dist/serialization/types/TextToSpeechOutputFormatEnum.d.ts +7 -0
- package/dist/serialization/types/TextToSpeechOutputFormatEnum.js +58 -0
- package/dist/serialization/types/ToolErrorHandlingMode.d.ts +7 -0
- package/dist/serialization/types/ToolErrorHandlingMode.js +39 -0
- package/dist/serialization/types/TranscriptionWord.d.ts +16 -0
- package/dist/serialization/types/TranscriptionWord.js +48 -0
- package/dist/serialization/types/TranscriptionWordType.d.ts +7 -0
- package/{serialization/types/DubbingReleaseChannel.js → dist/serialization/types/TranscriptionWordType.js} +2 -2
- package/dist/serialization/types/TransferBranchInfoDefaultingToMain.d.ts +9 -0
- package/{serialization/types/ImportWhatsAppAccountResponse.js → dist/serialization/types/TransferBranchInfoDefaultingToMain.js} +3 -3
- package/dist/serialization/types/TransferBranchInfoTrafficSplit.d.ts +10 -0
- package/dist/serialization/types/TransferBranchInfoTrafficSplit.js +42 -0
- package/dist/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +2 -0
- package/dist/serialization/types/TransferToAgentToolResultSuccessModel.js +2 -0
- package/dist/serialization/types/TransferToAgentToolResultSuccessModelBranchInfo.d.ts +15 -0
- package/dist/serialization/types/TransferToAgentToolResultSuccessModelBranchInfo.js +49 -0
- package/dist/serialization/types/TtsConversationalConfigInput.d.ts +2 -0
- package/dist/serialization/types/TtsConversationalConfigInput.js +2 -0
- package/dist/serialization/types/TtsConversationalConfigOutput.d.ts +2 -0
- package/dist/serialization/types/TtsConversationalConfigOutput.js +2 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +2 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +2 -0
- package/dist/serialization/types/TtsConversationalModel.d.ts +1 -1
- package/dist/serialization/types/TtsConversationalModel.js +1 -0
- package/dist/serialization/types/TtsModelFamily.d.ts +1 -1
- package/dist/serialization/types/TtsModelFamily.js +1 -1
- 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/TurnModel.d.ts +7 -0
- package/{serialization/types/BanReasonType.js → dist/serialization/types/TurnModel.js} +2 -2
- package/dist/serialization/types/UnitTestCommonModel.d.ts +1 -0
- package/dist/serialization/types/UnitTestCommonModel.js +1 -0
- package/dist/serialization/types/UnitTestToolCallEvaluationModelInput.d.ts +2 -0
- package/dist/serialization/types/UnitTestToolCallEvaluationModelInput.js +2 -0
- package/dist/serialization/types/UnitTestToolCallEvaluationModelOutput.d.ts +2 -0
- package/dist/serialization/types/UnitTestToolCallEvaluationModelOutput.js +2 -0
- package/dist/serialization/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.d.ts +11 -0
- package/dist/serialization/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.js +43 -0
- package/dist/serialization/types/User.d.ts +1 -0
- package/dist/serialization/types/User.js +1 -0
- package/dist/serialization/types/WebhookToolConfigInput.d.ts +2 -0
- package/dist/serialization/types/WebhookToolConfigInput.js +2 -0
- package/dist/serialization/types/WebhookToolConfigOutput.d.ts +2 -0
- package/dist/serialization/types/WebhookToolConfigOutput.js +2 -0
- package/dist/serialization/types/WebsocketTtsClientMessageMulti.d.ts +21 -0
- package/dist/serialization/types/WebsocketTtsClientMessageMulti.js +53 -0
- package/dist/serialization/types/WebsocketTtsServerMessageMulti.d.ts +15 -0
- package/dist/serialization/types/WebsocketTtsServerMessageMulti.js +47 -0
- package/dist/serialization/types/WhatsAppConversationInfo.d.ts +1 -0
- package/dist/serialization/types/WhatsAppConversationInfo.js +1 -0
- package/dist/serialization/types/WhatsAppOutboundMessageResponse.d.ts +9 -0
- package/dist/serialization/types/WhatsAppOutboundMessageResponse.js +41 -0
- package/dist/serialization/types/WhatsAppTemplateBodyComponentParams.d.ts +10 -0
- package/dist/serialization/types/WhatsAppTemplateBodyComponentParams.js +42 -0
- package/dist/serialization/types/WhatsAppTemplateButtonComponentParams.d.ts +12 -0
- package/dist/serialization/types/WhatsAppTemplateButtonComponentParams.js +44 -0
- package/dist/serialization/types/WhatsAppTemplateDocumentParam.d.ts +10 -0
- package/dist/serialization/types/WhatsAppTemplateDocumentParam.js +42 -0
- package/dist/serialization/types/WhatsAppTemplateDocumentParamDetails.d.ts +10 -0
- package/dist/serialization/types/WhatsAppTemplateDocumentParamDetails.js +42 -0
- package/dist/serialization/types/WhatsAppTemplateHeaderComponentParams.d.ts +10 -0
- package/dist/serialization/types/WhatsAppTemplateHeaderComponentParams.js +42 -0
- package/dist/serialization/types/WhatsAppTemplateHeaderComponentParamsParametersItem.d.ts +23 -0
- package/dist/serialization/types/WhatsAppTemplateHeaderComponentParamsParametersItem.js +53 -0
- package/dist/serialization/types/WhatsAppTemplateImageParam.d.ts +10 -0
- package/dist/serialization/types/WhatsAppTemplateImageParam.js +42 -0
- package/dist/serialization/types/WhatsAppTemplateImageParamDetails.d.ts +9 -0
- package/dist/serialization/types/WhatsAppTemplateImageParamDetails.js +41 -0
- package/dist/serialization/types/WhatsAppTemplateLocationParam.d.ts +10 -0
- package/dist/serialization/types/WhatsAppTemplateLocationParam.js +42 -0
- package/dist/serialization/types/WhatsAppTemplateLocationParamDetails.d.ts +12 -0
- package/dist/serialization/types/WhatsAppTemplateLocationParamDetails.js +44 -0
- package/dist/serialization/types/WhatsAppTemplateTextParam.d.ts +11 -0
- package/dist/serialization/types/WhatsAppTemplateTextParam.js +43 -0
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +2 -2
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +2 -2
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +2 -2
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +2 -2
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +1 -0
- package/dist/serialization/types/index.d.ts +74 -5
- package/dist/serialization/types/index.js +74 -5
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +178 -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 +2 -0
- package/serialization/resources/conversationalAi/resources/index.js +2 -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/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.d.ts +17 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.js +49 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.d.ts +19 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.js +51 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/types/index.js +17 -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/index.d.ts +6 -0
- package/serialization/resources/index.js +7 -1
- 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/resources/v1SpeechToTextRealtime/index.d.ts +1 -0
- package/serialization/resources/v1SpeechToTextRealtime/index.js +17 -0
- package/serialization/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.d.ts +24 -0
- package/serialization/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.js +74 -0
- package/serialization/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.d.ts +7 -0
- package/serialization/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.js +39 -0
- package/serialization/resources/v1SpeechToTextRealtime/types/index.d.ts +2 -0
- package/serialization/resources/v1SpeechToTextRealtime/types/index.js +18 -0
- package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.d.ts +1 -0
- package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.js +17 -0
- package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.d.ts +9 -0
- package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.js +41 -0
- package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.d.ts +14 -0
- package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.js +54 -0
- package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.d.ts +2 -0
- package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.js +18 -0
- package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/index.d.ts +1 -0
- package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/index.js +17 -0
- package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.d.ts +9 -0
- package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.js +41 -0
- package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.d.ts +10 -0
- package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.js +42 -0
- package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/index.d.ts +2 -0
- package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/index.js +18 -0
- package/serialization/types/AgentTransfer.d.ts +1 -0
- package/serialization/types/AgentTransfer.js +1 -0
- package/serialization/types/Alignment.d.ts +11 -0
- package/serialization/types/Alignment.js +43 -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/ApiIntegrationWebhookToolConfigInput.d.ts +2 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigInput.js +2 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +2 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +2 -0
- package/serialization/types/AudioFormatEnum.d.ts +7 -0
- package/serialization/types/AudioFormatEnum.js +47 -0
- package/serialization/types/AudioOutput.d.ts +13 -0
- package/serialization/types/AudioOutput.js +45 -0
- package/serialization/types/AudioOutputMulti.d.ts +14 -0
- package/serialization/types/AudioOutputMulti.js +46 -0
- package/serialization/types/AuthSettings.d.ts +1 -0
- package/serialization/types/AuthSettings.js +1 -0
- package/serialization/types/CanvasPlacement.d.ts +2 -2
- package/serialization/types/CanvasPlacement.js +2 -2
- package/serialization/types/ClientToolConfigInput.d.ts +2 -0
- package/serialization/types/ClientToolConfigInput.js +2 -0
- package/serialization/types/ClientToolConfigOutput.d.ts +2 -0
- package/serialization/types/ClientToolConfigOutput.js +2 -0
- package/serialization/types/CloseConnection.d.ts +9 -0
- package/serialization/types/CloseConnection.js +41 -0
- package/serialization/types/CloseContext.d.ts +10 -0
- package/serialization/types/CloseContext.js +42 -0
- package/serialization/types/CloseSocket.d.ts +9 -0
- package/serialization/types/CloseSocket.js +41 -0
- package/serialization/types/CommittedTranscriptPayload.d.ts +10 -0
- package/serialization/types/CommittedTranscriptPayload.js +42 -0
- package/serialization/types/CommittedTranscriptWithTimestampsPayload.d.ts +13 -0
- package/serialization/types/CommittedTranscriptWithTimestampsPayload.js +45 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
- package/serialization/types/{ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts → ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts} +5 -4
- package/serialization/types/{ConversationHistoryTranscriptSystemToolResultCommonModel.js → ConversationHistoryTranscriptSystemToolResultCommonModelInput.js} +5 -4
- package/{dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts → serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts} +3 -3
- package/serialization/types/{ConversationHistoryTranscriptSystemToolResultCommonModelResult.js → ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js} +2 -2
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +21 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.js +53 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +55 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +69 -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/ConversationInitiationSource.d.ts +1 -1
- package/serialization/types/ConversationInitiationSource.js +1 -0
- package/serialization/types/ConversationTurnMetrics.d.ts +2 -0
- package/serialization/types/ConversationTurnMetrics.js +2 -0
- package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/serialization/types/DirectPublishingReadResponseModel.js +1 -0
- package/serialization/types/DynamicVariableAssignment.d.ts +1 -0
- package/serialization/types/DynamicVariableAssignment.js +1 -0
- package/serialization/types/FinalOutput.d.ts +9 -0
- package/serialization/types/FinalOutput.js +41 -0
- package/serialization/types/FinalOutputMulti.d.ts +10 -0
- package/serialization/types/FinalOutputMulti.js +42 -0
- package/serialization/types/FlushContext.d.ts +11 -0
- package/serialization/types/FlushContext.js +43 -0
- package/serialization/types/GenerationConfig.d.ts +9 -0
- package/serialization/types/GenerationConfig.js +41 -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/InitialiseContext.d.ts +18 -0
- package/serialization/types/InitialiseContext.js +50 -0
- package/serialization/types/InitializeConnection.d.ts +17 -0
- package/serialization/types/InitializeConnection.js +49 -0
- package/serialization/types/InitializeConnectionMulti.d.ts +18 -0
- package/serialization/types/InitializeConnectionMulti.js +50 -0
- package/serialization/types/InputAudioChunkPayload.d.ts +13 -0
- package/serialization/types/InputAudioChunkPayload.js +45 -0
- package/serialization/types/KeepContextAlive.d.ts +10 -0
- package/serialization/types/KeepContextAlive.js +42 -0
- package/serialization/types/NonStreamingOutputFormats.d.ts +7 -0
- package/serialization/types/NonStreamingOutputFormats.js +47 -0
- package/serialization/types/NormalizedAlignment.d.ts +11 -0
- package/serialization/types/NormalizedAlignment.js +43 -0
- package/serialization/types/PartialTranscriptPayload.d.ts +10 -0
- package/serialization/types/PartialTranscriptPayload.js +42 -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/types/ProcedureVersionRef.js +42 -0
- package/serialization/types/ProjectExternalAudioResponseModel.d.ts +1 -0
- package/serialization/types/ProjectExternalAudioResponseModel.js +1 -0
- package/serialization/types/ProjectMutedTracksResponseModel.d.ts +9 -0
- package/serialization/types/ProjectMutedTracksResponseModel.js +41 -0
- package/serialization/types/ProjectVideoResponseModel.d.ts +1 -0
- package/serialization/types/ProjectVideoResponseModel.js +1 -0
- package/serialization/types/PronunciationDictionaryLocator.d.ts +10 -0
- package/serialization/types/PronunciationDictionaryLocator.js +42 -0
- package/serialization/types/RealtimeVoiceSettings.d.ts +13 -0
- package/serialization/types/RealtimeVoiceSettings.js +45 -0
- package/serialization/types/ResponseFilterMode.d.ts +7 -0
- package/serialization/types/ResponseFilterMode.js +39 -0
- package/serialization/types/ScribeAuthErrorPayload.d.ts +10 -0
- package/serialization/types/ScribeAuthErrorPayload.js +42 -0
- package/serialization/types/ScribeChunkSizeExceededErrorPayload.d.ts +10 -0
- package/serialization/types/ScribeChunkSizeExceededErrorPayload.js +42 -0
- package/serialization/types/ScribeErrorPayload.d.ts +10 -0
- package/serialization/types/ScribeErrorPayload.js +42 -0
- package/serialization/types/ScribeInputErrorPayload.d.ts +10 -0
- package/serialization/types/ScribeInputErrorPayload.js +42 -0
- package/serialization/types/ScribeInsufficientAudioActivityErrorPayload.d.ts +10 -0
- package/serialization/types/ScribeInsufficientAudioActivityErrorPayload.js +42 -0
- package/serialization/types/ScribeQueueOverflowErrorPayload.d.ts +10 -0
- package/serialization/types/ScribeQueueOverflowErrorPayload.js +42 -0
- package/serialization/types/ScribeQuotaExceededErrorPayload.d.ts +10 -0
- package/serialization/types/ScribeQuotaExceededErrorPayload.js +42 -0
- package/serialization/types/ScribeRateLimitedErrorPayload.d.ts +10 -0
- package/serialization/types/ScribeRateLimitedErrorPayload.js +42 -0
- package/serialization/types/ScribeResourceExhaustedErrorPayload.d.ts +10 -0
- package/serialization/types/ScribeResourceExhaustedErrorPayload.js +42 -0
- package/serialization/types/ScribeSessionTimeLimitExceededErrorPayload.d.ts +10 -0
- package/serialization/types/ScribeSessionTimeLimitExceededErrorPayload.js +42 -0
- package/serialization/types/ScribeThrottledErrorPayload.d.ts +10 -0
- package/serialization/types/ScribeThrottledErrorPayload.js +42 -0
- package/serialization/types/ScribeTranscriberErrorPayload.d.ts +10 -0
- package/serialization/types/ScribeTranscriberErrorPayload.js +42 -0
- package/serialization/types/ScribeUnacceptedTermsErrorPayload.d.ts +10 -0
- package/serialization/types/ScribeUnacceptedTermsErrorPayload.js +42 -0
- package/serialization/types/SeatType.d.ts +1 -1
- package/serialization/types/SeatType.js +1 -1
- package/serialization/types/SendText.d.ts +15 -0
- package/serialization/types/SendText.js +47 -0
- package/serialization/types/SendTextMulti.d.ts +11 -0
- package/serialization/types/SendTextMulti.js +43 -0
- package/serialization/types/SessionStartedPayload.d.ts +12 -0
- package/serialization/types/SessionStartedPayload.js +44 -0
- package/serialization/types/SessionStartedPayloadConfig.d.ts +22 -0
- package/serialization/types/SessionStartedPayloadConfig.js +54 -0
- package/serialization/types/SessionStartedPayloadConfigCommitStrategy.d.ts +7 -0
- package/serialization/types/SessionStartedPayloadConfigCommitStrategy.js +39 -0
- package/serialization/types/SongMetadata.d.ts +0 -2
- package/serialization/types/SongMetadata.js +0 -2
- package/serialization/types/SystemToolConfigInput.d.ts +2 -0
- package/serialization/types/SystemToolConfigInput.js +2 -0
- package/serialization/types/SystemToolConfigOutput.d.ts +2 -0
- package/serialization/types/SystemToolConfigOutput.js +2 -0
- package/serialization/types/TestFromConversationMetadataInput.d.ts +1 -0
- package/serialization/types/TestFromConversationMetadataInput.js +1 -0
- package/serialization/types/TestFromConversationMetadataOutput.d.ts +1 -0
- package/serialization/types/TestFromConversationMetadataOutput.js +1 -0
- package/serialization/types/TextToSpeechApplyTextNormalizationEnum.d.ts +7 -0
- package/serialization/types/TextToSpeechApplyTextNormalizationEnum.js +39 -0
- package/serialization/types/TextToSpeechOutputFormatEnum.d.ts +7 -0
- package/serialization/types/TextToSpeechOutputFormatEnum.js +58 -0
- package/serialization/types/ToolErrorHandlingMode.d.ts +7 -0
- package/serialization/types/ToolErrorHandlingMode.js +39 -0
- package/serialization/types/TranscriptionWord.d.ts +16 -0
- package/serialization/types/TranscriptionWord.js +48 -0
- package/serialization/types/TranscriptionWordType.d.ts +7 -0
- package/serialization/types/TranscriptionWordType.js +39 -0
- package/serialization/types/TransferBranchInfoDefaultingToMain.d.ts +9 -0
- package/{dist/serialization/types/ImportWhatsAppAccountResponse.js → serialization/types/TransferBranchInfoDefaultingToMain.js} +3 -3
- package/serialization/types/TransferBranchInfoTrafficSplit.d.ts +10 -0
- package/serialization/types/TransferBranchInfoTrafficSplit.js +42 -0
- package/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +2 -0
- package/serialization/types/TransferToAgentToolResultSuccessModel.js +2 -0
- package/serialization/types/TransferToAgentToolResultSuccessModelBranchInfo.d.ts +15 -0
- package/serialization/types/TransferToAgentToolResultSuccessModelBranchInfo.js +49 -0
- package/serialization/types/TtsConversationalConfigInput.d.ts +2 -0
- package/serialization/types/TtsConversationalConfigInput.js +2 -0
- package/serialization/types/TtsConversationalConfigOutput.d.ts +2 -0
- package/serialization/types/TtsConversationalConfigOutput.js +2 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +2 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +2 -0
- package/serialization/types/TtsConversationalModel.d.ts +1 -1
- package/serialization/types/TtsConversationalModel.js +1 -0
- package/serialization/types/TtsModelFamily.d.ts +1 -1
- package/serialization/types/TtsModelFamily.js +1 -1
- 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/TurnModel.d.ts +7 -0
- package/{dist/serialization/types/BanReasonType.js → serialization/types/TurnModel.js} +2 -2
- package/serialization/types/UnitTestCommonModel.d.ts +1 -0
- package/serialization/types/UnitTestCommonModel.js +1 -0
- package/serialization/types/UnitTestToolCallEvaluationModelInput.d.ts +2 -0
- package/serialization/types/UnitTestToolCallEvaluationModelInput.js +2 -0
- package/serialization/types/UnitTestToolCallEvaluationModelOutput.d.ts +2 -0
- package/serialization/types/UnitTestToolCallEvaluationModelOutput.js +2 -0
- package/serialization/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.d.ts +11 -0
- package/serialization/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.js +43 -0
- package/serialization/types/User.d.ts +1 -0
- package/serialization/types/User.js +1 -0
- package/serialization/types/WebhookToolConfigInput.d.ts +2 -0
- package/serialization/types/WebhookToolConfigInput.js +2 -0
- package/serialization/types/WebhookToolConfigOutput.d.ts +2 -0
- package/serialization/types/WebhookToolConfigOutput.js +2 -0
- package/serialization/types/WebsocketTtsClientMessageMulti.d.ts +21 -0
- package/serialization/types/WebsocketTtsClientMessageMulti.js +53 -0
- package/serialization/types/WebsocketTtsServerMessageMulti.d.ts +15 -0
- package/serialization/types/WebsocketTtsServerMessageMulti.js +47 -0
- package/serialization/types/WhatsAppConversationInfo.d.ts +1 -0
- package/serialization/types/WhatsAppConversationInfo.js +1 -0
- package/serialization/types/WhatsAppOutboundMessageResponse.d.ts +9 -0
- package/serialization/types/WhatsAppOutboundMessageResponse.js +41 -0
- package/serialization/types/WhatsAppTemplateBodyComponentParams.d.ts +10 -0
- package/serialization/types/WhatsAppTemplateBodyComponentParams.js +42 -0
- package/serialization/types/WhatsAppTemplateButtonComponentParams.d.ts +12 -0
- package/serialization/types/WhatsAppTemplateButtonComponentParams.js +44 -0
- package/serialization/types/WhatsAppTemplateDocumentParam.d.ts +10 -0
- package/serialization/types/WhatsAppTemplateDocumentParam.js +42 -0
- package/serialization/types/WhatsAppTemplateDocumentParamDetails.d.ts +10 -0
- package/serialization/types/WhatsAppTemplateDocumentParamDetails.js +42 -0
- package/serialization/types/WhatsAppTemplateHeaderComponentParams.d.ts +10 -0
- package/serialization/types/WhatsAppTemplateHeaderComponentParams.js +42 -0
- package/serialization/types/WhatsAppTemplateHeaderComponentParamsParametersItem.d.ts +23 -0
- package/serialization/types/WhatsAppTemplateHeaderComponentParamsParametersItem.js +53 -0
- package/serialization/types/WhatsAppTemplateImageParam.d.ts +10 -0
- package/serialization/types/WhatsAppTemplateImageParam.js +42 -0
- package/serialization/types/WhatsAppTemplateImageParamDetails.d.ts +9 -0
- package/serialization/types/WhatsAppTemplateImageParamDetails.js +41 -0
- package/serialization/types/WhatsAppTemplateLocationParam.d.ts +10 -0
- package/serialization/types/WhatsAppTemplateLocationParam.js +42 -0
- package/serialization/types/WhatsAppTemplateLocationParamDetails.d.ts +12 -0
- package/serialization/types/WhatsAppTemplateLocationParamDetails.js +44 -0
- package/serialization/types/WhatsAppTemplateTextParam.d.ts +11 -0
- package/serialization/types/WhatsAppTemplateTextParam.js +43 -0
- package/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +2 -2
- package/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +2 -2
- package/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +2 -2
- package/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +2 -2
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +1 -0
- package/serialization/types/index.d.ts +74 -5
- package/serialization/types/index.js +74 -5
- 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/BanReasonType.d.ts +0 -5
- package/api/types/DubbingReleaseChannel.d.ts +0 -6
- package/api/types/DubbingReleaseChannel.js +0 -9
- 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/BanReasonType.d.ts +0 -5
- package/dist/api/types/DubbingReleaseChannel.d.ts +0 -6
- package/dist/api/types/DubbingReleaseChannel.js +0 -9
- 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/BanReasonType.d.ts +0 -7
- package/dist/serialization/types/DubbingReleaseChannel.d.ts +0 -7
- 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/BanReasonType.d.ts +0 -7
- package/serialization/types/DubbingReleaseChannel.d.ts +0 -7
- 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/ConversationHistoryTranscriptSystemToolResultCommonModel.js → resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.js} +0 -0
- /package/api/{types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js → resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.js} +0 -0
- /package/api/{types/ImportWhatsAppAccountResponse.js → resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.js} +0 -0
- /package/{dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → api/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.js} +0 -0
- /package/{dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js → api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.js} +0 -0
- /package/{dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js → api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.js} +0 -0
- /package/{dist/api/types/ImportWhatsAppAccountResponse.js → api/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.js} +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Payload for session time limit exceeded errors.
|
|
3
|
+
*/
|
|
4
|
+
export interface ScribeSessionTimeLimitExceededErrorPayload {
|
|
5
|
+
/** The message type identifier. */
|
|
6
|
+
messageType: "session_time_limit_exceeded";
|
|
7
|
+
/** Session time limit exceeded error details. */
|
|
8
|
+
error: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
export interface SendText {
|
|
3
|
+
/** The text to be sent to the API for audio generation. Should always end with a single space string. */
|
|
4
|
+
text: string;
|
|
5
|
+
/**
|
|
6
|
+
* This is an advanced setting that most users shouldn't need to use. It relates to our generation schedule.
|
|
7
|
+
*
|
|
8
|
+
* Use this to attempt to immediately trigger the generation of audio, overriding the `chunk_length_schedule`.
|
|
9
|
+
* Unlike flush, `try_trigger_generation` will only generate audio if our
|
|
10
|
+
* buffer contains more than a minimum
|
|
11
|
+
* threshold of characters, this is to ensure a higher quality response from our model.
|
|
12
|
+
*
|
|
13
|
+
* Note that overriding the chunk schedule to generate small amounts of
|
|
14
|
+
* text may result in lower quality audio, therefore, only use this parameter if you
|
|
15
|
+
* really need text to be processed immediately. We generally recommend keeping the default value of
|
|
16
|
+
* `false` and adjusting the `chunk_length_schedule` in the `generation_config` instead.
|
|
17
|
+
*/
|
|
18
|
+
tryTriggerGeneration?: boolean;
|
|
19
|
+
/** The voice settings field can be provided in the first `InitializeConnection` message and then must either be not provided or not changed. */
|
|
20
|
+
voiceSettings?: ElevenLabs.RealtimeVoiceSettings;
|
|
21
|
+
/** The generator config field can be provided in the first `InitializeConnection` message and then must either be not provided or not changed. */
|
|
22
|
+
generatorConfig?: ElevenLabs.GenerationConfig;
|
|
23
|
+
/**
|
|
24
|
+
* Flush forces the generation of audio. Set this value to true when you have finished sending text, but want to keep the websocket connection open.
|
|
25
|
+
*
|
|
26
|
+
* This is useful when you want to ensure that the last chunk of audio is generated even when the length of text sent is smaller than the value set in chunk_length_schedule (e.g. 120 or 50).
|
|
27
|
+
*/
|
|
28
|
+
flush?: boolean;
|
|
29
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Payload to send text for synthesis to an existing context.
|
|
3
|
+
*/
|
|
4
|
+
export interface SendTextMulti {
|
|
5
|
+
/** Text to synthesize. Should end with a single space. */
|
|
6
|
+
text: string;
|
|
7
|
+
/** The target context_id for this text. */
|
|
8
|
+
contextId?: string;
|
|
9
|
+
/** If true, flushes the audio buffer for the specified context. If false, the text will be appended to the buffer to be generated. */
|
|
10
|
+
flush?: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* Payload sent when the transcription session is successfully started.
|
|
4
|
+
*/
|
|
5
|
+
export interface SessionStartedPayload {
|
|
6
|
+
/** The message type identifier. */
|
|
7
|
+
messageType: "session_started";
|
|
8
|
+
/** Unique identifier for the session. */
|
|
9
|
+
sessionId: string;
|
|
10
|
+
/** Configuration for the transcription session. */
|
|
11
|
+
config: ElevenLabs.SessionStartedPayloadConfig;
|
|
12
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* Configuration for the transcription session.
|
|
4
|
+
*/
|
|
5
|
+
export interface SessionStartedPayloadConfig {
|
|
6
|
+
/** Sample rate of the audio in Hz. */
|
|
7
|
+
sampleRate?: number;
|
|
8
|
+
audioFormat?: ElevenLabs.AudioFormatEnum;
|
|
9
|
+
/** Language code in ISO 639-1 or ISO 639-3 format. */
|
|
10
|
+
languageCode?: string;
|
|
11
|
+
/** Strategy for committing transcriptions. */
|
|
12
|
+
commitStrategy?: ElevenLabs.SessionStartedPayloadConfigCommitStrategy;
|
|
13
|
+
/** Silence threshold in seconds. */
|
|
14
|
+
vadSilenceThresholdSecs?: number;
|
|
15
|
+
/** Threshold for voice activity detection. */
|
|
16
|
+
vadThreshold?: number;
|
|
17
|
+
/** Minimum speech duration in milliseconds. */
|
|
18
|
+
minSpeechDurationMs?: number;
|
|
19
|
+
/** Minimum silence duration in milliseconds. */
|
|
20
|
+
minSilenceDurationMs?: number;
|
|
21
|
+
/** ID of the model to use for transcription. */
|
|
22
|
+
modelId?: string;
|
|
23
|
+
/** When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request. Zero retention mode may only be used by enterprise customers. */
|
|
24
|
+
enableLogging?: boolean;
|
|
25
|
+
/** Whether the session will include word-level timestamps in the committed transcript. */
|
|
26
|
+
includeTimestamps?: boolean;
|
|
27
|
+
/** Whether the session will include language detection in the committed transcript. */
|
|
28
|
+
includeLanguageDetection?: boolean;
|
|
29
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Strategy for committing transcriptions. */
|
|
2
|
+
export declare const SessionStartedPayloadConfigCommitStrategy: {
|
|
3
|
+
readonly Manual: "manual";
|
|
4
|
+
readonly Vad: "vad";
|
|
5
|
+
};
|
|
6
|
+
export type SessionStartedPayloadConfigCommitStrategy = (typeof SessionStartedPayloadConfigCommitStrategy)[keyof typeof SessionStartedPayloadConfigCommitStrategy];
|
|
@@ -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.SessionStartedPayloadConfigCommitStrategy = void 0;
|
|
5
|
+
/** Strategy for committing transcriptions. */
|
|
6
|
+
exports.SessionStartedPayloadConfigCommitStrategy = {
|
|
7
|
+
Manual: "manual",
|
|
8
|
+
Vad: "vad",
|
|
9
|
+
};
|
|
@@ -20,5 +20,7 @@ export interface SystemToolConfigInput {
|
|
|
20
20
|
toolCallSound?: ElevenLabs.ToolCallSoundType;
|
|
21
21
|
/** Determines when the tool call sound should play. 'auto' only plays when there's pre-tool speech, 'always' plays for every tool call. */
|
|
22
22
|
toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
|
|
23
|
+
/** Controls how tool errors are processed before being shared with the agent. 'auto' determines handling based on tool type (summarized for native integrations, hide for others), 'summarized' sends an LLM-generated summary, 'passthrough' sends the raw error, 'hide' does not share the error with the agent. */
|
|
24
|
+
toolErrorHandlingMode?: ElevenLabs.ToolErrorHandlingMode;
|
|
23
25
|
params: ElevenLabs.SystemToolConfigInputParams;
|
|
24
26
|
}
|
|
@@ -20,5 +20,7 @@ export interface SystemToolConfigOutput {
|
|
|
20
20
|
toolCallSound?: ElevenLabs.ToolCallSoundType;
|
|
21
21
|
/** Determines when the tool call sound should play. 'auto' only plays when there's pre-tool speech, 'always' plays for every tool call. */
|
|
22
22
|
toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
|
|
23
|
+
/** Controls how tool errors are processed before being shared with the agent. 'auto' determines handling based on tool type (summarized for native integrations, hide for others), 'summarized' sends an LLM-generated summary, 'passthrough' sends the raw error, 'hide' does not share the error with the agent. */
|
|
24
|
+
toolErrorHandlingMode?: ElevenLabs.ToolErrorHandlingMode;
|
|
23
25
|
params: ElevenLabs.SystemToolConfigOutputParams;
|
|
24
26
|
}
|
|
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../index";
|
|
|
2
2
|
export interface TestFromConversationMetadataInput {
|
|
3
3
|
conversationId: string;
|
|
4
4
|
agentId: string;
|
|
5
|
+
branchId?: string;
|
|
5
6
|
workflowNodeId?: string;
|
|
6
7
|
originalAgentReply?: ElevenLabs.ConversationHistoryTranscriptCommonModelInput[];
|
|
7
8
|
}
|
|
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../index";
|
|
|
2
2
|
export interface TestFromConversationMetadataOutput {
|
|
3
3
|
conversationId: string;
|
|
4
4
|
agentId: string;
|
|
5
|
+
branchId?: string;
|
|
5
6
|
workflowNodeId?: string;
|
|
6
7
|
originalAgentReply?: ElevenLabs.ConversationHistoryTranscriptCommonModelOutput[];
|
|
7
8
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** This parameter controls text normalization with three modes - 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans. Defaults to 'auto'. */
|
|
2
|
+
export declare const TextToSpeechApplyTextNormalizationEnum: {
|
|
3
|
+
readonly Auto: "auto";
|
|
4
|
+
readonly On: "on";
|
|
5
|
+
readonly Off: "off";
|
|
6
|
+
};
|
|
7
|
+
export type TextToSpeechApplyTextNormalizationEnum = (typeof TextToSpeechApplyTextNormalizationEnum)[keyof typeof TextToSpeechApplyTextNormalizationEnum];
|
|
@@ -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.TextToSpeechApplyTextNormalizationEnum = void 0;
|
|
5
|
+
/** This parameter controls text normalization with three modes - 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans. Defaults to 'auto'. */
|
|
6
|
+
exports.TextToSpeechApplyTextNormalizationEnum = {
|
|
7
|
+
Auto: "auto",
|
|
8
|
+
On: "on",
|
|
9
|
+
Off: "off",
|
|
10
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/** The output audio format */
|
|
2
|
+
export declare const TextToSpeechOutputFormatEnum: {
|
|
3
|
+
readonly Mp32205032: "mp3_22050_32";
|
|
4
|
+
readonly Mp34410032: "mp3_44100_32";
|
|
5
|
+
readonly Mp34410064: "mp3_44100_64";
|
|
6
|
+
readonly Mp34410096: "mp3_44100_96";
|
|
7
|
+
readonly Mp344100128: "mp3_44100_128";
|
|
8
|
+
readonly Mp344100192: "mp3_44100_192";
|
|
9
|
+
readonly Pcm8000: "pcm_8000";
|
|
10
|
+
readonly Pcm16000: "pcm_16000";
|
|
11
|
+
readonly Pcm22050: "pcm_22050";
|
|
12
|
+
readonly Pcm24000: "pcm_24000";
|
|
13
|
+
readonly Pcm44100: "pcm_44100";
|
|
14
|
+
readonly Ulaw8000: "ulaw_8000";
|
|
15
|
+
readonly Alaw8000: "alaw_8000";
|
|
16
|
+
readonly Opus4800032: "opus_48000_32";
|
|
17
|
+
readonly Opus4800064: "opus_48000_64";
|
|
18
|
+
readonly Opus4800096: "opus_48000_96";
|
|
19
|
+
readonly Opus48000128: "opus_48000_128";
|
|
20
|
+
readonly Opus48000192: "opus_48000_192";
|
|
21
|
+
};
|
|
22
|
+
export type TextToSpeechOutputFormatEnum = (typeof TextToSpeechOutputFormatEnum)[keyof typeof TextToSpeechOutputFormatEnum];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.TextToSpeechOutputFormatEnum = void 0;
|
|
5
|
+
/** The output audio format */
|
|
6
|
+
exports.TextToSpeechOutputFormatEnum = {
|
|
7
|
+
Mp32205032: "mp3_22050_32",
|
|
8
|
+
Mp34410032: "mp3_44100_32",
|
|
9
|
+
Mp34410064: "mp3_44100_64",
|
|
10
|
+
Mp34410096: "mp3_44100_96",
|
|
11
|
+
Mp344100128: "mp3_44100_128",
|
|
12
|
+
Mp344100192: "mp3_44100_192",
|
|
13
|
+
Pcm8000: "pcm_8000",
|
|
14
|
+
Pcm16000: "pcm_16000",
|
|
15
|
+
Pcm22050: "pcm_22050",
|
|
16
|
+
Pcm24000: "pcm_24000",
|
|
17
|
+
Pcm44100: "pcm_44100",
|
|
18
|
+
Ulaw8000: "ulaw_8000",
|
|
19
|
+
Alaw8000: "alaw_8000",
|
|
20
|
+
Opus4800032: "opus_48000_32",
|
|
21
|
+
Opus4800064: "opus_48000_64",
|
|
22
|
+
Opus4800096: "opus_48000_96",
|
|
23
|
+
Opus48000128: "opus_48000_128",
|
|
24
|
+
Opus48000192: "opus_48000_192",
|
|
25
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Controls how tool errors are processed before being shared with the agent. */
|
|
2
|
+
export declare const ToolErrorHandlingMode: {
|
|
3
|
+
readonly Auto: "auto";
|
|
4
|
+
readonly Summarized: "summarized";
|
|
5
|
+
readonly Passthrough: "passthrough";
|
|
6
|
+
readonly Hide: "hide";
|
|
7
|
+
};
|
|
8
|
+
export type ToolErrorHandlingMode = (typeof ToolErrorHandlingMode)[keyof typeof ToolErrorHandlingMode];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ToolErrorHandlingMode = void 0;
|
|
5
|
+
/** Controls how tool errors are processed before being shared with the agent. */
|
|
6
|
+
exports.ToolErrorHandlingMode = {
|
|
7
|
+
Auto: "auto",
|
|
8
|
+
Summarized: "summarized",
|
|
9
|
+
Passthrough: "passthrough",
|
|
10
|
+
Hide: "hide",
|
|
11
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* Word-level transcription data with timing information.
|
|
4
|
+
*/
|
|
5
|
+
export interface TranscriptionWord {
|
|
6
|
+
/** The transcribed word. */
|
|
7
|
+
text?: string;
|
|
8
|
+
/** Start time in seconds. */
|
|
9
|
+
start?: number;
|
|
10
|
+
/** End time in seconds. */
|
|
11
|
+
end?: number;
|
|
12
|
+
/** The type of word. */
|
|
13
|
+
type?: ElevenLabs.TranscriptionWordType;
|
|
14
|
+
/** The ID of the speaker if available. */
|
|
15
|
+
speakerId?: string;
|
|
16
|
+
/** Confidence score for this word. */
|
|
17
|
+
logprob?: number;
|
|
18
|
+
/** The characters in the word. */
|
|
19
|
+
characters?: string[];
|
|
20
|
+
}
|
|
@@ -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.TranscriptionWordType = void 0;
|
|
5
|
+
/** The type of word. */
|
|
6
|
+
exports.TranscriptionWordType = {
|
|
7
|
+
Word: "word",
|
|
8
|
+
Spacing: "spacing",
|
|
9
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
1
2
|
export interface TransferToAgentToolResultSuccessModel {
|
|
2
3
|
status?: "success";
|
|
3
4
|
fromAgent: string;
|
|
@@ -6,4 +7,5 @@ export interface TransferToAgentToolResultSuccessModel {
|
|
|
6
7
|
delayMs?: number;
|
|
7
8
|
transferMessage?: string;
|
|
8
9
|
enableTransferredAgentFirstMessage?: boolean;
|
|
10
|
+
branchInfo?: ElevenLabs.TransferToAgentToolResultSuccessModelBranchInfo;
|
|
9
11
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
export type TransferToAgentToolResultSuccessModelBranchInfo = ElevenLabs.TransferToAgentToolResultSuccessModelBranchInfo.DefaultingToMain | ElevenLabs.TransferToAgentToolResultSuccessModelBranchInfo.TrafficSplit;
|
|
3
|
+
export declare namespace TransferToAgentToolResultSuccessModelBranchInfo {
|
|
4
|
+
interface DefaultingToMain extends ElevenLabs.TransferBranchInfoDefaultingToMain {
|
|
5
|
+
branchReason: "defaulting_to_main";
|
|
6
|
+
}
|
|
7
|
+
interface TrafficSplit extends ElevenLabs.TransferBranchInfoTrafficSplit {
|
|
8
|
+
branchReason: "traffic_split";
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -6,6 +6,8 @@ export interface TtsConversationalConfigInput {
|
|
|
6
6
|
voiceId?: string;
|
|
7
7
|
/** Additional supported voices for the agent */
|
|
8
8
|
supportedVoices?: ElevenLabs.SupportedVoice[];
|
|
9
|
+
/** Suggested audio tags to boost expressive speech (for eleven_v3 and eleven_v3_conversational models). The agent can still use other tags not listed here. */
|
|
10
|
+
suggestedAudioTags?: ElevenLabs.SuggestedAudioTag[];
|
|
9
11
|
/** The audio format to use for TTS */
|
|
10
12
|
agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
|
|
11
13
|
/** The optimization for streaming latency */
|
|
@@ -6,6 +6,8 @@ export interface TtsConversationalConfigOutput {
|
|
|
6
6
|
voiceId?: string;
|
|
7
7
|
/** Additional supported voices for the agent */
|
|
8
8
|
supportedVoices?: ElevenLabs.SupportedVoice[];
|
|
9
|
+
/** Suggested audio tags to boost expressive speech (for eleven_v3 and eleven_v3_conversational models). The agent can still use other tags not listed here. */
|
|
10
|
+
suggestedAudioTags?: ElevenLabs.SuggestedAudioTag[];
|
|
9
11
|
/** The audio format to use for TTS */
|
|
10
12
|
agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
|
|
11
13
|
/** The optimization for streaming latency */
|
|
@@ -6,6 +6,8 @@ export interface TtsConversationalConfigWorkflowOverrideInput {
|
|
|
6
6
|
voiceId?: string;
|
|
7
7
|
/** Additional supported voices for the agent */
|
|
8
8
|
supportedVoices?: ElevenLabs.SupportedVoice[];
|
|
9
|
+
/** Suggested audio tags to boost expressive speech (for eleven_v3 and eleven_v3_conversational models). The agent can still use other tags not listed here. */
|
|
10
|
+
suggestedAudioTags?: ElevenLabs.SuggestedAudioTag[];
|
|
9
11
|
/** The audio format to use for TTS */
|
|
10
12
|
agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
|
|
11
13
|
/** The optimization for streaming latency */
|
|
@@ -6,6 +6,8 @@ export interface TtsConversationalConfigWorkflowOverrideOutput {
|
|
|
6
6
|
voiceId?: string;
|
|
7
7
|
/** Additional supported voices for the agent */
|
|
8
8
|
supportedVoices?: ElevenLabs.SupportedVoice[];
|
|
9
|
+
/** Suggested audio tags to boost expressive speech (for eleven_v3 and eleven_v3_conversational models). The agent can still use other tags not listed here. */
|
|
10
|
+
suggestedAudioTags?: ElevenLabs.SuggestedAudioTag[];
|
|
9
11
|
/** The audio format to use for TTS */
|
|
10
12
|
agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
|
|
11
13
|
/** The optimization for streaming latency */
|
|
@@ -4,5 +4,6 @@ export declare const TtsConversationalModel: {
|
|
|
4
4
|
readonly ElevenFlashV2: "eleven_flash_v2";
|
|
5
5
|
readonly ElevenFlashV25: "eleven_flash_v2_5";
|
|
6
6
|
readonly ElevenMultilingualV2: "eleven_multilingual_v2";
|
|
7
|
+
readonly ElevenV3Conversational: "eleven_v3_conversational";
|
|
7
8
|
};
|
|
8
9
|
export type TtsConversationalModel = (typeof TtsConversationalModel)[keyof typeof TtsConversationalModel];
|
|
@@ -2,5 +2,6 @@ export declare const TtsModelFamily: {
|
|
|
2
2
|
readonly Turbo: "turbo";
|
|
3
3
|
readonly Flash: "flash";
|
|
4
4
|
readonly Multilingual: "multilingual";
|
|
5
|
+
readonly V3Conversational: "v3_conversational";
|
|
5
6
|
};
|
|
6
7
|
export type TtsModelFamily = (typeof TtsModelFamily)[keyof typeof TtsModelFamily];
|
|
@@ -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
|
}
|
|
@@ -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.TurnModel = void 0;
|
|
5
|
+
/** Version of the turn detection model to use. */
|
|
6
|
+
exports.TurnModel = {
|
|
7
|
+
TurnV2: "turn_v2",
|
|
8
|
+
TurnV3: "turn_v3",
|
|
9
|
+
};
|
|
@@ -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;
|
|
@@ -6,4 +6,6 @@ export interface UnitTestToolCallEvaluationModelInput {
|
|
|
6
6
|
referencedTool?: ElevenLabs.ReferencedToolCommonModel;
|
|
7
7
|
/** Whether to verify that the tool was NOT called. */
|
|
8
8
|
verifyAbsence?: boolean;
|
|
9
|
+
/** Configuration for testing workflow node transitions. When set, the test will verify the agent transitions to the specified workflow node. */
|
|
10
|
+
workflowNodeTransition?: ElevenLabs.UnitTestWorkflowNodeTransitionEvaluationNodeId;
|
|
9
11
|
}
|
|
@@ -6,4 +6,6 @@ export interface UnitTestToolCallEvaluationModelOutput {
|
|
|
6
6
|
referencedTool?: ElevenLabs.ReferencedToolCommonModel;
|
|
7
7
|
/** Whether to verify that the tool was NOT called. */
|
|
8
8
|
verifyAbsence?: boolean;
|
|
9
|
+
/** Configuration for testing workflow node transitions. When set, the test will verify the agent transitions to the specified workflow node. */
|
|
10
|
+
workflowNodeTransition?: ElevenLabs.UnitTestWorkflowNodeTransitionEvaluationNodeId;
|
|
9
11
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface UnitTestWorkflowNodeTransitionEvaluationNodeId {
|
|
2
|
+
type?: "node_id";
|
|
3
|
+
/** The ID of the agent whose workflow contains the target node. */
|
|
4
|
+
agentId: string;
|
|
5
|
+
/** The ID of the workflow node that the agent should transition to. */
|
|
6
|
+
targetNodeId: string;
|
|
7
|
+
}
|
package/dist/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. */
|
|
@@ -18,6 +18,8 @@ export interface WebhookToolConfigInput {
|
|
|
18
18
|
toolCallSound?: ElevenLabs.ToolCallSoundType;
|
|
19
19
|
/** Determines when the tool call sound should play. 'auto' only plays when there's pre-tool speech, 'always' plays for every tool call. */
|
|
20
20
|
toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
|
|
21
|
+
/** Controls how tool errors are processed before being shared with the agent. 'auto' determines handling based on tool type (summarized for native integrations, hide for others), 'summarized' sends an LLM-generated summary, 'passthrough' sends the raw error, 'hide' does not share the error with the agent. */
|
|
22
|
+
toolErrorHandlingMode?: ElevenLabs.ToolErrorHandlingMode;
|
|
21
23
|
/** Configuration for dynamic variables */
|
|
22
24
|
dynamicVariables?: ElevenLabs.DynamicVariablesConfig;
|
|
23
25
|
/** Determines when and how the tool executes: 'immediate' executes the tool right away when requested by the LLM, 'post_tool_speech' waits for the agent to finish speaking before executing, 'async' runs the tool in the background without blocking - best for long-running operations. */
|