@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
package/.fern/metadata.json
CHANGED
package/BaseClient.js
CHANGED
|
@@ -41,8 +41,8 @@ function normalizeClientOptions(options) {
|
|
|
41
41
|
const headers = (0, headers_1.mergeHeaders)({
|
|
42
42
|
"X-Fern-Language": "JavaScript",
|
|
43
43
|
"X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js",
|
|
44
|
-
"X-Fern-SDK-Version": "v2.
|
|
45
|
-
"User-Agent": "@elevenlabs/elevenlabs-js/v2.
|
|
44
|
+
"X-Fern-SDK-Version": "v2.35.0",
|
|
45
|
+
"User-Agent": "@elevenlabs/elevenlabs-js/v2.35.0",
|
|
46
46
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
47
47
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
48
48
|
"xi-api-key": options === null || options === void 0 ? void 0 : options.apiKey,
|
package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts
CHANGED
|
@@ -16,4 +16,6 @@ export interface UpdateAgentRequest {
|
|
|
16
16
|
tags?: string[];
|
|
17
17
|
/** Description for this version when publishing changes (only applicable for versioned agents) */
|
|
18
18
|
versionDescription?: string;
|
|
19
|
+
/** List of procedure refs used for this agent version. */
|
|
20
|
+
procedureRefs?: ElevenLabs.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem[];
|
|
19
21
|
}
|
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./client"), exports);
|
|
18
18
|
__exportStar(require("./resources"), exports);
|
|
19
|
+
__exportStar(require("./types"), exports);
|
|
@@ -4,6 +4,8 @@ import type * as ElevenLabs from "../../../../../../../../index";
|
|
|
4
4
|
* {}
|
|
5
5
|
*/
|
|
6
6
|
export interface BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch {
|
|
7
|
+
/** New name for the branch. Must be unique within the agent. */
|
|
8
|
+
name?: string;
|
|
7
9
|
/** Whether the branch should be archived */
|
|
8
10
|
isArchived?: boolean;
|
|
9
11
|
/** The protection level for the branch */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem"), exports);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * as agents from "./agents";
|
|
2
2
|
export * from "./agents/client/requests";
|
|
3
|
+
export * from "./agents/types";
|
|
3
4
|
export * as analytics from "./analytics";
|
|
4
5
|
export * as batchCalls from "./batchCalls";
|
|
5
6
|
export * from "./batchCalls/client/requests";
|
|
@@ -34,5 +35,6 @@ export * from "./twilio/client/requests";
|
|
|
34
35
|
export * from "./twilio/types";
|
|
35
36
|
export * as whatsapp from "./whatsapp";
|
|
36
37
|
export * from "./whatsapp/client/requests";
|
|
38
|
+
export * from "./whatsapp/types";
|
|
37
39
|
export * as whatsappAccounts from "./whatsappAccounts";
|
|
38
40
|
export * from "./whatsappAccounts/client/requests";
|
|
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.whatsappAccounts = exports.whatsapp = exports.twilio = exports.tools = exports.tests = exports.sipTrunk = exports.settings = exports.secrets = exports.phoneNumbers = exports.mcpServers = exports.llmUsage = exports.knowledgeBase = exports.dashboard = exports.conversations = exports.batchCalls = exports.analytics = exports.agents = void 0;
|
|
40
40
|
exports.agents = __importStar(require("./agents"));
|
|
41
41
|
__exportStar(require("./agents/client/requests"), exports);
|
|
42
|
+
__exportStar(require("./agents/types"), exports);
|
|
42
43
|
exports.analytics = __importStar(require("./analytics"));
|
|
43
44
|
exports.batchCalls = __importStar(require("./batchCalls"));
|
|
44
45
|
__exportStar(require("./batchCalls/client/requests"), exports);
|
|
@@ -73,5 +74,6 @@ __exportStar(require("./twilio/client/requests"), exports);
|
|
|
73
74
|
__exportStar(require("./twilio/types"), exports);
|
|
74
75
|
exports.whatsapp = __importStar(require("./whatsapp"));
|
|
75
76
|
__exportStar(require("./whatsapp/client/requests"), exports);
|
|
77
|
+
__exportStar(require("./whatsapp/types"), exports);
|
|
76
78
|
exports.whatsappAccounts = __importStar(require("./whatsappAccounts"));
|
|
77
79
|
__exportStar(require("./whatsappAccounts/client/requests"), exports);
|
|
@@ -13,14 +13,18 @@ export declare class SecretsClient {
|
|
|
13
13
|
/**
|
|
14
14
|
* Get all workspace secrets for the user
|
|
15
15
|
*
|
|
16
|
+
* @param {ElevenLabs.conversationalAi.SecretsListRequest} request
|
|
16
17
|
* @param {SecretsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
18
|
*
|
|
18
19
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
19
20
|
*
|
|
20
21
|
* @example
|
|
21
|
-
* await client.conversationalAi.secrets.list(
|
|
22
|
+
* await client.conversationalAi.secrets.list({
|
|
23
|
+
* pageSize: 1,
|
|
24
|
+
* cursor: "cursor"
|
|
25
|
+
* })
|
|
22
26
|
*/
|
|
23
|
-
list(requestOptions?: SecretsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetWorkspaceSecretsResponseModel>;
|
|
27
|
+
list(request?: ElevenLabs.conversationalAi.SecretsListRequest, requestOptions?: SecretsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetWorkspaceSecretsResponseModel>;
|
|
24
28
|
private __list;
|
|
25
29
|
/**
|
|
26
30
|
* Create a new secret for the workspace
|
|
@@ -59,25 +59,37 @@ class SecretsClient {
|
|
|
59
59
|
/**
|
|
60
60
|
* Get all workspace secrets for the user
|
|
61
61
|
*
|
|
62
|
+
* @param {ElevenLabs.conversationalAi.SecretsListRequest} request
|
|
62
63
|
* @param {SecretsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
64
|
*
|
|
64
65
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
65
66
|
*
|
|
66
67
|
* @example
|
|
67
|
-
* await client.conversationalAi.secrets.list(
|
|
68
|
+
* await client.conversationalAi.secrets.list({
|
|
69
|
+
* pageSize: 1,
|
|
70
|
+
* cursor: "cursor"
|
|
71
|
+
* })
|
|
68
72
|
*/
|
|
69
|
-
list(requestOptions) {
|
|
70
|
-
return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
|
|
73
|
+
list(request = {}, requestOptions) {
|
|
74
|
+
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
71
75
|
}
|
|
72
|
-
__list(
|
|
73
|
-
return __awaiter(this,
|
|
76
|
+
__list() {
|
|
77
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
74
78
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
79
|
+
const { pageSize, cursor } = request;
|
|
80
|
+
const _queryParams = {};
|
|
81
|
+
if (pageSize != null) {
|
|
82
|
+
_queryParams.page_size = pageSize.toString();
|
|
83
|
+
}
|
|
84
|
+
if (cursor != null) {
|
|
85
|
+
_queryParams.cursor = cursor;
|
|
86
|
+
}
|
|
75
87
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
76
88
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
77
89
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/secrets"),
|
|
78
90
|
method: "GET",
|
|
79
91
|
headers: _headers,
|
|
80
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
92
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
81
93
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
82
94
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
83
95
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
package/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* pageSize: 1,
|
|
5
|
+
* cursor: "cursor"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface SecretsListRequest {
|
|
9
|
+
/** How many documents to return at maximum. Can not exceed 100. If not provided, returns all secrets. */
|
|
10
|
+
pageSize?: number;
|
|
11
|
+
/** Used for fetching next page. Cursor is returned in the response. */
|
|
12
|
+
cursor?: string;
|
|
13
|
+
}
|
package/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ export interface CreateUnitTestRequest {
|
|
|
28
28
|
failureExamples: ElevenLabs.AgentFailureResponseExample[];
|
|
29
29
|
/** How to evaluate the agent's tool call (if any). If empty, the tool call is not evaluated. */
|
|
30
30
|
toolCallParameters?: ElevenLabs.UnitTestToolCallEvaluationModelInput;
|
|
31
|
+
/** 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. */
|
|
32
|
+
checkAnyToolMatches?: boolean;
|
|
31
33
|
/** Dynamic variables to replace in the agent config during testing */
|
|
32
34
|
dynamicVariables?: Record<string, ElevenLabs.conversationalAi.CreateUnitTestRequestDynamicVariablesValue | undefined>;
|
|
33
35
|
type?: ElevenLabs.UnitTestCommonModelType;
|
package/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ export interface UpdateUnitTestRequest {
|
|
|
28
28
|
failureExamples: ElevenLabs.AgentFailureResponseExample[];
|
|
29
29
|
/** How to evaluate the agent's tool call (if any). If empty, the tool call is not evaluated. */
|
|
30
30
|
toolCallParameters?: ElevenLabs.UnitTestToolCallEvaluationModelInput;
|
|
31
|
+
/** 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. */
|
|
32
|
+
checkAnyToolMatches?: boolean;
|
|
31
33
|
/** Dynamic variables to replace in the agent config during testing */
|
|
32
34
|
dynamicVariables?: Record<string, ElevenLabs.conversationalAi.UpdateUnitTestRequestDynamicVariablesValue | undefined>;
|
|
33
35
|
type?: ElevenLabs.UnitTestCommonModelType;
|
|
@@ -29,4 +29,29 @@ export declare class WhatsappClient {
|
|
|
29
29
|
*/
|
|
30
30
|
outboundCall(request: ElevenLabs.conversationalAi.BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost, requestOptions?: WhatsappClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.WhatsAppOutboundCallResponse>;
|
|
31
31
|
private __outboundCall;
|
|
32
|
+
/**
|
|
33
|
+
* Send an outbound message via WhatsApp
|
|
34
|
+
*
|
|
35
|
+
* @param {ElevenLabs.conversationalAi.BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost} request
|
|
36
|
+
* @param {WhatsappClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* await client.conversationalAi.whatsapp.outboundMessage({
|
|
42
|
+
* whatsappPhoneNumberId: "whatsapp_phone_number_id",
|
|
43
|
+
* whatsappUserId: "whatsapp_user_id",
|
|
44
|
+
* templateName: "template_name",
|
|
45
|
+
* templateLanguageCode: "template_language_code",
|
|
46
|
+
* templateParams: [{
|
|
47
|
+
* type: "body",
|
|
48
|
+
* parameters: [{
|
|
49
|
+
* text: "text"
|
|
50
|
+
* }]
|
|
51
|
+
* }],
|
|
52
|
+
* agentId: "agent_id"
|
|
53
|
+
* })
|
|
54
|
+
*/
|
|
55
|
+
outboundMessage(request: ElevenLabs.conversationalAi.BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost, requestOptions?: WhatsappClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.WhatsAppOutboundMessageResponse>;
|
|
56
|
+
private __outboundMessage;
|
|
32
57
|
}
|
|
@@ -125,5 +125,80 @@ class WhatsappClient {
|
|
|
125
125
|
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/convai/whatsapp/outbound-call");
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* Send an outbound message via WhatsApp
|
|
130
|
+
*
|
|
131
|
+
* @param {ElevenLabs.conversationalAi.BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost} request
|
|
132
|
+
* @param {WhatsappClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* await client.conversationalAi.whatsapp.outboundMessage({
|
|
138
|
+
* whatsappPhoneNumberId: "whatsapp_phone_number_id",
|
|
139
|
+
* whatsappUserId: "whatsapp_user_id",
|
|
140
|
+
* templateName: "template_name",
|
|
141
|
+
* templateLanguageCode: "template_language_code",
|
|
142
|
+
* templateParams: [{
|
|
143
|
+
* type: "body",
|
|
144
|
+
* parameters: [{
|
|
145
|
+
* text: "text"
|
|
146
|
+
* }]
|
|
147
|
+
* }],
|
|
148
|
+
* agentId: "agent_id"
|
|
149
|
+
* })
|
|
150
|
+
*/
|
|
151
|
+
outboundMessage(request, requestOptions) {
|
|
152
|
+
return core.HttpResponsePromise.fromPromise(this.__outboundMessage(request, requestOptions));
|
|
153
|
+
}
|
|
154
|
+
__outboundMessage(request, requestOptions) {
|
|
155
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
156
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
157
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
158
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
159
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/whatsapp/outbound-message"),
|
|
160
|
+
method: "POST",
|
|
161
|
+
headers: _headers,
|
|
162
|
+
contentType: "application/json",
|
|
163
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
164
|
+
requestType: "json",
|
|
165
|
+
body: serializers.conversationalAi.BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
166
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
167
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
168
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
169
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
170
|
+
logging: this._options.logging,
|
|
171
|
+
});
|
|
172
|
+
if (_response.ok) {
|
|
173
|
+
return {
|
|
174
|
+
data: serializers.WhatsAppOutboundMessageResponse.parseOrThrow(_response.body, {
|
|
175
|
+
unrecognizedObjectKeys: "passthrough",
|
|
176
|
+
allowUnrecognizedUnionMembers: true,
|
|
177
|
+
allowUnrecognizedEnumValues: true,
|
|
178
|
+
breadcrumbsPrefix: ["response"],
|
|
179
|
+
}),
|
|
180
|
+
rawResponse: _response.rawResponse,
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
if (_response.error.reason === "status-code") {
|
|
184
|
+
switch (_response.error.statusCode) {
|
|
185
|
+
case 422:
|
|
186
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
187
|
+
unrecognizedObjectKeys: "passthrough",
|
|
188
|
+
allowUnrecognizedUnionMembers: true,
|
|
189
|
+
allowUnrecognizedEnumValues: true,
|
|
190
|
+
breadcrumbsPrefix: ["response"],
|
|
191
|
+
}), _response.rawResponse);
|
|
192
|
+
default:
|
|
193
|
+
throw new errors.ElevenLabsError({
|
|
194
|
+
statusCode: _response.error.statusCode,
|
|
195
|
+
body: _response.error.body,
|
|
196
|
+
rawResponse: _response.rawResponse,
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/convai/whatsapp/outbound-message");
|
|
201
|
+
});
|
|
202
|
+
}
|
|
128
203
|
}
|
|
129
204
|
exports.WhatsappClient = WhatsappClient;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* whatsappPhoneNumberId: "whatsapp_phone_number_id",
|
|
6
|
+
* whatsappUserId: "whatsapp_user_id",
|
|
7
|
+
* templateName: "template_name",
|
|
8
|
+
* templateLanguageCode: "template_language_code",
|
|
9
|
+
* templateParams: [{
|
|
10
|
+
* type: "body",
|
|
11
|
+
* parameters: [{
|
|
12
|
+
* text: "text"
|
|
13
|
+
* }]
|
|
14
|
+
* }],
|
|
15
|
+
* agentId: "agent_id"
|
|
16
|
+
* }
|
|
17
|
+
*/
|
|
18
|
+
export interface BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost {
|
|
19
|
+
whatsappPhoneNumberId: string;
|
|
20
|
+
whatsappUserId: string;
|
|
21
|
+
templateName: string;
|
|
22
|
+
templateLanguageCode: string;
|
|
23
|
+
templateParams: ElevenLabs.conversationalAi.BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem[];
|
|
24
|
+
agentId: string;
|
|
25
|
+
conversationInitiationClientData?: ElevenLabs.ConversationInitiationClientDataRequestInput;
|
|
26
|
+
}
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
export type { BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost } from "./BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost";
|
|
2
|
+
export type { BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost } from "./BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../index";
|
|
2
|
+
export type BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem = ElevenLabs.conversationalAi.BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.Body | ElevenLabs.conversationalAi.BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.Button | ElevenLabs.conversationalAi.BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.Header;
|
|
3
|
+
export declare namespace BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem {
|
|
4
|
+
interface Body extends ElevenLabs.WhatsAppTemplateBodyComponentParams {
|
|
5
|
+
type: "body";
|
|
6
|
+
}
|
|
7
|
+
interface Button extends ElevenLabs.WhatsAppTemplateButtonComponentParams {
|
|
8
|
+
type: "button";
|
|
9
|
+
}
|
|
10
|
+
interface Header extends ElevenLabs.WhatsAppTemplateHeaderComponentParams {
|
|
11
|
+
type: "header";
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem"), exports);
|
|
@@ -10,35 +10,6 @@ export declare namespace WhatsappAccountsClient {
|
|
|
10
10
|
export declare class WhatsappAccountsClient {
|
|
11
11
|
protected readonly _options: NormalizedClientOptions<WhatsappAccountsClient.Options>;
|
|
12
12
|
constructor(options?: WhatsappAccountsClient.Options);
|
|
13
|
-
/**
|
|
14
|
-
* List all WhatsApp accounts
|
|
15
|
-
*
|
|
16
|
-
* @param {WhatsappAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
|
-
*
|
|
18
|
-
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* await client.conversationalAi.whatsappAccounts.list()
|
|
22
|
-
*/
|
|
23
|
-
list(requestOptions?: WhatsappAccountsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ListWhatsAppAccountsResponse>;
|
|
24
|
-
private __list;
|
|
25
|
-
/**
|
|
26
|
-
* Import a WhatsApp account
|
|
27
|
-
*
|
|
28
|
-
* @param {ElevenLabs.conversationalAi.ImportWhatsAppAccountRequest} request
|
|
29
|
-
* @param {WhatsappAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
30
|
-
*
|
|
31
|
-
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
32
|
-
*
|
|
33
|
-
* @example
|
|
34
|
-
* await client.conversationalAi.whatsappAccounts.import({
|
|
35
|
-
* businessAccountId: "business_account_id",
|
|
36
|
-
* phoneNumberId: "phone_number_id",
|
|
37
|
-
* tokenCode: "token_code"
|
|
38
|
-
* })
|
|
39
|
-
*/
|
|
40
|
-
import(request: ElevenLabs.conversationalAi.ImportWhatsAppAccountRequest, requestOptions?: WhatsappAccountsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ImportWhatsAppAccountResponse>;
|
|
41
|
-
private __import;
|
|
42
13
|
/**
|
|
43
14
|
* Get a WhatsApp account
|
|
44
15
|
*
|
|
@@ -79,4 +50,16 @@ export declare class WhatsappAccountsClient {
|
|
|
79
50
|
*/
|
|
80
51
|
update(phone_number_id: string, request?: ElevenLabs.conversationalAi.UpdateWhatsAppAccountRequest, requestOptions?: WhatsappAccountsClient.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
81
52
|
private __update;
|
|
53
|
+
/**
|
|
54
|
+
* List all WhatsApp accounts
|
|
55
|
+
*
|
|
56
|
+
* @param {WhatsappAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* await client.conversationalAi.whatsappAccounts.list()
|
|
62
|
+
*/
|
|
63
|
+
list(requestOptions?: WhatsappAccountsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ListWhatsAppAccountsResponse>;
|
|
64
|
+
private __list;
|
|
82
65
|
}
|