@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
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
export declare const ProjectVideoThumbnailSheetResponseModel: core.serialization.ObjectSchema<serializers.ProjectVideoThumbnailSheetResponseModel.Raw, ElevenLabs.ProjectVideoThumbnailSheetResponseModel>;
|
|
5
|
+
export declare namespace ProjectVideoThumbnailSheetResponseModel {
|
|
6
|
+
interface Raw {
|
|
7
|
+
start_thumbnail_index: number;
|
|
8
|
+
thumbnail_count: number;
|
|
9
|
+
signed_cloud_url: string;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.ProjectVideoThumbnailSheetResponseModel = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.ProjectVideoThumbnailSheetResponseModel = core.serialization.object({
|
|
40
|
+
startThumbnailIndex: core.serialization.property("start_thumbnail_index", core.serialization.number()),
|
|
41
|
+
thumbnailCount: core.serialization.property("thumbnail_count", core.serialization.number()),
|
|
42
|
+
signedCloudUrl: core.serialization.property("signed_cloud_url", core.serialization.string()),
|
|
43
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
export declare const ProjectVoiceResponseModel: core.serialization.ObjectSchema<serializers.ProjectVoiceResponseModel.Raw, ElevenLabs.ProjectVoiceResponseModel>;
|
|
5
|
+
export declare namespace ProjectVoiceResponseModel {
|
|
6
|
+
interface Raw {
|
|
7
|
+
voice_id: string;
|
|
8
|
+
alias: string;
|
|
9
|
+
stability: number;
|
|
10
|
+
similarity_boost: number;
|
|
11
|
+
style: number;
|
|
12
|
+
is_pinned: boolean;
|
|
13
|
+
use_speaker_boost: boolean;
|
|
14
|
+
volume_gain: number;
|
|
15
|
+
speed: number;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.ProjectVoiceResponseModel = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.ProjectVoiceResponseModel = core.serialization.object({
|
|
40
|
+
voiceId: core.serialization.property("voice_id", core.serialization.string()),
|
|
41
|
+
alias: core.serialization.string(),
|
|
42
|
+
stability: core.serialization.number(),
|
|
43
|
+
similarityBoost: core.serialization.property("similarity_boost", core.serialization.number()),
|
|
44
|
+
style: core.serialization.number(),
|
|
45
|
+
isPinned: core.serialization.property("is_pinned", core.serialization.boolean()),
|
|
46
|
+
useSpeakerBoost: core.serialization.property("use_speaker_boost", core.serialization.boolean()),
|
|
47
|
+
volumeGain: core.serialization.property("volume_gain", core.serialization.number()),
|
|
48
|
+
speed: core.serialization.number(),
|
|
49
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
export declare const SoftTimeoutConfig: core.serialization.ObjectSchema<serializers.SoftTimeoutConfig.Raw, ElevenLabs.SoftTimeoutConfig>;
|
|
5
|
+
export declare namespace SoftTimeoutConfig {
|
|
6
|
+
interface Raw {
|
|
7
|
+
timeout_seconds?: number | null;
|
|
8
|
+
message?: string | 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.SoftTimeoutConfig = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.SoftTimeoutConfig = core.serialization.object({
|
|
40
|
+
timeoutSeconds: core.serialization.property("timeout_seconds", core.serialization.number().optional()),
|
|
41
|
+
message: core.serialization.string().optional(),
|
|
42
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
export declare const SoftTimeoutConfigOverride: core.serialization.ObjectSchema<serializers.SoftTimeoutConfigOverride.Raw, ElevenLabs.SoftTimeoutConfigOverride>;
|
|
5
|
+
export declare namespace SoftTimeoutConfigOverride {
|
|
6
|
+
interface Raw {
|
|
7
|
+
message?: string | null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.SoftTimeoutConfigOverride = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.SoftTimeoutConfigOverride = core.serialization.object({
|
|
40
|
+
message: core.serialization.string().optional(),
|
|
41
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
export declare const SoftTimeoutConfigOverrideConfig: core.serialization.ObjectSchema<serializers.SoftTimeoutConfigOverrideConfig.Raw, ElevenLabs.SoftTimeoutConfigOverrideConfig>;
|
|
5
|
+
export declare namespace SoftTimeoutConfigOverrideConfig {
|
|
6
|
+
interface Raw {
|
|
7
|
+
message?: boolean | null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.SoftTimeoutConfigOverrideConfig = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.SoftTimeoutConfigOverrideConfig = core.serialization.object({
|
|
40
|
+
message: core.serialization.boolean().optional(),
|
|
41
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
export declare const SoftTimeoutConfigWorkflowOverride: core.serialization.ObjectSchema<serializers.SoftTimeoutConfigWorkflowOverride.Raw, ElevenLabs.SoftTimeoutConfigWorkflowOverride>;
|
|
5
|
+
export declare namespace SoftTimeoutConfigWorkflowOverride {
|
|
6
|
+
interface Raw {
|
|
7
|
+
timeout_seconds?: number | null;
|
|
8
|
+
message?: string | 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.SoftTimeoutConfigWorkflowOverride = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.SoftTimeoutConfigWorkflowOverride = core.serialization.object({
|
|
40
|
+
timeoutSeconds: core.serialization.property("timeout_seconds", core.serialization.number().optional()),
|
|
41
|
+
message: core.serialization.string().optional(),
|
|
42
|
+
});
|
|
@@ -6,6 +6,8 @@ export declare const TestInvocationSummaryResponseModel: core.serialization.Obje
|
|
|
6
6
|
export declare namespace TestInvocationSummaryResponseModel {
|
|
7
7
|
interface Raw {
|
|
8
8
|
id: string;
|
|
9
|
+
agent_id?: string | null;
|
|
10
|
+
branch_id?: string | null;
|
|
9
11
|
created_at_unix_secs: number;
|
|
10
12
|
test_run_count: number;
|
|
11
13
|
passed_count: number;
|
|
@@ -39,6 +39,8 @@ const core = __importStar(require("../../core"));
|
|
|
39
39
|
const ResourceAccessInfo_1 = require("./ResourceAccessInfo");
|
|
40
40
|
exports.TestInvocationSummaryResponseModel = core.serialization.object({
|
|
41
41
|
id: core.serialization.string(),
|
|
42
|
+
agentId: core.serialization.property("agent_id", core.serialization.string().optional()),
|
|
43
|
+
branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
|
|
42
44
|
createdAtUnixSecs: core.serialization.property("created_at_unix_secs", core.serialization.number()),
|
|
43
45
|
testRunCount: core.serialization.property("test_run_count", core.serialization.number()),
|
|
44
46
|
passedCount: core.serialization.property("passed_count", core.serialization.number()),
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as serializers from "../index";
|
|
2
2
|
import * as ElevenLabs from "../../api/index";
|
|
3
3
|
import * as core from "../../core";
|
|
4
|
-
import {
|
|
4
|
+
import { ApiIntegrationWebhookToolConfigExternalInput } from "./ApiIntegrationWebhookToolConfigExternalInput";
|
|
5
5
|
import { ClientToolConfigInput } from "./ClientToolConfigInput";
|
|
6
6
|
import { SystemToolConfigInput } from "./SystemToolConfigInput";
|
|
7
7
|
import { WebhookToolConfigInput } from "./WebhookToolConfigInput";
|
|
8
8
|
export declare const ToolRequestModelToolConfig: core.serialization.Schema<serializers.ToolRequestModelToolConfig.Raw, ElevenLabs.ToolRequestModelToolConfig>;
|
|
9
9
|
export declare namespace ToolRequestModelToolConfig {
|
|
10
10
|
type Raw = ToolRequestModelToolConfig.ApiIntegrationWebhook | ToolRequestModelToolConfig.Client | ToolRequestModelToolConfig.System | ToolRequestModelToolConfig.Webhook;
|
|
11
|
-
interface ApiIntegrationWebhook extends
|
|
11
|
+
interface ApiIntegrationWebhook extends ApiIntegrationWebhookToolConfigExternalInput.Raw {
|
|
12
12
|
type: "api_integration_webhook";
|
|
13
13
|
}
|
|
14
14
|
interface Client extends ClientToolConfigInput.Raw {
|
|
@@ -36,13 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ToolRequestModelToolConfig = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
const
|
|
39
|
+
const ApiIntegrationWebhookToolConfigExternalInput_1 = require("./ApiIntegrationWebhookToolConfigExternalInput");
|
|
40
40
|
const ClientToolConfigInput_1 = require("./ClientToolConfigInput");
|
|
41
41
|
const SystemToolConfigInput_1 = require("./SystemToolConfigInput");
|
|
42
42
|
const WebhookToolConfigInput_1 = require("./WebhookToolConfigInput");
|
|
43
43
|
exports.ToolRequestModelToolConfig = core.serialization
|
|
44
44
|
.union("type", {
|
|
45
|
-
api_integration_webhook:
|
|
45
|
+
api_integration_webhook: ApiIntegrationWebhookToolConfigExternalInput_1.ApiIntegrationWebhookToolConfigExternalInput,
|
|
46
46
|
client: ClientToolConfigInput_1.ClientToolConfigInput,
|
|
47
47
|
system: SystemToolConfigInput_1.SystemToolConfigInput,
|
|
48
48
|
webhook: WebhookToolConfigInput_1.WebhookToolConfigInput,
|
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
import * as serializers from "../index";
|
|
2
2
|
import * as ElevenLabs from "../../api/index";
|
|
3
3
|
import * as core from "../../core";
|
|
4
|
-
import {
|
|
4
|
+
import { ApiIntegrationWebhookToolConfigExternalOutput } from "./ApiIntegrationWebhookToolConfigExternalOutput";
|
|
5
5
|
import { ClientToolConfigOutput } from "./ClientToolConfigOutput";
|
|
6
6
|
import { SystemToolConfigOutput } from "./SystemToolConfigOutput";
|
|
7
7
|
import { WebhookToolConfigOutput } from "./WebhookToolConfigOutput";
|
|
8
8
|
export declare const ToolResponseModelToolConfig: core.serialization.Schema<serializers.ToolResponseModelToolConfig.Raw, ElevenLabs.ToolResponseModelToolConfig>;
|
|
9
9
|
export declare namespace ToolResponseModelToolConfig {
|
|
10
|
-
type Raw = ToolResponseModelToolConfig.ApiIntegrationWebhook | ToolResponseModelToolConfig.Client | ToolResponseModelToolConfig.
|
|
11
|
-
interface ApiIntegrationWebhook extends
|
|
10
|
+
type Raw = ToolResponseModelToolConfig.ApiIntegrationWebhook | ToolResponseModelToolConfig.Client | ToolResponseModelToolConfig.System | ToolResponseModelToolConfig.Webhook;
|
|
11
|
+
interface ApiIntegrationWebhook extends ApiIntegrationWebhookToolConfigExternalOutput.Raw {
|
|
12
12
|
type: "api_integration_webhook";
|
|
13
13
|
}
|
|
14
14
|
interface Client extends ClientToolConfigOutput.Raw {
|
|
15
15
|
type: "client";
|
|
16
16
|
}
|
|
17
|
-
interface Mcp {
|
|
18
|
-
type: "mcp";
|
|
19
|
-
value?: unknown;
|
|
20
|
-
}
|
|
21
17
|
interface System extends SystemToolConfigOutput.Raw {
|
|
22
18
|
type: "system";
|
|
23
19
|
}
|
|
@@ -36,17 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ToolResponseModelToolConfig = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
const
|
|
39
|
+
const ApiIntegrationWebhookToolConfigExternalOutput_1 = require("./ApiIntegrationWebhookToolConfigExternalOutput");
|
|
40
40
|
const ClientToolConfigOutput_1 = require("./ClientToolConfigOutput");
|
|
41
41
|
const SystemToolConfigOutput_1 = require("./SystemToolConfigOutput");
|
|
42
42
|
const WebhookToolConfigOutput_1 = require("./WebhookToolConfigOutput");
|
|
43
43
|
exports.ToolResponseModelToolConfig = core.serialization
|
|
44
44
|
.union("type", {
|
|
45
|
-
api_integration_webhook:
|
|
45
|
+
api_integration_webhook: ApiIntegrationWebhookToolConfigExternalOutput_1.ApiIntegrationWebhookToolConfigExternalOutput,
|
|
46
46
|
client: ClientToolConfigOutput_1.ClientToolConfigOutput,
|
|
47
|
-
mcp: core.serialization.object({
|
|
48
|
-
value: core.serialization.unknown(),
|
|
49
|
-
}),
|
|
50
47
|
system: SystemToolConfigOutput_1.SystemToolConfigOutput,
|
|
51
48
|
webhook: WebhookToolConfigOutput_1.WebhookToolConfigOutput,
|
|
52
49
|
})
|
|
@@ -3,5 +3,5 @@ import * as ElevenLabs from "../../api/index";
|
|
|
3
3
|
import * as core from "../../core";
|
|
4
4
|
export declare const TtsConversationalModel: core.serialization.Schema<serializers.TtsConversationalModel.Raw, ElevenLabs.TtsConversationalModel>;
|
|
5
5
|
export declare namespace TtsConversationalModel {
|
|
6
|
-
type Raw = "eleven_turbo_v2" | "eleven_turbo_v2_5" | "eleven_flash_v2" | "eleven_flash_v2_5" | "eleven_multilingual_v2";
|
|
6
|
+
type Raw = "eleven_turbo_v2" | "eleven_turbo_v2_5" | "eleven_flash_v2" | "eleven_flash_v2_5" | "eleven_multilingual_v2" | "eleven_expressive";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as ElevenLabs from "../../api/index";
|
|
|
3
3
|
import * as core from "../../core";
|
|
4
4
|
export declare const TtsModelFamily: core.serialization.Schema<serializers.TtsModelFamily.Raw, ElevenLabs.TtsModelFamily>;
|
|
5
5
|
export declare namespace TtsModelFamily {
|
|
6
|
-
type Raw = "turbo" | "flash" | "multilingual";
|
|
6
|
+
type Raw = "turbo" | "flash" | "multilingual" | "expressive";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.TtsModelFamily = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.TtsModelFamily = core.serialization.enum_(["turbo", "flash", "multilingual"]);
|
|
39
|
+
exports.TtsModelFamily = core.serialization.enum_(["turbo", "flash", "multilingual", "expressive"]);
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import * as serializers from "../index";
|
|
2
2
|
import * as ElevenLabs from "../../api/index";
|
|
3
3
|
import * as core from "../../core";
|
|
4
|
+
import { SoftTimeoutConfig } from "./SoftTimeoutConfig";
|
|
4
5
|
import { TurnEagerness } from "./TurnEagerness";
|
|
5
6
|
export declare const TurnConfig: core.serialization.ObjectSchema<serializers.TurnConfig.Raw, ElevenLabs.TurnConfig>;
|
|
6
7
|
export declare namespace TurnConfig {
|
|
7
8
|
interface Raw {
|
|
8
9
|
turn_timeout?: number | null;
|
|
10
|
+
initial_wait_time?: number | null;
|
|
9
11
|
silence_end_call_timeout?: number | null;
|
|
12
|
+
soft_timeout_config?: SoftTimeoutConfig.Raw | null;
|
|
10
13
|
turn_eagerness?: TurnEagerness.Raw | null;
|
|
11
14
|
}
|
|
12
15
|
}
|
|
@@ -36,9 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.TurnConfig = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const SoftTimeoutConfig_1 = require("./SoftTimeoutConfig");
|
|
39
40
|
const TurnEagerness_1 = require("./TurnEagerness");
|
|
40
41
|
exports.TurnConfig = 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", SoftTimeoutConfig_1.SoftTimeoutConfig.optional()),
|
|
43
46
|
turnEagerness: core.serialization.property("turn_eagerness", TurnEagerness_1.TurnEagerness.optional()),
|
|
44
47
|
});
|
|
@@ -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 { SoftTimeoutConfigOverride } from "./SoftTimeoutConfigOverride";
|
|
5
|
+
export declare const TurnConfigOverride: core.serialization.ObjectSchema<serializers.TurnConfigOverride.Raw, ElevenLabs.TurnConfigOverride>;
|
|
6
|
+
export declare namespace TurnConfigOverride {
|
|
7
|
+
interface Raw {
|
|
8
|
+
soft_timeout_config?: SoftTimeoutConfigOverride.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.TurnConfigOverride = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const SoftTimeoutConfigOverride_1 = require("./SoftTimeoutConfigOverride");
|
|
40
|
+
exports.TurnConfigOverride = core.serialization.object({
|
|
41
|
+
softTimeoutConfig: core.serialization.property("soft_timeout_config", SoftTimeoutConfigOverride_1.SoftTimeoutConfigOverride.optional()),
|
|
42
|
+
});
|
|
@@ -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 { SoftTimeoutConfigOverrideConfig } from "./SoftTimeoutConfigOverrideConfig";
|
|
5
|
+
export declare const TurnConfigOverrideConfig: core.serialization.ObjectSchema<serializers.TurnConfigOverrideConfig.Raw, ElevenLabs.TurnConfigOverrideConfig>;
|
|
6
|
+
export declare namespace TurnConfigOverrideConfig {
|
|
7
|
+
interface Raw {
|
|
8
|
+
soft_timeout_config?: SoftTimeoutConfigOverrideConfig.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.TurnConfigOverrideConfig = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const SoftTimeoutConfigOverrideConfig_1 = require("./SoftTimeoutConfigOverrideConfig");
|
|
40
|
+
exports.TurnConfigOverrideConfig = core.serialization.object({
|
|
41
|
+
softTimeoutConfig: core.serialization.property("soft_timeout_config", SoftTimeoutConfigOverrideConfig_1.SoftTimeoutConfigOverrideConfig.optional()),
|
|
42
|
+
});
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import * as serializers from "../index";
|
|
2
2
|
import * as ElevenLabs from "../../api/index";
|
|
3
3
|
import * as core from "../../core";
|
|
4
|
+
import { SoftTimeoutConfigWorkflowOverride } from "./SoftTimeoutConfigWorkflowOverride";
|
|
4
5
|
import { TurnEagerness } from "./TurnEagerness";
|
|
5
6
|
export declare const TurnConfigWorkflowOverride: core.serialization.ObjectSchema<serializers.TurnConfigWorkflowOverride.Raw, ElevenLabs.TurnConfigWorkflowOverride>;
|
|
6
7
|
export declare namespace TurnConfigWorkflowOverride {
|
|
7
8
|
interface Raw {
|
|
8
9
|
turn_timeout?: number | null;
|
|
10
|
+
initial_wait_time?: number | null;
|
|
9
11
|
silence_end_call_timeout?: number | null;
|
|
12
|
+
soft_timeout_config?: SoftTimeoutConfigWorkflowOverride.Raw | null;
|
|
10
13
|
turn_eagerness?: TurnEagerness.Raw | null;
|
|
11
14
|
}
|
|
12
15
|
}
|