@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,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/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
|
}
|
|
@@ -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
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
export declare const ProjectExternalAudioResponseModel: core.serialization.ObjectSchema<serializers.ProjectExternalAudioResponseModel.Raw, ElevenLabs.ProjectExternalAudioResponseModel>;
|
|
5
|
+
export declare namespace ProjectExternalAudioResponseModel {
|
|
6
|
+
interface Raw {
|
|
7
|
+
external_audio_id: string;
|
|
8
|
+
filename: string;
|
|
9
|
+
signed_url: string;
|
|
10
|
+
offset_ms: number;
|
|
11
|
+
duration_ms: number;
|
|
12
|
+
start_time_ms: number;
|
|
13
|
+
end_time_ms: number;
|
|
14
|
+
order: string;
|
|
15
|
+
track_id: string;
|
|
16
|
+
created_at_ms: number;
|
|
17
|
+
updated_at_ms: number;
|
|
18
|
+
volume_gain_db?: number | null;
|
|
19
|
+
muted?: boolean | null;
|
|
20
|
+
fade_in_ms?: number | null;
|
|
21
|
+
fade_out_ms?: number | null;
|
|
22
|
+
source_external_audio_id?: string | null;
|
|
23
|
+
source_asset_id?: string | null;
|
|
24
|
+
pending_block_ids: string[];
|
|
25
|
+
import_speech_progress?: number | null;
|
|
26
|
+
speech_imported?: boolean | null;
|
|
27
|
+
current_snapshot_id?: string | null;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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.ProjectExternalAudioResponseModel = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.ProjectExternalAudioResponseModel = core.serialization.object({
|
|
40
|
+
externalAudioId: core.serialization.property("external_audio_id", core.serialization.string()),
|
|
41
|
+
filename: core.serialization.string(),
|
|
42
|
+
signedUrl: core.serialization.property("signed_url", core.serialization.string()),
|
|
43
|
+
offsetMs: core.serialization.property("offset_ms", core.serialization.number()),
|
|
44
|
+
durationMs: core.serialization.property("duration_ms", core.serialization.number()),
|
|
45
|
+
startTimeMs: core.serialization.property("start_time_ms", core.serialization.number()),
|
|
46
|
+
endTimeMs: core.serialization.property("end_time_ms", core.serialization.number()),
|
|
47
|
+
order: core.serialization.string(),
|
|
48
|
+
trackId: core.serialization.property("track_id", core.serialization.string()),
|
|
49
|
+
createdAtMs: core.serialization.property("created_at_ms", core.serialization.number()),
|
|
50
|
+
updatedAtMs: core.serialization.property("updated_at_ms", core.serialization.number()),
|
|
51
|
+
volumeGainDb: core.serialization.property("volume_gain_db", core.serialization.number().optional()),
|
|
52
|
+
muted: core.serialization.boolean().optional(),
|
|
53
|
+
fadeInMs: core.serialization.property("fade_in_ms", core.serialization.number().optional()),
|
|
54
|
+
fadeOutMs: core.serialization.property("fade_out_ms", core.serialization.number().optional()),
|
|
55
|
+
sourceExternalAudioId: core.serialization.property("source_external_audio_id", core.serialization.string().optional()),
|
|
56
|
+
sourceAssetId: core.serialization.property("source_asset_id", core.serialization.string().optional()),
|
|
57
|
+
pendingBlockIds: core.serialization.property("pending_block_ids", core.serialization.list(core.serialization.string())),
|
|
58
|
+
importSpeechProgress: core.serialization.property("import_speech_progress", core.serialization.number().optional()),
|
|
59
|
+
speechImported: core.serialization.property("speech_imported", core.serialization.boolean().optional()),
|
|
60
|
+
currentSnapshotId: core.serialization.property("current_snapshot_id", core.serialization.string().optional()),
|
|
61
|
+
});
|
|
@@ -45,4 +45,5 @@ exports.ProjectSnapshotExtendedResponseModel = core.serialization.object({
|
|
|
45
45
|
audioUpload: core.serialization.property("audio_upload", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
46
46
|
zipUpload: core.serialization.property("zip_upload", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
47
47
|
characterAlignments: core.serialization.property("character_alignments", core.serialization.list(CharacterAlignmentModel_1.CharacterAlignmentModel)),
|
|
48
|
+
audioDurationSecs: core.serialization.property("audio_duration_secs", core.serialization.number()),
|
|
48
49
|
});
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
import { ProjectVideoThumbnailSheetResponseModel } from "./ProjectVideoThumbnailSheetResponseModel";
|
|
5
|
+
export declare const ProjectVideoResponseModel: core.serialization.ObjectSchema<serializers.ProjectVideoResponseModel.Raw, ElevenLabs.ProjectVideoResponseModel>;
|
|
6
|
+
export declare namespace ProjectVideoResponseModel {
|
|
7
|
+
interface Raw {
|
|
8
|
+
video_id: string;
|
|
9
|
+
filename: string;
|
|
10
|
+
signed_url: string;
|
|
11
|
+
signed_preview_url?: string | null;
|
|
12
|
+
offset_ms: number;
|
|
13
|
+
duration_ms: number;
|
|
14
|
+
volume_gain_db: number;
|
|
15
|
+
muted: boolean;
|
|
16
|
+
width: number;
|
|
17
|
+
height: number;
|
|
18
|
+
codec: string;
|
|
19
|
+
order: string;
|
|
20
|
+
preview_job_progress: number;
|
|
21
|
+
created_at_ms: number;
|
|
22
|
+
updated_at_ms: number;
|
|
23
|
+
error?: string | null;
|
|
24
|
+
thumbnail_interval_seconds: number;
|
|
25
|
+
thumbnail_size: number[];
|
|
26
|
+
thumbnail_sheets: ProjectVideoThumbnailSheetResponseModel.Raw[];
|
|
27
|
+
start_time_ms: number;
|
|
28
|
+
end_time_ms: number;
|
|
29
|
+
asset_preview_signed_url?: string | null;
|
|
30
|
+
source_video_id?: string | null;
|
|
31
|
+
source_asset_id?: string | null;
|
|
32
|
+
pending_block_ids: string[];
|
|
33
|
+
import_speech_progress?: number | null;
|
|
34
|
+
speech_imported?: boolean | null;
|
|
35
|
+
current_snapshot_id?: string | null;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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.ProjectVideoResponseModel = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const ProjectVideoThumbnailSheetResponseModel_1 = require("./ProjectVideoThumbnailSheetResponseModel");
|
|
40
|
+
exports.ProjectVideoResponseModel = core.serialization.object({
|
|
41
|
+
videoId: core.serialization.property("video_id", core.serialization.string()),
|
|
42
|
+
filename: core.serialization.string(),
|
|
43
|
+
signedUrl: core.serialization.property("signed_url", core.serialization.string()),
|
|
44
|
+
signedPreviewUrl: core.serialization.property("signed_preview_url", core.serialization.string().optional()),
|
|
45
|
+
offsetMs: core.serialization.property("offset_ms", core.serialization.number()),
|
|
46
|
+
durationMs: core.serialization.property("duration_ms", core.serialization.number()),
|
|
47
|
+
volumeGainDb: core.serialization.property("volume_gain_db", core.serialization.number()),
|
|
48
|
+
muted: core.serialization.boolean(),
|
|
49
|
+
width: core.serialization.number(),
|
|
50
|
+
height: core.serialization.number(),
|
|
51
|
+
codec: core.serialization.string(),
|
|
52
|
+
order: core.serialization.string(),
|
|
53
|
+
previewJobProgress: core.serialization.property("preview_job_progress", core.serialization.number()),
|
|
54
|
+
createdAtMs: core.serialization.property("created_at_ms", core.serialization.number()),
|
|
55
|
+
updatedAtMs: core.serialization.property("updated_at_ms", core.serialization.number()),
|
|
56
|
+
error: core.serialization.string().optional(),
|
|
57
|
+
thumbnailIntervalSeconds: core.serialization.property("thumbnail_interval_seconds", core.serialization.number()),
|
|
58
|
+
thumbnailSize: core.serialization.property("thumbnail_size", core.serialization.list(core.serialization.number())),
|
|
59
|
+
thumbnailSheets: core.serialization.property("thumbnail_sheets", core.serialization.list(ProjectVideoThumbnailSheetResponseModel_1.ProjectVideoThumbnailSheetResponseModel)),
|
|
60
|
+
startTimeMs: core.serialization.property("start_time_ms", core.serialization.number()),
|
|
61
|
+
endTimeMs: core.serialization.property("end_time_ms", core.serialization.number()),
|
|
62
|
+
assetPreviewSignedUrl: core.serialization.property("asset_preview_signed_url", core.serialization.string().optional()),
|
|
63
|
+
sourceVideoId: core.serialization.property("source_video_id", core.serialization.string().optional()),
|
|
64
|
+
sourceAssetId: core.serialization.property("source_asset_id", core.serialization.string().optional()),
|
|
65
|
+
pendingBlockIds: core.serialization.property("pending_block_ids", core.serialization.list(core.serialization.string())),
|
|
66
|
+
importSpeechProgress: core.serialization.property("import_speech_progress", core.serialization.number().optional()),
|
|
67
|
+
speechImported: core.serialization.property("speech_imported", core.serialization.boolean().optional()),
|
|
68
|
+
currentSnapshotId: core.serialization.property("current_snapshot_id", core.serialization.string().optional()),
|
|
69
|
+
});
|