@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
|
@@ -12,15 +12,15 @@ export declare namespace ApiIntegrationWebhookToolConfigOutput {
|
|
|
12
12
|
interface Raw {
|
|
13
13
|
name: string;
|
|
14
14
|
description: string;
|
|
15
|
-
response_timeout_secs
|
|
16
|
-
disable_interruptions
|
|
17
|
-
force_pre_tool_speech
|
|
18
|
-
assignments
|
|
15
|
+
response_timeout_secs: number;
|
|
16
|
+
disable_interruptions: boolean;
|
|
17
|
+
force_pre_tool_speech: boolean;
|
|
18
|
+
assignments: DynamicVariableAssignment.Raw[];
|
|
19
19
|
tool_call_sound?: ToolCallSoundType.Raw | null;
|
|
20
|
-
tool_call_sound_behavior
|
|
21
|
-
dynamic_variables
|
|
22
|
-
execution_mode
|
|
23
|
-
tool_version
|
|
20
|
+
tool_call_sound_behavior: ToolCallSoundBehavior.Raw;
|
|
21
|
+
dynamic_variables: DynamicVariablesConfig.Raw;
|
|
22
|
+
execution_mode: ToolExecutionMode.Raw;
|
|
23
|
+
tool_version: string;
|
|
24
24
|
api_integration_id: string;
|
|
25
25
|
api_integration_connection_id: string;
|
|
26
26
|
api_schema_overrides?: ApiIntegrationWebhookOverridesOutput.Raw | null;
|
|
@@ -45,15 +45,15 @@ const ApiIntegrationWebhookOverridesOutput_1 = require("./ApiIntegrationWebhookO
|
|
|
45
45
|
exports.ApiIntegrationWebhookToolConfigOutput = core.serialization.object({
|
|
46
46
|
name: core.serialization.string(),
|
|
47
47
|
description: core.serialization.string(),
|
|
48
|
-
responseTimeoutSecs: core.serialization.property("response_timeout_secs", core.serialization.number()
|
|
49
|
-
disableInterruptions: core.serialization.property("disable_interruptions", core.serialization.boolean()
|
|
50
|
-
forcePreToolSpeech: core.serialization.property("force_pre_tool_speech", core.serialization.boolean()
|
|
51
|
-
assignments: core.serialization.list(DynamicVariableAssignment_1.DynamicVariableAssignment)
|
|
48
|
+
responseTimeoutSecs: core.serialization.property("response_timeout_secs", core.serialization.number()),
|
|
49
|
+
disableInterruptions: core.serialization.property("disable_interruptions", core.serialization.boolean()),
|
|
50
|
+
forcePreToolSpeech: core.serialization.property("force_pre_tool_speech", core.serialization.boolean()),
|
|
51
|
+
assignments: core.serialization.list(DynamicVariableAssignment_1.DynamicVariableAssignment),
|
|
52
52
|
toolCallSound: core.serialization.property("tool_call_sound", ToolCallSoundType_1.ToolCallSoundType.optional()),
|
|
53
|
-
toolCallSoundBehavior: core.serialization.property("tool_call_sound_behavior", ToolCallSoundBehavior_1.ToolCallSoundBehavior
|
|
54
|
-
dynamicVariables: core.serialization.property("dynamic_variables", DynamicVariablesConfig_1.DynamicVariablesConfig
|
|
55
|
-
executionMode: core.serialization.property("execution_mode", ToolExecutionMode_1.ToolExecutionMode
|
|
56
|
-
toolVersion: core.serialization.property("tool_version", core.serialization.string()
|
|
53
|
+
toolCallSoundBehavior: core.serialization.property("tool_call_sound_behavior", ToolCallSoundBehavior_1.ToolCallSoundBehavior),
|
|
54
|
+
dynamicVariables: core.serialization.property("dynamic_variables", DynamicVariablesConfig_1.DynamicVariablesConfig),
|
|
55
|
+
executionMode: core.serialization.property("execution_mode", ToolExecutionMode_1.ToolExecutionMode),
|
|
56
|
+
toolVersion: core.serialization.property("tool_version", core.serialization.string()),
|
|
57
57
|
apiIntegrationId: core.serialization.property("api_integration_id", core.serialization.string()),
|
|
58
58
|
apiIntegrationConnectionId: core.serialization.property("api_integration_connection_id", core.serialization.string()),
|
|
59
59
|
apiSchemaOverrides: core.serialization.property("api_schema_overrides", ApiIntegrationWebhookOverridesOutput_1.ApiIntegrationWebhookOverridesOutput.optional()),
|
|
@@ -3,5 +3,5 @@ import * as ElevenLabs from "../../api/index";
|
|
|
3
3
|
import * as core from "../../core";
|
|
4
4
|
export declare const AsrProvider: core.serialization.Schema<serializers.AsrProvider.Raw, ElevenLabs.AsrProvider>;
|
|
5
5
|
export declare namespace AsrProvider {
|
|
6
|
-
type Raw = "elevenlabs";
|
|
6
|
+
type Raw = "elevenlabs" | "scribe_realtime";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.AsrProvider = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.AsrProvider = core.serialization.
|
|
39
|
+
exports.AsrProvider = core.serialization.enum_(["elevenlabs", "scribe_realtime"]);
|
|
@@ -1,12 +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 { TurnConfigOverrideConfig } from "./TurnConfigOverrideConfig";
|
|
4
5
|
import { TtsConversationalConfigOverrideConfig } from "./TtsConversationalConfigOverrideConfig";
|
|
5
6
|
import { ConversationConfigOverrideConfig } from "./ConversationConfigOverrideConfig";
|
|
6
7
|
import { AgentConfigOverrideConfig } from "./AgentConfigOverrideConfig";
|
|
7
8
|
export declare const ConversationConfigClientOverrideConfigInput: core.serialization.ObjectSchema<serializers.ConversationConfigClientOverrideConfigInput.Raw, ElevenLabs.ConversationConfigClientOverrideConfigInput>;
|
|
8
9
|
export declare namespace ConversationConfigClientOverrideConfigInput {
|
|
9
10
|
interface Raw {
|
|
11
|
+
turn?: TurnConfigOverrideConfig.Raw | null;
|
|
10
12
|
tts?: TtsConversationalConfigOverrideConfig.Raw | null;
|
|
11
13
|
conversation?: ConversationConfigOverrideConfig.Raw | null;
|
|
12
14
|
agent?: AgentConfigOverrideConfig.Raw | null;
|
|
@@ -36,10 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ConversationConfigClientOverrideConfigInput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const TurnConfigOverrideConfig_1 = require("./TurnConfigOverrideConfig");
|
|
39
40
|
const TtsConversationalConfigOverrideConfig_1 = require("./TtsConversationalConfigOverrideConfig");
|
|
40
41
|
const ConversationConfigOverrideConfig_1 = require("./ConversationConfigOverrideConfig");
|
|
41
42
|
const AgentConfigOverrideConfig_1 = require("./AgentConfigOverrideConfig");
|
|
42
43
|
exports.ConversationConfigClientOverrideConfigInput = core.serialization.object({
|
|
44
|
+
turn: TurnConfigOverrideConfig_1.TurnConfigOverrideConfig.optional(),
|
|
43
45
|
tts: TtsConversationalConfigOverrideConfig_1.TtsConversationalConfigOverrideConfig.optional(),
|
|
44
46
|
conversation: ConversationConfigOverrideConfig_1.ConversationConfigOverrideConfig.optional(),
|
|
45
47
|
agent: AgentConfigOverrideConfig_1.AgentConfigOverrideConfig.optional(),
|
|
@@ -1,12 +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 { TurnConfigOverrideConfig } from "./TurnConfigOverrideConfig";
|
|
4
5
|
import { TtsConversationalConfigOverrideConfig } from "./TtsConversationalConfigOverrideConfig";
|
|
5
6
|
import { ConversationConfigOverrideConfig } from "./ConversationConfigOverrideConfig";
|
|
6
7
|
import { AgentConfigOverrideConfig } from "./AgentConfigOverrideConfig";
|
|
7
8
|
export declare const ConversationConfigClientOverrideConfigOutput: core.serialization.ObjectSchema<serializers.ConversationConfigClientOverrideConfigOutput.Raw, ElevenLabs.ConversationConfigClientOverrideConfigOutput>;
|
|
8
9
|
export declare namespace ConversationConfigClientOverrideConfigOutput {
|
|
9
10
|
interface Raw {
|
|
11
|
+
turn?: TurnConfigOverrideConfig.Raw | null;
|
|
10
12
|
tts?: TtsConversationalConfigOverrideConfig.Raw | null;
|
|
11
13
|
conversation?: ConversationConfigOverrideConfig.Raw | null;
|
|
12
14
|
agent?: AgentConfigOverrideConfig.Raw | null;
|
|
@@ -36,10 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ConversationConfigClientOverrideConfigOutput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const TurnConfigOverrideConfig_1 = require("./TurnConfigOverrideConfig");
|
|
39
40
|
const TtsConversationalConfigOverrideConfig_1 = require("./TtsConversationalConfigOverrideConfig");
|
|
40
41
|
const ConversationConfigOverrideConfig_1 = require("./ConversationConfigOverrideConfig");
|
|
41
42
|
const AgentConfigOverrideConfig_1 = require("./AgentConfigOverrideConfig");
|
|
42
43
|
exports.ConversationConfigClientOverrideConfigOutput = core.serialization.object({
|
|
44
|
+
turn: TurnConfigOverrideConfig_1.TurnConfigOverrideConfig.optional(),
|
|
43
45
|
tts: TtsConversationalConfigOverrideConfig_1.TtsConversationalConfigOverrideConfig.optional(),
|
|
44
46
|
conversation: ConversationConfigOverrideConfig_1.ConversationConfigOverrideConfig.optional(),
|
|
45
47
|
agent: AgentConfigOverrideConfig_1.AgentConfigOverrideConfig.optional(),
|
|
@@ -1,12 +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 { TurnConfigOverride } from "./TurnConfigOverride";
|
|
4
5
|
import { TtsConversationalConfigOverride } from "./TtsConversationalConfigOverride";
|
|
5
6
|
import { ConversationConfigOverride } from "./ConversationConfigOverride";
|
|
6
7
|
import { AgentConfigOverrideInput } from "./AgentConfigOverrideInput";
|
|
7
8
|
export declare const ConversationConfigClientOverrideInput: core.serialization.ObjectSchema<serializers.ConversationConfigClientOverrideInput.Raw, ElevenLabs.ConversationConfigClientOverrideInput>;
|
|
8
9
|
export declare namespace ConversationConfigClientOverrideInput {
|
|
9
10
|
interface Raw {
|
|
11
|
+
turn?: TurnConfigOverride.Raw | null;
|
|
10
12
|
tts?: TtsConversationalConfigOverride.Raw | null;
|
|
11
13
|
conversation?: ConversationConfigOverride.Raw | null;
|
|
12
14
|
agent?: AgentConfigOverrideInput.Raw | null;
|
|
@@ -36,10 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ConversationConfigClientOverrideInput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const TurnConfigOverride_1 = require("./TurnConfigOverride");
|
|
39
40
|
const TtsConversationalConfigOverride_1 = require("./TtsConversationalConfigOverride");
|
|
40
41
|
const ConversationConfigOverride_1 = require("./ConversationConfigOverride");
|
|
41
42
|
const AgentConfigOverrideInput_1 = require("./AgentConfigOverrideInput");
|
|
42
43
|
exports.ConversationConfigClientOverrideInput = core.serialization.object({
|
|
44
|
+
turn: TurnConfigOverride_1.TurnConfigOverride.optional(),
|
|
43
45
|
tts: TtsConversationalConfigOverride_1.TtsConversationalConfigOverride.optional(),
|
|
44
46
|
conversation: ConversationConfigOverride_1.ConversationConfigOverride.optional(),
|
|
45
47
|
agent: AgentConfigOverrideInput_1.AgentConfigOverrideInput.optional(),
|
|
@@ -1,12 +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 { TurnConfigOverride } from "./TurnConfigOverride";
|
|
4
5
|
import { TtsConversationalConfigOverride } from "./TtsConversationalConfigOverride";
|
|
5
6
|
import { ConversationConfigOverride } from "./ConversationConfigOverride";
|
|
6
7
|
import { AgentConfigOverrideOutput } from "./AgentConfigOverrideOutput";
|
|
7
8
|
export declare const ConversationConfigClientOverrideOutput: core.serialization.ObjectSchema<serializers.ConversationConfigClientOverrideOutput.Raw, ElevenLabs.ConversationConfigClientOverrideOutput>;
|
|
8
9
|
export declare namespace ConversationConfigClientOverrideOutput {
|
|
9
10
|
interface Raw {
|
|
11
|
+
turn?: TurnConfigOverride.Raw | null;
|
|
10
12
|
tts?: TtsConversationalConfigOverride.Raw | null;
|
|
11
13
|
conversation?: ConversationConfigOverride.Raw | null;
|
|
12
14
|
agent?: AgentConfigOverrideOutput.Raw | null;
|
|
@@ -36,10 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ConversationConfigClientOverrideOutput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const TurnConfigOverride_1 = require("./TurnConfigOverride");
|
|
39
40
|
const TtsConversationalConfigOverride_1 = require("./TtsConversationalConfigOverride");
|
|
40
41
|
const ConversationConfigOverride_1 = require("./ConversationConfigOverride");
|
|
41
42
|
const AgentConfigOverrideOutput_1 = require("./AgentConfigOverrideOutput");
|
|
42
43
|
exports.ConversationConfigClientOverrideOutput = core.serialization.object({
|
|
44
|
+
turn: TurnConfigOverride_1.TurnConfigOverride.optional(),
|
|
43
45
|
tts: TtsConversationalConfigOverride_1.TtsConversationalConfigOverride.optional(),
|
|
44
46
|
conversation: ConversationConfigOverride_1.ConversationConfigOverride.optional(),
|
|
45
47
|
agent: AgentConfigOverrideOutput_1.AgentConfigOverrideOutput.optional(),
|
|
@@ -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 ConversationFeedbackType: core.serialization.Schema<serializers.ConversationFeedbackType.Raw, ElevenLabs.ConversationFeedbackType>;
|
|
5
|
+
export declare namespace ConversationFeedbackType {
|
|
6
|
+
type Raw = "thumbs" | "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.ConversationFeedbackType = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.ConversationFeedbackType = core.serialization.enum_(["thumbs", "rating"]);
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import * as serializers from "../index";
|
|
2
2
|
import * as ElevenLabs from "../../api/index";
|
|
3
3
|
import * as core from "../../core";
|
|
4
|
+
import { ConversationFeedbackType } from "./ConversationFeedbackType";
|
|
4
5
|
import { UserFeedbackScore } from "./UserFeedbackScore";
|
|
5
6
|
export declare const ConversationHistoryFeedbackCommonModel: core.serialization.ObjectSchema<serializers.ConversationHistoryFeedbackCommonModel.Raw, ElevenLabs.ConversationHistoryFeedbackCommonModel>;
|
|
6
7
|
export declare namespace ConversationHistoryFeedbackCommonModel {
|
|
7
8
|
interface Raw {
|
|
9
|
+
type?: ConversationFeedbackType.Raw | null;
|
|
8
10
|
overall_score?: UserFeedbackScore.Raw | null;
|
|
9
11
|
likes?: number | null;
|
|
10
12
|
dislikes?: number | null;
|
|
13
|
+
rating?: number | null;
|
|
14
|
+
comment?: string | null;
|
|
11
15
|
}
|
|
12
16
|
}
|
|
@@ -36,9 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ConversationHistoryFeedbackCommonModel = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const ConversationFeedbackType_1 = require("./ConversationFeedbackType");
|
|
39
40
|
const UserFeedbackScore_1 = require("./UserFeedbackScore");
|
|
40
41
|
exports.ConversationHistoryFeedbackCommonModel = core.serialization.object({
|
|
42
|
+
type: ConversationFeedbackType_1.ConversationFeedbackType.optional(),
|
|
41
43
|
overallScore: core.serialization.property("overall_score", UserFeedbackScore_1.UserFeedbackScore.optional()),
|
|
42
44
|
likes: core.serialization.number().optional(),
|
|
43
45
|
dislikes: core.serialization.number().optional(),
|
|
46
|
+
rating: core.serialization.number().optional(),
|
|
47
|
+
comment: core.serialization.string().optional(),
|
|
44
48
|
});
|
package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import * as ElevenLabs from "../../api/index";
|
|
|
3
3
|
import * as core from "../../core";
|
|
4
4
|
export declare const ConversationHistoryTranscriptOtherToolsResultCommonModelType: core.serialization.Schema<serializers.ConversationHistoryTranscriptOtherToolsResultCommonModelType.Raw, ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModelType>;
|
|
5
5
|
export declare namespace ConversationHistoryTranscriptOtherToolsResultCommonModelType {
|
|
6
|
-
type Raw = "client" | "webhook" | "mcp";
|
|
6
|
+
type Raw = "client" | "webhook" | "mcp" | "api_integration_webhook";
|
|
7
7
|
}
|
package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js
CHANGED
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ConversationHistoryTranscriptOtherToolsResultCommonModelType = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.ConversationHistoryTranscriptOtherToolsResultCommonModelType = core.serialization.enum_(["client", "webhook", "mcp"]);
|
|
39
|
+
exports.ConversationHistoryTranscriptOtherToolsResultCommonModelType = core.serialization.enum_(["client", "webhook", "mcp", "api_integration_webhook"]);
|
|
@@ -3,5 +3,5 @@ import * as ElevenLabs from "../../api/index";
|
|
|
3
3
|
import * as core from "../../core";
|
|
4
4
|
export declare const ConversationInitiationSource: core.serialization.Schema<serializers.ConversationInitiationSource.Raw, ElevenLabs.ConversationInitiationSource>;
|
|
5
5
|
export declare namespace ConversationInitiationSource {
|
|
6
|
-
type Raw = "unknown" | "android_sdk" | "node_js_sdk" | "react_native_sdk" | "react_sdk" | "js_sdk" | "python_sdk" | "widget" | "sip_trunk" | "twilio" | "genesys" | "swift_sdk" | "whatsapp";
|
|
6
|
+
type Raw = "unknown" | "android_sdk" | "node_js_sdk" | "react_native_sdk" | "react_sdk" | "js_sdk" | "python_sdk" | "widget" | "sip_trunk" | "twilio" | "genesys" | "swift_sdk" | "whatsapp" | "flutter_sdk";
|
|
7
7
|
}
|
|
@@ -8,6 +8,7 @@ export declare const ConversationSummaryResponseModel: core.serialization.Object
|
|
|
8
8
|
export declare namespace ConversationSummaryResponseModel {
|
|
9
9
|
interface Raw {
|
|
10
10
|
agent_id: string;
|
|
11
|
+
branch_id?: string | null;
|
|
11
12
|
agent_name?: string | null;
|
|
12
13
|
conversation_id: string;
|
|
13
14
|
start_time_unix_secs: number;
|
|
@@ -18,5 +19,6 @@ export declare namespace ConversationSummaryResponseModel {
|
|
|
18
19
|
transcript_summary?: string | null;
|
|
19
20
|
call_summary_title?: string | null;
|
|
20
21
|
direction?: ConversationSummaryResponseModelDirection.Raw | null;
|
|
22
|
+
rating?: number | null;
|
|
21
23
|
}
|
|
22
24
|
}
|
|
@@ -41,6 +41,7 @@ const EvaluationSuccessResult_1 = require("./EvaluationSuccessResult");
|
|
|
41
41
|
const ConversationSummaryResponseModelDirection_1 = require("./ConversationSummaryResponseModelDirection");
|
|
42
42
|
exports.ConversationSummaryResponseModel = core.serialization.object({
|
|
43
43
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
44
|
+
branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
|
|
44
45
|
agentName: core.serialization.property("agent_name", core.serialization.string().optional()),
|
|
45
46
|
conversationId: core.serialization.property("conversation_id", core.serialization.string()),
|
|
46
47
|
startTimeUnixSecs: core.serialization.property("start_time_unix_secs", core.serialization.number()),
|
|
@@ -51,4 +52,5 @@ exports.ConversationSummaryResponseModel = core.serialization.object({
|
|
|
51
52
|
transcriptSummary: core.serialization.property("transcript_summary", core.serialization.string().optional()),
|
|
52
53
|
callSummaryTitle: core.serialization.property("call_summary_title", core.serialization.string().optional()),
|
|
53
54
|
direction: ConversationSummaryResponseModelDirection_1.ConversationSummaryResponseModelDirection.optional(),
|
|
55
|
+
rating: core.serialization.number().optional(),
|
|
54
56
|
});
|
|
@@ -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 DiscountResposneModel: core.serialization.ObjectSchema<serializers.DiscountResposneModel.Raw, ElevenLabs.DiscountResposneModel>;
|
|
5
|
+
export declare namespace DiscountResposneModel {
|
|
6
|
+
interface Raw {
|
|
7
|
+
discount_percent_off?: number | null;
|
|
8
|
+
discount_amount_off?: number | 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.DiscountResposneModel = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.DiscountResposneModel = core.serialization.object({
|
|
40
|
+
discountPercentOff: core.serialization.property("discount_percent_off", core.serialization.number().optional()),
|
|
41
|
+
discountAmountOff: core.serialization.property("discount_amount_off", core.serialization.number().optional()),
|
|
42
|
+
});
|
|
@@ -52,4 +52,6 @@ exports.GetAgentResponseModel = core.serialization.object({
|
|
|
52
52
|
workflow: AgentWorkflowResponseModel_1.AgentWorkflowResponseModel.optional(),
|
|
53
53
|
accessInfo: core.serialization.property("access_info", ResourceAccessInfo_1.ResourceAccessInfo.optional()),
|
|
54
54
|
tags: core.serialization.list(core.serialization.string()).optional(),
|
|
55
|
+
versionId: core.serialization.property("version_id", core.serialization.string().optional()),
|
|
56
|
+
branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
|
|
55
57
|
});
|
|
@@ -13,6 +13,7 @@ export declare namespace GetConversationResponseModel {
|
|
|
13
13
|
conversation_id: string;
|
|
14
14
|
status: GetConversationResponseModelStatus.Raw;
|
|
15
15
|
user_id?: string | null;
|
|
16
|
+
branch_id?: string | null;
|
|
16
17
|
transcript: ConversationHistoryTranscriptCommonModelOutput.Raw[];
|
|
17
18
|
metadata: ConversationHistoryMetadataCommonModel.Raw;
|
|
18
19
|
analysis?: ConversationHistoryAnalysisCommonModel.Raw | null;
|
|
@@ -46,6 +46,7 @@ exports.GetConversationResponseModel = core.serialization.object({
|
|
|
46
46
|
conversationId: core.serialization.property("conversation_id", core.serialization.string()),
|
|
47
47
|
status: GetConversationResponseModelStatus_1.GetConversationResponseModelStatus,
|
|
48
48
|
userId: core.serialization.property("user_id", core.serialization.string().optional()),
|
|
49
|
+
branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
|
|
49
50
|
transcript: core.serialization.list(ConversationHistoryTranscriptCommonModelOutput_1.ConversationHistoryTranscriptCommonModelOutput),
|
|
50
51
|
metadata: ConversationHistoryMetadataCommonModel_1.ConversationHistoryMetadataCommonModel,
|
|
51
52
|
analysis: ConversationHistoryAnalysisCommonModel_1.ConversationHistoryAnalysisCommonModel.optional(),
|
|
@@ -40,6 +40,7 @@ const UnitTestRunResponseModel_1 = require("./UnitTestRunResponseModel");
|
|
|
40
40
|
exports.GetTestSuiteInvocationResponseModel = core.serialization.object({
|
|
41
41
|
id: core.serialization.string(),
|
|
42
42
|
agentId: core.serialization.property("agent_id", core.serialization.string().optional()),
|
|
43
|
+
branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
|
|
43
44
|
createdAt: core.serialization.property("created_at", core.serialization.number().optional()),
|
|
44
45
|
testRuns: core.serialization.property("test_runs", core.serialization.list(UnitTestRunResponseModel_1.UnitTestRunResponseModel)),
|
|
45
46
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as serializers from "../index";
|
|
2
2
|
import * as ElevenLabs from "../../api/index";
|
|
3
3
|
import * as core from "../../core";
|
|
4
|
+
import { DiscountResposneModel } from "./DiscountResposneModel";
|
|
4
5
|
import { InvoiceResponseModelPaymentIntentStatus } from "./InvoiceResponseModelPaymentIntentStatus";
|
|
5
6
|
export declare const InvoiceResponse: core.serialization.ObjectSchema<serializers.InvoiceResponse.Raw, ElevenLabs.InvoiceResponse>;
|
|
6
7
|
export declare namespace InvoiceResponse {
|
|
@@ -10,6 +11,7 @@ export declare namespace InvoiceResponse {
|
|
|
10
11
|
tax_cents?: number | null;
|
|
11
12
|
discount_percent_off?: number | null;
|
|
12
13
|
discount_amount_off?: number | null;
|
|
14
|
+
discounts: DiscountResposneModel.Raw[];
|
|
13
15
|
next_payment_attempt_unix: number;
|
|
14
16
|
payment_intent_status?: InvoiceResponseModelPaymentIntentStatus.Raw | null;
|
|
15
17
|
}
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.InvoiceResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const DiscountResposneModel_1 = require("./DiscountResposneModel");
|
|
39
40
|
const InvoiceResponseModelPaymentIntentStatus_1 = require("./InvoiceResponseModelPaymentIntentStatus");
|
|
40
41
|
exports.InvoiceResponse = core.serialization.object({
|
|
41
42
|
amountDueCents: core.serialization.property("amount_due_cents", core.serialization.number()),
|
|
@@ -43,6 +44,7 @@ exports.InvoiceResponse = core.serialization.object({
|
|
|
43
44
|
taxCents: core.serialization.property("tax_cents", core.serialization.number().optional()),
|
|
44
45
|
discountPercentOff: core.serialization.property("discount_percent_off", core.serialization.number().optional()),
|
|
45
46
|
discountAmountOff: core.serialization.property("discount_amount_off", core.serialization.number().optional()),
|
|
47
|
+
discounts: core.serialization.list(DiscountResposneModel_1.DiscountResposneModel),
|
|
46
48
|
nextPaymentAttemptUnix: core.serialization.property("next_payment_attempt_unix", core.serialization.number()),
|
|
47
49
|
paymentIntentStatus: core.serialization.property("payment_intent_status", InvoiceResponseModelPaymentIntentStatus_1.InvoiceResponseModelPaymentIntentStatus.optional()),
|
|
48
50
|
});
|
|
@@ -41,4 +41,5 @@ const LanguagePresetTranslation_1 = require("./LanguagePresetTranslation");
|
|
|
41
41
|
exports.LanguagePresetInput = core.serialization.object({
|
|
42
42
|
overrides: ConversationConfigClientOverrideInput_1.ConversationConfigClientOverrideInput,
|
|
43
43
|
firstMessageTranslation: core.serialization.property("first_message_translation", LanguagePresetTranslation_1.LanguagePresetTranslation.optional()),
|
|
44
|
+
softTimeoutTranslation: core.serialization.property("soft_timeout_translation", LanguagePresetTranslation_1.LanguagePresetTranslation.optional()),
|
|
44
45
|
});
|
|
@@ -8,5 +8,6 @@ export declare namespace LanguagePresetOutput {
|
|
|
8
8
|
interface Raw {
|
|
9
9
|
overrides: ConversationConfigClientOverrideOutput.Raw;
|
|
10
10
|
first_message_translation?: LanguagePresetTranslation.Raw | null;
|
|
11
|
+
soft_timeout_translation?: LanguagePresetTranslation.Raw | null;
|
|
11
12
|
}
|
|
12
13
|
}
|
|
@@ -41,4 +41,5 @@ const LanguagePresetTranslation_1 = require("./LanguagePresetTranslation");
|
|
|
41
41
|
exports.LanguagePresetOutput = core.serialization.object({
|
|
42
42
|
overrides: ConversationConfigClientOverrideOutput_1.ConversationConfigClientOverrideOutput,
|
|
43
43
|
firstMessageTranslation: core.serialization.property("first_message_translation", LanguagePresetTranslation_1.LanguagePresetTranslation.optional()),
|
|
44
|
+
softTimeoutTranslation: core.serialization.property("soft_timeout_translation", LanguagePresetTranslation_1.LanguagePresetTranslation.optional()),
|
|
44
45
|
});
|
|
@@ -14,6 +14,8 @@ import { ChapterResponse } from "./ChapterResponse";
|
|
|
14
14
|
import { PronunciationDictionaryVersionResponseModel } from "./PronunciationDictionaryVersionResponseModel";
|
|
15
15
|
import { PronunciationDictionaryLocatorResponseModel } from "./PronunciationDictionaryLocatorResponseModel";
|
|
16
16
|
import { ProjectExtendedResponseModelApplyTextNormalization } from "./ProjectExtendedResponseModelApplyTextNormalization";
|
|
17
|
+
import { ProjectExtendedResponseModelAssetsItem } from "./ProjectExtendedResponseModelAssetsItem";
|
|
18
|
+
import { ProjectVoiceResponseModel } from "./ProjectVoiceResponseModel";
|
|
17
19
|
export declare const ProjectExtendedResponse: core.serialization.ObjectSchema<serializers.ProjectExtendedResponse.Raw, ElevenLabs.ProjectExtendedResponse>;
|
|
18
20
|
export declare namespace ProjectExtendedResponse {
|
|
19
21
|
interface Raw {
|
|
@@ -56,5 +58,7 @@ export declare namespace ProjectExtendedResponse {
|
|
|
56
58
|
pronunciation_dictionary_locators: PronunciationDictionaryLocatorResponseModel.Raw[];
|
|
57
59
|
apply_text_normalization: ProjectExtendedResponseModelApplyTextNormalization.Raw;
|
|
58
60
|
experimental?: Record<string, unknown> | null;
|
|
61
|
+
assets: ProjectExtendedResponseModelAssetsItem.Raw[];
|
|
62
|
+
voices: ProjectVoiceResponseModel.Raw[];
|
|
59
63
|
}
|
|
60
64
|
}
|
|
@@ -49,6 +49,8 @@ const ChapterResponse_1 = require("./ChapterResponse");
|
|
|
49
49
|
const PronunciationDictionaryVersionResponseModel_1 = require("./PronunciationDictionaryVersionResponseModel");
|
|
50
50
|
const PronunciationDictionaryLocatorResponseModel_1 = require("./PronunciationDictionaryLocatorResponseModel");
|
|
51
51
|
const ProjectExtendedResponseModelApplyTextNormalization_1 = require("./ProjectExtendedResponseModelApplyTextNormalization");
|
|
52
|
+
const ProjectExtendedResponseModelAssetsItem_1 = require("./ProjectExtendedResponseModelAssetsItem");
|
|
53
|
+
const ProjectVoiceResponseModel_1 = require("./ProjectVoiceResponseModel");
|
|
52
54
|
exports.ProjectExtendedResponse = core.serialization.object({
|
|
53
55
|
projectId: core.serialization.property("project_id", core.serialization.string()),
|
|
54
56
|
name: core.serialization.string(),
|
|
@@ -89,4 +91,6 @@ exports.ProjectExtendedResponse = core.serialization.object({
|
|
|
89
91
|
pronunciationDictionaryLocators: core.serialization.property("pronunciation_dictionary_locators", core.serialization.list(PronunciationDictionaryLocatorResponseModel_1.PronunciationDictionaryLocatorResponseModel)),
|
|
90
92
|
applyTextNormalization: core.serialization.property("apply_text_normalization", ProjectExtendedResponseModelApplyTextNormalization_1.ProjectExtendedResponseModelApplyTextNormalization),
|
|
91
93
|
experimental: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
94
|
+
assets: core.serialization.list(ProjectExtendedResponseModelAssetsItem_1.ProjectExtendedResponseModelAssetsItem),
|
|
95
|
+
voices: core.serialization.list(ProjectVoiceResponseModel_1.ProjectVoiceResponseModel),
|
|
92
96
|
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
import { ProjectVideoResponseModel } from "./ProjectVideoResponseModel";
|
|
5
|
+
import { ProjectExternalAudioResponseModel } from "./ProjectExternalAudioResponseModel";
|
|
6
|
+
export declare const ProjectExtendedResponseModelAssetsItem: core.serialization.Schema<serializers.ProjectExtendedResponseModelAssetsItem.Raw, ElevenLabs.ProjectExtendedResponseModelAssetsItem>;
|
|
7
|
+
export declare namespace ProjectExtendedResponseModelAssetsItem {
|
|
8
|
+
type Raw = ProjectExtendedResponseModelAssetsItem.Video | ProjectExtendedResponseModelAssetsItem.Audio;
|
|
9
|
+
interface Video extends ProjectVideoResponseModel.Raw {
|
|
10
|
+
type: "video";
|
|
11
|
+
}
|
|
12
|
+
interface Audio extends ProjectExternalAudioResponseModel.Raw {
|
|
13
|
+
type: "audio";
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -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.ProjectExtendedResponseModelAssetsItem = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const ProjectVideoResponseModel_1 = require("./ProjectVideoResponseModel");
|
|
40
|
+
const ProjectExternalAudioResponseModel_1 = require("./ProjectExternalAudioResponseModel");
|
|
41
|
+
exports.ProjectExtendedResponseModelAssetsItem = core.serialization
|
|
42
|
+
.union("type", {
|
|
43
|
+
video: ProjectVideoResponseModel_1.ProjectVideoResponseModel,
|
|
44
|
+
audio: ProjectExternalAudioResponseModel_1.ProjectExternalAudioResponseModel,
|
|
45
|
+
})
|
|
46
|
+
.transform({
|
|
47
|
+
transform: (value) => value,
|
|
48
|
+
untransform: (value) => value,
|
|
49
|
+
});
|