@elevenlabs/elevenlabs-js 2.36.0 → 2.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseClient.js +2 -2
- package/api/resources/audioNative/client/Client.d.ts +15 -0
- package/api/resources/audioNative/client/Client.js +67 -0
- package/api/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.d.ts +10 -0
- package/api/resources/audioNative/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/client/Client.d.ts +3 -0
- package/api/resources/conversationalAi/client/Client.js +29 -24
- package/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -2
- package/api/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.d.ts +10 -0
- package/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.d.ts +10 -0
- package/api/resources/conversationalAi/resources/agents/types/index.d.ts +2 -1
- package/api/resources/conversationalAi/resources/agents/types/index.js +2 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +6 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +10 -0
- package/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.d.ts +44 -0
- package/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.js +191 -0
- package/api/resources/conversationalAi/resources/conversations/resources/files/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/files/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/BodyUploadFileV1ConvaiConversationsConversationIdFilesPost.d.ts +11 -0
- package/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/files/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/files/index.js +17 -0
- package/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +5 -0
- package/api/resources/conversationalAi/resources/conversations/resources/index.js +6 -1
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +61 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +297 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.d.ts +19 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +63 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/index.js +18 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.d.ts +6 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.js +9 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/types/index.js +17 -0
- package/api/resources/conversationalAi/resources/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/index.js +2 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.d.ts +1 -1
- package/api/resources/conversationalAi/resources/llm/client/Client.d.ts +25 -0
- package/api/resources/conversationalAi/resources/llm/client/Client.js +119 -0
- package/api/resources/conversationalAi/resources/llm/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/llm/client/index.js +2 -0
- package/api/resources/conversationalAi/resources/llm/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/llm/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/index.js +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +13 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +13 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.js +18 -0
- package/api/resources/conversationalAi/resources/tests/client/Client.d.ts +4 -1
- package/api/resources/conversationalAi/resources/tests/client/Client.js +16 -2
- package/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +11 -1
- package/api/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.d.ts +6 -0
- package/api/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.js +9 -0
- package/api/resources/conversationalAi/resources/tests/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tests/types/index.js +1 -0
- package/api/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.d.ts +2 -0
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -0
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -0
- package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +2 -0
- package/api/resources/pronunciationDictionaries/client/Client.d.ts +2 -0
- package/api/resources/pronunciationDictionaries/client/Client.js +2 -0
- package/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost.d.ts +2 -0
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +2 -0
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +2 -0
- package/api/resources/pronunciationDictionaries/resources/rules/client/requests/PronunciationDictionary.d.ts +2 -0
- package/api/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.d.ts +1 -0
- package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +2 -0
- package/api/types/AgentPlatformSettingsRequestModel.d.ts +3 -1
- package/api/types/AgentPlatformSettingsResponseModel.d.ts +3 -1
- package/api/types/AgentSimulatedChatTestResponseModel.d.ts +1 -1
- package/api/types/AgentTestEntityType.d.ts +5 -0
- package/api/types/AgentTestEntityType.js +8 -0
- package/api/types/AgentTestFolderPathSegmentResponseModel.d.ts +4 -0
- package/api/types/ApiIntegrationWebhookOverridesInput.d.ts +1 -0
- package/api/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.d.ts +13 -0
- package/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +1 -0
- package/api/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.d.ts +13 -0
- package/api/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.js +3 -0
- package/api/types/ChatSourceMedium.d.ts +7 -0
- package/{dist/api/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.js → api/types/ChatSourceMedium.js} +4 -2
- package/api/types/ClientEvent.d.ts +1 -0
- package/api/types/ClientEvent.js +1 -0
- package/api/types/ClipAnimation.d.ts +7 -0
- package/api/types/ClipAnimation.js +3 -0
- package/api/types/ClipAnimationEnterEffect.d.ts +17 -0
- package/api/types/ClipAnimationEnterEffect.js +20 -0
- package/api/types/ClipAnimationExitEffect.d.ts +17 -0
- package/api/types/ClipAnimationExitEffect.js +20 -0
- package/api/types/CoachedAgentSettings.d.ts +3 -0
- package/api/types/CoachedAgentSettings.js +3 -0
- package/api/types/CoachingAgentSettings.d.ts +7 -0
- package/api/types/CoachingAgentSettings.js +3 -0
- package/api/types/ConfigEntityType.d.ts +68 -0
- package/api/types/ConfigEntityType.js +71 -0
- package/api/types/ConstantSchemaOverride.d.ts +5 -0
- package/api/types/ConstantSchemaOverride.js +3 -0
- package/api/types/ConstantSchemaOverrideConstantValue.d.ts +4 -0
- package/api/types/ConstantSchemaOverrideConstantValue.js +3 -0
- package/api/types/ContentConfig.d.ts +1 -1
- package/api/types/ConvAiFileUploadResponseModel.d.ts +3 -0
- package/api/types/ConvAiFileUploadResponseModel.js +3 -0
- package/api/types/ConversationHistoryRedactionConfig.d.ts +7 -0
- package/api/types/ConversationHistoryRedactionConfig.js +3 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptFileInputResponseModel.d.ts +6 -0
- package/api/types/ConversationHistoryTranscriptFileInputResponseModel.js +3 -0
- package/api/types/ConversationHistoryTranscriptResponseModel.d.ts +19 -0
- package/api/types/ConversationHistoryTranscriptResponseModel.js +3 -0
- package/api/types/ConversationHistoryTranscriptResponseModelRole.d.ts +5 -0
- package/api/types/ConversationHistoryTranscriptResponseModelRole.js +8 -0
- package/api/types/ConversationHistoryTranscriptResponseModelToolResultsItem.d.ts +2 -0
- package/api/types/ConversationHistoryTranscriptResponseModelToolResultsItem.js +3 -0
- package/api/types/ConversationUserResponseModel.d.ts +3 -2
- package/api/types/CreateClientParams.d.ts +6 -0
- package/api/types/CreateClientParams.js +3 -0
- package/api/types/CreatePreviouslyGeneratedVoiceRequest.d.ts +1 -12
- package/api/types/CreateProductParams.d.ts +3 -0
- package/api/types/CreateProductParams.js +3 -0
- package/api/types/CreateResponseUnitTestRequest.d.ts +2 -0
- package/api/types/CreateServiceParams.d.ts +6 -0
- package/api/types/CreateServiceParams.js +3 -0
- package/api/types/CreateSimulationTestRequest.d.ts +2 -0
- package/api/types/CreateStaffParams.d.ts +6 -0
- package/api/types/CreateStaffParams.js +3 -0
- package/api/types/CreateToolCallUnitTestRequest.d.ts +2 -0
- package/api/types/DeleteClientParams.d.ts +6 -0
- package/api/types/DeleteClientParams.js +3 -0
- package/api/types/DeleteProductParams.d.ts +3 -0
- package/api/types/DeleteProductParams.js +3 -0
- package/api/types/DeleteServiceParams.d.ts +6 -0
- package/api/types/DeleteServiceParams.js +3 -0
- package/api/types/DeleteStaffParams.d.ts +6 -0
- package/api/types/DeleteStaffParams.js +3 -0
- package/api/types/DependentBranchInfo.d.ts +7 -0
- package/api/types/DependentBranchInfo.js +3 -0
- package/api/types/DynamicVariableSchemaOverride.d.ts +4 -0
- package/api/types/DynamicVariableSchemaOverride.js +3 -0
- package/api/types/EmbeddingModelEnum.d.ts +1 -0
- package/api/types/EmbeddingModelEnum.js +1 -0
- package/api/types/FocusGuardrail.d.ts +3 -0
- package/api/types/FocusGuardrail.js +3 -0
- package/api/types/GenerateVoiceRequest.d.ts +1 -13
- package/api/types/GenerationSourceContext.d.ts +14 -0
- package/api/types/GenerationSourceContext.js +3 -0
- package/api/types/GetAgentResponseModel.d.ts +2 -0
- package/api/types/GetAgentResponseModelCoachingSettings.d.ts +13 -0
- package/api/types/GetAgentResponseModelCoachingSettings.js +3 -0
- package/api/types/GetClientByPhoneParams.d.ts +6 -0
- package/api/types/GetClientByPhoneParams.js +3 -0
- package/api/types/GetConversationResponseModel.d.ts +1 -1
- package/api/types/GetKnowledgeBaseDependentAgentsResponseModel.d.ts +1 -0
- package/api/types/GetToolDependentAgentsResponseModel.d.ts +1 -0
- package/api/types/GuardrailsV1Input.d.ts +2 -1
- package/api/types/GuardrailsV1Output.d.ts +2 -1
- package/api/types/LibraryVoiceResponse.d.ts +2 -0
- package/api/types/ListAssetsParams.d.ts +3 -0
- package/api/types/ListAssetsParams.js +3 -0
- package/api/types/ListClientsParams.d.ts +6 -0
- package/api/types/ListClientsParams.js +3 -0
- package/api/types/ListProductsParams.d.ts +3 -0
- package/api/types/ListProductsParams.js +3 -0
- package/api/types/ListServicesParams.d.ts +3 -0
- package/api/types/ListServicesParams.js +3 -0
- package/api/types/ListStaffParams.d.ts +3 -0
- package/api/types/ListStaffParams.js +3 -0
- package/api/types/LlmDeprecationConfigModel.d.ts +12 -0
- package/api/types/LlmDeprecationConfigModel.js +3 -0
- package/api/types/LlmDeprecationInfoModel.d.ts +19 -0
- package/api/types/LlmDeprecationInfoModel.js +3 -0
- package/api/types/LlmInfoModelInput.d.ts +21 -0
- package/api/types/LlmInfoModelInput.js +3 -0
- package/api/types/LlmInfoModelOutput.d.ts +21 -0
- package/api/types/LlmInfoModelOutput.js +3 -0
- package/api/types/LlmListResponseModelInput.d.ts +7 -0
- package/api/types/LlmListResponseModelInput.js +3 -0
- package/api/types/LlmListResponseModelOutput.d.ts +7 -0
- package/api/types/LlmListResponseModelOutput.js +3 -0
- package/api/types/LlmSchemaOverride.d.ts +4 -0
- package/api/types/LlmSchemaOverride.js +3 -0
- package/api/types/McpServerConfigInput.d.ts +2 -0
- package/api/types/McpServerConfigOutput.d.ts +2 -0
- package/api/types/McpToolConfigOverride.d.ts +2 -0
- package/api/types/McpToolConfigOverrideInputOverridesValue.d.ts +13 -0
- package/api/types/McpToolConfigOverrideInputOverridesValue.js +3 -0
- package/api/types/MessagesSearchResponse.d.ts +9 -0
- package/api/types/MessagesSearchResponse.js +3 -0
- package/api/types/MessagesSearchResult.d.ts +14 -0
- package/api/types/MessagesSearchResult.js +3 -0
- package/api/types/MusicExploreSongSourceContext.d.ts +8 -0
- package/api/types/MusicExploreSongSourceContext.js +3 -0
- package/api/types/NoCoachingSettings.d.ts +3 -0
- package/api/types/NoCoachingSettings.js +3 -0
- package/api/types/PendingClipTaskType.d.ts +1 -0
- package/api/types/PendingClipTaskType.js +1 -0
- package/api/types/PermissionType.d.ts +1 -0
- package/api/types/PermissionType.js +1 -0
- package/api/types/{PrivacyConfig.d.ts → PrivacyConfigInput.d.ts} +4 -1
- package/api/types/PrivacyConfigInput.js +3 -0
- package/api/types/PrivacyConfigOutput.d.ts +17 -0
- package/api/types/PrivacyConfigOutput.js +3 -0
- package/api/types/ProcedureRefResponseModel.d.ts +8 -0
- package/api/types/ProcedureRefResponseModel.js +3 -0
- package/api/types/ProjectExtendedResponseModelAssetsItem.d.ts +1 -0
- package/api/types/ProjectExternalAudioResponseModel.d.ts +3 -2
- package/api/types/ProjectExternalAudioResponseModelSourceContext.d.ts +13 -0
- package/api/types/ProjectExternalAudioResponseModelSourceContext.js +3 -0
- package/api/types/ProjectImageResponseModel.d.ts +1 -0
- package/api/types/ProjectVideoResponseModel.d.ts +7 -3
- package/api/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
- package/api/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
- package/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
- package/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
- package/api/types/PromptInjectionGuardrail.d.ts +3 -0
- package/api/types/PromptInjectionGuardrail.js +3 -0
- package/api/types/PronunciationDictionaryAliasRuleRequestModel.d.ts +4 -0
- package/api/types/PronunciationDictionaryAliasRuleResponseModel.d.ts +4 -0
- package/api/types/PronunciationDictionaryPhonemeRuleRequestModel.d.ts +4 -0
- package/api/types/PronunciationDictionaryPhonemeRuleResponseModel.d.ts +4 -0
- package/api/types/RagConfig.d.ts +2 -0
- package/api/types/RagConfigWorkflowOverride.d.ts +2 -0
- package/api/types/RagIndexStatus.d.ts +1 -0
- package/api/types/RagIndexStatus.js +1 -0
- package/api/types/ReferenceVideo.d.ts +7 -0
- package/api/types/ReferenceVideo.js +3 -0
- package/api/types/ResponseFilter.d.ts +12 -0
- package/api/types/ResponseFilter.js +3 -0
- package/api/types/SayNodeLiteralMessageInput.d.ts +5 -0
- package/api/types/SayNodeLiteralMessageInput.js +3 -0
- package/api/types/SayNodeLiteralMessageOutput.d.ts +5 -0
- package/api/types/SayNodeLiteralMessageOutput.js +3 -0
- package/api/types/SayNodePromptMessageInput.d.ts +5 -0
- package/api/types/SayNodePromptMessageInput.js +3 -0
- package/api/types/SayNodePromptMessageOutput.d.ts +5 -0
- package/api/types/SayNodePromptMessageOutput.js +3 -0
- package/api/types/SearchClientsParams.d.ts +6 -0
- package/api/types/SearchClientsParams.js +3 -0
- package/api/types/SeatType.d.ts +5 -0
- package/api/types/SeatType.js +5 -0
- package/api/types/SfxSourceContext.d.ts +8 -0
- package/api/types/SfxSourceContext.js +3 -0
- package/api/types/SongSourceContext.d.ts +10 -0
- package/api/types/SongSourceContext.js +3 -0
- package/api/types/StudioClipReference.d.ts +9 -0
- package/api/types/StudioClipReference.js +3 -0
- package/api/types/StudioClipReferenceClipType.d.ts +7 -0
- package/api/types/StudioClipReferenceClipType.js +10 -0
- package/api/types/TestType.d.ts +1 -0
- package/api/types/TestType.js +1 -0
- package/api/types/ToolType.d.ts +1 -0
- package/api/types/ToolType.js +1 -0
- package/api/types/UnitTestSummaryResponseModel.d.ts +9 -1
- package/api/types/UpdateClientParams.d.ts +6 -0
- package/api/types/UpdateClientParams.js +3 -0
- package/api/types/UpdateProductParams.d.ts +3 -0
- package/api/types/UpdateProductParams.js +3 -0
- package/api/types/UpdateResponseUnitTestRequest.d.ts +2 -0
- package/api/types/UpdateServiceParams.d.ts +6 -0
- package/api/types/UpdateServiceParams.js +3 -0
- package/api/types/UpdateSimulationTestRequest.d.ts +2 -0
- package/api/types/UpdateStaffParams.d.ts +6 -0
- package/api/types/UpdateStaffParams.js +3 -0
- package/api/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
- package/api/types/User.d.ts +2 -0
- package/api/types/Voice.d.ts +2 -0
- package/api/types/VoiceGenerationParameterOptionResponse.d.ts +1 -4
- package/api/types/VoiceGenerationParameterResponse.d.ts +1 -10
- package/api/types/WidgetConfig.d.ts +10 -0
- package/api/types/WidgetConfigInputSyntaxHighlightTheme.d.ts +5 -0
- package/api/types/WidgetConfigInputSyntaxHighlightTheme.js +8 -0
- package/api/types/WidgetConfigOutputSyntaxHighlightTheme.d.ts +5 -0
- package/api/types/WidgetConfigOutputSyntaxHighlightTheme.js +8 -0
- package/api/types/WidgetConfigResponse.d.ts +10 -0
- package/api/types/WidgetConfigResponseModelSyntaxHighlightTheme.d.ts +5 -0
- package/api/types/WidgetConfigResponseModelSyntaxHighlightTheme.js +8 -0
- package/api/types/WidgetTextContents.d.ts +22 -0
- package/api/types/WorkspaceGroupPermission.d.ts +1 -0
- package/api/types/WorkspaceGroupPermission.js +1 -0
- package/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/api/types/WorkspaceResourceType.d.ts +3 -0
- package/api/types/WorkspaceResourceType.js +3 -0
- package/api/types/index.d.ts +73 -8
- package/api/types/index.js +73 -8
- package/dist/BaseClient.js +2 -2
- package/dist/api/resources/audioNative/client/Client.d.ts +15 -0
- package/dist/api/resources/audioNative/client/Client.js +67 -0
- package/dist/api/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.d.ts +10 -0
- package/dist/api/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.js +3 -0
- package/dist/api/resources/audioNative/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -0
- package/dist/api/resources/conversationalAi/client/Client.js +29 -24
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -2
- package/dist/api/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.js +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.js +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/types/index.d.ts +2 -1
- package/dist/api/resources/conversationalAi/resources/agents/types/index.js +2 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +6 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +10 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.d.ts +44 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.js +191 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/BodyUploadFileV1ConvaiConversationsConversationIdFilesPost.d.ts +11 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/BodyUploadFileV1ConvaiConversationsConversationIdFilesPost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +5 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/index.js +6 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +61 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +297 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.d.ts +19 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +63 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/index.js +18 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.d.ts +6 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.js +9 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/types/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/index.js +2 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/llm/client/Client.d.ts +25 -0
- package/dist/api/resources/conversationalAi/resources/llm/client/Client.js +119 -0
- package/dist/api/resources/conversationalAi/resources/llm/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/llm/client/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/llm/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/llm/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +3 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +3 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.js +18 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +16 -2
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +11 -1
- package/dist/api/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.d.ts +6 -0
- package/dist/api/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.js +9 -0
- package/dist/api/resources/conversationalAi/resources/tests/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tests/types/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.d.ts +2 -0
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -0
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -0
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +2 -0
- package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +2 -0
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +2 -0
- package/dist/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost.d.ts +2 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +2 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +2 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/requests/PronunciationDictionary.d.ts +2 -0
- package/dist/api/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.d.ts +1 -0
- package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +2 -0
- package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +3 -1
- package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +3 -1
- package/dist/api/types/AgentSimulatedChatTestResponseModel.d.ts +1 -1
- package/dist/api/types/AgentTestEntityType.d.ts +5 -0
- package/dist/api/types/AgentTestEntityType.js +8 -0
- package/dist/api/types/AgentTestFolderPathSegmentResponseModel.d.ts +4 -0
- package/dist/api/types/AgentTestFolderPathSegmentResponseModel.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesInput.d.ts +1 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.d.ts +13 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +1 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.d.ts +13 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.js +3 -0
- package/dist/api/types/ChatSourceMedium.d.ts +7 -0
- package/{api/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.js → dist/api/types/ChatSourceMedium.js} +4 -2
- package/dist/api/types/ClientEvent.d.ts +1 -0
- package/dist/api/types/ClientEvent.js +1 -0
- package/dist/api/types/ClipAnimation.d.ts +7 -0
- package/dist/api/types/ClipAnimation.js +3 -0
- package/dist/api/types/ClipAnimationEnterEffect.d.ts +17 -0
- package/dist/api/types/ClipAnimationEnterEffect.js +20 -0
- package/dist/api/types/ClipAnimationExitEffect.d.ts +17 -0
- package/dist/api/types/ClipAnimationExitEffect.js +20 -0
- package/dist/api/types/CoachedAgentSettings.d.ts +3 -0
- package/dist/api/types/CoachedAgentSettings.js +3 -0
- package/dist/api/types/CoachingAgentSettings.d.ts +7 -0
- package/dist/api/types/CoachingAgentSettings.js +3 -0
- package/dist/api/types/ConfigEntityType.d.ts +68 -0
- package/dist/api/types/ConfigEntityType.js +71 -0
- package/dist/api/types/ConstantSchemaOverride.d.ts +5 -0
- package/dist/api/types/ConstantSchemaOverride.js +3 -0
- package/dist/api/types/ConstantSchemaOverrideConstantValue.d.ts +4 -0
- package/dist/api/types/ConstantSchemaOverrideConstantValue.js +3 -0
- package/dist/api/types/ContentConfig.d.ts +1 -1
- package/dist/api/types/ConvAiFileUploadResponseModel.d.ts +3 -0
- package/dist/api/types/ConvAiFileUploadResponseModel.js +3 -0
- package/dist/api/types/ConversationHistoryRedactionConfig.d.ts +7 -0
- package/dist/api/types/ConversationHistoryRedactionConfig.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptFileInputResponseModel.d.ts +6 -0
- package/dist/api/types/ConversationHistoryTranscriptFileInputResponseModel.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptResponseModel.d.ts +19 -0
- package/dist/api/types/ConversationHistoryTranscriptResponseModel.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptResponseModelRole.d.ts +5 -0
- package/dist/api/types/ConversationHistoryTranscriptResponseModelRole.js +8 -0
- package/dist/api/types/ConversationHistoryTranscriptResponseModelToolResultsItem.d.ts +2 -0
- package/dist/api/types/ConversationHistoryTranscriptResponseModelToolResultsItem.js +3 -0
- package/dist/api/types/ConversationUserResponseModel.d.ts +3 -2
- package/dist/api/types/CreateClientParams.d.ts +6 -0
- package/dist/api/types/CreateClientParams.js +3 -0
- package/dist/api/types/CreatePreviouslyGeneratedVoiceRequest.d.ts +1 -12
- package/dist/api/types/CreateProductParams.d.ts +3 -0
- package/dist/api/types/CreateProductParams.js +3 -0
- package/dist/api/types/CreateResponseUnitTestRequest.d.ts +2 -0
- package/dist/api/types/CreateServiceParams.d.ts +6 -0
- package/dist/api/types/CreateServiceParams.js +3 -0
- package/dist/api/types/CreateSimulationTestRequest.d.ts +2 -0
- package/dist/api/types/CreateStaffParams.d.ts +6 -0
- package/dist/api/types/CreateStaffParams.js +3 -0
- package/dist/api/types/CreateToolCallUnitTestRequest.d.ts +2 -0
- package/dist/api/types/DeleteClientParams.d.ts +6 -0
- package/dist/api/types/DeleteClientParams.js +3 -0
- package/dist/api/types/DeleteProductParams.d.ts +3 -0
- package/dist/api/types/DeleteProductParams.js +3 -0
- package/dist/api/types/DeleteServiceParams.d.ts +6 -0
- package/dist/api/types/DeleteServiceParams.js +3 -0
- package/dist/api/types/DeleteStaffParams.d.ts +6 -0
- package/dist/api/types/DeleteStaffParams.js +3 -0
- package/dist/api/types/DependentBranchInfo.d.ts +7 -0
- package/dist/api/types/DependentBranchInfo.js +3 -0
- package/dist/api/types/DynamicVariableSchemaOverride.d.ts +4 -0
- package/dist/api/types/DynamicVariableSchemaOverride.js +3 -0
- package/dist/api/types/EmbeddingModelEnum.d.ts +1 -0
- package/dist/api/types/EmbeddingModelEnum.js +1 -0
- package/dist/api/types/FocusGuardrail.d.ts +3 -0
- package/dist/api/types/FocusGuardrail.js +3 -0
- package/dist/api/types/GenerateVoiceRequest.d.ts +1 -13
- package/dist/api/types/GenerationSourceContext.d.ts +14 -0
- package/dist/api/types/GenerationSourceContext.js +3 -0
- package/dist/api/types/GetAgentResponseModel.d.ts +2 -0
- package/dist/api/types/GetAgentResponseModelCoachingSettings.d.ts +13 -0
- package/dist/api/types/GetAgentResponseModelCoachingSettings.js +3 -0
- package/dist/api/types/GetClientByPhoneParams.d.ts +6 -0
- package/dist/api/types/GetClientByPhoneParams.js +3 -0
- package/dist/api/types/GetConversationResponseModel.d.ts +1 -1
- package/dist/api/types/GetKnowledgeBaseDependentAgentsResponseModel.d.ts +1 -0
- package/dist/api/types/GetToolDependentAgentsResponseModel.d.ts +1 -0
- package/dist/api/types/GuardrailsV1Input.d.ts +2 -1
- package/dist/api/types/GuardrailsV1Output.d.ts +2 -1
- package/dist/api/types/LibraryVoiceResponse.d.ts +2 -0
- package/dist/api/types/ListAssetsParams.d.ts +3 -0
- package/dist/api/types/ListAssetsParams.js +3 -0
- package/dist/api/types/ListClientsParams.d.ts +6 -0
- package/dist/api/types/ListClientsParams.js +3 -0
- package/dist/api/types/ListProductsParams.d.ts +3 -0
- package/dist/api/types/ListProductsParams.js +3 -0
- package/dist/api/types/ListServicesParams.d.ts +3 -0
- package/dist/api/types/ListServicesParams.js +3 -0
- package/dist/api/types/ListStaffParams.d.ts +3 -0
- package/dist/api/types/ListStaffParams.js +3 -0
- package/dist/api/types/LlmDeprecationConfigModel.d.ts +12 -0
- package/dist/api/types/LlmDeprecationConfigModel.js +3 -0
- package/dist/api/types/LlmDeprecationInfoModel.d.ts +19 -0
- package/dist/api/types/LlmDeprecationInfoModel.js +3 -0
- package/dist/api/types/LlmInfoModelInput.d.ts +21 -0
- package/dist/api/types/LlmInfoModelInput.js +3 -0
- package/dist/api/types/LlmInfoModelOutput.d.ts +21 -0
- package/dist/api/types/LlmInfoModelOutput.js +3 -0
- package/dist/api/types/LlmListResponseModelInput.d.ts +7 -0
- package/dist/api/types/LlmListResponseModelInput.js +3 -0
- package/dist/api/types/LlmListResponseModelOutput.d.ts +7 -0
- package/dist/api/types/LlmListResponseModelOutput.js +3 -0
- package/dist/api/types/LlmSchemaOverride.d.ts +4 -0
- package/dist/api/types/LlmSchemaOverride.js +3 -0
- package/dist/api/types/McpServerConfigInput.d.ts +2 -0
- package/dist/api/types/McpServerConfigOutput.d.ts +2 -0
- package/dist/api/types/McpToolConfigOverride.d.ts +2 -0
- package/dist/api/types/McpToolConfigOverrideInputOverridesValue.d.ts +13 -0
- package/dist/api/types/McpToolConfigOverrideInputOverridesValue.js +3 -0
- package/dist/api/types/MessagesSearchResponse.d.ts +9 -0
- package/dist/api/types/MessagesSearchResponse.js +3 -0
- package/dist/api/types/MessagesSearchResult.d.ts +14 -0
- package/dist/api/types/MessagesSearchResult.js +3 -0
- package/dist/api/types/MusicExploreSongSourceContext.d.ts +8 -0
- package/dist/api/types/MusicExploreSongSourceContext.js +3 -0
- package/dist/api/types/NoCoachingSettings.d.ts +3 -0
- package/dist/api/types/NoCoachingSettings.js +3 -0
- package/dist/api/types/PendingClipTaskType.d.ts +1 -0
- package/dist/api/types/PendingClipTaskType.js +1 -0
- package/dist/api/types/PermissionType.d.ts +1 -0
- package/dist/api/types/PermissionType.js +1 -0
- package/dist/api/types/{PrivacyConfig.d.ts → PrivacyConfigInput.d.ts} +4 -1
- package/dist/api/types/PrivacyConfigInput.js +3 -0
- package/dist/api/types/PrivacyConfigOutput.d.ts +17 -0
- package/dist/api/types/PrivacyConfigOutput.js +3 -0
- package/dist/api/types/ProcedureRefResponseModel.d.ts +8 -0
- package/dist/api/types/ProcedureRefResponseModel.js +3 -0
- package/dist/api/types/ProjectExtendedResponseModelAssetsItem.d.ts +1 -0
- package/dist/api/types/ProjectExternalAudioResponseModel.d.ts +3 -2
- package/dist/api/types/ProjectExternalAudioResponseModelSourceContext.d.ts +13 -0
- package/dist/api/types/ProjectExternalAudioResponseModelSourceContext.js +3 -0
- package/dist/api/types/ProjectImageResponseModel.d.ts +1 -0
- package/dist/api/types/ProjectVideoResponseModel.d.ts +7 -3
- package/dist/api/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
- package/dist/api/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
- package/dist/api/types/PromptInjectionGuardrail.d.ts +3 -0
- package/dist/api/types/PromptInjectionGuardrail.js +3 -0
- package/dist/api/types/PronunciationDictionaryAliasRuleRequestModel.d.ts +4 -0
- package/dist/api/types/PronunciationDictionaryAliasRuleResponseModel.d.ts +4 -0
- package/dist/api/types/PronunciationDictionaryPhonemeRuleRequestModel.d.ts +4 -0
- package/dist/api/types/PronunciationDictionaryPhonemeRuleResponseModel.d.ts +4 -0
- package/dist/api/types/RagConfig.d.ts +2 -0
- package/dist/api/types/RagConfigWorkflowOverride.d.ts +2 -0
- package/dist/api/types/RagIndexStatus.d.ts +1 -0
- package/dist/api/types/RagIndexStatus.js +1 -0
- package/dist/api/types/ReferenceVideo.d.ts +7 -0
- package/dist/api/types/ReferenceVideo.js +3 -0
- package/dist/api/types/ResponseFilter.d.ts +12 -0
- package/dist/api/types/ResponseFilter.js +3 -0
- package/dist/api/types/SayNodeLiteralMessageInput.d.ts +5 -0
- package/dist/api/types/SayNodeLiteralMessageInput.js +3 -0
- package/dist/api/types/SayNodeLiteralMessageOutput.d.ts +5 -0
- package/dist/api/types/SayNodeLiteralMessageOutput.js +3 -0
- package/dist/api/types/SayNodePromptMessageInput.d.ts +5 -0
- package/dist/api/types/SayNodePromptMessageInput.js +3 -0
- package/dist/api/types/SayNodePromptMessageOutput.d.ts +5 -0
- package/dist/api/types/SayNodePromptMessageOutput.js +3 -0
- package/dist/api/types/SearchClientsParams.d.ts +6 -0
- package/dist/api/types/SearchClientsParams.js +3 -0
- package/dist/api/types/SeatType.d.ts +5 -0
- package/dist/api/types/SeatType.js +5 -0
- package/dist/api/types/SfxSourceContext.d.ts +8 -0
- package/dist/api/types/SfxSourceContext.js +3 -0
- package/dist/api/types/SongSourceContext.d.ts +10 -0
- package/dist/api/types/SongSourceContext.js +3 -0
- package/dist/api/types/StudioClipReference.d.ts +9 -0
- package/dist/api/types/StudioClipReference.js +3 -0
- package/dist/api/types/StudioClipReferenceClipType.d.ts +7 -0
- package/dist/api/types/StudioClipReferenceClipType.js +10 -0
- package/dist/api/types/TestType.d.ts +1 -0
- package/dist/api/types/TestType.js +1 -0
- package/dist/api/types/ToolType.d.ts +1 -0
- package/dist/api/types/ToolType.js +1 -0
- package/dist/api/types/UnitTestSummaryResponseModel.d.ts +9 -1
- package/dist/api/types/UpdateClientParams.d.ts +6 -0
- package/dist/api/types/UpdateClientParams.js +3 -0
- package/dist/api/types/UpdateProductParams.d.ts +3 -0
- package/dist/api/types/UpdateProductParams.js +3 -0
- package/dist/api/types/UpdateResponseUnitTestRequest.d.ts +2 -0
- package/dist/api/types/UpdateServiceParams.d.ts +6 -0
- package/dist/api/types/UpdateServiceParams.js +3 -0
- package/dist/api/types/UpdateSimulationTestRequest.d.ts +2 -0
- package/dist/api/types/UpdateStaffParams.d.ts +6 -0
- package/dist/api/types/UpdateStaffParams.js +3 -0
- package/dist/api/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
- package/dist/api/types/User.d.ts +2 -0
- package/dist/api/types/Voice.d.ts +2 -0
- package/dist/api/types/VoiceGenerationParameterOptionResponse.d.ts +1 -4
- package/dist/api/types/VoiceGenerationParameterResponse.d.ts +1 -10
- package/dist/api/types/WidgetConfig.d.ts +10 -0
- package/dist/api/types/WidgetConfigInputSyntaxHighlightTheme.d.ts +5 -0
- package/dist/api/types/WidgetConfigInputSyntaxHighlightTheme.js +8 -0
- package/dist/api/types/WidgetConfigOutputSyntaxHighlightTheme.d.ts +5 -0
- package/dist/api/types/WidgetConfigOutputSyntaxHighlightTheme.js +8 -0
- package/dist/api/types/WidgetConfigResponse.d.ts +10 -0
- package/dist/api/types/WidgetConfigResponseModelSyntaxHighlightTheme.d.ts +5 -0
- package/dist/api/types/WidgetConfigResponseModelSyntaxHighlightTheme.js +8 -0
- package/dist/api/types/WidgetTextContents.d.ts +22 -0
- package/dist/api/types/WorkspaceGroupPermission.d.ts +1 -0
- package/dist/api/types/WorkspaceGroupPermission.js +1 -0
- package/dist/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/dist/api/types/WorkspaceResourceType.d.ts +3 -0
- package/dist/api/types/WorkspaceResourceType.js +3 -0
- package/dist/api/types/index.d.ts +73 -8
- package/dist/api/types/index.js +73 -8
- package/dist/serialization/resources/audioNative/client/index.d.ts +1 -0
- package/dist/serialization/resources/audioNative/client/index.js +17 -0
- package/dist/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.d.ts +9 -0
- package/dist/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.js +41 -0
- package/dist/serialization/resources/audioNative/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/audioNative/client/requests/index.js +5 -0
- package/dist/serialization/resources/audioNative/index.d.ts +1 -0
- package/dist/serialization/resources/audioNative/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +2 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.d.ts +15 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/types/{BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js → BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.js} +12 -4
- package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.d.ts +15 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.js +49 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +2 -1
- package/dist/serialization/resources/conversationalAi/resources/agents/types/index.js +2 -1
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/messages/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/messages/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.d.ts +7 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.js +39 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +4 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +4 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +4 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +19 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +51 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +19 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +51 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.js +18 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.d.ts +7 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.js +39 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/types/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.js +1 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +1 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +1 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +1 -0
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -0
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +1 -0
- package/dist/serialization/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.d.ts +1 -0
- package/dist/serialization/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.js +1 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -0
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +3 -2
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +3 -2
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +3 -2
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +3 -2
- package/dist/serialization/types/AgentSimulatedChatTestResponseModel.d.ts +2 -2
- package/dist/serialization/types/AgentSimulatedChatTestResponseModel.js +2 -2
- package/dist/serialization/types/AgentTestEntityType.d.ts +7 -0
- package/dist/serialization/types/{ConversationHistoryTranscriptCommonModelInputSourceMedium.js → AgentTestEntityType.js} +2 -2
- package/dist/serialization/types/AgentTestFolderPathSegmentResponseModel.d.ts +10 -0
- package/dist/serialization/types/AgentTestFolderPathSegmentResponseModel.js +42 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +2 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.js +4 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.d.ts +19 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.js +51 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +2 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.js +4 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.d.ts +19 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.js +51 -0
- package/dist/serialization/types/ChatSourceMedium.d.ts +7 -0
- package/{serialization/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.js → dist/serialization/types/ChatSourceMedium.js} +2 -2
- package/dist/serialization/types/ClientEvent.d.ts +1 -1
- package/dist/serialization/types/ClientEvent.js +1 -0
- package/dist/serialization/types/ClipAnimation.d.ts +14 -0
- package/dist/serialization/types/ClipAnimation.js +46 -0
- package/dist/serialization/types/ClipAnimationEnterEffect.d.ts +7 -0
- package/dist/serialization/types/ClipAnimationEnterEffect.js +54 -0
- package/dist/serialization/types/ClipAnimationExitEffect.d.ts +7 -0
- package/dist/serialization/types/ClipAnimationExitEffect.js +54 -0
- package/dist/serialization/types/CoachedAgentSettings.d.ts +9 -0
- package/dist/serialization/types/CoachedAgentSettings.js +41 -0
- package/dist/serialization/types/CoachingAgentSettings.d.ts +10 -0
- package/dist/serialization/types/CoachingAgentSettings.js +42 -0
- package/dist/serialization/types/ConfigEntityType.d.ts +7 -0
- package/dist/serialization/types/ConfigEntityType.js +95 -0
- package/dist/serialization/types/ConstantSchemaOverride.d.ts +10 -0
- package/dist/serialization/types/ConstantSchemaOverride.js +42 -0
- package/dist/serialization/types/ConstantSchemaOverrideConstantValue.d.ts +7 -0
- package/dist/serialization/types/{BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.js → ConstantSchemaOverrideConstantValue.js} +7 -2
- package/dist/serialization/types/ContentConfig.d.ts +1 -1
- package/dist/serialization/types/ContentConfig.js +1 -1
- package/dist/serialization/types/ConvAiFileUploadResponseModel.d.ts +9 -0
- package/dist/serialization/types/ConvAiFileUploadResponseModel.js +41 -0
- package/dist/serialization/types/ConversationHistoryRedactionConfig.d.ts +11 -0
- package/dist/serialization/types/ConversationHistoryRedactionConfig.js +43 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptFileInputResponseModel.d.ts +12 -0
- package/dist/serialization/types/ConversationHistoryTranscriptFileInputResponseModel.js +44 -0
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +35 -0
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.js +67 -0
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModelRole.d.ts +7 -0
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModelRole.js +39 -0
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.d.ts +10 -0
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.js +48 -0
- package/dist/serialization/types/ConversationUserResponseModel.d.ts +3 -2
- package/dist/serialization/types/ConversationUserResponseModel.js +3 -2
- package/dist/serialization/types/CreateClientParams.d.ts +9 -0
- package/dist/serialization/types/CreateClientParams.js +41 -0
- package/dist/serialization/types/CreatePreviouslyGeneratedVoiceRequest.d.ts +2 -8
- package/dist/serialization/types/CreatePreviouslyGeneratedVoiceRequest.js +1 -7
- package/dist/serialization/types/CreateProductParams.d.ts +9 -0
- package/dist/serialization/types/CreateProductParams.js +41 -0
- package/dist/serialization/types/CreateResponseUnitTestRequest.d.ts +1 -0
- package/dist/serialization/types/CreateResponseUnitTestRequest.js +1 -0
- package/dist/serialization/types/CreateServiceParams.d.ts +9 -0
- package/dist/serialization/types/CreateServiceParams.js +41 -0
- package/dist/serialization/types/CreateSimulationTestRequest.d.ts +1 -0
- package/dist/serialization/types/CreateSimulationTestRequest.js +1 -0
- package/dist/serialization/types/CreateStaffParams.d.ts +9 -0
- package/dist/serialization/types/CreateStaffParams.js +41 -0
- package/dist/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -0
- package/dist/serialization/types/CreateToolCallUnitTestRequest.js +1 -0
- package/dist/serialization/types/DeleteClientParams.d.ts +9 -0
- package/dist/serialization/types/DeleteClientParams.js +41 -0
- package/dist/serialization/types/DeleteProductParams.d.ts +9 -0
- package/dist/serialization/types/DeleteProductParams.js +41 -0
- package/dist/serialization/types/DeleteServiceParams.d.ts +9 -0
- package/dist/serialization/types/DeleteServiceParams.js +41 -0
- package/dist/serialization/types/DeleteStaffParams.d.ts +9 -0
- package/dist/serialization/types/DeleteStaffParams.js +41 -0
- package/dist/serialization/types/DependentBranchInfo.d.ts +13 -0
- package/dist/serialization/types/DependentBranchInfo.js +45 -0
- package/dist/serialization/types/DynamicVariableSchemaOverride.d.ts +9 -0
- package/dist/serialization/types/DynamicVariableSchemaOverride.js +41 -0
- package/dist/serialization/types/EmbeddingModelEnum.d.ts +1 -1
- package/dist/serialization/types/EmbeddingModelEnum.js +1 -1
- package/{serialization/types/AlignmentGuardrail.d.ts → dist/serialization/types/FocusGuardrail.d.ts} +2 -2
- package/dist/serialization/types/{AlignmentGuardrail.js → FocusGuardrail.js} +2 -2
- package/dist/serialization/types/GenerateVoiceRequest.d.ts +2 -10
- package/dist/serialization/types/GenerateVoiceRequest.js +1 -9
- package/dist/serialization/types/GenerationSourceContext.d.ts +19 -0
- package/dist/serialization/types/GenerationSourceContext.js +51 -0
- package/dist/serialization/types/GetAgentResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetAgentResponseModel.js +2 -0
- package/dist/serialization/types/GetAgentResponseModelCoachingSettings.d.ts +19 -0
- package/dist/serialization/types/GetAgentResponseModelCoachingSettings.js +51 -0
- package/dist/serialization/types/GetClientByPhoneParams.d.ts +9 -0
- package/dist/serialization/types/GetClientByPhoneParams.js +41 -0
- package/dist/serialization/types/GetConversationResponseModel.d.ts +2 -2
- package/dist/serialization/types/GetConversationResponseModel.js +2 -2
- package/dist/serialization/types/GetKnowledgeBaseDependentAgentsResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetKnowledgeBaseDependentAgentsResponseModel.js +2 -0
- package/dist/serialization/types/GetToolDependentAgentsResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetToolDependentAgentsResponseModel.js +2 -0
- package/dist/serialization/types/GuardrailsV1Input.d.ts +4 -2
- package/dist/serialization/types/GuardrailsV1Input.js +4 -2
- package/dist/serialization/types/GuardrailsV1Output.d.ts +4 -2
- package/dist/serialization/types/GuardrailsV1Output.js +4 -2
- package/dist/serialization/types/LibraryVoiceResponse.d.ts +1 -0
- package/dist/serialization/types/LibraryVoiceResponse.js +1 -0
- package/dist/serialization/types/ListAssetsParams.d.ts +9 -0
- package/dist/serialization/types/ListAssetsParams.js +41 -0
- package/dist/serialization/types/ListClientsParams.d.ts +9 -0
- package/dist/serialization/types/ListClientsParams.js +41 -0
- package/dist/serialization/types/ListProductsParams.d.ts +9 -0
- package/dist/serialization/types/ListProductsParams.js +41 -0
- package/dist/serialization/types/ListServicesParams.d.ts +9 -0
- package/dist/serialization/types/ListServicesParams.js +41 -0
- package/dist/serialization/types/ListStaffParams.d.ts +9 -0
- package/dist/serialization/types/ListStaffParams.js +41 -0
- package/dist/serialization/types/LlmDeprecationConfigModel.d.ts +13 -0
- package/dist/serialization/types/LlmDeprecationConfigModel.js +45 -0
- package/dist/serialization/types/LlmDeprecationInfoModel.d.ts +18 -0
- package/dist/serialization/types/LlmDeprecationInfoModel.js +50 -0
- package/dist/serialization/types/LlmInfoModelInput.d.ts +20 -0
- package/dist/serialization/types/LlmInfoModelInput.js +52 -0
- package/dist/serialization/types/LlmInfoModelOutput.d.ts +20 -0
- package/dist/serialization/types/LlmInfoModelOutput.js +52 -0
- package/dist/serialization/types/LlmListResponseModelInput.d.ts +12 -0
- package/dist/serialization/types/LlmListResponseModelInput.js +44 -0
- package/dist/serialization/types/LlmListResponseModelOutput.d.ts +12 -0
- package/dist/serialization/types/LlmListResponseModelOutput.js +44 -0
- package/dist/serialization/types/LlmSchemaOverride.d.ts +9 -0
- package/{serialization/types/ProcedureDraftRef.js → dist/serialization/types/LlmSchemaOverride.js} +3 -3
- package/dist/serialization/types/McpServerConfigInput.d.ts +2 -0
- package/dist/serialization/types/McpServerConfigInput.js +2 -0
- package/dist/serialization/types/McpServerConfigOutput.d.ts +2 -0
- package/dist/serialization/types/McpServerConfigOutput.js +2 -0
- package/dist/serialization/types/McpToolConfigOverride.d.ts +2 -0
- package/dist/serialization/types/McpToolConfigOverride.js +4 -0
- package/dist/serialization/types/McpToolConfigOverrideInputOverridesValue.d.ts +19 -0
- package/dist/serialization/types/McpToolConfigOverrideInputOverridesValue.js +51 -0
- package/dist/serialization/types/MessagesSearchResponse.d.ts +14 -0
- package/dist/serialization/types/MessagesSearchResponse.js +46 -0
- package/dist/serialization/types/MessagesSearchResult.d.ts +15 -0
- package/dist/serialization/types/MessagesSearchResult.js +47 -0
- package/dist/serialization/types/MusicExploreSongSourceContext.d.ts +14 -0
- package/dist/serialization/types/MusicExploreSongSourceContext.js +46 -0
- package/dist/serialization/types/NoCoachingSettings.d.ts +9 -0
- package/dist/serialization/types/NoCoachingSettings.js +41 -0
- package/dist/serialization/types/PendingClipTaskType.d.ts +1 -1
- package/dist/serialization/types/PendingClipTaskType.js +1 -1
- package/dist/serialization/types/PermissionType.d.ts +1 -1
- package/dist/serialization/types/PermissionType.js +1 -0
- package/dist/serialization/types/{PrivacyConfig.d.ts → PrivacyConfigInput.d.ts} +4 -2
- package/dist/serialization/types/{PrivacyConfig.js → PrivacyConfigInput.js} +4 -2
- package/dist/serialization/types/PrivacyConfigOutput.d.ts +16 -0
- package/dist/serialization/types/PrivacyConfigOutput.js +48 -0
- package/dist/serialization/types/ProcedureRefResponseModel.d.ts +11 -0
- package/dist/serialization/types/{ProcedureVersionRef.js → ProcedureRefResponseModel.js} +4 -3
- package/dist/serialization/types/ProjectExternalAudioResponseModel.d.ts +4 -2
- package/dist/serialization/types/ProjectExternalAudioResponseModel.js +4 -2
- package/dist/serialization/types/ProjectExternalAudioResponseModelSourceContext.d.ts +19 -0
- package/dist/serialization/types/ProjectExternalAudioResponseModelSourceContext.js +51 -0
- package/dist/serialization/types/ProjectImageResponseModel.d.ts +2 -0
- package/dist/serialization/types/ProjectImageResponseModel.js +2 -0
- package/dist/serialization/types/ProjectVideoResponseModel.d.ts +9 -3
- package/dist/serialization/types/ProjectVideoResponseModel.js +9 -3
- package/dist/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentApiModelInputToolsItem.js +3 -0
- package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.js +3 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.js +3 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.js +3 -0
- package/dist/serialization/types/PromptInjectionGuardrail.d.ts +9 -0
- package/dist/serialization/types/PromptInjectionGuardrail.js +41 -0
- package/dist/serialization/types/PronunciationDictionaryAliasRuleRequestModel.d.ts +2 -0
- package/dist/serialization/types/PronunciationDictionaryAliasRuleRequestModel.js +2 -0
- package/dist/serialization/types/PronunciationDictionaryAliasRuleResponseModel.d.ts +2 -0
- package/dist/serialization/types/PronunciationDictionaryAliasRuleResponseModel.js +2 -0
- package/dist/serialization/types/PronunciationDictionaryPhonemeRuleRequestModel.d.ts +2 -0
- package/dist/serialization/types/PronunciationDictionaryPhonemeRuleRequestModel.js +2 -0
- package/dist/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.d.ts +2 -0
- package/dist/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.js +2 -0
- package/dist/serialization/types/RagConfig.d.ts +1 -0
- package/dist/serialization/types/RagConfig.js +1 -0
- package/dist/serialization/types/RagConfigWorkflowOverride.d.ts +1 -0
- package/dist/serialization/types/RagConfigWorkflowOverride.js +1 -0
- package/dist/serialization/types/RagIndexStatus.d.ts +1 -1
- package/dist/serialization/types/RagIndexStatus.js +1 -0
- package/dist/serialization/types/ReferenceVideo.d.ts +13 -0
- package/dist/serialization/types/ReferenceVideo.js +45 -0
- package/dist/serialization/types/ResponseFilter.d.ts +12 -0
- package/dist/serialization/types/ResponseFilter.js +44 -0
- package/dist/serialization/types/SayNodeLiteralMessageInput.d.ts +10 -0
- package/dist/serialization/types/SayNodeLiteralMessageInput.js +42 -0
- package/dist/serialization/types/SayNodeLiteralMessageOutput.d.ts +10 -0
- package/dist/serialization/types/SayNodeLiteralMessageOutput.js +42 -0
- package/dist/serialization/types/SayNodePromptMessageInput.d.ts +10 -0
- package/dist/serialization/types/SayNodePromptMessageInput.js +42 -0
- package/dist/serialization/types/SayNodePromptMessageOutput.d.ts +10 -0
- package/dist/serialization/types/SayNodePromptMessageOutput.js +42 -0
- package/dist/serialization/types/SearchClientsParams.d.ts +9 -0
- package/dist/serialization/types/SearchClientsParams.js +41 -0
- package/dist/serialization/types/SfxSourceContext.d.ts +11 -0
- package/dist/serialization/types/SfxSourceContext.js +43 -0
- package/dist/serialization/types/SongSourceContext.d.ts +16 -0
- package/dist/serialization/types/SongSourceContext.js +48 -0
- package/dist/serialization/types/StudioClipReference.d.ts +15 -0
- package/dist/serialization/types/StudioClipReference.js +47 -0
- package/dist/serialization/types/StudioClipReferenceClipType.d.ts +7 -0
- package/dist/serialization/types/StudioClipReferenceClipType.js +39 -0
- package/dist/serialization/types/TestType.d.ts +1 -1
- package/dist/serialization/types/TestType.js +1 -1
- package/dist/serialization/types/ToolType.d.ts +1 -1
- package/dist/serialization/types/ToolType.js +1 -0
- package/dist/serialization/types/UnitTestSummaryResponseModel.d.ts +6 -0
- package/dist/serialization/types/UnitTestSummaryResponseModel.js +6 -0
- package/dist/serialization/types/UpdateClientParams.d.ts +9 -0
- package/dist/serialization/types/UpdateClientParams.js +41 -0
- package/dist/serialization/types/UpdateProductParams.d.ts +9 -0
- package/dist/serialization/types/UpdateProductParams.js +41 -0
- package/dist/serialization/types/UpdateResponseUnitTestRequest.d.ts +1 -0
- package/dist/serialization/types/UpdateResponseUnitTestRequest.js +1 -0
- package/dist/serialization/types/UpdateServiceParams.d.ts +9 -0
- package/dist/serialization/types/UpdateServiceParams.js +41 -0
- package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +1 -0
- package/dist/serialization/types/UpdateSimulationTestRequest.js +1 -0
- package/dist/serialization/types/UpdateStaffParams.d.ts +9 -0
- package/dist/serialization/types/UpdateStaffParams.js +41 -0
- package/dist/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -0
- package/dist/serialization/types/UpdateToolCallUnitTestRequest.js +1 -0
- package/dist/serialization/types/User.d.ts +2 -0
- package/dist/serialization/types/User.js +2 -0
- package/dist/serialization/types/Voice.d.ts +1 -0
- package/dist/serialization/types/Voice.js +1 -0
- package/dist/serialization/types/VoiceGenerationParameterOptionResponse.d.ts +2 -5
- package/dist/serialization/types/VoiceGenerationParameterOptionResponse.js +1 -4
- package/dist/serialization/types/VoiceGenerationParameterResponse.d.ts +2 -11
- package/dist/serialization/types/VoiceGenerationParameterResponse.js +1 -10
- package/dist/serialization/types/WidgetConfig.d.ts +6 -0
- package/dist/serialization/types/WidgetConfig.js +6 -0
- package/dist/serialization/types/WidgetConfigInputSyntaxHighlightTheme.d.ts +7 -0
- package/dist/serialization/types/WidgetConfigInputSyntaxHighlightTheme.js +39 -0
- package/dist/serialization/types/WidgetConfigOutputSyntaxHighlightTheme.d.ts +7 -0
- package/dist/serialization/types/WidgetConfigOutputSyntaxHighlightTheme.js +39 -0
- package/dist/serialization/types/WidgetConfigResponse.d.ts +6 -0
- package/dist/serialization/types/WidgetConfigResponse.js +6 -0
- package/dist/serialization/types/WidgetConfigResponseModelSyntaxHighlightTheme.d.ts +7 -0
- package/dist/serialization/types/WidgetConfigResponseModelSyntaxHighlightTheme.js +39 -0
- package/dist/serialization/types/WidgetTextContents.d.ts +11 -0
- package/dist/serialization/types/WidgetTextContents.js +11 -0
- package/dist/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
- package/dist/serialization/types/WorkspaceGroupPermission.js +1 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.js +1 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +3 -0
- package/dist/serialization/types/index.d.ts +73 -8
- package/dist/serialization/types/index.js +73 -8
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/music.d.ts +1 -0
- package/dist/wrapper/music.js +4 -1
- package/package.json +1 -1
- package/reference.md +424 -2
- package/serialization/resources/audioNative/client/index.d.ts +1 -0
- package/serialization/resources/audioNative/client/index.js +17 -0
- package/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.d.ts +9 -0
- package/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.js +41 -0
- package/serialization/resources/audioNative/client/requests/index.d.ts +1 -0
- package/serialization/resources/audioNative/client/requests/index.js +5 -0
- package/serialization/resources/audioNative/index.d.ts +1 -0
- package/serialization/resources/audioNative/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +2 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -2
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +2 -2
- package/serialization/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.d.ts +15 -0
- package/serialization/resources/conversationalAi/resources/agents/types/{BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js → BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.js} +12 -4
- package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.d.ts +15 -0
- package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.js +49 -0
- package/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +2 -1
- package/serialization/resources/conversationalAi/resources/agents/types/index.js +2 -1
- package/serialization/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/conversations/resources/messages/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/messages/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.d.ts +7 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.js +39 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +4 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +4 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +4 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +19 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +51 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +19 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +51 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.js +18 -0
- package/serialization/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.d.ts +7 -0
- package/serialization/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.js +39 -0
- package/serialization/resources/conversationalAi/resources/tests/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/tests/types/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.js +1 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +1 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +1 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +1 -0
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -0
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +1 -0
- package/serialization/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.d.ts +1 -0
- package/serialization/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.js +1 -0
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -0
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -0
- package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +3 -2
- package/serialization/types/AgentPlatformSettingsRequestModel.js +3 -2
- package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +3 -2
- package/serialization/types/AgentPlatformSettingsResponseModel.js +3 -2
- package/serialization/types/AgentSimulatedChatTestResponseModel.d.ts +2 -2
- package/serialization/types/AgentSimulatedChatTestResponseModel.js +2 -2
- package/serialization/types/AgentTestEntityType.d.ts +7 -0
- package/serialization/types/AgentTestEntityType.js +39 -0
- package/serialization/types/AgentTestFolderPathSegmentResponseModel.d.ts +10 -0
- package/serialization/types/AgentTestFolderPathSegmentResponseModel.js +42 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +2 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInput.js +4 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.d.ts +19 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.js +51 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +2 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutput.js +4 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.d.ts +19 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.js +51 -0
- package/serialization/types/ChatSourceMedium.d.ts +7 -0
- package/serialization/types/ChatSourceMedium.js +39 -0
- package/serialization/types/ClientEvent.d.ts +1 -1
- package/serialization/types/ClientEvent.js +1 -0
- package/serialization/types/ClipAnimation.d.ts +14 -0
- package/serialization/types/ClipAnimation.js +46 -0
- package/serialization/types/ClipAnimationEnterEffect.d.ts +7 -0
- package/serialization/types/ClipAnimationEnterEffect.js +54 -0
- package/serialization/types/ClipAnimationExitEffect.d.ts +7 -0
- package/serialization/types/ClipAnimationExitEffect.js +54 -0
- package/serialization/types/CoachedAgentSettings.d.ts +9 -0
- package/serialization/types/CoachedAgentSettings.js +41 -0
- package/serialization/types/CoachingAgentSettings.d.ts +10 -0
- package/serialization/types/CoachingAgentSettings.js +42 -0
- package/serialization/types/ConfigEntityType.d.ts +7 -0
- package/serialization/types/ConfigEntityType.js +95 -0
- package/serialization/types/ConstantSchemaOverride.d.ts +10 -0
- package/serialization/types/ConstantSchemaOverride.js +42 -0
- package/serialization/types/ConstantSchemaOverrideConstantValue.d.ts +7 -0
- package/{dist/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.js → serialization/types/ConstantSchemaOverrideConstantValue.js} +7 -2
- package/serialization/types/ContentConfig.d.ts +1 -1
- package/serialization/types/ContentConfig.js +1 -1
- package/serialization/types/ConvAiFileUploadResponseModel.d.ts +9 -0
- package/serialization/types/ConvAiFileUploadResponseModel.js +41 -0
- package/serialization/types/ConversationHistoryRedactionConfig.d.ts +11 -0
- package/serialization/types/ConversationHistoryRedactionConfig.js +43 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptFileInputResponseModel.d.ts +12 -0
- package/serialization/types/ConversationHistoryTranscriptFileInputResponseModel.js +44 -0
- package/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +35 -0
- package/serialization/types/ConversationHistoryTranscriptResponseModel.js +67 -0
- package/serialization/types/ConversationHistoryTranscriptResponseModelRole.d.ts +7 -0
- package/serialization/types/ConversationHistoryTranscriptResponseModelRole.js +39 -0
- package/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.d.ts +10 -0
- package/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.js +48 -0
- package/serialization/types/ConversationUserResponseModel.d.ts +3 -2
- package/serialization/types/ConversationUserResponseModel.js +3 -2
- package/serialization/types/CreateClientParams.d.ts +9 -0
- package/serialization/types/CreateClientParams.js +41 -0
- package/serialization/types/CreatePreviouslyGeneratedVoiceRequest.d.ts +2 -8
- package/serialization/types/CreatePreviouslyGeneratedVoiceRequest.js +1 -7
- package/serialization/types/CreateProductParams.d.ts +9 -0
- package/serialization/types/CreateProductParams.js +41 -0
- package/serialization/types/CreateResponseUnitTestRequest.d.ts +1 -0
- package/serialization/types/CreateResponseUnitTestRequest.js +1 -0
- package/serialization/types/CreateServiceParams.d.ts +9 -0
- package/serialization/types/CreateServiceParams.js +41 -0
- package/serialization/types/CreateSimulationTestRequest.d.ts +1 -0
- package/serialization/types/CreateSimulationTestRequest.js +1 -0
- package/serialization/types/CreateStaffParams.d.ts +9 -0
- package/serialization/types/CreateStaffParams.js +41 -0
- package/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -0
- package/serialization/types/CreateToolCallUnitTestRequest.js +1 -0
- package/serialization/types/DeleteClientParams.d.ts +9 -0
- package/serialization/types/DeleteClientParams.js +41 -0
- package/serialization/types/DeleteProductParams.d.ts +9 -0
- package/serialization/types/DeleteProductParams.js +41 -0
- package/serialization/types/DeleteServiceParams.d.ts +9 -0
- package/serialization/types/DeleteServiceParams.js +41 -0
- package/serialization/types/DeleteStaffParams.d.ts +9 -0
- package/serialization/types/DeleteStaffParams.js +41 -0
- package/serialization/types/DependentBranchInfo.d.ts +13 -0
- package/serialization/types/DependentBranchInfo.js +45 -0
- package/serialization/types/DynamicVariableSchemaOverride.d.ts +9 -0
- package/serialization/types/DynamicVariableSchemaOverride.js +41 -0
- package/serialization/types/EmbeddingModelEnum.d.ts +1 -1
- package/serialization/types/EmbeddingModelEnum.js +1 -1
- package/{dist/serialization/types/AlignmentGuardrail.d.ts → serialization/types/FocusGuardrail.d.ts} +2 -2
- package/serialization/types/{AlignmentGuardrail.js → FocusGuardrail.js} +2 -2
- package/serialization/types/GenerateVoiceRequest.d.ts +2 -10
- package/serialization/types/GenerateVoiceRequest.js +1 -9
- package/serialization/types/GenerationSourceContext.d.ts +19 -0
- package/serialization/types/GenerationSourceContext.js +51 -0
- package/serialization/types/GetAgentResponseModel.d.ts +2 -0
- package/serialization/types/GetAgentResponseModel.js +2 -0
- package/serialization/types/GetAgentResponseModelCoachingSettings.d.ts +19 -0
- package/serialization/types/GetAgentResponseModelCoachingSettings.js +51 -0
- package/serialization/types/GetClientByPhoneParams.d.ts +9 -0
- package/serialization/types/GetClientByPhoneParams.js +41 -0
- package/serialization/types/GetConversationResponseModel.d.ts +2 -2
- package/serialization/types/GetConversationResponseModel.js +2 -2
- package/serialization/types/GetKnowledgeBaseDependentAgentsResponseModel.d.ts +2 -0
- package/serialization/types/GetKnowledgeBaseDependentAgentsResponseModel.js +2 -0
- package/serialization/types/GetToolDependentAgentsResponseModel.d.ts +2 -0
- package/serialization/types/GetToolDependentAgentsResponseModel.js +2 -0
- package/serialization/types/GuardrailsV1Input.d.ts +4 -2
- package/serialization/types/GuardrailsV1Input.js +4 -2
- package/serialization/types/GuardrailsV1Output.d.ts +4 -2
- package/serialization/types/GuardrailsV1Output.js +4 -2
- package/serialization/types/LibraryVoiceResponse.d.ts +1 -0
- package/serialization/types/LibraryVoiceResponse.js +1 -0
- package/serialization/types/ListAssetsParams.d.ts +9 -0
- package/serialization/types/ListAssetsParams.js +41 -0
- package/serialization/types/ListClientsParams.d.ts +9 -0
- package/serialization/types/ListClientsParams.js +41 -0
- package/serialization/types/ListProductsParams.d.ts +9 -0
- package/serialization/types/ListProductsParams.js +41 -0
- package/serialization/types/ListServicesParams.d.ts +9 -0
- package/serialization/types/ListServicesParams.js +41 -0
- package/serialization/types/ListStaffParams.d.ts +9 -0
- package/serialization/types/ListStaffParams.js +41 -0
- package/serialization/types/LlmDeprecationConfigModel.d.ts +13 -0
- package/serialization/types/LlmDeprecationConfigModel.js +45 -0
- package/serialization/types/LlmDeprecationInfoModel.d.ts +18 -0
- package/serialization/types/LlmDeprecationInfoModel.js +50 -0
- package/serialization/types/LlmInfoModelInput.d.ts +20 -0
- package/serialization/types/LlmInfoModelInput.js +52 -0
- package/serialization/types/LlmInfoModelOutput.d.ts +20 -0
- package/serialization/types/LlmInfoModelOutput.js +52 -0
- package/serialization/types/LlmListResponseModelInput.d.ts +12 -0
- package/serialization/types/LlmListResponseModelInput.js +44 -0
- package/serialization/types/LlmListResponseModelOutput.d.ts +12 -0
- package/serialization/types/LlmListResponseModelOutput.js +44 -0
- package/serialization/types/LlmSchemaOverride.d.ts +9 -0
- package/{dist/serialization/types/ProcedureDraftRef.js → serialization/types/LlmSchemaOverride.js} +3 -3
- package/serialization/types/McpServerConfigInput.d.ts +2 -0
- package/serialization/types/McpServerConfigInput.js +2 -0
- package/serialization/types/McpServerConfigOutput.d.ts +2 -0
- package/serialization/types/McpServerConfigOutput.js +2 -0
- package/serialization/types/McpToolConfigOverride.d.ts +2 -0
- package/serialization/types/McpToolConfigOverride.js +4 -0
- package/serialization/types/McpToolConfigOverrideInputOverridesValue.d.ts +19 -0
- package/serialization/types/McpToolConfigOverrideInputOverridesValue.js +51 -0
- package/serialization/types/MessagesSearchResponse.d.ts +14 -0
- package/serialization/types/MessagesSearchResponse.js +46 -0
- package/serialization/types/MessagesSearchResult.d.ts +15 -0
- package/serialization/types/MessagesSearchResult.js +47 -0
- package/serialization/types/MusicExploreSongSourceContext.d.ts +14 -0
- package/serialization/types/MusicExploreSongSourceContext.js +46 -0
- package/serialization/types/NoCoachingSettings.d.ts +9 -0
- package/serialization/types/NoCoachingSettings.js +41 -0
- package/serialization/types/PendingClipTaskType.d.ts +1 -1
- package/serialization/types/PendingClipTaskType.js +1 -1
- package/serialization/types/PermissionType.d.ts +1 -1
- package/serialization/types/PermissionType.js +1 -0
- package/serialization/types/{PrivacyConfig.d.ts → PrivacyConfigInput.d.ts} +4 -2
- package/serialization/types/{PrivacyConfig.js → PrivacyConfigInput.js} +4 -2
- package/serialization/types/PrivacyConfigOutput.d.ts +16 -0
- package/serialization/types/PrivacyConfigOutput.js +48 -0
- package/serialization/types/ProcedureRefResponseModel.d.ts +11 -0
- package/serialization/types/{ProcedureVersionRef.js → ProcedureRefResponseModel.js} +4 -3
- package/serialization/types/ProjectExternalAudioResponseModel.d.ts +4 -2
- package/serialization/types/ProjectExternalAudioResponseModel.js +4 -2
- package/serialization/types/ProjectExternalAudioResponseModelSourceContext.d.ts +19 -0
- package/serialization/types/ProjectExternalAudioResponseModelSourceContext.js +51 -0
- package/serialization/types/ProjectImageResponseModel.d.ts +2 -0
- package/serialization/types/ProjectImageResponseModel.js +2 -0
- package/serialization/types/ProjectVideoResponseModel.d.ts +9 -3
- package/serialization/types/ProjectVideoResponseModel.js +9 -3
- package/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentApiModelInputToolsItem.js +3 -0
- package/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentApiModelOutputToolsItem.js +3 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.js +3 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.js +3 -0
- package/serialization/types/PromptInjectionGuardrail.d.ts +9 -0
- package/serialization/types/PromptInjectionGuardrail.js +41 -0
- package/serialization/types/PronunciationDictionaryAliasRuleRequestModel.d.ts +2 -0
- package/serialization/types/PronunciationDictionaryAliasRuleRequestModel.js +2 -0
- package/serialization/types/PronunciationDictionaryAliasRuleResponseModel.d.ts +2 -0
- package/serialization/types/PronunciationDictionaryAliasRuleResponseModel.js +2 -0
- package/serialization/types/PronunciationDictionaryPhonemeRuleRequestModel.d.ts +2 -0
- package/serialization/types/PronunciationDictionaryPhonemeRuleRequestModel.js +2 -0
- package/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.d.ts +2 -0
- package/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.js +2 -0
- package/serialization/types/RagConfig.d.ts +1 -0
- package/serialization/types/RagConfig.js +1 -0
- package/serialization/types/RagConfigWorkflowOverride.d.ts +1 -0
- package/serialization/types/RagConfigWorkflowOverride.js +1 -0
- package/serialization/types/RagIndexStatus.d.ts +1 -1
- package/serialization/types/RagIndexStatus.js +1 -0
- package/serialization/types/ReferenceVideo.d.ts +13 -0
- package/serialization/types/ReferenceVideo.js +45 -0
- package/serialization/types/ResponseFilter.d.ts +12 -0
- package/serialization/types/ResponseFilter.js +44 -0
- package/serialization/types/SayNodeLiteralMessageInput.d.ts +10 -0
- package/serialization/types/SayNodeLiteralMessageInput.js +42 -0
- package/serialization/types/SayNodeLiteralMessageOutput.d.ts +10 -0
- package/serialization/types/SayNodeLiteralMessageOutput.js +42 -0
- package/serialization/types/SayNodePromptMessageInput.d.ts +10 -0
- package/serialization/types/SayNodePromptMessageInput.js +42 -0
- package/serialization/types/SayNodePromptMessageOutput.d.ts +10 -0
- package/serialization/types/SayNodePromptMessageOutput.js +42 -0
- package/serialization/types/SearchClientsParams.d.ts +9 -0
- package/serialization/types/SearchClientsParams.js +41 -0
- package/serialization/types/SfxSourceContext.d.ts +11 -0
- package/serialization/types/SfxSourceContext.js +43 -0
- package/serialization/types/SongSourceContext.d.ts +16 -0
- package/serialization/types/SongSourceContext.js +48 -0
- package/serialization/types/StudioClipReference.d.ts +15 -0
- package/serialization/types/StudioClipReference.js +47 -0
- package/serialization/types/StudioClipReferenceClipType.d.ts +7 -0
- package/serialization/types/StudioClipReferenceClipType.js +39 -0
- package/serialization/types/TestType.d.ts +1 -1
- package/serialization/types/TestType.js +1 -1
- package/serialization/types/ToolType.d.ts +1 -1
- package/serialization/types/ToolType.js +1 -0
- package/serialization/types/UnitTestSummaryResponseModel.d.ts +6 -0
- package/serialization/types/UnitTestSummaryResponseModel.js +6 -0
- package/serialization/types/UpdateClientParams.d.ts +9 -0
- package/serialization/types/UpdateClientParams.js +41 -0
- package/serialization/types/UpdateProductParams.d.ts +9 -0
- package/serialization/types/UpdateProductParams.js +41 -0
- package/serialization/types/UpdateResponseUnitTestRequest.d.ts +1 -0
- package/serialization/types/UpdateResponseUnitTestRequest.js +1 -0
- package/serialization/types/UpdateServiceParams.d.ts +9 -0
- package/serialization/types/UpdateServiceParams.js +41 -0
- package/serialization/types/UpdateSimulationTestRequest.d.ts +1 -0
- package/serialization/types/UpdateSimulationTestRequest.js +1 -0
- package/serialization/types/UpdateStaffParams.d.ts +9 -0
- package/serialization/types/UpdateStaffParams.js +41 -0
- package/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -0
- package/serialization/types/UpdateToolCallUnitTestRequest.js +1 -0
- package/serialization/types/User.d.ts +2 -0
- package/serialization/types/User.js +2 -0
- package/serialization/types/Voice.d.ts +1 -0
- package/serialization/types/Voice.js +1 -0
- package/serialization/types/VoiceGenerationParameterOptionResponse.d.ts +2 -5
- package/serialization/types/VoiceGenerationParameterOptionResponse.js +1 -4
- package/serialization/types/VoiceGenerationParameterResponse.d.ts +2 -11
- package/serialization/types/VoiceGenerationParameterResponse.js +1 -10
- package/serialization/types/WidgetConfig.d.ts +6 -0
- package/serialization/types/WidgetConfig.js +6 -0
- package/serialization/types/WidgetConfigInputSyntaxHighlightTheme.d.ts +7 -0
- package/serialization/types/WidgetConfigInputSyntaxHighlightTheme.js +39 -0
- package/serialization/types/WidgetConfigOutputSyntaxHighlightTheme.d.ts +7 -0
- package/serialization/types/WidgetConfigOutputSyntaxHighlightTheme.js +39 -0
- package/serialization/types/WidgetConfigResponse.d.ts +6 -0
- package/serialization/types/WidgetConfigResponse.js +6 -0
- package/serialization/types/WidgetConfigResponseModelSyntaxHighlightTheme.d.ts +7 -0
- package/serialization/types/WidgetConfigResponseModelSyntaxHighlightTheme.js +39 -0
- package/serialization/types/WidgetTextContents.d.ts +11 -0
- package/serialization/types/WidgetTextContents.js +11 -0
- package/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
- package/serialization/types/WorkspaceGroupPermission.js +1 -0
- package/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/serialization/types/WorkspaceGroupResponseModel.js +1 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +3 -0
- package/serialization/types/index.d.ts +73 -8
- package/serialization/types/index.js +73 -8
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/music.d.ts +1 -0
- package/wrapper/music.js +4 -1
- package/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +0 -2
- package/api/types/AlignmentGuardrail.d.ts +0 -3
- package/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.d.ts +0 -7
- package/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.js +0 -10
- package/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.d.ts +0 -6
- package/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.js +0 -9
- package/api/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.d.ts +0 -5
- package/api/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.d.ts +0 -5
- package/api/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.js +0 -8
- package/api/types/ProcedureDraftRef.d.ts +0 -4
- package/api/types/ProcedureVersionRef.d.ts +0 -6
- package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +0 -2
- package/dist/api/types/AlignmentGuardrail.d.ts +0 -3
- package/dist/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.d.ts +0 -7
- package/dist/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.js +0 -10
- package/dist/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.d.ts +0 -6
- package/dist/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.js +0 -9
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.d.ts +0 -5
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.d.ts +0 -5
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.js +0 -8
- package/dist/api/types/ProcedureDraftRef.d.ts +0 -4
- package/dist/api/types/ProcedureVersionRef.d.ts +0 -6
- package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +0 -9
- package/dist/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.d.ts +0 -7
- package/dist/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.d.ts +0 -7
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.d.ts +0 -7
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.d.ts +0 -7
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.js +0 -39
- package/dist/serialization/types/ProcedureDraftRef.d.ts +0 -9
- package/dist/serialization/types/ProcedureVersionRef.d.ts +0 -10
- package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +0 -9
- package/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.d.ts +0 -7
- package/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.js +0 -39
- package/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.d.ts +0 -7
- package/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.js +0 -39
- package/serialization/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.d.ts +0 -7
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.d.ts +0 -7
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.js +0 -39
- package/serialization/types/ProcedureDraftRef.d.ts +0 -9
- package/serialization/types/ProcedureVersionRef.d.ts +0 -10
- /package/api/resources/{conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js → audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.js} +0 -0
- /package/api/{types/AlignmentGuardrail.js → resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.js} +0 -0
- /package/api/{types/PrivacyConfig.js → resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.js} +0 -0
- /package/api/{types/ProcedureDraftRef.js → resources/conversationalAi/resources/conversations/resources/files/client/requests/BodyUploadFileV1ConvaiConversationsConversationIdFilesPost.js} +0 -0
- /package/api/{types/ProcedureVersionRef.js → resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.js} +0 -0
- /package/{dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js → api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.js} +0 -0
- /package/{dist/api/types/AlignmentGuardrail.js → api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js} +0 -0
- /package/{dist/api/types/PrivacyConfig.js → api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js} +0 -0
- /package/{dist/api/types/ProcedureDraftRef.js → api/types/AgentTestFolderPathSegmentResponseModel.js} +0 -0
- /package/{dist/api/types/ProcedureVersionRef.js → api/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.js} +0 -0
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.MessagesClient = void 0;
|
|
47
|
+
const BaseClient_1 = require("../../../../../../../../BaseClient");
|
|
48
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
49
|
+
const headers_1 = require("../../../../../../../../core/headers");
|
|
50
|
+
const environments = __importStar(require("../../../../../../../../environments"));
|
|
51
|
+
const handleNonStatusCodeError_1 = require("../../../../../../../../errors/handleNonStatusCodeError");
|
|
52
|
+
const errors = __importStar(require("../../../../../../../../errors/index"));
|
|
53
|
+
const serializers = __importStar(require("../../../../../../../../serialization/index"));
|
|
54
|
+
const ElevenLabs = __importStar(require("../../../../../../../index"));
|
|
55
|
+
class MessagesClient {
|
|
56
|
+
constructor(options = {}) {
|
|
57
|
+
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Search through conversation transcript messages by full-text and fuzzy search
|
|
61
|
+
*
|
|
62
|
+
* @param {ElevenLabs.conversationalAi.conversations.MessagesTextSearchRequest} request
|
|
63
|
+
* @param {MessagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* await client.conversationalAi.conversations.messages.textSearch({
|
|
69
|
+
* textQuery: "refund policy",
|
|
70
|
+
* agentId: "agent_id",
|
|
71
|
+
* callSuccessful: "success",
|
|
72
|
+
* callStartBeforeUnix: 1,
|
|
73
|
+
* callStartAfterUnix: 1,
|
|
74
|
+
* callDurationMinSecs: 1,
|
|
75
|
+
* callDurationMaxSecs: 1,
|
|
76
|
+
* ratingMax: 1,
|
|
77
|
+
* ratingMin: 1,
|
|
78
|
+
* hasFeedbackComment: true,
|
|
79
|
+
* userId: "user_id",
|
|
80
|
+
* pageSize: 1,
|
|
81
|
+
* summaryMode: "exclude",
|
|
82
|
+
* conversationInitiationSource: "unknown",
|
|
83
|
+
* branchId: "branch_id",
|
|
84
|
+
* cursor: "cursor"
|
|
85
|
+
* })
|
|
86
|
+
*/
|
|
87
|
+
textSearch(request, requestOptions) {
|
|
88
|
+
return core.HttpResponsePromise.fromPromise(this.__textSearch(request, requestOptions));
|
|
89
|
+
}
|
|
90
|
+
__textSearch(request, requestOptions) {
|
|
91
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
92
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
93
|
+
const { textQuery, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, mainLanguages, pageSize, summaryMode, conversationInitiationSource, branchId, cursor, } = request;
|
|
94
|
+
const _queryParams = {};
|
|
95
|
+
_queryParams.text_query = textQuery;
|
|
96
|
+
if (agentId != null) {
|
|
97
|
+
_queryParams.agent_id = agentId;
|
|
98
|
+
}
|
|
99
|
+
if (callSuccessful != null) {
|
|
100
|
+
_queryParams.call_successful = serializers.EvaluationSuccessResult.jsonOrThrow(callSuccessful, {
|
|
101
|
+
unrecognizedObjectKeys: "strip",
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
if (callStartBeforeUnix != null) {
|
|
105
|
+
_queryParams.call_start_before_unix = callStartBeforeUnix.toString();
|
|
106
|
+
}
|
|
107
|
+
if (callStartAfterUnix != null) {
|
|
108
|
+
_queryParams.call_start_after_unix = callStartAfterUnix.toString();
|
|
109
|
+
}
|
|
110
|
+
if (callDurationMinSecs != null) {
|
|
111
|
+
_queryParams.call_duration_min_secs = callDurationMinSecs.toString();
|
|
112
|
+
}
|
|
113
|
+
if (callDurationMaxSecs != null) {
|
|
114
|
+
_queryParams.call_duration_max_secs = callDurationMaxSecs.toString();
|
|
115
|
+
}
|
|
116
|
+
if (ratingMax != null) {
|
|
117
|
+
_queryParams.rating_max = ratingMax.toString();
|
|
118
|
+
}
|
|
119
|
+
if (ratingMin != null) {
|
|
120
|
+
_queryParams.rating_min = ratingMin.toString();
|
|
121
|
+
}
|
|
122
|
+
if (hasFeedbackComment != null) {
|
|
123
|
+
_queryParams.has_feedback_comment = hasFeedbackComment.toString();
|
|
124
|
+
}
|
|
125
|
+
if (userId != null) {
|
|
126
|
+
_queryParams.user_id = userId;
|
|
127
|
+
}
|
|
128
|
+
if (evaluationParams != null) {
|
|
129
|
+
if (Array.isArray(evaluationParams)) {
|
|
130
|
+
_queryParams.evaluation_params = evaluationParams.map((item) => item);
|
|
131
|
+
}
|
|
132
|
+
else {
|
|
133
|
+
_queryParams.evaluation_params = evaluationParams;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
if (dataCollectionParams != null) {
|
|
137
|
+
if (Array.isArray(dataCollectionParams)) {
|
|
138
|
+
_queryParams.data_collection_params = dataCollectionParams.map((item) => item);
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
_queryParams.data_collection_params = dataCollectionParams;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
if (toolNames != null) {
|
|
145
|
+
if (Array.isArray(toolNames)) {
|
|
146
|
+
_queryParams.tool_names = toolNames.map((item) => item);
|
|
147
|
+
}
|
|
148
|
+
else {
|
|
149
|
+
_queryParams.tool_names = toolNames;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
if (mainLanguages != null) {
|
|
153
|
+
if (Array.isArray(mainLanguages)) {
|
|
154
|
+
_queryParams.main_languages = mainLanguages.map((item) => item);
|
|
155
|
+
}
|
|
156
|
+
else {
|
|
157
|
+
_queryParams.main_languages = mainLanguages;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
if (pageSize != null) {
|
|
161
|
+
_queryParams.page_size = pageSize.toString();
|
|
162
|
+
}
|
|
163
|
+
if (summaryMode != null) {
|
|
164
|
+
_queryParams.summary_mode =
|
|
165
|
+
serializers.conversationalAi.conversations.MessagesTextSearchRequestSummaryMode.jsonOrThrow(summaryMode, { unrecognizedObjectKeys: "strip" });
|
|
166
|
+
}
|
|
167
|
+
if (conversationInitiationSource != null) {
|
|
168
|
+
_queryParams.conversation_initiation_source = serializers.ConversationInitiationSource.jsonOrThrow(conversationInitiationSource, { unrecognizedObjectKeys: "strip" });
|
|
169
|
+
}
|
|
170
|
+
if (branchId != null) {
|
|
171
|
+
_queryParams.branch_id = branchId;
|
|
172
|
+
}
|
|
173
|
+
if (cursor != null) {
|
|
174
|
+
_queryParams.cursor = cursor;
|
|
175
|
+
}
|
|
176
|
+
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);
|
|
177
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
178
|
+
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/conversations/messages/text-search"),
|
|
179
|
+
method: "GET",
|
|
180
|
+
headers: _headers,
|
|
181
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
182
|
+
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,
|
|
183
|
+
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,
|
|
184
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
185
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
186
|
+
logging: this._options.logging,
|
|
187
|
+
});
|
|
188
|
+
if (_response.ok) {
|
|
189
|
+
return {
|
|
190
|
+
data: serializers.MessagesSearchResponse.parseOrThrow(_response.body, {
|
|
191
|
+
unrecognizedObjectKeys: "passthrough",
|
|
192
|
+
allowUnrecognizedUnionMembers: true,
|
|
193
|
+
allowUnrecognizedEnumValues: true,
|
|
194
|
+
breadcrumbsPrefix: ["response"],
|
|
195
|
+
}),
|
|
196
|
+
rawResponse: _response.rawResponse,
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
if (_response.error.reason === "status-code") {
|
|
200
|
+
switch (_response.error.statusCode) {
|
|
201
|
+
case 422:
|
|
202
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
203
|
+
unrecognizedObjectKeys: "passthrough",
|
|
204
|
+
allowUnrecognizedUnionMembers: true,
|
|
205
|
+
allowUnrecognizedEnumValues: true,
|
|
206
|
+
breadcrumbsPrefix: ["response"],
|
|
207
|
+
}), _response.rawResponse);
|
|
208
|
+
default:
|
|
209
|
+
throw new errors.ElevenLabsError({
|
|
210
|
+
statusCode: _response.error.statusCode,
|
|
211
|
+
body: _response.error.body,
|
|
212
|
+
rawResponse: _response.rawResponse,
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/conversations/messages/text-search");
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Search conversation transcripts by semantic similarity to surface relevant messages based on meaning and intent, rather than exact keyword matches
|
|
221
|
+
*
|
|
222
|
+
* @param {ElevenLabs.conversationalAi.conversations.MessagesSearchRequest} request
|
|
223
|
+
* @param {MessagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
224
|
+
*
|
|
225
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
226
|
+
*
|
|
227
|
+
* @example
|
|
228
|
+
* await client.conversationalAi.conversations.messages.search({
|
|
229
|
+
* textQuery: "Customer asking to cancel and get money back",
|
|
230
|
+
* agentId: "agent_id",
|
|
231
|
+
* pageSize: 1,
|
|
232
|
+
* cursor: "cursor"
|
|
233
|
+
* })
|
|
234
|
+
*/
|
|
235
|
+
search(request, requestOptions) {
|
|
236
|
+
return core.HttpResponsePromise.fromPromise(this.__search(request, requestOptions));
|
|
237
|
+
}
|
|
238
|
+
__search(request, requestOptions) {
|
|
239
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
240
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
241
|
+
const { textQuery, agentId, pageSize, cursor } = request;
|
|
242
|
+
const _queryParams = {};
|
|
243
|
+
_queryParams.text_query = textQuery;
|
|
244
|
+
if (agentId != null) {
|
|
245
|
+
_queryParams.agent_id = agentId;
|
|
246
|
+
}
|
|
247
|
+
if (pageSize != null) {
|
|
248
|
+
_queryParams.page_size = pageSize.toString();
|
|
249
|
+
}
|
|
250
|
+
if (cursor != null) {
|
|
251
|
+
_queryParams.cursor = cursor;
|
|
252
|
+
}
|
|
253
|
+
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);
|
|
254
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
255
|
+
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/conversations/messages/smart-search"),
|
|
256
|
+
method: "GET",
|
|
257
|
+
headers: _headers,
|
|
258
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
259
|
+
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,
|
|
260
|
+
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,
|
|
261
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
262
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
263
|
+
logging: this._options.logging,
|
|
264
|
+
});
|
|
265
|
+
if (_response.ok) {
|
|
266
|
+
return {
|
|
267
|
+
data: serializers.MessagesSearchResponse.parseOrThrow(_response.body, {
|
|
268
|
+
unrecognizedObjectKeys: "passthrough",
|
|
269
|
+
allowUnrecognizedUnionMembers: true,
|
|
270
|
+
allowUnrecognizedEnumValues: true,
|
|
271
|
+
breadcrumbsPrefix: ["response"],
|
|
272
|
+
}),
|
|
273
|
+
rawResponse: _response.rawResponse,
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
if (_response.error.reason === "status-code") {
|
|
277
|
+
switch (_response.error.statusCode) {
|
|
278
|
+
case 422:
|
|
279
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
280
|
+
unrecognizedObjectKeys: "passthrough",
|
|
281
|
+
allowUnrecognizedUnionMembers: true,
|
|
282
|
+
allowUnrecognizedEnumValues: true,
|
|
283
|
+
breadcrumbsPrefix: ["response"],
|
|
284
|
+
}), _response.rawResponse);
|
|
285
|
+
default:
|
|
286
|
+
throw new errors.ElevenLabsError({
|
|
287
|
+
statusCode: _response.error.statusCode,
|
|
288
|
+
body: _response.error.body,
|
|
289
|
+
rawResponse: _response.rawResponse,
|
|
290
|
+
});
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/conversations/messages/smart-search");
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
exports.MessagesClient = MessagesClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -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("./requests"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* textQuery: "Customer asking to cancel and get money back",
|
|
5
|
+
* agentId: "agent_id",
|
|
6
|
+
* pageSize: 1,
|
|
7
|
+
* cursor: "cursor"
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface MessagesSearchRequest {
|
|
11
|
+
/** The search query text for semantic similarity matching */
|
|
12
|
+
textQuery: string;
|
|
13
|
+
/** The id of the agent you're taking the action on. */
|
|
14
|
+
agentId?: string;
|
|
15
|
+
/** Number of results per page. Max 50. */
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
/** Used for fetching next page. Cursor is returned in the response. */
|
|
18
|
+
cursor?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* textQuery: "refund policy",
|
|
6
|
+
* agentId: "agent_id",
|
|
7
|
+
* callSuccessful: "success",
|
|
8
|
+
* callStartBeforeUnix: 1,
|
|
9
|
+
* callStartAfterUnix: 1,
|
|
10
|
+
* callDurationMinSecs: 1,
|
|
11
|
+
* callDurationMaxSecs: 1,
|
|
12
|
+
* ratingMax: 1,
|
|
13
|
+
* ratingMin: 1,
|
|
14
|
+
* hasFeedbackComment: true,
|
|
15
|
+
* userId: "user_id",
|
|
16
|
+
* pageSize: 1,
|
|
17
|
+
* summaryMode: "exclude",
|
|
18
|
+
* conversationInitiationSource: "unknown",
|
|
19
|
+
* branchId: "branch_id",
|
|
20
|
+
* cursor: "cursor"
|
|
21
|
+
* }
|
|
22
|
+
*/
|
|
23
|
+
export interface MessagesTextSearchRequest {
|
|
24
|
+
/** The search query text for full-text and fuzzy matching */
|
|
25
|
+
textQuery: string;
|
|
26
|
+
/** The id of the agent you're taking the action on. */
|
|
27
|
+
agentId?: string;
|
|
28
|
+
/** The result of the success evaluation */
|
|
29
|
+
callSuccessful?: ElevenLabs.EvaluationSuccessResult;
|
|
30
|
+
/** Unix timestamp (in seconds) to filter conversations up to this start date. */
|
|
31
|
+
callStartBeforeUnix?: number;
|
|
32
|
+
/** Unix timestamp (in seconds) to filter conversations after to this start date. */
|
|
33
|
+
callStartAfterUnix?: number;
|
|
34
|
+
/** Minimum call duration in seconds. */
|
|
35
|
+
callDurationMinSecs?: number;
|
|
36
|
+
/** Maximum call duration in seconds. */
|
|
37
|
+
callDurationMaxSecs?: number;
|
|
38
|
+
/** Maximum overall rating (1-5). */
|
|
39
|
+
ratingMax?: number;
|
|
40
|
+
/** Minimum overall rating (1-5). */
|
|
41
|
+
ratingMin?: number;
|
|
42
|
+
/** Filter conversations with user feedback comments. */
|
|
43
|
+
hasFeedbackComment?: boolean;
|
|
44
|
+
/** Filter conversations by the user ID who initiated them. */
|
|
45
|
+
userId?: string;
|
|
46
|
+
/** Evaluation filters. Repeat param. Format: criteria_id:result. Example: eval=value_framing:success */
|
|
47
|
+
evaluationParams?: string | string[];
|
|
48
|
+
/** Data collection filters. Repeat param. Format: id:op:value where op is one of eq|neq|gt|gte|lt|lte|in|exists|missing. For in, pipe-delimit values. */
|
|
49
|
+
dataCollectionParams?: string | string[];
|
|
50
|
+
/** Filter conversations by tool names used during the call. */
|
|
51
|
+
toolNames?: string | string[];
|
|
52
|
+
/** Filter conversations by detected main language (language code). */
|
|
53
|
+
mainLanguages?: string | string[];
|
|
54
|
+
/** Number of results per page. Max 50. */
|
|
55
|
+
pageSize?: number;
|
|
56
|
+
/** Whether to include transcript summaries in the response. */
|
|
57
|
+
summaryMode?: ElevenLabs.conversationalAi.conversations.MessagesTextSearchRequestSummaryMode;
|
|
58
|
+
conversationInitiationSource?: ElevenLabs.ConversationInitiationSource;
|
|
59
|
+
/** Filter conversations by branch ID. */
|
|
60
|
+
branchId?: string;
|
|
61
|
+
/** Used for fetching next page. Cursor is returned in the response. */
|
|
62
|
+
cursor?: string;
|
|
63
|
+
}
|
package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
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("./client"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Whether to include transcript summaries in the response. */
|
|
2
|
+
export declare const MessagesTextSearchRequestSummaryMode: {
|
|
3
|
+
readonly Exclude: "exclude";
|
|
4
|
+
readonly Include: "include";
|
|
5
|
+
};
|
|
6
|
+
export type MessagesTextSearchRequestSummaryMode = (typeof MessagesTextSearchRequestSummaryMode)[keyof typeof MessagesTextSearchRequestSummaryMode];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.MessagesTextSearchRequestSummaryMode = void 0;
|
|
5
|
+
/** Whether to include transcript summaries in the response. */
|
|
6
|
+
exports.MessagesTextSearchRequestSummaryMode = {
|
|
7
|
+
Exclude: "exclude",
|
|
8
|
+
Include: "include",
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./MessagesTextSearchRequestSummaryMode";
|
|
@@ -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("./MessagesTextSearchRequestSummaryMode"), exports);
|
|
@@ -11,6 +11,7 @@ export * as dashboard from "./dashboard";
|
|
|
11
11
|
export * as knowledgeBase from "./knowledgeBase";
|
|
12
12
|
export * from "./knowledgeBase/client/requests";
|
|
13
13
|
export * from "./knowledgeBase/types";
|
|
14
|
+
export * as llm from "./llm";
|
|
14
15
|
export * as llmUsage from "./llmUsage";
|
|
15
16
|
export * from "./llmUsage/client/requests";
|
|
16
17
|
export * as mcpServers from "./mcpServers";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.whatsappAccounts = exports.whatsapp = exports.users = 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;
|
|
39
|
+
exports.whatsappAccounts = exports.whatsapp = exports.users = exports.twilio = exports.tools = exports.tests = exports.sipTrunk = exports.settings = exports.secrets = exports.phoneNumbers = exports.mcpServers = exports.llmUsage = exports.llm = 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
42
|
__exportStar(require("./agents/types"), exports);
|
|
@@ -50,6 +50,7 @@ exports.dashboard = __importStar(require("./dashboard"));
|
|
|
50
50
|
exports.knowledgeBase = __importStar(require("./knowledgeBase"));
|
|
51
51
|
__exportStar(require("./knowledgeBase/client/requests"), exports);
|
|
52
52
|
__exportStar(require("./knowledgeBase/types"), exports);
|
|
53
|
+
exports.llm = __importStar(require("./llm"));
|
|
53
54
|
exports.llmUsage = __importStar(require("./llmUsage"));
|
|
54
55
|
__exportStar(require("./llmUsage/client/requests"), exports);
|
|
55
56
|
exports.mcpServers = __importStar(require("./mcpServers"));
|
|
@@ -40,7 +40,7 @@ export declare class KnowledgeBaseClient {
|
|
|
40
40
|
list(request?: ElevenLabs.conversationalAi.KnowledgeBaseListRequest, requestOptions?: KnowledgeBaseClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetKnowledgeBaseListResponseModel>;
|
|
41
41
|
private __list;
|
|
42
42
|
/**
|
|
43
|
-
* Retrieves and/or creates RAG indexes for multiple knowledge base documents in a single request.
|
|
43
|
+
* Retrieves and/or creates RAG indexes for multiple knowledge base documents in a single request. Maximum 100 items per request.
|
|
44
44
|
*
|
|
45
45
|
* @param {ElevenLabs.conversationalAi.BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost} request
|
|
46
46
|
* @param {KnowledgeBaseClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -180,7 +180,7 @@ class KnowledgeBaseClient {
|
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
/**
|
|
183
|
-
* Retrieves and/or creates RAG indexes for multiple knowledge base documents in a single request.
|
|
183
|
+
* Retrieves and/or creates RAG indexes for multiple knowledge base documents in a single request. Maximum 100 items per request.
|
|
184
184
|
*
|
|
185
185
|
* @param {ElevenLabs.conversationalAi.BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost} request
|
|
186
186
|
* @param {KnowledgeBaseClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -10,6 +10,6 @@ import type * as ElevenLabs from "../../../../../../index";
|
|
|
10
10
|
* }
|
|
11
11
|
*/
|
|
12
12
|
export interface BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost {
|
|
13
|
-
/** List of requested RAG indexes. */
|
|
13
|
+
/** List of requested RAG indexes. Minimum 1, maximum 100 items. */
|
|
14
14
|
items: ElevenLabs.GetOrCreateRagIndexRequestModel[];
|
|
15
15
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient";
|
|
2
|
+
import { type NormalizedClientOptions } from "../../../../../../BaseClient";
|
|
3
|
+
import * as core from "../../../../../../core";
|
|
4
|
+
import * as ElevenLabs from "../../../../../index";
|
|
5
|
+
export declare namespace LlmClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class LlmClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptions<LlmClient.Options>;
|
|
12
|
+
constructor(options?: LlmClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Returns a list of available LLM models that can be used with agents, including their capabilities and any deprecation status. The response is filtered based on the data residency of the deployment and any compliance requirements (e.g. HIPAA) of the workspace subscription.
|
|
15
|
+
*
|
|
16
|
+
* @param {LlmClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
|
+
*
|
|
18
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* await client.conversationalAi.llm.list()
|
|
22
|
+
*/
|
|
23
|
+
list(requestOptions?: LlmClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.LlmListResponseModelInput>;
|
|
24
|
+
private __list;
|
|
25
|
+
}
|