@elevenlabs/elevenlabs-js 2.22.0 → 2.24.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/Client.js +2 -2
- package/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +33 -1
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +12 -0
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +2 -2
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +7 -5
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts → ConversationFeedbackRequestModel.d.ts} +2 -2
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +13 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +64 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +50 -2
- package/api/resources/conversationalAi/resources/tools/client/Client.js +50 -2
- package/api/resources/music/client/Client.d.ts +1 -1
- package/api/resources/music/client/Client.js +1 -1
- package/api/types/AgentMetadata.d.ts +1 -0
- package/api/types/ApiIntegrationWebhookToolConfigExternalInput.d.ts +34 -0
- package/api/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +34 -0
- package/api/types/ApiIntegrationWebhookToolConfigExternalOutput.js +3 -0
- package/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +8 -8
- package/api/types/AsrProvider.d.ts +5 -1
- package/api/types/AsrProvider.js +5 -0
- package/api/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
- package/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
- package/api/types/ConversationConfigClientOverrideInput.d.ts +2 -0
- package/api/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
- package/api/types/ConversationFeedbackType.d.ts +5 -0
- package/api/types/ConversationFeedbackType.js +8 -0
- package/api/types/ConversationHistoryFeedbackCommonModel.d.ts +3 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
- package/api/types/ConversationInitiationSource.d.ts +1 -0
- package/api/types/ConversationInitiationSource.js +1 -0
- package/api/types/ConversationSummaryResponseModel.d.ts +2 -0
- package/api/types/DiscountResposneModel.d.ts +6 -0
- package/api/types/DiscountResposneModel.js +3 -0
- package/api/types/GetAgentResponseModel.d.ts +4 -0
- package/api/types/GetConversationResponseModel.d.ts +1 -0
- package/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/api/types/InvoiceResponse.d.ts +4 -2
- package/api/types/LanguagePresetInput.d.ts +2 -0
- package/api/types/LanguagePresetOutput.d.ts +2 -0
- package/api/types/ProjectExtendedResponse.d.ts +4 -0
- package/api/types/ProjectExtendedResponseModelAssetsItem.d.ts +10 -0
- package/api/types/ProjectExtendedResponseModelAssetsItem.js +3 -0
- package/api/types/ProjectExternalAudioResponseModel.d.ts +23 -0
- package/api/types/ProjectExternalAudioResponseModel.js +3 -0
- package/api/types/ProjectSnapshotExtendedResponseModel.d.ts +2 -0
- package/api/types/ProjectVideoResponseModel.d.ts +31 -0
- package/api/types/ProjectVideoResponseModel.js +3 -0
- package/api/types/ProjectVideoThumbnailSheetResponseModel.d.ts +5 -0
- package/api/types/ProjectVideoThumbnailSheetResponseModel.js +3 -0
- package/api/types/ProjectVoiceResponseModel.d.ts +11 -0
- package/api/types/ProjectVoiceResponseModel.js +3 -0
- package/api/types/SoftTimeoutConfig.d.ts +9 -0
- package/api/types/SoftTimeoutConfig.js +3 -0
- package/api/types/SoftTimeoutConfigOverride.d.ts +4 -0
- package/api/types/SoftTimeoutConfigOverride.js +3 -0
- package/api/types/SoftTimeoutConfigOverrideConfig.d.ts +4 -0
- package/api/types/SoftTimeoutConfigOverrideConfig.js +3 -0
- package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +6 -0
- package/api/types/SoftTimeoutConfigWorkflowOverride.js +3 -0
- package/api/types/TestInvocationSummaryResponseModel.d.ts +4 -0
- package/api/types/ToolRequestModelToolConfig.d.ts +1 -1
- package/api/types/ToolResponseModelToolConfig.d.ts +2 -6
- package/api/types/TtsConversationalModel.d.ts +1 -0
- package/api/types/TtsConversationalModel.js +1 -0
- package/api/types/TtsModelFamily.d.ts +1 -0
- package/api/types/TtsModelFamily.js +1 -0
- package/api/types/TurnConfig.d.ts +4 -0
- package/api/types/TurnConfigOverride.d.ts +5 -0
- package/api/types/TurnConfigOverride.js +3 -0
- package/api/types/TurnConfigOverrideConfig.d.ts +5 -0
- package/api/types/TurnConfigOverrideConfig.js +3 -0
- package/api/types/TurnConfigWorkflowOverride.d.ts +4 -0
- package/api/types/UnitTestRunResponseModel.d.ts +1 -0
- package/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/api/types/WebhookToolApiSchemaConfigInputContentType.d.ts +6 -0
- package/api/types/WebhookToolApiSchemaConfigInputContentType.js +9 -0
- package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/api/types/WebhookToolApiSchemaConfigOutputContentType.d.ts +6 -0
- package/api/types/WebhookToolApiSchemaConfigOutputContentType.js +9 -0
- package/api/types/WidgetConfig.d.ts +2 -0
- package/api/types/WidgetConfigResponse.d.ts +2 -0
- package/api/types/WidgetEndFeedbackConfig.d.ts +5 -0
- package/api/types/WidgetEndFeedbackConfig.js +3 -0
- package/api/types/WidgetEndFeedbackType.d.ts +1 -0
- package/api/types/WidgetEndFeedbackType.js +3 -0
- package/api/types/WorkspaceResourceType.d.ts +4 -0
- package/api/types/WorkspaceResourceType.js +4 -0
- package/api/types/index.d.ts +19 -0
- package/api/types/index.js +19 -0
- package/dist/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +33 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +12 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +7 -5
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts → ConversationFeedbackRequestModel.d.ts} +2 -2
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/ConversationFeedbackRequestModel.js +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +64 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +50 -2
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +50 -2
- package/dist/api/resources/music/client/Client.d.ts +1 -1
- package/dist/api/resources/music/client/Client.js +1 -1
- package/dist/api/types/AgentMetadata.d.ts +1 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigExternalInput.d.ts +34 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigExternalInput.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +34 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigExternalOutput.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +8 -8
- package/dist/api/types/AsrProvider.d.ts +5 -1
- package/dist/api/types/AsrProvider.js +5 -0
- package/dist/api/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
- package/dist/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
- package/dist/api/types/ConversationConfigClientOverrideInput.d.ts +2 -0
- package/dist/api/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
- package/dist/api/types/ConversationFeedbackType.d.ts +5 -0
- package/dist/api/types/ConversationFeedbackType.js +8 -0
- package/dist/api/types/ConversationHistoryFeedbackCommonModel.d.ts +3 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
- package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
- package/dist/api/types/ConversationInitiationSource.js +1 -0
- package/dist/api/types/ConversationSummaryResponseModel.d.ts +2 -0
- package/dist/api/types/DiscountResposneModel.d.ts +6 -0
- package/dist/api/types/DiscountResposneModel.js +3 -0
- package/dist/api/types/GetAgentResponseModel.d.ts +4 -0
- package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/dist/api/types/InvoiceResponse.d.ts +4 -2
- package/dist/api/types/LanguagePresetInput.d.ts +2 -0
- package/dist/api/types/LanguagePresetOutput.d.ts +2 -0
- package/dist/api/types/ProjectExtendedResponse.d.ts +4 -0
- package/dist/api/types/ProjectExtendedResponseModelAssetsItem.d.ts +10 -0
- package/dist/api/types/ProjectExtendedResponseModelAssetsItem.js +3 -0
- package/dist/api/types/ProjectExternalAudioResponseModel.d.ts +23 -0
- package/dist/api/types/ProjectExternalAudioResponseModel.js +3 -0
- package/dist/api/types/ProjectSnapshotExtendedResponseModel.d.ts +2 -0
- package/dist/api/types/ProjectVideoResponseModel.d.ts +31 -0
- package/dist/api/types/ProjectVideoResponseModel.js +3 -0
- package/dist/api/types/ProjectVideoThumbnailSheetResponseModel.d.ts +5 -0
- package/dist/api/types/ProjectVideoThumbnailSheetResponseModel.js +3 -0
- package/dist/api/types/ProjectVoiceResponseModel.d.ts +11 -0
- package/dist/api/types/ProjectVoiceResponseModel.js +3 -0
- package/dist/api/types/SoftTimeoutConfig.d.ts +9 -0
- package/dist/api/types/SoftTimeoutConfig.js +3 -0
- package/dist/api/types/SoftTimeoutConfigOverride.d.ts +4 -0
- package/dist/api/types/SoftTimeoutConfigOverride.js +3 -0
- package/dist/api/types/SoftTimeoutConfigOverrideConfig.d.ts +4 -0
- package/dist/api/types/SoftTimeoutConfigOverrideConfig.js +3 -0
- package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +6 -0
- package/dist/api/types/SoftTimeoutConfigWorkflowOverride.js +3 -0
- package/dist/api/types/TestInvocationSummaryResponseModel.d.ts +4 -0
- package/dist/api/types/ToolRequestModelToolConfig.d.ts +1 -1
- package/dist/api/types/ToolResponseModelToolConfig.d.ts +2 -6
- package/dist/api/types/TtsConversationalModel.d.ts +1 -0
- package/dist/api/types/TtsConversationalModel.js +1 -0
- package/dist/api/types/TtsModelFamily.d.ts +1 -0
- package/dist/api/types/TtsModelFamily.js +1 -0
- package/dist/api/types/TurnConfig.d.ts +4 -0
- package/dist/api/types/TurnConfigOverride.d.ts +5 -0
- package/dist/api/types/TurnConfigOverride.js +3 -0
- package/dist/api/types/TurnConfigOverrideConfig.d.ts +5 -0
- package/dist/api/types/TurnConfigOverrideConfig.js +3 -0
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +4 -0
- package/dist/api/types/UnitTestRunResponseModel.d.ts +1 -0
- package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/dist/api/types/WebhookToolApiSchemaConfigInputContentType.d.ts +6 -0
- package/dist/api/types/WebhookToolApiSchemaConfigInputContentType.js +9 -0
- package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/dist/api/types/WebhookToolApiSchemaConfigOutputContentType.d.ts +6 -0
- package/dist/api/types/WebhookToolApiSchemaConfigOutputContentType.js +9 -0
- package/dist/api/types/WidgetConfig.d.ts +2 -0
- package/dist/api/types/WidgetConfigResponse.d.ts +2 -0
- package/dist/api/types/WidgetEndFeedbackConfig.d.ts +5 -0
- package/dist/api/types/WidgetEndFeedbackConfig.js +3 -0
- package/dist/api/types/WidgetEndFeedbackType.d.ts +1 -0
- package/dist/api/types/WidgetEndFeedbackType.js +3 -0
- package/dist/api/types/WorkspaceResourceType.d.ts +4 -0
- package/dist/api/types/WorkspaceResourceType.js +4 -0
- package/dist/api/types/index.d.ts +19 -0
- package/dist/api/types/index.js +19 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/ConversationFeedbackRequestModel.d.ts +10 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → ConversationFeedbackRequestModel.js} +3 -3
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.js +3 -3
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.js +1 -0
- package/dist/serialization/types/AgentMetadata.d.ts +1 -0
- package/dist/serialization/types/AgentMetadata.js +1 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.d.ts +30 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.js +62 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +30 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.js +62 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +8 -8
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +8 -8
- package/dist/serialization/types/AsrProvider.d.ts +1 -1
- package/dist/serialization/types/AsrProvider.js +1 -1
- package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideInput.js +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideOutput.js +2 -0
- package/dist/serialization/types/ConversationFeedbackType.d.ts +7 -0
- package/dist/serialization/types/ConversationFeedbackType.js +39 -0
- package/dist/serialization/types/ConversationHistoryFeedbackCommonModel.d.ts +4 -0
- package/dist/serialization/types/ConversationHistoryFeedbackCommonModel.js +4 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
- package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationSource.js +1 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +2 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.js +2 -0
- package/dist/serialization/types/DiscountResposneModel.d.ts +10 -0
- package/dist/serialization/types/DiscountResposneModel.js +42 -0
- package/dist/serialization/types/GetAgentResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetAgentResponseModel.js +2 -0
- package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetConversationResponseModel.js +1 -0
- package/dist/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
- package/dist/serialization/types/InvoiceResponse.d.ts +2 -0
- package/dist/serialization/types/InvoiceResponse.js +2 -0
- package/dist/serialization/types/LanguagePresetInput.d.ts +1 -0
- package/dist/serialization/types/LanguagePresetInput.js +1 -0
- package/dist/serialization/types/LanguagePresetOutput.d.ts +1 -0
- package/dist/serialization/types/LanguagePresetOutput.js +1 -0
- package/dist/serialization/types/ProjectExtendedResponse.d.ts +4 -0
- package/dist/serialization/types/ProjectExtendedResponse.js +4 -0
- package/dist/serialization/types/ProjectExtendedResponseModelAssetsItem.d.ts +15 -0
- package/dist/serialization/types/ProjectExtendedResponseModelAssetsItem.js +49 -0
- package/dist/serialization/types/ProjectExternalAudioResponseModel.d.ts +29 -0
- package/dist/serialization/types/ProjectExternalAudioResponseModel.js +61 -0
- package/dist/serialization/types/ProjectSnapshotExtendedResponseModel.d.ts +1 -0
- package/dist/serialization/types/ProjectSnapshotExtendedResponseModel.js +1 -0
- package/dist/serialization/types/ProjectVideoResponseModel.d.ts +37 -0
- package/dist/serialization/types/ProjectVideoResponseModel.js +69 -0
- package/dist/serialization/types/ProjectVideoThumbnailSheetResponseModel.d.ts +11 -0
- package/dist/serialization/types/ProjectVideoThumbnailSheetResponseModel.js +43 -0
- package/dist/serialization/types/ProjectVoiceResponseModel.d.ts +17 -0
- package/dist/serialization/types/ProjectVoiceResponseModel.js +49 -0
- package/dist/serialization/types/SoftTimeoutConfig.d.ts +10 -0
- package/dist/serialization/types/SoftTimeoutConfig.js +42 -0
- package/dist/serialization/types/SoftTimeoutConfigOverride.d.ts +9 -0
- package/dist/serialization/types/SoftTimeoutConfigOverride.js +41 -0
- package/dist/serialization/types/SoftTimeoutConfigOverrideConfig.d.ts +9 -0
- package/dist/serialization/types/SoftTimeoutConfigOverrideConfig.js +41 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +10 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +42 -0
- package/dist/serialization/types/TestInvocationSummaryResponseModel.d.ts +2 -0
- package/dist/serialization/types/TestInvocationSummaryResponseModel.js +2 -0
- package/dist/serialization/types/ToolRequestModelToolConfig.d.ts +2 -2
- package/dist/serialization/types/ToolRequestModelToolConfig.js +2 -2
- package/dist/serialization/types/ToolResponseModelToolConfig.d.ts +3 -7
- package/dist/serialization/types/ToolResponseModelToolConfig.js +2 -5
- package/dist/serialization/types/TtsConversationalModel.d.ts +1 -1
- package/dist/serialization/types/TtsConversationalModel.js +1 -0
- package/dist/serialization/types/TtsModelFamily.d.ts +1 -1
- package/dist/serialization/types/TtsModelFamily.js +1 -1
- package/dist/serialization/types/TurnConfig.d.ts +3 -0
- package/dist/serialization/types/TurnConfig.js +3 -0
- package/dist/serialization/types/TurnConfigOverride.d.ts +10 -0
- package/dist/serialization/types/TurnConfigOverride.js +42 -0
- package/dist/serialization/types/TurnConfigOverrideConfig.d.ts +10 -0
- package/dist/serialization/types/TurnConfigOverrideConfig.js +42 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +3 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.js +3 -0
- package/dist/serialization/types/UnitTestRunResponseModel.d.ts +1 -0
- package/dist/serialization/types/UnitTestRunResponseModel.js +1 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInputContentType.d.ts +7 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInputContentType.js +39 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutputContentType.d.ts +7 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutputContentType.js +39 -0
- package/dist/serialization/types/WidgetConfig.d.ts +2 -0
- package/dist/serialization/types/WidgetConfig.js +2 -0
- package/dist/serialization/types/WidgetConfigResponse.d.ts +2 -0
- package/dist/serialization/types/WidgetConfigResponse.js +2 -0
- package/dist/serialization/types/WidgetEndFeedbackConfig.d.ts +10 -0
- package/dist/serialization/types/WidgetEndFeedbackConfig.js +42 -0
- package/dist/serialization/types/WidgetEndFeedbackType.d.ts +7 -0
- package/dist/serialization/types/WidgetEndFeedbackType.js +39 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +4 -0
- package/dist/serialization/types/index.d.ts +19 -0
- package/dist/serialization/types/index.js +19 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/ElevenLabsClient.d.ts +2 -2
- package/dist/wrapper/ElevenLabsClient.js +2 -1
- package/dist/wrapper/music.d.ts +11 -0
- package/dist/wrapper/music.js +32 -0
- package/dist/wrapper/realtime/connection.d.ts +59 -10
- package/dist/wrapper/realtime/connection.js +14 -14
- package/dist/wrapper/realtime/index.d.ts +1 -1
- package/dist/wrapper/realtime/scribe.d.ts +2 -2
- package/dist/wrapper/realtime/scribe.js +5 -5
- package/package.json +1 -1
- package/reference.md +114 -1
- package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/ConversationFeedbackRequestModel.d.ts +10 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → ConversationFeedbackRequestModel.js} +3 -3
- package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.d.ts +1 -1
- package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/index.js +3 -3
- package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.js +1 -0
- package/serialization/types/AgentMetadata.d.ts +1 -0
- package/serialization/types/AgentMetadata.js +1 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.d.ts +30 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigExternalInput.js +62 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.d.ts +30 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigExternalOutput.js +62 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +8 -8
- package/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +8 -8
- package/serialization/types/AsrProvider.d.ts +1 -1
- package/serialization/types/AsrProvider.js +1 -1
- package/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
- package/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -0
- package/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
- package/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -0
- package/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -0
- package/serialization/types/ConversationConfigClientOverrideInput.js +2 -0
- package/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
- package/serialization/types/ConversationConfigClientOverrideOutput.js +2 -0
- package/serialization/types/ConversationFeedbackType.d.ts +7 -0
- package/serialization/types/ConversationFeedbackType.js +39 -0
- package/serialization/types/ConversationHistoryFeedbackCommonModel.d.ts +4 -0
- package/serialization/types/ConversationHistoryFeedbackCommonModel.js +4 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
- package/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/serialization/types/ConversationInitiationSource.js +1 -0
- package/serialization/types/ConversationSummaryResponseModel.d.ts +2 -0
- package/serialization/types/ConversationSummaryResponseModel.js +2 -0
- package/serialization/types/DiscountResposneModel.d.ts +10 -0
- package/serialization/types/DiscountResposneModel.js +42 -0
- package/serialization/types/GetAgentResponseModel.d.ts +2 -0
- package/serialization/types/GetAgentResponseModel.js +2 -0
- package/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/serialization/types/GetConversationResponseModel.js +1 -0
- package/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
- package/serialization/types/InvoiceResponse.d.ts +2 -0
- package/serialization/types/InvoiceResponse.js +2 -0
- package/serialization/types/LanguagePresetInput.d.ts +1 -0
- package/serialization/types/LanguagePresetInput.js +1 -0
- package/serialization/types/LanguagePresetOutput.d.ts +1 -0
- package/serialization/types/LanguagePresetOutput.js +1 -0
- package/serialization/types/ProjectExtendedResponse.d.ts +4 -0
- package/serialization/types/ProjectExtendedResponse.js +4 -0
- package/serialization/types/ProjectExtendedResponseModelAssetsItem.d.ts +15 -0
- package/serialization/types/ProjectExtendedResponseModelAssetsItem.js +49 -0
- package/serialization/types/ProjectExternalAudioResponseModel.d.ts +29 -0
- package/serialization/types/ProjectExternalAudioResponseModel.js +61 -0
- package/serialization/types/ProjectSnapshotExtendedResponseModel.d.ts +1 -0
- package/serialization/types/ProjectSnapshotExtendedResponseModel.js +1 -0
- package/serialization/types/ProjectVideoResponseModel.d.ts +37 -0
- package/serialization/types/ProjectVideoResponseModel.js +69 -0
- package/serialization/types/ProjectVideoThumbnailSheetResponseModel.d.ts +11 -0
- package/serialization/types/ProjectVideoThumbnailSheetResponseModel.js +43 -0
- package/serialization/types/ProjectVoiceResponseModel.d.ts +17 -0
- package/serialization/types/ProjectVoiceResponseModel.js +49 -0
- package/serialization/types/SoftTimeoutConfig.d.ts +10 -0
- package/serialization/types/SoftTimeoutConfig.js +42 -0
- package/serialization/types/SoftTimeoutConfigOverride.d.ts +9 -0
- package/serialization/types/SoftTimeoutConfigOverride.js +41 -0
- package/serialization/types/SoftTimeoutConfigOverrideConfig.d.ts +9 -0
- package/serialization/types/SoftTimeoutConfigOverrideConfig.js +41 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +10 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +42 -0
- package/serialization/types/TestInvocationSummaryResponseModel.d.ts +2 -0
- package/serialization/types/TestInvocationSummaryResponseModel.js +2 -0
- package/serialization/types/ToolRequestModelToolConfig.d.ts +2 -2
- package/serialization/types/ToolRequestModelToolConfig.js +2 -2
- package/serialization/types/ToolResponseModelToolConfig.d.ts +3 -7
- package/serialization/types/ToolResponseModelToolConfig.js +2 -5
- package/serialization/types/TtsConversationalModel.d.ts +1 -1
- package/serialization/types/TtsConversationalModel.js +1 -0
- package/serialization/types/TtsModelFamily.d.ts +1 -1
- package/serialization/types/TtsModelFamily.js +1 -1
- package/serialization/types/TurnConfig.d.ts +3 -0
- package/serialization/types/TurnConfig.js +3 -0
- package/serialization/types/TurnConfigOverride.d.ts +10 -0
- package/serialization/types/TurnConfigOverride.js +42 -0
- package/serialization/types/TurnConfigOverrideConfig.d.ts +10 -0
- package/serialization/types/TurnConfigOverrideConfig.js +42 -0
- package/serialization/types/TurnConfigWorkflowOverride.d.ts +3 -0
- package/serialization/types/TurnConfigWorkflowOverride.js +3 -0
- package/serialization/types/UnitTestRunResponseModel.d.ts +1 -0
- package/serialization/types/UnitTestRunResponseModel.js +1 -0
- package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigInputContentType.d.ts +7 -0
- package/serialization/types/WebhookToolApiSchemaConfigInputContentType.js +39 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutputContentType.d.ts +7 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutputContentType.js +39 -0
- package/serialization/types/WidgetConfig.d.ts +2 -0
- package/serialization/types/WidgetConfig.js +2 -0
- package/serialization/types/WidgetConfigResponse.d.ts +2 -0
- package/serialization/types/WidgetConfigResponse.js +2 -0
- package/serialization/types/WidgetEndFeedbackConfig.d.ts +10 -0
- package/serialization/types/WidgetEndFeedbackConfig.js +42 -0
- package/serialization/types/WidgetEndFeedbackType.d.ts +7 -0
- package/serialization/types/WidgetEndFeedbackType.js +39 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +4 -0
- package/serialization/types/index.d.ts +19 -0
- package/serialization/types/index.js +19 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/ElevenLabsClient.d.ts +2 -2
- package/wrapper/ElevenLabsClient.js +2 -1
- package/wrapper/music.d.ts +11 -0
- package/wrapper/music.js +32 -0
- package/wrapper/realtime/connection.d.ts +59 -10
- package/wrapper/realtime/connection.js +14 -14
- package/wrapper/realtime/index.d.ts +1 -1
- package/wrapper/realtime/scribe.d.ts +2 -2
- package/wrapper/realtime/scribe.js +5 -5
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts +0 -10
- package/serialization/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.d.ts +0 -10
- /package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/{BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → ConversationFeedbackRequestModel.js} +0 -0
- /package/{dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/requests/BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost.js → api/types/ApiIntegrationWebhookToolConfigExternalInput.js} +0 -0
|
@@ -36,9 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.TurnConfigWorkflowOverride = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const SoftTimeoutConfigWorkflowOverride_1 = require("./SoftTimeoutConfigWorkflowOverride");
|
|
39
40
|
const TurnEagerness_1 = require("./TurnEagerness");
|
|
40
41
|
exports.TurnConfigWorkflowOverride = core.serialization.object({
|
|
41
42
|
turnTimeout: core.serialization.property("turn_timeout", core.serialization.number().optional()),
|
|
43
|
+
initialWaitTime: core.serialization.property("initial_wait_time", core.serialization.number().optional()),
|
|
42
44
|
silenceEndCallTimeout: core.serialization.property("silence_end_call_timeout", core.serialization.number().optional()),
|
|
45
|
+
softTimeoutConfig: core.serialization.property("soft_timeout_config", SoftTimeoutConfigWorkflowOverride_1.SoftTimeoutConfigWorkflowOverride.optional()),
|
|
43
46
|
turnEagerness: core.serialization.property("turn_eagerness", TurnEagerness_1.TurnEagerness.optional()),
|
|
44
47
|
});
|
|
@@ -13,6 +13,7 @@ export declare namespace UnitTestRunResponseModel {
|
|
|
13
13
|
test_info?: UnitTestCommonModel.Raw | null;
|
|
14
14
|
test_invocation_id: string;
|
|
15
15
|
agent_id: string;
|
|
16
|
+
branch_id?: string | null;
|
|
16
17
|
workflow_node_id?: string | null;
|
|
17
18
|
status: TestRunStatus.Raw;
|
|
18
19
|
agent_responses?: ConversationHistoryTranscriptCommonModelOutput.Raw[] | null;
|
|
@@ -46,6 +46,7 @@ exports.UnitTestRunResponseModel = core.serialization.object({
|
|
|
46
46
|
testInfo: core.serialization.property("test_info", UnitTestCommonModel_1.UnitTestCommonModel.optional()),
|
|
47
47
|
testInvocationId: core.serialization.property("test_invocation_id", core.serialization.string()),
|
|
48
48
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
49
|
+
branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
|
|
49
50
|
workflowNodeId: core.serialization.property("workflow_node_id", core.serialization.string().optional()),
|
|
50
51
|
status: TestRunStatus_1.TestRunStatus,
|
|
51
52
|
agentResponses: core.serialization.property("agent_responses", core.serialization.list(ConversationHistoryTranscriptCommonModelOutput_1.ConversationHistoryTranscriptCommonModelOutput).optional()),
|
|
@@ -5,6 +5,7 @@ import { WebhookToolApiSchemaConfigInputMethod } from "./WebhookToolApiSchemaCon
|
|
|
5
5
|
import { LiteralJsonSchemaProperty } from "./LiteralJsonSchemaProperty";
|
|
6
6
|
import { QueryParamsJsonSchema } from "./QueryParamsJsonSchema";
|
|
7
7
|
import { WebhookToolApiSchemaConfigInputRequestHeadersValue } from "./WebhookToolApiSchemaConfigInputRequestHeadersValue";
|
|
8
|
+
import { WebhookToolApiSchemaConfigInputContentType } from "./WebhookToolApiSchemaConfigInputContentType";
|
|
8
9
|
import { AuthConnectionLocator } from "./AuthConnectionLocator";
|
|
9
10
|
export declare const WebhookToolApiSchemaConfigInput: core.serialization.ObjectSchema<serializers.WebhookToolApiSchemaConfigInput.Raw, ElevenLabs.WebhookToolApiSchemaConfigInput>;
|
|
10
11
|
export declare namespace WebhookToolApiSchemaConfigInput {
|
|
@@ -15,6 +16,7 @@ export declare namespace WebhookToolApiSchemaConfigInput {
|
|
|
15
16
|
query_params_schema?: QueryParamsJsonSchema.Raw | null;
|
|
16
17
|
request_body_schema?: serializers.ObjectJsonSchemaPropertyInput.Raw | null;
|
|
17
18
|
request_headers?: Record<string, WebhookToolApiSchemaConfigInputRequestHeadersValue.Raw> | null;
|
|
19
|
+
content_type?: WebhookToolApiSchemaConfigInputContentType.Raw | null;
|
|
18
20
|
auth_connection?: AuthConnectionLocator.Raw | null;
|
|
19
21
|
}
|
|
20
22
|
}
|
|
@@ -41,6 +41,7 @@ const WebhookToolApiSchemaConfigInputMethod_1 = require("./WebhookToolApiSchemaC
|
|
|
41
41
|
const LiteralJsonSchemaProperty_1 = require("./LiteralJsonSchemaProperty");
|
|
42
42
|
const QueryParamsJsonSchema_1 = require("./QueryParamsJsonSchema");
|
|
43
43
|
const WebhookToolApiSchemaConfigInputRequestHeadersValue_1 = require("./WebhookToolApiSchemaConfigInputRequestHeadersValue");
|
|
44
|
+
const WebhookToolApiSchemaConfigInputContentType_1 = require("./WebhookToolApiSchemaConfigInputContentType");
|
|
44
45
|
const AuthConnectionLocator_1 = require("./AuthConnectionLocator");
|
|
45
46
|
exports.WebhookToolApiSchemaConfigInput = core.serialization.object({
|
|
46
47
|
url: core.serialization.string(),
|
|
@@ -51,5 +52,6 @@ exports.WebhookToolApiSchemaConfigInput = core.serialization.object({
|
|
|
51
52
|
requestHeaders: core.serialization.property("request_headers", core.serialization
|
|
52
53
|
.record(core.serialization.string(), WebhookToolApiSchemaConfigInputRequestHeadersValue_1.WebhookToolApiSchemaConfigInputRequestHeadersValue)
|
|
53
54
|
.optional()),
|
|
55
|
+
contentType: core.serialization.property("content_type", WebhookToolApiSchemaConfigInputContentType_1.WebhookToolApiSchemaConfigInputContentType.optional()),
|
|
54
56
|
authConnection: core.serialization.property("auth_connection", AuthConnectionLocator_1.AuthConnectionLocator.optional()),
|
|
55
57
|
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
export declare const WebhookToolApiSchemaConfigInputContentType: core.serialization.Schema<serializers.WebhookToolApiSchemaConfigInputContentType.Raw, ElevenLabs.WebhookToolApiSchemaConfigInputContentType>;
|
|
5
|
+
export declare namespace WebhookToolApiSchemaConfigInputContentType {
|
|
6
|
+
type Raw = "application/json" | "application/x-www-form-urlencoded";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.WebhookToolApiSchemaConfigInputContentType = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.WebhookToolApiSchemaConfigInputContentType = core.serialization.enum_(["application/json", "application/x-www-form-urlencoded"]);
|
|
@@ -5,6 +5,7 @@ import { WebhookToolApiSchemaConfigOutputMethod } from "./WebhookToolApiSchemaCo
|
|
|
5
5
|
import { LiteralJsonSchemaProperty } from "./LiteralJsonSchemaProperty";
|
|
6
6
|
import { QueryParamsJsonSchema } from "./QueryParamsJsonSchema";
|
|
7
7
|
import { WebhookToolApiSchemaConfigOutputRequestHeadersValue } from "./WebhookToolApiSchemaConfigOutputRequestHeadersValue";
|
|
8
|
+
import { WebhookToolApiSchemaConfigOutputContentType } from "./WebhookToolApiSchemaConfigOutputContentType";
|
|
8
9
|
import { AuthConnectionLocator } from "./AuthConnectionLocator";
|
|
9
10
|
export declare const WebhookToolApiSchemaConfigOutput: core.serialization.ObjectSchema<serializers.WebhookToolApiSchemaConfigOutput.Raw, ElevenLabs.WebhookToolApiSchemaConfigOutput>;
|
|
10
11
|
export declare namespace WebhookToolApiSchemaConfigOutput {
|
|
@@ -15,6 +16,7 @@ export declare namespace WebhookToolApiSchemaConfigOutput {
|
|
|
15
16
|
query_params_schema?: QueryParamsJsonSchema.Raw | null;
|
|
16
17
|
request_body_schema?: serializers.ObjectJsonSchemaPropertyOutput.Raw | null;
|
|
17
18
|
request_headers?: Record<string, WebhookToolApiSchemaConfigOutputRequestHeadersValue.Raw> | null;
|
|
19
|
+
content_type?: WebhookToolApiSchemaConfigOutputContentType.Raw | null;
|
|
18
20
|
auth_connection?: AuthConnectionLocator.Raw | null;
|
|
19
21
|
}
|
|
20
22
|
}
|
|
@@ -41,6 +41,7 @@ const WebhookToolApiSchemaConfigOutputMethod_1 = require("./WebhookToolApiSchema
|
|
|
41
41
|
const LiteralJsonSchemaProperty_1 = require("./LiteralJsonSchemaProperty");
|
|
42
42
|
const QueryParamsJsonSchema_1 = require("./QueryParamsJsonSchema");
|
|
43
43
|
const WebhookToolApiSchemaConfigOutputRequestHeadersValue_1 = require("./WebhookToolApiSchemaConfigOutputRequestHeadersValue");
|
|
44
|
+
const WebhookToolApiSchemaConfigOutputContentType_1 = require("./WebhookToolApiSchemaConfigOutputContentType");
|
|
44
45
|
const AuthConnectionLocator_1 = require("./AuthConnectionLocator");
|
|
45
46
|
exports.WebhookToolApiSchemaConfigOutput = core.serialization.object({
|
|
46
47
|
url: core.serialization.string(),
|
|
@@ -51,5 +52,6 @@ exports.WebhookToolApiSchemaConfigOutput = core.serialization.object({
|
|
|
51
52
|
requestHeaders: core.serialization.property("request_headers", core.serialization
|
|
52
53
|
.record(core.serialization.string(), WebhookToolApiSchemaConfigOutputRequestHeadersValue_1.WebhookToolApiSchemaConfigOutputRequestHeadersValue)
|
|
53
54
|
.optional()),
|
|
55
|
+
contentType: core.serialization.property("content_type", WebhookToolApiSchemaConfigOutputContentType_1.WebhookToolApiSchemaConfigOutputContentType.optional()),
|
|
54
56
|
authConnection: core.serialization.property("auth_connection", AuthConnectionLocator_1.AuthConnectionLocator.optional()),
|
|
55
57
|
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
export declare const WebhookToolApiSchemaConfigOutputContentType: core.serialization.Schema<serializers.WebhookToolApiSchemaConfigOutputContentType.Raw, ElevenLabs.WebhookToolApiSchemaConfigOutputContentType>;
|
|
5
|
+
export declare namespace WebhookToolApiSchemaConfigOutputContentType {
|
|
6
|
+
type Raw = "application/json" | "application/x-www-form-urlencoded";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.WebhookToolApiSchemaConfigOutputContentType = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.WebhookToolApiSchemaConfigOutputContentType = core.serialization.enum_(["application/json", "application/x-www-form-urlencoded"]);
|
|
@@ -6,6 +6,7 @@ import { WidgetPlacement } from "./WidgetPlacement";
|
|
|
6
6
|
import { WidgetExpandable } from "./WidgetExpandable";
|
|
7
7
|
import { WidgetConfigOutputAvatar } from "./WidgetConfigOutputAvatar";
|
|
8
8
|
import { WidgetFeedbackMode } from "./WidgetFeedbackMode";
|
|
9
|
+
import { WidgetEndFeedbackConfig } from "./WidgetEndFeedbackConfig";
|
|
9
10
|
import { WidgetTextContents } from "./WidgetTextContents";
|
|
10
11
|
import { WidgetStyles } from "./WidgetStyles";
|
|
11
12
|
import { WidgetLanguagePreset } from "./WidgetLanguagePreset";
|
|
@@ -17,6 +18,7 @@ export declare namespace WidgetConfig {
|
|
|
17
18
|
expandable?: WidgetExpandable.Raw | null;
|
|
18
19
|
avatar?: WidgetConfigOutputAvatar.Raw | null;
|
|
19
20
|
feedback_mode?: WidgetFeedbackMode.Raw | null;
|
|
21
|
+
end_feedback?: WidgetEndFeedbackConfig.Raw | null;
|
|
20
22
|
bg_color?: string | null;
|
|
21
23
|
text_color?: string | null;
|
|
22
24
|
btn_color?: string | null;
|
|
@@ -41,6 +41,7 @@ const WidgetPlacement_1 = require("./WidgetPlacement");
|
|
|
41
41
|
const WidgetExpandable_1 = require("./WidgetExpandable");
|
|
42
42
|
const WidgetConfigOutputAvatar_1 = require("./WidgetConfigOutputAvatar");
|
|
43
43
|
const WidgetFeedbackMode_1 = require("./WidgetFeedbackMode");
|
|
44
|
+
const WidgetEndFeedbackConfig_1 = require("./WidgetEndFeedbackConfig");
|
|
44
45
|
const WidgetTextContents_1 = require("./WidgetTextContents");
|
|
45
46
|
const WidgetStyles_1 = require("./WidgetStyles");
|
|
46
47
|
const WidgetLanguagePreset_1 = require("./WidgetLanguagePreset");
|
|
@@ -50,6 +51,7 @@ exports.WidgetConfig = core.serialization.object({
|
|
|
50
51
|
expandable: WidgetExpandable_1.WidgetExpandable.optional(),
|
|
51
52
|
avatar: WidgetConfigOutputAvatar_1.WidgetConfigOutputAvatar.optional(),
|
|
52
53
|
feedbackMode: core.serialization.property("feedback_mode", WidgetFeedbackMode_1.WidgetFeedbackMode.optional()),
|
|
54
|
+
endFeedback: core.serialization.property("end_feedback", WidgetEndFeedbackConfig_1.WidgetEndFeedbackConfig.optional()),
|
|
53
55
|
bgColor: core.serialization.property("bg_color", core.serialization.string().optional()),
|
|
54
56
|
textColor: core.serialization.property("text_color", core.serialization.string().optional()),
|
|
55
57
|
btnColor: core.serialization.property("btn_color", core.serialization.string().optional()),
|
|
@@ -6,6 +6,7 @@ import { WidgetPlacement } from "./WidgetPlacement";
|
|
|
6
6
|
import { WidgetExpandable } from "./WidgetExpandable";
|
|
7
7
|
import { WidgetConfigResponseModelAvatar } from "./WidgetConfigResponseModelAvatar";
|
|
8
8
|
import { WidgetFeedbackMode } from "./WidgetFeedbackMode";
|
|
9
|
+
import { WidgetEndFeedbackConfig } from "./WidgetEndFeedbackConfig";
|
|
9
10
|
import { WidgetTextContents } from "./WidgetTextContents";
|
|
10
11
|
import { WidgetStyles } from "./WidgetStyles";
|
|
11
12
|
import { WidgetLanguagePresetResponse } from "./WidgetLanguagePresetResponse";
|
|
@@ -17,6 +18,7 @@ export declare namespace WidgetConfigResponse {
|
|
|
17
18
|
expandable?: WidgetExpandable.Raw | null;
|
|
18
19
|
avatar?: WidgetConfigResponseModelAvatar.Raw | null;
|
|
19
20
|
feedback_mode?: WidgetFeedbackMode.Raw | null;
|
|
21
|
+
end_feedback?: WidgetEndFeedbackConfig.Raw | null;
|
|
20
22
|
bg_color?: string | null;
|
|
21
23
|
text_color?: string | null;
|
|
22
24
|
btn_color?: string | null;
|
|
@@ -41,6 +41,7 @@ const WidgetPlacement_1 = require("./WidgetPlacement");
|
|
|
41
41
|
const WidgetExpandable_1 = require("./WidgetExpandable");
|
|
42
42
|
const WidgetConfigResponseModelAvatar_1 = require("./WidgetConfigResponseModelAvatar");
|
|
43
43
|
const WidgetFeedbackMode_1 = require("./WidgetFeedbackMode");
|
|
44
|
+
const WidgetEndFeedbackConfig_1 = require("./WidgetEndFeedbackConfig");
|
|
44
45
|
const WidgetTextContents_1 = require("./WidgetTextContents");
|
|
45
46
|
const WidgetStyles_1 = require("./WidgetStyles");
|
|
46
47
|
const WidgetLanguagePresetResponse_1 = require("./WidgetLanguagePresetResponse");
|
|
@@ -50,6 +51,7 @@ exports.WidgetConfigResponse = core.serialization.object({
|
|
|
50
51
|
expandable: WidgetExpandable_1.WidgetExpandable.optional(),
|
|
51
52
|
avatar: WidgetConfigResponseModelAvatar_1.WidgetConfigResponseModelAvatar.optional(),
|
|
52
53
|
feedbackMode: core.serialization.property("feedback_mode", WidgetFeedbackMode_1.WidgetFeedbackMode.optional()),
|
|
54
|
+
endFeedback: core.serialization.property("end_feedback", WidgetEndFeedbackConfig_1.WidgetEndFeedbackConfig.optional()),
|
|
53
55
|
bgColor: core.serialization.property("bg_color", core.serialization.string().optional()),
|
|
54
56
|
textColor: core.serialization.property("text_color", core.serialization.string().optional()),
|
|
55
57
|
btnColor: core.serialization.property("btn_color", core.serialization.string().optional()),
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
import { WidgetEndFeedbackType } from "./WidgetEndFeedbackType";
|
|
5
|
+
export declare const WidgetEndFeedbackConfig: core.serialization.ObjectSchema<serializers.WidgetEndFeedbackConfig.Raw, ElevenLabs.WidgetEndFeedbackConfig>;
|
|
6
|
+
export declare namespace WidgetEndFeedbackConfig {
|
|
7
|
+
interface Raw {
|
|
8
|
+
type?: WidgetEndFeedbackType.Raw | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.WidgetEndFeedbackConfig = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const WidgetEndFeedbackType_1 = require("./WidgetEndFeedbackType");
|
|
40
|
+
exports.WidgetEndFeedbackConfig = core.serialization.object({
|
|
41
|
+
type: WidgetEndFeedbackType_1.WidgetEndFeedbackType.optional(),
|
|
42
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
export declare const WidgetEndFeedbackType: core.serialization.Schema<serializers.WidgetEndFeedbackType.Raw, ElevenLabs.WidgetEndFeedbackType>;
|
|
5
|
+
export declare namespace WidgetEndFeedbackType {
|
|
6
|
+
type Raw = "rating";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.WidgetEndFeedbackType = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.WidgetEndFeedbackType = core.serialization.stringLiteral("rating");
|
|
@@ -3,5 +3,5 @@ import * as ElevenLabs from "../../api/index";
|
|
|
3
3
|
import * as core from "../../core";
|
|
4
4
|
export declare const WorkspaceResourceType: core.serialization.Schema<serializers.WorkspaceResourceType.Raw, ElevenLabs.WorkspaceResourceType>;
|
|
5
5
|
export declare namespace WorkspaceResourceType {
|
|
6
|
-
type Raw = "voice" | "voice_collection" | "pronunciation_dictionary" | "dubbing" | "project" | "convai_agents" | "convai_knowledge_base_documents" | "convai_tools" | "convai_settings" | "convai_secrets" | "workspace_auth_connections" | "convai_phone_numbers" | "convai_mcp_servers" | "convai_api_integration_connections" | "convai_batch_calls" | "convai_agent_response_tests" | "convai_test_suite_invocations" | "convai_crawl_jobs" | "convai_crawl_tasks" | "convai_whatsapp_accounts" | "dashboard" | "dashboard_configuration";
|
|
6
|
+
type Raw = "voice" | "voice_collection" | "pronunciation_dictionary" | "dubbing" | "project" | "convai_agents" | "convai_knowledge_base_documents" | "convai_tools" | "convai_settings" | "convai_secrets" | "workspace_auth_connections" | "convai_phone_numbers" | "convai_mcp_servers" | "convai_api_integration_connections" | "convai_api_integration_trigger_connections" | "convai_batch_calls" | "convai_agent_response_tests" | "convai_test_suite_invocations" | "convai_crawl_jobs" | "convai_crawl_tasks" | "convai_whatsapp_accounts" | "convai_agent_versions" | "convai_agent_branches" | "convai_agent_versions_deployments" | "dashboard" | "dashboard_configuration";
|
|
7
7
|
}
|
|
@@ -51,12 +51,16 @@ exports.WorkspaceResourceType = core.serialization.enum_([
|
|
|
51
51
|
"convai_phone_numbers",
|
|
52
52
|
"convai_mcp_servers",
|
|
53
53
|
"convai_api_integration_connections",
|
|
54
|
+
"convai_api_integration_trigger_connections",
|
|
54
55
|
"convai_batch_calls",
|
|
55
56
|
"convai_agent_response_tests",
|
|
56
57
|
"convai_test_suite_invocations",
|
|
57
58
|
"convai_crawl_jobs",
|
|
58
59
|
"convai_crawl_tasks",
|
|
59
60
|
"convai_whatsapp_accounts",
|
|
61
|
+
"convai_agent_versions",
|
|
62
|
+
"convai_agent_branches",
|
|
63
|
+
"convai_agent_versions_deployments",
|
|
60
64
|
"dashboard",
|
|
61
65
|
"dashboard_configuration",
|
|
62
66
|
]);
|
|
@@ -102,6 +102,8 @@ export * from "./ApiIntegrationWebhookOverridesOutputRequestHeadersValue";
|
|
|
102
102
|
export * from "./ApiIntegrationWebhookOverridesOutput";
|
|
103
103
|
export * from "./ApiIntegrationWebhookToolConfigInput";
|
|
104
104
|
export * from "./ApiIntegrationWebhookToolConfigOutput";
|
|
105
|
+
export * from "./ApiIntegrationWebhookToolConfigExternalInput";
|
|
106
|
+
export * from "./ApiIntegrationWebhookToolConfigExternalOutput";
|
|
105
107
|
export * from "./ArrayJsonSchemaPropertyInputItems";
|
|
106
108
|
export * from "./ArrayJsonSchemaPropertyInput";
|
|
107
109
|
export * from "./ArrayJsonSchemaPropertyOutputItems";
|
|
@@ -193,6 +195,7 @@ export * from "./ConversationConfigOverride";
|
|
|
193
195
|
export * from "./ConversationConfigOverrideConfig";
|
|
194
196
|
export * from "./ConversationConfigWorkflowOverride";
|
|
195
197
|
export * from "./ConversationDeletionSettings";
|
|
198
|
+
export * from "./ConversationFeedbackType";
|
|
196
199
|
export * from "./ConversationHistoryAnalysisCommonModel";
|
|
197
200
|
export * from "./ConversationHistoryBatchCallModel";
|
|
198
201
|
export * from "./ConversationHistoryElevenAssistantCommonModel";
|
|
@@ -286,6 +289,7 @@ export * from "./DependentUnknownToolIdentifier";
|
|
|
286
289
|
export * from "./DetailedMusicResponse";
|
|
287
290
|
export * from "./DialogueInput";
|
|
288
291
|
export * from "./DialogueInputResponseModel";
|
|
292
|
+
export * from "./DiscountResposneModel";
|
|
289
293
|
export * from "./DoDubbingResponse";
|
|
290
294
|
export * from "./DocumentUsageModeEnum";
|
|
291
295
|
export * from "./DocxExportOptions";
|
|
@@ -498,7 +502,9 @@ export * from "./ProjectExtendedResponseModelSourceType";
|
|
|
498
502
|
export * from "./ProjectExtendedResponseModelAspectRatio";
|
|
499
503
|
export * from "./ProjectExtendedResponseModelQualityPreset";
|
|
500
504
|
export * from "./ProjectExtendedResponseModelApplyTextNormalization";
|
|
505
|
+
export * from "./ProjectExtendedResponseModelAssetsItem";
|
|
501
506
|
export * from "./ProjectExtendedResponse";
|
|
507
|
+
export * from "./ProjectExternalAudioResponseModel";
|
|
502
508
|
export * from "./ProjectResponseModelTargetAudience";
|
|
503
509
|
export * from "./ProjectResponseModelAccessLevel";
|
|
504
510
|
export * from "./ProjectResponseModelFiction";
|
|
@@ -508,6 +514,9 @@ export * from "./ProjectResponse";
|
|
|
508
514
|
export * from "./ProjectSnapshotExtendedResponseModel";
|
|
509
515
|
export * from "./ProjectSnapshotResponse";
|
|
510
516
|
export * from "./ProjectSnapshotsResponse";
|
|
517
|
+
export * from "./ProjectVideoResponseModel";
|
|
518
|
+
export * from "./ProjectVideoThumbnailSheetResponseModel";
|
|
519
|
+
export * from "./ProjectVoiceResponseModel";
|
|
511
520
|
export * from "./PromptAgentApiModelInputBackupLlmConfig";
|
|
512
521
|
export * from "./PromptAgentApiModelInputToolsItem";
|
|
513
522
|
export * from "./PromptAgentApiModelInput";
|
|
@@ -589,6 +598,10 @@ export * from "./SingleUseTokenResponseModel";
|
|
|
589
598
|
export * from "./SingleUseTokenType";
|
|
590
599
|
export * from "./SkipTurnToolConfig";
|
|
591
600
|
export * from "./SkipTurnToolResponseModel";
|
|
601
|
+
export * from "./SoftTimeoutConfig";
|
|
602
|
+
export * from "./SoftTimeoutConfigOverride";
|
|
603
|
+
export * from "./SoftTimeoutConfigOverrideConfig";
|
|
604
|
+
export * from "./SoftTimeoutConfigWorkflowOverride";
|
|
592
605
|
export * from "./SongMetadata";
|
|
593
606
|
export * from "./SongSection";
|
|
594
607
|
export * from "./SortDirection";
|
|
@@ -669,6 +682,8 @@ export * from "./TransferToNumberToolConfigInput";
|
|
|
669
682
|
export * from "./TransferToNumberToolConfigOutput";
|
|
670
683
|
export * from "./TransferTypeEnum";
|
|
671
684
|
export * from "./TurnConfig";
|
|
685
|
+
export * from "./TurnConfigOverride";
|
|
686
|
+
export * from "./TurnConfigOverrideConfig";
|
|
672
687
|
export * from "./TurnConfigWorkflowOverride";
|
|
673
688
|
export * from "./TurnEagerness";
|
|
674
689
|
export * from "./TurnMode";
|
|
@@ -723,9 +738,11 @@ export * from "./WebhookAuthMethodType";
|
|
|
723
738
|
export * from "./WebhookEventType";
|
|
724
739
|
export * from "./WebhookToolApiSchemaConfigInputMethod";
|
|
725
740
|
export * from "./WebhookToolApiSchemaConfigInputRequestHeadersValue";
|
|
741
|
+
export * from "./WebhookToolApiSchemaConfigInputContentType";
|
|
726
742
|
export * from "./WebhookToolApiSchemaConfigInput";
|
|
727
743
|
export * from "./WebhookToolApiSchemaConfigOutputMethod";
|
|
728
744
|
export * from "./WebhookToolApiSchemaConfigOutputRequestHeadersValue";
|
|
745
|
+
export * from "./WebhookToolApiSchemaConfigOutputContentType";
|
|
729
746
|
export * from "./WebhookToolApiSchemaConfigOutput";
|
|
730
747
|
export * from "./WebhookToolConfigInput";
|
|
731
748
|
export * from "./WebhookToolConfigOutput";
|
|
@@ -736,6 +753,8 @@ export * from "./WidgetConfig";
|
|
|
736
753
|
export * from "./WidgetConfigOutputAvatar";
|
|
737
754
|
export * from "./WidgetConfigResponseModelAvatar";
|
|
738
755
|
export * from "./WidgetConfigResponse";
|
|
756
|
+
export * from "./WidgetEndFeedbackConfig";
|
|
757
|
+
export * from "./WidgetEndFeedbackType";
|
|
739
758
|
export * from "./WidgetExpandable";
|
|
740
759
|
export * from "./WidgetFeedbackMode";
|
|
741
760
|
export * from "./WidgetLanguagePreset";
|
|
@@ -118,6 +118,8 @@ __exportStar(require("./ApiIntegrationWebhookOverridesOutputRequestHeadersValue"
|
|
|
118
118
|
__exportStar(require("./ApiIntegrationWebhookOverridesOutput"), exports);
|
|
119
119
|
__exportStar(require("./ApiIntegrationWebhookToolConfigInput"), exports);
|
|
120
120
|
__exportStar(require("./ApiIntegrationWebhookToolConfigOutput"), exports);
|
|
121
|
+
__exportStar(require("./ApiIntegrationWebhookToolConfigExternalInput"), exports);
|
|
122
|
+
__exportStar(require("./ApiIntegrationWebhookToolConfigExternalOutput"), exports);
|
|
121
123
|
__exportStar(require("./ArrayJsonSchemaPropertyInputItems"), exports);
|
|
122
124
|
__exportStar(require("./ArrayJsonSchemaPropertyInput"), exports);
|
|
123
125
|
__exportStar(require("./ArrayJsonSchemaPropertyOutputItems"), exports);
|
|
@@ -209,6 +211,7 @@ __exportStar(require("./ConversationConfigOverride"), exports);
|
|
|
209
211
|
__exportStar(require("./ConversationConfigOverrideConfig"), exports);
|
|
210
212
|
__exportStar(require("./ConversationConfigWorkflowOverride"), exports);
|
|
211
213
|
__exportStar(require("./ConversationDeletionSettings"), exports);
|
|
214
|
+
__exportStar(require("./ConversationFeedbackType"), exports);
|
|
212
215
|
__exportStar(require("./ConversationHistoryAnalysisCommonModel"), exports);
|
|
213
216
|
__exportStar(require("./ConversationHistoryBatchCallModel"), exports);
|
|
214
217
|
__exportStar(require("./ConversationHistoryElevenAssistantCommonModel"), exports);
|
|
@@ -302,6 +305,7 @@ __exportStar(require("./DependentUnknownToolIdentifier"), exports);
|
|
|
302
305
|
__exportStar(require("./DetailedMusicResponse"), exports);
|
|
303
306
|
__exportStar(require("./DialogueInput"), exports);
|
|
304
307
|
__exportStar(require("./DialogueInputResponseModel"), exports);
|
|
308
|
+
__exportStar(require("./DiscountResposneModel"), exports);
|
|
305
309
|
__exportStar(require("./DoDubbingResponse"), exports);
|
|
306
310
|
__exportStar(require("./DocumentUsageModeEnum"), exports);
|
|
307
311
|
__exportStar(require("./DocxExportOptions"), exports);
|
|
@@ -514,7 +518,9 @@ __exportStar(require("./ProjectExtendedResponseModelSourceType"), exports);
|
|
|
514
518
|
__exportStar(require("./ProjectExtendedResponseModelAspectRatio"), exports);
|
|
515
519
|
__exportStar(require("./ProjectExtendedResponseModelQualityPreset"), exports);
|
|
516
520
|
__exportStar(require("./ProjectExtendedResponseModelApplyTextNormalization"), exports);
|
|
521
|
+
__exportStar(require("./ProjectExtendedResponseModelAssetsItem"), exports);
|
|
517
522
|
__exportStar(require("./ProjectExtendedResponse"), exports);
|
|
523
|
+
__exportStar(require("./ProjectExternalAudioResponseModel"), exports);
|
|
518
524
|
__exportStar(require("./ProjectResponseModelTargetAudience"), exports);
|
|
519
525
|
__exportStar(require("./ProjectResponseModelAccessLevel"), exports);
|
|
520
526
|
__exportStar(require("./ProjectResponseModelFiction"), exports);
|
|
@@ -524,6 +530,9 @@ __exportStar(require("./ProjectResponse"), exports);
|
|
|
524
530
|
__exportStar(require("./ProjectSnapshotExtendedResponseModel"), exports);
|
|
525
531
|
__exportStar(require("./ProjectSnapshotResponse"), exports);
|
|
526
532
|
__exportStar(require("./ProjectSnapshotsResponse"), exports);
|
|
533
|
+
__exportStar(require("./ProjectVideoResponseModel"), exports);
|
|
534
|
+
__exportStar(require("./ProjectVideoThumbnailSheetResponseModel"), exports);
|
|
535
|
+
__exportStar(require("./ProjectVoiceResponseModel"), exports);
|
|
527
536
|
__exportStar(require("./PromptAgentApiModelInputBackupLlmConfig"), exports);
|
|
528
537
|
__exportStar(require("./PromptAgentApiModelInputToolsItem"), exports);
|
|
529
538
|
__exportStar(require("./PromptAgentApiModelInput"), exports);
|
|
@@ -605,6 +614,10 @@ __exportStar(require("./SingleUseTokenResponseModel"), exports);
|
|
|
605
614
|
__exportStar(require("./SingleUseTokenType"), exports);
|
|
606
615
|
__exportStar(require("./SkipTurnToolConfig"), exports);
|
|
607
616
|
__exportStar(require("./SkipTurnToolResponseModel"), exports);
|
|
617
|
+
__exportStar(require("./SoftTimeoutConfig"), exports);
|
|
618
|
+
__exportStar(require("./SoftTimeoutConfigOverride"), exports);
|
|
619
|
+
__exportStar(require("./SoftTimeoutConfigOverrideConfig"), exports);
|
|
620
|
+
__exportStar(require("./SoftTimeoutConfigWorkflowOverride"), exports);
|
|
608
621
|
__exportStar(require("./SongMetadata"), exports);
|
|
609
622
|
__exportStar(require("./SongSection"), exports);
|
|
610
623
|
__exportStar(require("./SortDirection"), exports);
|
|
@@ -685,6 +698,8 @@ __exportStar(require("./TransferToNumberToolConfigInput"), exports);
|
|
|
685
698
|
__exportStar(require("./TransferToNumberToolConfigOutput"), exports);
|
|
686
699
|
__exportStar(require("./TransferTypeEnum"), exports);
|
|
687
700
|
__exportStar(require("./TurnConfig"), exports);
|
|
701
|
+
__exportStar(require("./TurnConfigOverride"), exports);
|
|
702
|
+
__exportStar(require("./TurnConfigOverrideConfig"), exports);
|
|
688
703
|
__exportStar(require("./TurnConfigWorkflowOverride"), exports);
|
|
689
704
|
__exportStar(require("./TurnEagerness"), exports);
|
|
690
705
|
__exportStar(require("./TurnMode"), exports);
|
|
@@ -739,9 +754,11 @@ __exportStar(require("./WebhookAuthMethodType"), exports);
|
|
|
739
754
|
__exportStar(require("./WebhookEventType"), exports);
|
|
740
755
|
__exportStar(require("./WebhookToolApiSchemaConfigInputMethod"), exports);
|
|
741
756
|
__exportStar(require("./WebhookToolApiSchemaConfigInputRequestHeadersValue"), exports);
|
|
757
|
+
__exportStar(require("./WebhookToolApiSchemaConfigInputContentType"), exports);
|
|
742
758
|
__exportStar(require("./WebhookToolApiSchemaConfigInput"), exports);
|
|
743
759
|
__exportStar(require("./WebhookToolApiSchemaConfigOutputMethod"), exports);
|
|
744
760
|
__exportStar(require("./WebhookToolApiSchemaConfigOutputRequestHeadersValue"), exports);
|
|
761
|
+
__exportStar(require("./WebhookToolApiSchemaConfigOutputContentType"), exports);
|
|
745
762
|
__exportStar(require("./WebhookToolApiSchemaConfigOutput"), exports);
|
|
746
763
|
__exportStar(require("./WebhookToolConfigInput"), exports);
|
|
747
764
|
__exportStar(require("./WebhookToolConfigOutput"), exports);
|
|
@@ -752,6 +769,8 @@ __exportStar(require("./WidgetConfig"), exports);
|
|
|
752
769
|
__exportStar(require("./WidgetConfigOutputAvatar"), exports);
|
|
753
770
|
__exportStar(require("./WidgetConfigResponseModelAvatar"), exports);
|
|
754
771
|
__exportStar(require("./WidgetConfigResponse"), exports);
|
|
772
|
+
__exportStar(require("./WidgetEndFeedbackConfig"), exports);
|
|
773
|
+
__exportStar(require("./WidgetEndFeedbackType"), exports);
|
|
755
774
|
__exportStar(require("./WidgetExpandable"), exports);
|
|
756
775
|
__exportStar(require("./WidgetFeedbackMode"), exports);
|
|
757
776
|
__exportStar(require("./WidgetLanguagePreset"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v2.
|
|
1
|
+
export declare const SDK_VERSION = "v2.24.0";
|
package/version.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElevenLabsClient as FernClient } from "../Client";
|
|
2
2
|
import type * as core from "../core";
|
|
3
3
|
import { WebhooksClient } from "./webhooks";
|
|
4
|
-
import { Music } from "
|
|
4
|
+
import { Music as GeneratedMusic } from "../api/resources/music/client/Client";
|
|
5
5
|
import { SpeechToText } from "./speechToText";
|
|
6
6
|
export declare namespace ElevenLabsClient {
|
|
7
7
|
interface Options extends FernClient.Options {
|
|
@@ -18,6 +18,6 @@ export declare class ElevenLabsClient extends FernClient {
|
|
|
18
18
|
private _customSpeechToText;
|
|
19
19
|
constructor(options?: ElevenLabsClient.Options);
|
|
20
20
|
get webhooks(): WebhooksClient;
|
|
21
|
-
get music():
|
|
21
|
+
get music(): GeneratedMusic;
|
|
22
22
|
get speechToText(): SpeechToText;
|
|
23
23
|
}
|
|
@@ -57,11 +57,12 @@ class ElevenLabsClient extends Client_1.ElevenLabsClient {
|
|
|
57
57
|
}
|
|
58
58
|
return this._customWebhooks;
|
|
59
59
|
}
|
|
60
|
-
// @ts-expect-error - Intentionally overriding with wrapper Music that has enhanced composeDetailed
|
|
61
60
|
get music() {
|
|
62
61
|
if (!this._customMusic) {
|
|
63
62
|
this._customMusic = new music_1.Music(this._options);
|
|
64
63
|
}
|
|
64
|
+
// Return wrapper Music cast as GeneratedMusic to maintain type compatibility
|
|
65
|
+
// The wrapper has enhanced composeDetailed that returns MultipartResponse
|
|
65
66
|
return this._customMusic;
|
|
66
67
|
}
|
|
67
68
|
get speechToText() {
|