@elevenlabs/elevenlabs-js 2.7.0 → 2.9.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.d.ts +13 -0
- package/Client.js +77 -12
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +4 -4
- package/api/resources/conversationalAi/resources/agents/client/Client.js +4 -4
- package/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +0 -1
- package/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +4 -2
- package/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +4 -2
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +0 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +15 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +86 -1
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +19 -0
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +8 -0
- package/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/index.js +1 -0
- package/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.d.ts +11 -0
- package/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.js +10 -0
- package/api/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/types/index.js +17 -0
- package/api/resources/conversationalAi/resources/index.d.ts +2 -1
- package/api/resources/conversationalAi/resources/index.js +3 -2
- package/api/resources/dubbing/client/Client.js +3 -0
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
- package/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +1 -1
- package/api/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +1 -1
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/serviceAccounts/client/Client.d.ts +48 -0
- package/api/resources/serviceAccounts/client/Client.js +134 -0
- package/api/resources/serviceAccounts/client/index.d.ts +1 -0
- package/api/resources/serviceAccounts/client/index.js +2 -0
- package/api/resources/serviceAccounts/index.d.ts +2 -0
- package/api/resources/serviceAccounts/index.js +18 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/Client.d.ts +96 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +341 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/index.d.ts +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/index.js +17 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +18 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +22 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/index.d.ts +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/index.js +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/index.d.ts +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/index.js +18 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +8 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +31 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +33 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +8 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +31 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +33 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +4 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +20 -0
- package/api/resources/serviceAccounts/resources/index.d.ts +3 -0
- package/api/resources/serviceAccounts/resources/index.js +42 -0
- package/api/resources/speechToText/client/Client.d.ts +2 -2
- package/api/resources/speechToText/client/Client.js +5 -2
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +7 -0
- package/api/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +5 -0
- package/api/resources/speechToText/types/index.d.ts +1 -0
- package/api/resources/speechToText/types/index.js +1 -0
- package/api/resources/studio/resources/projects/client/Client.d.ts +1 -4
- package/api/resources/studio/resources/projects/client/Client.js +10 -7
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +4 -7
- package/api/resources/textToVoice/client/Client.d.ts +0 -17
- package/api/resources/textToVoice/client/Client.js +0 -77
- package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +4 -0
- package/api/resources/textToVoice/client/requests/index.d.ts +0 -1
- package/api/resources/voices/client/Client.js +9 -1
- package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +4 -0
- package/api/types/AddProjectRequest.d.ts +1 -130
- package/api/types/AgentConfig.d.ts +11 -1
- package/api/types/AgentSummaryResponseModel.d.ts +2 -0
- package/api/types/AsrProvider.d.ts +1 -5
- package/api/types/AsrProvider.js +0 -5
- package/api/types/BatchCallRecipientStatus.d.ts +2 -1
- package/api/types/BatchCallRecipientStatus.js +1 -0
- package/api/types/BuiltInToolsInput.d.ts +2 -0
- package/api/types/BuiltInToolsOutput.d.ts +2 -0
- package/api/types/CaptionStyleCharacterAnimationModel.d.ts +8 -0
- package/api/types/CaptionStyleCharacterAnimationModelEnterType.d.ts +8 -0
- package/api/types/CaptionStyleCharacterAnimationModelEnterType.js +10 -0
- package/api/types/CaptionStyleCharacterAnimationModelExitType.d.ts +8 -0
- package/api/types/CaptionStyleCharacterAnimationModelExitType.js +10 -0
- package/api/types/CaptionStyleHorizontalPlacementModel.d.ts +8 -0
- package/api/types/CaptionStyleHorizontalPlacementModelAlign.d.ts +9 -0
- package/api/types/CaptionStyleHorizontalPlacementModelAlign.js +11 -0
- package/api/types/CaptionStyleModel.d.ts +29 -0
- package/api/types/CaptionStyleModelTextAlign.d.ts +9 -0
- package/api/types/CaptionStyleModelTextAlign.js +11 -0
- package/api/types/CaptionStyleModelTextStyle.d.ts +8 -0
- package/api/types/CaptionStyleModelTextStyle.js +10 -0
- package/api/types/CaptionStyleModelTextWeight.d.ts +8 -0
- package/api/types/CaptionStyleModelTextWeight.js +10 -0
- package/api/types/CaptionStyleSectionAnimationModel.d.ts +8 -0
- package/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +9 -0
- package/api/types/CaptionStyleSectionAnimationModelEnterType.js +11 -0
- package/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +9 -0
- package/api/types/CaptionStyleSectionAnimationModelExitType.js +11 -0
- package/api/types/CaptionStyleTemplateModel.d.ts +7 -0
- package/api/types/CaptionStyleVerticalPlacementModel.d.ts +8 -0
- package/api/types/CaptionStyleVerticalPlacementModelAlign.d.ts +9 -0
- package/api/types/CaptionStyleVerticalPlacementModelAlign.js +11 -0
- package/api/types/CaptionStyleWordAnimationModel.d.ts +8 -0
- package/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +9 -0
- package/api/types/CaptionStyleWordAnimationModelEnterType.js +11 -0
- package/api/types/CaptionStyleWordAnimationModelExitType.d.ts +9 -0
- package/api/types/CaptionStyleWordAnimationModelExitType.js +11 -0
- package/api/types/ClientToolConfigInput.d.ts +6 -0
- package/api/types/ClientToolConfigOutput.d.ts +6 -0
- package/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +5 -0
- package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +5 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +14 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +9 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +11 -0
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +15 -0
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +37 -0
- package/api/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts +1 -1
- package/api/types/ConversationInitiationClientDataInternal.d.ts +1 -0
- package/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -0
- package/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -0
- package/api/types/ConversationInitiationSource.d.ts +2 -1
- package/api/types/ConversationInitiationSource.js +1 -0
- package/api/types/ConversationInitiationSourceInfo.d.ts +13 -0
- package/api/types/ConversationSimulationSpecification.d.ts +1 -1
- package/api/types/ConversationSummaryResponseModel.d.ts +3 -0
- package/api/types/ConversationSummaryResponseModelDirection.d.ts +8 -0
- package/api/types/ConversationSummaryResponseModelDirection.js +10 -0
- package/api/types/ConversationalConfig.d.ts +1 -1
- package/api/types/DubbedSegment.d.ts +1 -0
- package/api/types/DynamicVariableAssignment.d.ts +14 -0
- package/api/types/DynamicVariableUpdateCommonModel.d.ts +14 -0
- package/api/types/EndCallToolResultModel.d.ts +8 -0
- package/api/types/FeaturesUsageCommonModel.d.ts +5 -0
- package/api/types/GetAgentResponseModel.d.ts +0 -1
- package/api/types/LanguageDetectionToolResultModel.d.ts +8 -0
- package/api/types/Llm.d.ts +15 -1
- package/api/types/Llm.js +14 -0
- package/api/types/MultichannelSpeechToTextResponseModel.d.ts +11 -0
- package/api/types/PlayDtmfResultErrorModel.d.ts +8 -0
- package/api/types/PlayDtmfResultSuccessModel.d.ts +8 -0
- package/api/types/ProjectExtendedResponse.d.ts +4 -0
- package/api/types/ProjectResponse.d.ts +4 -0
- package/api/types/PromptAgentApiModelInputToolsItem.d.ts +2 -1
- package/api/types/PromptAgentApiModelOutputToolsItem.d.ts +2 -1
- package/api/types/PromptAgentApiModelOverride.d.ts +2 -0
- package/api/types/PromptAgentApiModelOverrideConfig.d.ts +2 -0
- package/api/types/SaveVoicePreviewRequest.d.ts +4 -0
- package/api/types/SegmentSubtitleFrame.d.ts +8 -0
- package/api/types/SkipTurnToolResponseModel.d.ts +7 -0
- package/api/types/SpeakerSegment.d.ts +1 -0
- package/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
- package/api/types/SpeechToTextWebhookResponseModel.d.ts +9 -0
- package/api/types/SubscriptionExtrasResponseModel.d.ts +2 -2
- package/api/types/SystemToolConfigInput.d.ts +6 -0
- package/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/api/types/SystemToolConfigOutput.d.ts +6 -0
- package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +1 -1
- package/api/types/TokenResponseModel.d.ts +6 -0
- package/api/types/Tool.d.ts +3 -0
- package/api/types/ToolRequestModelToolConfig.d.ts +2 -1
- package/api/types/ToolResponseModel.d.ts +1 -0
- package/api/types/ToolResponseModelToolConfig.d.ts +2 -1
- package/api/types/ToolType.d.ts +10 -0
- package/api/types/ToolType.js +12 -0
- package/api/types/ToolUsageStatsResponseModel.d.ts +8 -0
- package/api/types/TransferToAgentToolResultErrorModel.d.ts +8 -0
- package/api/types/TransferToAgentToolResultSuccessModel.d.ts +12 -0
- package/api/types/TransferToNumberResultErrorModel.d.ts +8 -0
- package/api/types/TransferToNumberResultErrorModel.js +5 -0
- package/api/types/TransferToNumberResultSipSuccessModel.d.ts +9 -0
- package/api/types/TransferToNumberResultSipSuccessModel.js +5 -0
- package/api/types/TransferToNumberResultTwilioSuccessModel.d.ts +12 -0
- package/api/types/TransferToNumberResultTwilioSuccessModel.js +5 -0
- package/api/types/UpdatePronunciationDictionariesRequest.d.ts +1 -7
- package/api/types/VoiceResponseModelSafetyControl.d.ts +1 -2
- package/api/types/VoiceResponseModelSafetyControl.js +0 -1
- package/api/types/VoicemailDetectionToolConfig.d.ts +14 -0
- package/api/types/VoicemailDetectionToolConfig.js +5 -0
- package/api/types/WebhookToolConfigInput.d.ts +6 -0
- package/api/types/WebhookToolConfigOutput.d.ts +6 -0
- package/api/types/WidgetConfig.d.ts +4 -0
- package/api/types/WidgetConfigResponse.d.ts +4 -0
- package/{dist/api/types/AgentBan.d.ts → api/types/WorkspaceApiKeyListResponseModel.d.ts} +2 -4
- package/api/types/WorkspaceApiKeyListResponseModel.js +5 -0
- package/api/types/WorkspaceApiKeyResponseModel.d.ts +15 -0
- package/api/types/WorkspaceApiKeyResponseModel.js +5 -0
- package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +31 -0
- package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.js +33 -0
- package/api/types/WorkspaceCreateApiKeyResponseModel.d.ts +6 -0
- package/api/types/WorkspaceCreateApiKeyResponseModel.js +5 -0
- package/api/types/WorkspaceResourceType.d.ts +2 -1
- package/api/types/WorkspaceResourceType.js +1 -0
- package/api/types/WorkspaceServiceAccountListResponseModel.d.ts +7 -0
- package/api/types/WorkspaceServiceAccountListResponseModel.js +5 -0
- package/api/types/WorkspaceServiceAccountResponseModel.d.ts +10 -0
- package/api/types/WorkspaceServiceAccountResponseModel.js +5 -0
- package/api/types/index.d.ts +54 -24
- package/api/types/index.js +54 -24
- package/dist/Client.d.ts +13 -0
- package/dist/Client.js +77 -12
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +4 -4
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +4 -4
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +0 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +4 -2
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +4 -2
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +0 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +15 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +86 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +19 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.js +5 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +8 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.d.ts +11 -0
- package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.js +10 -0
- package/dist/api/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/types/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -1
- package/dist/api/resources/conversationalAi/resources/index.js +3 -2
- package/dist/api/resources/dubbing/client/Client.js +3 -0
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
- package/dist/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +1 -1
- package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +1 -1
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/serviceAccounts/client/Client.d.ts +48 -0
- package/dist/api/resources/serviceAccounts/client/Client.js +134 -0
- package/dist/api/resources/serviceAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/serviceAccounts/client/index.js +2 -0
- package/dist/api/resources/serviceAccounts/index.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/index.js +18 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.d.ts +96 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +341 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/index.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/index.js +17 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +18 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +5 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +22 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +5 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/index.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/index.js +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/index.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/index.js +18 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +8 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +5 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +31 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +33 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +8 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +5 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +31 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +33 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +4 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +20 -0
- package/dist/api/resources/serviceAccounts/resources/index.d.ts +3 -0
- package/dist/api/resources/serviceAccounts/resources/index.js +42 -0
- package/dist/api/resources/speechToText/client/Client.d.ts +2 -2
- package/dist/api/resources/speechToText/client/Client.js +5 -2
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +7 -0
- package/dist/api/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +5 -0
- package/dist/api/resources/speechToText/types/SpeechToTextConvertResponse.js +5 -0
- package/dist/api/resources/speechToText/types/index.d.ts +1 -0
- package/dist/api/resources/speechToText/types/index.js +1 -0
- package/dist/api/resources/studio/resources/projects/client/Client.d.ts +1 -4
- package/dist/api/resources/studio/resources/projects/client/Client.js +10 -7
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +4 -7
- package/dist/api/resources/textToVoice/client/Client.d.ts +0 -17
- package/dist/api/resources/textToVoice/client/Client.js +0 -77
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +4 -0
- package/dist/api/resources/textToVoice/client/requests/index.d.ts +0 -1
- package/dist/api/resources/voices/client/Client.js +9 -1
- package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +4 -0
- package/dist/api/types/AddProjectRequest.d.ts +1 -130
- package/dist/api/types/AgentConfig.d.ts +11 -1
- package/dist/api/types/AgentSummaryResponseModel.d.ts +2 -0
- package/dist/api/types/AsrProvider.d.ts +1 -5
- package/dist/api/types/AsrProvider.js +0 -5
- package/dist/api/types/BatchCallRecipientStatus.d.ts +2 -1
- package/dist/api/types/BatchCallRecipientStatus.js +1 -0
- package/dist/api/types/BuiltInToolsInput.d.ts +2 -0
- package/dist/api/types/BuiltInToolsOutput.d.ts +2 -0
- package/dist/api/types/CaptionStyleCharacterAnimationModel.d.ts +8 -0
- package/dist/api/types/CaptionStyleCharacterAnimationModel.js +5 -0
- package/dist/api/types/CaptionStyleCharacterAnimationModelEnterType.d.ts +8 -0
- package/dist/api/types/CaptionStyleCharacterAnimationModelEnterType.js +10 -0
- package/dist/api/types/CaptionStyleCharacterAnimationModelExitType.d.ts +8 -0
- package/dist/api/types/CaptionStyleCharacterAnimationModelExitType.js +10 -0
- package/dist/api/types/CaptionStyleHorizontalPlacementModel.d.ts +8 -0
- package/dist/api/types/CaptionStyleHorizontalPlacementModel.js +5 -0
- package/dist/api/types/CaptionStyleHorizontalPlacementModelAlign.d.ts +9 -0
- package/dist/api/types/CaptionStyleHorizontalPlacementModelAlign.js +11 -0
- package/dist/api/types/CaptionStyleModel.d.ts +29 -0
- package/dist/api/types/CaptionStyleModel.js +5 -0
- package/dist/api/types/CaptionStyleModelTextAlign.d.ts +9 -0
- package/dist/api/types/CaptionStyleModelTextAlign.js +11 -0
- package/dist/api/types/CaptionStyleModelTextStyle.d.ts +8 -0
- package/dist/api/types/CaptionStyleModelTextStyle.js +10 -0
- package/dist/api/types/CaptionStyleModelTextWeight.d.ts +8 -0
- package/dist/api/types/CaptionStyleModelTextWeight.js +10 -0
- package/dist/api/types/CaptionStyleSectionAnimationModel.d.ts +8 -0
- package/dist/api/types/CaptionStyleSectionAnimationModel.js +5 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +9 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.js +11 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +9 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelExitType.js +11 -0
- package/dist/api/types/CaptionStyleTemplateModel.d.ts +7 -0
- package/dist/api/types/CaptionStyleTemplateModel.js +5 -0
- package/dist/api/types/CaptionStyleVerticalPlacementModel.d.ts +8 -0
- package/dist/api/types/CaptionStyleVerticalPlacementModel.js +5 -0
- package/dist/api/types/CaptionStyleVerticalPlacementModelAlign.d.ts +9 -0
- package/dist/api/types/CaptionStyleVerticalPlacementModelAlign.js +11 -0
- package/dist/api/types/CaptionStyleWordAnimationModel.d.ts +8 -0
- package/dist/api/types/CaptionStyleWordAnimationModel.js +5 -0
- package/dist/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +9 -0
- package/dist/api/types/CaptionStyleWordAnimationModelEnterType.js +11 -0
- package/dist/api/types/CaptionStyleWordAnimationModelExitType.d.ts +9 -0
- package/dist/api/types/CaptionStyleWordAnimationModelExitType.js +11 -0
- package/dist/api/types/ClientToolConfigInput.d.ts +6 -0
- package/dist/api/types/ClientToolConfigOutput.d.ts +6 -0
- package/dist/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +5 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +5 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +5 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +5 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +14 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +5 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +9 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +11 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +15 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +5 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +37 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +5 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts +1 -1
- package/dist/api/types/ConversationInitiationClientDataInternal.d.ts +1 -0
- package/dist/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -0
- package/dist/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -0
- package/dist/api/types/ConversationInitiationSource.d.ts +2 -1
- package/dist/api/types/ConversationInitiationSource.js +1 -0
- package/dist/api/types/ConversationInitiationSourceInfo.d.ts +13 -0
- package/dist/api/types/ConversationInitiationSourceInfo.js +5 -0
- package/dist/api/types/ConversationSimulationSpecification.d.ts +1 -1
- package/dist/api/types/ConversationSummaryResponseModel.d.ts +3 -0
- package/dist/api/types/ConversationSummaryResponseModelDirection.d.ts +8 -0
- package/dist/api/types/ConversationSummaryResponseModelDirection.js +10 -0
- package/dist/api/types/ConversationalConfig.d.ts +1 -1
- package/dist/api/types/DubbedSegment.d.ts +1 -0
- package/dist/api/types/DynamicVariableAssignment.d.ts +14 -0
- package/dist/api/types/DynamicVariableAssignment.js +5 -0
- package/dist/api/types/DynamicVariableUpdateCommonModel.d.ts +14 -0
- package/dist/api/types/DynamicVariableUpdateCommonModel.js +5 -0
- package/dist/api/types/EndCallToolResultModel.d.ts +8 -0
- package/dist/api/types/EndCallToolResultModel.js +5 -0
- package/dist/api/types/FeaturesUsageCommonModel.d.ts +5 -0
- package/dist/api/types/GetAgentResponseModel.d.ts +0 -1
- package/dist/api/types/LanguageDetectionToolResultModel.d.ts +8 -0
- package/dist/api/types/LanguageDetectionToolResultModel.js +5 -0
- package/dist/api/types/Llm.d.ts +15 -1
- package/dist/api/types/Llm.js +14 -0
- package/dist/api/types/MultichannelSpeechToTextResponseModel.d.ts +11 -0
- package/dist/api/types/MultichannelSpeechToTextResponseModel.js +5 -0
- package/dist/api/types/PlayDtmfResultErrorModel.d.ts +8 -0
- package/dist/api/types/PlayDtmfResultErrorModel.js +5 -0
- package/dist/api/types/PlayDtmfResultSuccessModel.d.ts +8 -0
- package/dist/api/types/PlayDtmfResultSuccessModel.js +5 -0
- package/dist/api/types/ProjectExtendedResponse.d.ts +4 -0
- package/dist/api/types/ProjectResponse.d.ts +4 -0
- package/dist/api/types/PromptAgentApiModelInputToolsItem.d.ts +2 -1
- package/dist/api/types/PromptAgentApiModelOutputToolsItem.d.ts +2 -1
- package/dist/api/types/PromptAgentApiModelOverride.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelOverrideConfig.d.ts +2 -0
- package/dist/api/types/SaveVoicePreviewRequest.d.ts +4 -0
- package/dist/api/types/SaveVoicePreviewRequest.js +5 -0
- package/dist/api/types/SegmentSubtitleFrame.d.ts +8 -0
- package/dist/api/types/SegmentSubtitleFrame.js +5 -0
- package/dist/api/types/SkipTurnToolResponseModel.d.ts +7 -0
- package/dist/api/types/SkipTurnToolResponseModel.js +5 -0
- package/dist/api/types/SpeakerSegment.d.ts +1 -0
- package/dist/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
- package/dist/api/types/SpeechToTextWebhookResponseModel.d.ts +9 -0
- package/dist/api/types/SpeechToTextWebhookResponseModel.js +5 -0
- package/dist/api/types/SubscriptionExtrasResponseModel.d.ts +2 -2
- package/dist/api/types/SystemToolConfigInput.d.ts +6 -0
- package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/dist/api/types/SystemToolConfigOutput.d.ts +6 -0
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/dist/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +1 -1
- package/dist/api/types/TokenResponseModel.d.ts +6 -0
- package/dist/api/types/TokenResponseModel.js +5 -0
- package/dist/api/types/Tool.d.ts +3 -0
- package/dist/api/types/ToolRequestModelToolConfig.d.ts +2 -1
- package/dist/api/types/ToolResponseModel.d.ts +1 -0
- package/dist/api/types/ToolResponseModelToolConfig.d.ts +2 -1
- package/dist/api/types/ToolType.d.ts +10 -0
- package/dist/api/types/ToolType.js +12 -0
- package/dist/api/types/ToolUsageStatsResponseModel.d.ts +8 -0
- package/dist/api/types/ToolUsageStatsResponseModel.js +5 -0
- package/dist/api/types/TransferToAgentToolResultErrorModel.d.ts +8 -0
- package/dist/api/types/TransferToAgentToolResultErrorModel.js +5 -0
- package/dist/api/types/TransferToAgentToolResultSuccessModel.d.ts +12 -0
- package/dist/api/types/TransferToAgentToolResultSuccessModel.js +5 -0
- package/dist/api/types/TransferToNumberResultErrorModel.d.ts +8 -0
- package/dist/api/types/TransferToNumberResultErrorModel.js +5 -0
- package/dist/api/types/TransferToNumberResultSipSuccessModel.d.ts +9 -0
- package/dist/api/types/TransferToNumberResultSipSuccessModel.js +5 -0
- package/dist/api/types/TransferToNumberResultTwilioSuccessModel.d.ts +12 -0
- package/dist/api/types/TransferToNumberResultTwilioSuccessModel.js +5 -0
- package/dist/api/types/UpdatePronunciationDictionariesRequest.d.ts +1 -7
- package/dist/api/types/VoiceResponseModelSafetyControl.d.ts +1 -2
- package/dist/api/types/VoiceResponseModelSafetyControl.js +0 -1
- package/dist/api/types/VoicemailDetectionToolConfig.d.ts +14 -0
- package/dist/api/types/VoicemailDetectionToolConfig.js +5 -0
- package/dist/api/types/WebhookToolConfigInput.d.ts +6 -0
- package/dist/api/types/WebhookToolConfigOutput.d.ts +6 -0
- package/dist/api/types/WidgetConfig.d.ts +4 -0
- package/dist/api/types/WidgetConfigResponse.d.ts +4 -0
- package/{api/types/AgentBan.d.ts → dist/api/types/WorkspaceApiKeyListResponseModel.d.ts} +2 -4
- package/dist/api/types/WorkspaceApiKeyListResponseModel.js +5 -0
- package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +15 -0
- package/dist/api/types/WorkspaceApiKeyResponseModel.js +5 -0
- package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +31 -0
- package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.js +33 -0
- package/dist/api/types/WorkspaceCreateApiKeyResponseModel.d.ts +6 -0
- package/dist/api/types/WorkspaceCreateApiKeyResponseModel.js +5 -0
- package/dist/api/types/WorkspaceResourceType.d.ts +2 -1
- package/dist/api/types/WorkspaceResourceType.js +1 -0
- package/dist/api/types/WorkspaceServiceAccountListResponseModel.d.ts +7 -0
- package/dist/api/types/WorkspaceServiceAccountListResponseModel.js +5 -0
- package/dist/api/types/WorkspaceServiceAccountResponseModel.d.ts +10 -0
- package/dist/api/types/WorkspaceServiceAccountResponseModel.js +5 -0
- package/dist/api/types/index.d.ts +54 -24
- package/dist/api/types/index.js +54 -24
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +0 -1
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +0 -1
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +0 -1
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +0 -1
- package/dist/serialization/resources/conversationalAi/resources/conversations/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.d.ts +10 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/types/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -1
- package/dist/serialization/resources/conversationalAi/resources/index.js +3 -2
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/serviceAccounts/index.d.ts +1 -0
- package/dist/serialization/resources/serviceAccounts/index.js +17 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/index.d.ts +1 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/index.js +17 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +15 -0
- package/dist/serialization/{types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.js → resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js} +6 -9
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +16 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +47 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/index.js +7 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/index.d.ts +2 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/index.js +18 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +11 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +45 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +10 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +67 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +11 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +45 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +10 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +67 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +4 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +20 -0
- package/dist/serialization/resources/serviceAccounts/resources/index.d.ts +3 -0
- package/dist/serialization/resources/serviceAccounts/resources/index.js +42 -0
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +13 -0
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertResponse.js +48 -0
- package/dist/serialization/resources/speechToText/types/index.d.ts +1 -0
- package/dist/serialization/resources/speechToText/types/index.js +1 -0
- package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
- package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +2 -0
- package/dist/serialization/resources/textToVoice/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/textToVoice/client/requests/index.js +1 -3
- package/dist/serialization/types/AddProjectRequest.d.ts +2 -34
- package/dist/serialization/types/AddProjectRequest.js +1 -33
- package/dist/serialization/types/AgentConfig.d.ts +9 -2
- package/dist/serialization/types/AgentConfig.js +8 -1
- package/dist/serialization/types/AgentSummaryResponseModel.d.ts +1 -0
- package/dist/serialization/types/AgentSummaryResponseModel.js +1 -0
- package/dist/serialization/types/AsrProvider.d.ts +1 -1
- package/dist/serialization/types/AsrProvider.js +1 -1
- package/dist/serialization/types/BatchCallRecipientStatus.d.ts +1 -1
- package/dist/serialization/types/BatchCallRecipientStatus.js +1 -1
- package/dist/serialization/types/BuiltInToolsInput.d.ts +1 -0
- package/dist/serialization/types/BuiltInToolsInput.js +1 -0
- package/dist/serialization/types/BuiltInToolsOutput.d.ts +1 -0
- package/dist/serialization/types/BuiltInToolsOutput.js +1 -0
- package/dist/serialization/types/CaptionStyleCharacterAnimationModel.d.ts +15 -0
- package/dist/serialization/types/CaptionStyleCharacterAnimationModel.js +46 -0
- package/dist/serialization/types/CaptionStyleCharacterAnimationModelEnterType.d.ts +10 -0
- package/dist/serialization/types/{BodyAddProjectV1ProjectsAddPostSourceType.js → CaptionStyleCharacterAnimationModelEnterType.js} +2 -2
- package/dist/serialization/types/CaptionStyleCharacterAnimationModelExitType.d.ts +10 -0
- package/dist/serialization/types/{BodyAddProjectV1ProjectsAddPostFiction.js → CaptionStyleCharacterAnimationModelExitType.js} +2 -2
- package/dist/serialization/types/CaptionStyleHorizontalPlacementModel.d.ts +14 -0
- package/dist/serialization/types/CaptionStyleHorizontalPlacementModel.js +45 -0
- package/dist/serialization/types/CaptionStyleHorizontalPlacementModelAlign.d.ts +10 -0
- package/{serialization/types/BodyAddProjectV1ProjectsAddPostSourceType.js → dist/serialization/types/CaptionStyleHorizontalPlacementModelAlign.js} +2 -2
- package/dist/serialization/types/CaptionStyleModel.d.ts +43 -0
- package/dist/serialization/types/CaptionStyleModel.js +74 -0
- package/dist/serialization/types/CaptionStyleModelTextAlign.d.ts +10 -0
- package/{serialization/types/BodyAddProjectV1ProjectsAddPostFiction.js → dist/serialization/types/CaptionStyleModelTextAlign.js} +2 -2
- package/dist/serialization/types/CaptionStyleModelTextStyle.d.ts +10 -0
- package/dist/serialization/types/CaptionStyleModelTextStyle.js +41 -0
- package/dist/serialization/types/CaptionStyleModelTextWeight.d.ts +10 -0
- package/dist/serialization/types/CaptionStyleModelTextWeight.js +41 -0
- package/dist/serialization/types/CaptionStyleSectionAnimationModel.d.ts +15 -0
- package/dist/serialization/types/CaptionStyleSectionAnimationModel.js +46 -0
- package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +10 -0
- package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +41 -0
- package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +10 -0
- package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.js +41 -0
- package/dist/serialization/types/CaptionStyleTemplateModel.d.ts +13 -0
- package/dist/serialization/types/CaptionStyleTemplateModel.js +44 -0
- package/dist/serialization/types/CaptionStyleVerticalPlacementModel.d.ts +14 -0
- package/dist/serialization/types/CaptionStyleVerticalPlacementModel.js +45 -0
- package/dist/serialization/types/CaptionStyleVerticalPlacementModelAlign.d.ts +10 -0
- package/dist/serialization/types/CaptionStyleVerticalPlacementModelAlign.js +41 -0
- package/dist/serialization/types/CaptionStyleWordAnimationModel.d.ts +15 -0
- package/dist/serialization/types/{BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.js → CaptionStyleWordAnimationModel.js} +6 -3
- package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +10 -0
- package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.js +41 -0
- package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +10 -0
- package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.js +41 -0
- package/dist/serialization/types/ClientToolConfigInput.d.ts +4 -0
- package/dist/serialization/types/ClientToolConfigInput.js +4 -0
- package/dist/serialization/types/ClientToolConfigOutput.d.ts +4 -0
- package/dist/serialization/types/ClientToolConfigOutput.js +4 -0
- package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +12 -0
- package/dist/serialization/types/{BodyCreatePodcastV1ProjectsPodcastCreatePostSource.js → ConversationHistoryTranscriptCommonModelInputToolResultsItem.js} +6 -8
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +12 -0
- package/{serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.js → dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js} +6 -8
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +21 -0
- package/dist/serialization/types/{ConversationHistoryTranscriptToolResultCommonModel.js → ConversationHistoryTranscriptOtherToolsResultCommonModel.js} +6 -3
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +10 -0
- package/dist/serialization/types/{BodyAddProjectV1ProjectsAddPostTargetAudience.js → ConversationHistoryTranscriptOtherToolsResultCommonModelType.js} +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +22 -0
- package/dist/serialization/types/{BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.js → ConversationHistoryTranscriptSystemToolResultCommonModel.js} +13 -5
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +50 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +67 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts +2 -1
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.js +2 -1
- package/dist/serialization/types/ConversationInitiationClientDataInternal.d.ts +2 -0
- package/dist/serialization/types/ConversationInitiationClientDataInternal.js +2 -0
- package/dist/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +2 -0
- package/dist/serialization/types/ConversationInitiationClientDataRequestInput.js +2 -0
- package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.js +2 -0
- package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationSource.js +1 -0
- package/dist/serialization/types/ConversationInitiationSourceInfo.d.ts +14 -0
- package/dist/serialization/types/{BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.js → ConversationInitiationSourceInfo.js} +5 -5
- package/dist/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
- package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +4 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.js +4 -0
- package/dist/serialization/types/ConversationSummaryResponseModelDirection.d.ts +10 -0
- package/dist/serialization/types/ConversationSummaryResponseModelDirection.js +41 -0
- package/dist/serialization/types/ConversationalConfig.d.ts +1 -1
- package/dist/serialization/types/DubbedSegment.d.ts +2 -0
- package/dist/serialization/types/DubbedSegment.js +2 -0
- package/dist/serialization/types/DynamicVariableAssignment.d.ts +14 -0
- package/dist/serialization/types/DynamicVariableAssignment.js +45 -0
- package/dist/serialization/types/DynamicVariableUpdateCommonModel.d.ts +17 -0
- package/dist/serialization/types/DynamicVariableUpdateCommonModel.js +48 -0
- package/dist/serialization/types/EndCallToolResultModel.d.ts +14 -0
- package/dist/serialization/types/EndCallToolResultModel.js +45 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +5 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.js +5 -0
- package/dist/serialization/types/GetAgentResponseModel.d.ts +0 -1
- package/dist/serialization/types/GetAgentResponseModel.js +0 -1
- package/dist/serialization/types/LanguageDetectionToolResultModel.d.ts +14 -0
- package/{serialization/types/AgentBan.js → dist/serialization/types/LanguageDetectionToolResultModel.js} +4 -5
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +14 -0
- package/dist/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +13 -0
- package/dist/serialization/types/MultichannelSpeechToTextResponseModel.js +44 -0
- package/dist/serialization/types/PlayDtmfResultErrorModel.d.ts +14 -0
- package/dist/serialization/types/PlayDtmfResultErrorModel.js +45 -0
- package/dist/serialization/types/PlayDtmfResultSuccessModel.d.ts +14 -0
- package/dist/serialization/types/{AgentBan.js → PlayDtmfResultSuccessModel.js} +4 -5
- package/dist/serialization/types/ProjectExtendedResponse.d.ts +3 -0
- package/dist/serialization/types/ProjectExtendedResponse.js +3 -0
- package/dist/serialization/types/ProjectResponse.d.ts +3 -0
- package/dist/serialization/types/ProjectResponse.js +3 -0
- package/dist/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +2 -2
- package/dist/serialization/types/PromptAgentApiModelInputToolsItem.js +3 -2
- package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +2 -2
- package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.js +3 -2
- package/dist/serialization/types/PromptAgentApiModelOverride.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelOverride.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelOverrideConfig.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelOverrideConfig.js +1 -0
- package/dist/serialization/types/SaveVoicePreviewRequest.d.ts +10 -0
- package/dist/serialization/types/SaveVoicePreviewRequest.js +41 -0
- package/dist/serialization/types/SegmentSubtitleFrame.d.ts +14 -0
- package/dist/serialization/types/SegmentSubtitleFrame.js +45 -0
- package/dist/serialization/types/SkipTurnToolResponseModel.d.ts +13 -0
- package/dist/serialization/types/SkipTurnToolResponseModel.js +44 -0
- package/dist/serialization/types/SpeakerSegment.d.ts +2 -0
- package/dist/serialization/types/SpeakerSegment.js +2 -0
- package/dist/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
- package/dist/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
- package/dist/serialization/types/SpeechToTextWebhookResponseModel.d.ts +13 -0
- package/dist/serialization/types/SpeechToTextWebhookResponseModel.js +44 -0
- package/dist/serialization/types/SystemToolConfigInput.d.ts +4 -0
- package/dist/serialization/types/SystemToolConfigInput.js +4 -0
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/dist/serialization/types/SystemToolConfigOutput.d.ts +4 -0
- package/dist/serialization/types/SystemToolConfigOutput.js +4 -0
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/dist/serialization/types/TokenResponseModel.d.ts +12 -0
- package/dist/serialization/types/TokenResponseModel.js +43 -0
- package/dist/serialization/types/Tool.d.ts +3 -0
- package/dist/serialization/types/Tool.js +3 -0
- package/dist/serialization/types/ToolRequestModelToolConfig.d.ts +2 -2
- package/dist/serialization/types/ToolRequestModelToolConfig.js +3 -2
- package/dist/serialization/types/ToolResponseModel.d.ts +2 -0
- package/dist/serialization/types/ToolResponseModel.js +2 -0
- package/dist/serialization/types/ToolResponseModelToolConfig.d.ts +2 -2
- package/dist/serialization/types/ToolResponseModelToolConfig.js +3 -2
- package/dist/serialization/types/ToolType.d.ts +10 -0
- package/dist/serialization/types/ToolType.js +41 -0
- package/dist/serialization/types/ToolUsageStatsResponseModel.d.ts +13 -0
- package/{serialization/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.js → dist/serialization/types/ToolUsageStatsResponseModel.js} +4 -4
- package/dist/serialization/types/TransferToAgentToolResultErrorModel.d.ts +14 -0
- package/dist/serialization/types/{BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.js → TransferToAgentToolResultErrorModel.js} +5 -3
- package/dist/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +18 -0
- package/dist/serialization/types/TransferToAgentToolResultSuccessModel.js +49 -0
- package/dist/serialization/types/TransferToNumberResultErrorModel.d.ts +14 -0
- package/dist/serialization/types/TransferToNumberResultErrorModel.js +45 -0
- package/dist/serialization/types/TransferToNumberResultSipSuccessModel.d.ts +15 -0
- package/dist/serialization/types/TransferToNumberResultSipSuccessModel.js +46 -0
- package/dist/serialization/types/TransferToNumberResultTwilioSuccessModel.d.ts +18 -0
- package/dist/serialization/types/TransferToNumberResultTwilioSuccessModel.js +49 -0
- package/dist/serialization/types/UpdatePronunciationDictionariesRequest.d.ts +2 -6
- package/dist/serialization/types/UpdatePronunciationDictionariesRequest.js +1 -5
- package/dist/serialization/types/VoiceResponseModelSafetyControl.d.ts +1 -1
- package/dist/serialization/types/VoiceResponseModelSafetyControl.js +1 -8
- package/dist/serialization/types/VoicemailDetectionToolConfig.d.ts +12 -0
- package/dist/serialization/types/VoicemailDetectionToolConfig.js +43 -0
- package/dist/serialization/types/WebhookToolConfigInput.d.ts +4 -0
- package/dist/serialization/types/WebhookToolConfigInput.js +4 -0
- package/dist/serialization/types/WebhookToolConfigOutput.d.ts +4 -0
- package/dist/serialization/types/WebhookToolConfigOutput.js +4 -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/WorkspaceApiKeyListResponseModel.d.ts +13 -0
- package/dist/serialization/types/WorkspaceApiKeyListResponseModel.js +44 -0
- package/dist/serialization/types/WorkspaceApiKeyResponseModel.d.ts +21 -0
- package/dist/serialization/types/WorkspaceApiKeyResponseModel.js +52 -0
- package/dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +10 -0
- package/dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js +67 -0
- package/dist/serialization/types/WorkspaceCreateApiKeyResponseModel.d.ts +12 -0
- package/dist/serialization/types/WorkspaceCreateApiKeyResponseModel.js +43 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +1 -0
- package/dist/serialization/types/WorkspaceServiceAccountListResponseModel.d.ts +13 -0
- package/dist/serialization/types/WorkspaceServiceAccountListResponseModel.js +44 -0
- package/dist/serialization/types/WorkspaceServiceAccountResponseModel.d.ts +16 -0
- package/dist/serialization/types/WorkspaceServiceAccountResponseModel.js +47 -0
- package/dist/serialization/types/index.d.ts +54 -24
- package/dist/serialization/types/index.js +54 -24
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +11 -11
- package/reference.md +476 -74
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +0 -1
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +0 -1
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.js +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.js +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +0 -1
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +0 -1
- package/serialization/resources/conversationalAi/resources/conversations/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.d.ts +10 -0
- package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.js +41 -0
- package/serialization/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/types/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/index.d.ts +2 -1
- package/serialization/resources/conversationalAi/resources/index.js +3 -2
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/serviceAccounts/index.d.ts +1 -0
- package/serialization/resources/serviceAccounts/index.js +17 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/index.d.ts +1 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/index.js +17 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +15 -0
- package/serialization/{types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.js → resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js} +6 -9
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +16 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +47 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/index.d.ts +2 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/index.js +7 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/index.d.ts +2 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/index.js +18 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +11 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +45 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +10 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +67 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +11 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +45 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +10 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +67 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +4 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +20 -0
- package/serialization/resources/serviceAccounts/resources/index.d.ts +3 -0
- package/serialization/resources/serviceAccounts/resources/index.js +42 -0
- package/serialization/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +13 -0
- package/serialization/resources/speechToText/types/SpeechToTextConvertResponse.js +48 -0
- package/serialization/resources/speechToText/types/index.d.ts +1 -0
- package/serialization/resources/speechToText/types/index.js +1 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +2 -0
- package/serialization/resources/textToVoice/client/requests/index.d.ts +0 -1
- package/serialization/resources/textToVoice/client/requests/index.js +1 -3
- package/serialization/types/AddProjectRequest.d.ts +2 -34
- package/serialization/types/AddProjectRequest.js +1 -33
- package/serialization/types/AgentConfig.d.ts +9 -2
- package/serialization/types/AgentConfig.js +8 -1
- package/serialization/types/AgentSummaryResponseModel.d.ts +1 -0
- package/serialization/types/AgentSummaryResponseModel.js +1 -0
- package/serialization/types/AsrProvider.d.ts +1 -1
- package/serialization/types/AsrProvider.js +1 -1
- package/serialization/types/BatchCallRecipientStatus.d.ts +1 -1
- package/serialization/types/BatchCallRecipientStatus.js +1 -1
- package/serialization/types/BuiltInToolsInput.d.ts +1 -0
- package/serialization/types/BuiltInToolsInput.js +1 -0
- package/serialization/types/BuiltInToolsOutput.d.ts +1 -0
- package/serialization/types/BuiltInToolsOutput.js +1 -0
- package/serialization/types/CaptionStyleCharacterAnimationModel.d.ts +15 -0
- package/serialization/types/CaptionStyleCharacterAnimationModel.js +46 -0
- package/serialization/types/CaptionStyleCharacterAnimationModelEnterType.d.ts +10 -0
- package/serialization/types/CaptionStyleCharacterAnimationModelEnterType.js +41 -0
- package/serialization/types/CaptionStyleCharacterAnimationModelExitType.d.ts +10 -0
- package/serialization/types/CaptionStyleCharacterAnimationModelExitType.js +41 -0
- package/serialization/types/CaptionStyleHorizontalPlacementModel.d.ts +14 -0
- package/serialization/types/CaptionStyleHorizontalPlacementModel.js +45 -0
- package/serialization/types/CaptionStyleHorizontalPlacementModelAlign.d.ts +10 -0
- package/serialization/types/CaptionStyleHorizontalPlacementModelAlign.js +41 -0
- package/serialization/types/CaptionStyleModel.d.ts +43 -0
- package/serialization/types/CaptionStyleModel.js +74 -0
- package/serialization/types/CaptionStyleModelTextAlign.d.ts +10 -0
- package/serialization/types/CaptionStyleModelTextAlign.js +41 -0
- package/serialization/types/CaptionStyleModelTextStyle.d.ts +10 -0
- package/serialization/types/CaptionStyleModelTextStyle.js +41 -0
- package/serialization/types/CaptionStyleModelTextWeight.d.ts +10 -0
- package/serialization/types/CaptionStyleModelTextWeight.js +41 -0
- package/serialization/types/CaptionStyleSectionAnimationModel.d.ts +15 -0
- package/serialization/types/CaptionStyleSectionAnimationModel.js +46 -0
- package/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +10 -0
- package/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +41 -0
- package/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +10 -0
- package/serialization/types/CaptionStyleSectionAnimationModelExitType.js +41 -0
- package/serialization/types/CaptionStyleTemplateModel.d.ts +13 -0
- package/serialization/types/CaptionStyleTemplateModel.js +44 -0
- package/serialization/types/CaptionStyleVerticalPlacementModel.d.ts +14 -0
- package/serialization/types/CaptionStyleVerticalPlacementModel.js +45 -0
- package/serialization/types/CaptionStyleVerticalPlacementModelAlign.d.ts +10 -0
- package/serialization/types/CaptionStyleVerticalPlacementModelAlign.js +41 -0
- package/serialization/types/CaptionStyleWordAnimationModel.d.ts +15 -0
- package/serialization/types/{BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.js → CaptionStyleWordAnimationModel.js} +6 -3
- package/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +10 -0
- package/serialization/types/CaptionStyleWordAnimationModelEnterType.js +41 -0
- package/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +10 -0
- package/serialization/types/CaptionStyleWordAnimationModelExitType.js +41 -0
- package/serialization/types/ClientToolConfigInput.d.ts +4 -0
- package/serialization/types/ClientToolConfigInput.js +4 -0
- package/serialization/types/ClientToolConfigOutput.d.ts +4 -0
- package/serialization/types/ClientToolConfigOutput.js +4 -0
- package/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +12 -0
- package/serialization/types/{BodyAddProjectV1ProjectsAddPostTargetAudience.js → ConversationHistoryTranscriptCommonModelInputToolResultsItem.js} +7 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +12 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +46 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +21 -0
- package/serialization/types/{ConversationHistoryTranscriptToolResultCommonModel.js → ConversationHistoryTranscriptOtherToolsResultCommonModel.js} +6 -3
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +10 -0
- package/{dist/serialization/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.js → serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js} +2 -2
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +22 -0
- package/serialization/types/{BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.js → ConversationHistoryTranscriptSystemToolResultCommonModel.js} +13 -5
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +50 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +67 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts +2 -1
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.js +2 -1
- package/serialization/types/ConversationInitiationClientDataInternal.d.ts +2 -0
- package/serialization/types/ConversationInitiationClientDataInternal.js +2 -0
- package/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +2 -0
- package/serialization/types/ConversationInitiationClientDataRequestInput.js +2 -0
- package/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +2 -0
- package/serialization/types/ConversationInitiationClientDataRequestOutput.js +2 -0
- package/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/serialization/types/ConversationInitiationSource.js +1 -0
- package/serialization/types/ConversationInitiationSourceInfo.d.ts +14 -0
- package/serialization/types/ConversationInitiationSourceInfo.js +45 -0
- package/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
- package/serialization/types/ConversationSummaryResponseModel.d.ts +4 -0
- package/serialization/types/ConversationSummaryResponseModel.js +4 -0
- package/serialization/types/ConversationSummaryResponseModelDirection.d.ts +10 -0
- package/serialization/types/ConversationSummaryResponseModelDirection.js +41 -0
- package/serialization/types/ConversationalConfig.d.ts +1 -1
- package/serialization/types/DubbedSegment.d.ts +2 -0
- package/serialization/types/DubbedSegment.js +2 -0
- package/serialization/types/DynamicVariableAssignment.d.ts +14 -0
- package/serialization/types/DynamicVariableAssignment.js +45 -0
- package/serialization/types/DynamicVariableUpdateCommonModel.d.ts +17 -0
- package/serialization/types/DynamicVariableUpdateCommonModel.js +48 -0
- package/serialization/types/EndCallToolResultModel.d.ts +14 -0
- package/serialization/types/EndCallToolResultModel.js +45 -0
- package/serialization/types/FeaturesUsageCommonModel.d.ts +5 -0
- package/serialization/types/FeaturesUsageCommonModel.js +5 -0
- package/serialization/types/GetAgentResponseModel.d.ts +0 -1
- package/serialization/types/GetAgentResponseModel.js +0 -1
- package/serialization/types/LanguageDetectionToolResultModel.d.ts +14 -0
- package/serialization/types/LanguageDetectionToolResultModel.js +45 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +14 -0
- package/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +13 -0
- package/serialization/types/MultichannelSpeechToTextResponseModel.js +44 -0
- package/serialization/types/PlayDtmfResultErrorModel.d.ts +14 -0
- package/serialization/types/PlayDtmfResultErrorModel.js +45 -0
- package/serialization/types/PlayDtmfResultSuccessModel.d.ts +14 -0
- package/{dist/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.js → serialization/types/PlayDtmfResultSuccessModel.js} +5 -5
- package/serialization/types/ProjectExtendedResponse.d.ts +3 -0
- package/serialization/types/ProjectExtendedResponse.js +3 -0
- package/serialization/types/ProjectResponse.d.ts +3 -0
- package/serialization/types/ProjectResponse.js +3 -0
- package/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +2 -2
- package/serialization/types/PromptAgentApiModelInputToolsItem.js +3 -2
- package/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +2 -2
- package/serialization/types/PromptAgentApiModelOutputToolsItem.js +3 -2
- package/serialization/types/PromptAgentApiModelOverride.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelOverride.js +1 -0
- package/serialization/types/PromptAgentApiModelOverrideConfig.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelOverrideConfig.js +1 -0
- package/serialization/types/SaveVoicePreviewRequest.d.ts +10 -0
- package/serialization/types/SaveVoicePreviewRequest.js +41 -0
- package/serialization/types/SegmentSubtitleFrame.d.ts +14 -0
- package/serialization/types/SegmentSubtitleFrame.js +45 -0
- package/serialization/types/SkipTurnToolResponseModel.d.ts +13 -0
- package/serialization/types/SkipTurnToolResponseModel.js +44 -0
- package/serialization/types/SpeakerSegment.d.ts +2 -0
- package/serialization/types/SpeakerSegment.js +2 -0
- package/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
- package/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
- package/serialization/types/SpeechToTextWebhookResponseModel.d.ts +13 -0
- package/serialization/types/SpeechToTextWebhookResponseModel.js +44 -0
- package/serialization/types/SystemToolConfigInput.d.ts +4 -0
- package/serialization/types/SystemToolConfigInput.js +4 -0
- package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/serialization/types/SystemToolConfigOutput.d.ts +4 -0
- package/serialization/types/SystemToolConfigOutput.js +4 -0
- package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/serialization/types/TokenResponseModel.d.ts +12 -0
- package/serialization/types/TokenResponseModel.js +43 -0
- package/serialization/types/Tool.d.ts +3 -0
- package/serialization/types/Tool.js +3 -0
- package/serialization/types/ToolRequestModelToolConfig.d.ts +2 -2
- package/serialization/types/ToolRequestModelToolConfig.js +3 -2
- package/serialization/types/ToolResponseModel.d.ts +2 -0
- package/serialization/types/ToolResponseModel.js +2 -0
- package/serialization/types/ToolResponseModelToolConfig.d.ts +2 -2
- package/serialization/types/ToolResponseModelToolConfig.js +3 -2
- package/serialization/types/ToolType.d.ts +10 -0
- package/serialization/types/ToolType.js +41 -0
- package/serialization/types/ToolUsageStatsResponseModel.d.ts +13 -0
- package/{dist/serialization/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.js → serialization/types/ToolUsageStatsResponseModel.js} +4 -4
- package/serialization/types/TransferToAgentToolResultErrorModel.d.ts +14 -0
- package/serialization/types/TransferToAgentToolResultErrorModel.js +45 -0
- package/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +18 -0
- package/serialization/types/TransferToAgentToolResultSuccessModel.js +49 -0
- package/serialization/types/TransferToNumberResultErrorModel.d.ts +14 -0
- package/serialization/types/TransferToNumberResultErrorModel.js +45 -0
- package/serialization/types/TransferToNumberResultSipSuccessModel.d.ts +15 -0
- package/serialization/types/TransferToNumberResultSipSuccessModel.js +46 -0
- package/serialization/types/TransferToNumberResultTwilioSuccessModel.d.ts +18 -0
- package/serialization/types/TransferToNumberResultTwilioSuccessModel.js +49 -0
- package/serialization/types/UpdatePronunciationDictionariesRequest.d.ts +2 -6
- package/serialization/types/UpdatePronunciationDictionariesRequest.js +1 -5
- package/serialization/types/VoiceResponseModelSafetyControl.d.ts +1 -1
- package/serialization/types/VoiceResponseModelSafetyControl.js +1 -8
- package/serialization/types/VoicemailDetectionToolConfig.d.ts +12 -0
- package/serialization/types/VoicemailDetectionToolConfig.js +43 -0
- package/serialization/types/WebhookToolConfigInput.d.ts +4 -0
- package/serialization/types/WebhookToolConfigInput.js +4 -0
- package/serialization/types/WebhookToolConfigOutput.d.ts +4 -0
- package/serialization/types/WebhookToolConfigOutput.js +4 -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/WorkspaceApiKeyListResponseModel.d.ts +13 -0
- package/serialization/types/WorkspaceApiKeyListResponseModel.js +44 -0
- package/serialization/types/WorkspaceApiKeyResponseModel.d.ts +21 -0
- package/serialization/types/WorkspaceApiKeyResponseModel.js +52 -0
- package/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +10 -0
- package/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js +67 -0
- package/serialization/types/WorkspaceCreateApiKeyResponseModel.d.ts +12 -0
- package/serialization/types/WorkspaceCreateApiKeyResponseModel.js +43 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +1 -0
- package/serialization/types/WorkspaceServiceAccountListResponseModel.d.ts +13 -0
- package/serialization/types/WorkspaceServiceAccountListResponseModel.js +44 -0
- package/serialization/types/WorkspaceServiceAccountResponseModel.d.ts +16 -0
- package/serialization/types/WorkspaceServiceAccountResponseModel.js +47 -0
- package/serialization/types/index.d.ts +54 -24
- package/serialization/types/index.js +54 -24
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/textToVoice/client/requests/SaveVoicePreviewRequest.d.ts +0 -23
- package/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +0 -9
- package/api/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.d.ts +0 -10
- package/api/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.js +0 -12
- package/api/types/BodyAddProjectV1ProjectsAddPostFiction.d.ts +0 -8
- package/api/types/BodyAddProjectV1ProjectsAddPostFiction.js +0 -10
- package/api/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +0 -11
- package/api/types/BodyAddProjectV1ProjectsAddPostSourceType.js +0 -13
- package/api/types/BodyAddProjectV1ProjectsAddPostTargetAudience.d.ts +0 -10
- package/api/types/BodyAddProjectV1ProjectsAddPostTargetAudience.js +0 -12
- package/api/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.d.ts +0 -11
- package/api/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.d.ts +0 -11
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +0 -94
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +0 -15
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.js +0 -11
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.d.ts +0 -16
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.d.ts +0 -18
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.js +0 -13
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.d.ts +0 -8
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.d.ts +0 -13
- package/api/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.d.ts +0 -19
- package/api/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.d.ts +0 -10
- package/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +0 -19
- package/api/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +0 -7
- package/api/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +0 -7
- package/api/types/ConversationHistoryTranscriptToolResultCommonModel.d.ts +0 -12
- package/api/types/McpToolConfigInput.d.ts +0 -29
- package/api/types/McpToolConfigOutput.d.ts +0 -29
- package/dist/api/resources/textToVoice/client/requests/SaveVoicePreviewRequest.d.ts +0 -23
- package/dist/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +0 -9
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.d.ts +0 -10
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.js +0 -12
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostFiction.d.ts +0 -8
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostFiction.js +0 -10
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +0 -11
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostSourceType.js +0 -13
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostTargetAudience.d.ts +0 -10
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostTargetAudience.js +0 -12
- package/dist/api/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.d.ts +0 -11
- package/dist/api/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.d.ts +0 -11
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +0 -94
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +0 -15
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.js +0 -11
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.d.ts +0 -16
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.d.ts +0 -18
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.js +0 -13
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.d.ts +0 -8
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.d.ts +0 -13
- package/dist/api/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.d.ts +0 -19
- package/dist/api/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.d.ts +0 -10
- package/dist/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +0 -19
- package/dist/api/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +0 -7
- package/dist/api/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +0 -7
- package/dist/api/types/ConversationHistoryTranscriptToolResultCommonModel.d.ts +0 -12
- package/dist/api/types/McpToolConfigInput.d.ts +0 -29
- package/dist/api/types/McpToolConfigOutput.d.ts +0 -29
- package/dist/serialization/resources/textToVoice/client/requests/SaveVoicePreviewRequest.d.ts +0 -16
- package/dist/serialization/resources/textToVoice/client/requests/SaveVoicePreviewRequest.js +0 -47
- package/dist/serialization/types/AgentBan.d.ts +0 -15
- package/dist/serialization/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +0 -13
- package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.d.ts +0 -10
- package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostFiction.d.ts +0 -10
- package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +0 -10
- package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostTargetAudience.d.ts +0 -10
- package/dist/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.d.ts +0 -14
- package/dist/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.d.ts +0 -14
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +0 -26
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js +0 -57
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +0 -10
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.js +0 -41
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.d.ts +0 -18
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.js +0 -51
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.d.ts +0 -10
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.js +0 -41
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.d.ts +0 -13
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.d.ts +0 -18
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.js +0 -51
- package/dist/serialization/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.d.ts +0 -18
- package/dist/serialization/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.d.ts +0 -14
- package/dist/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +0 -15
- package/dist/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.js +0 -46
- package/dist/serialization/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +0 -12
- package/dist/serialization/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +0 -12
- package/dist/serialization/types/ConversationHistoryTranscriptToolResultCommonModel.d.ts +0 -18
- package/dist/serialization/types/McpToolConfigInput.d.ts +0 -24
- package/dist/serialization/types/McpToolConfigInput.js +0 -56
- package/dist/serialization/types/McpToolConfigOutput.d.ts +0 -24
- package/dist/serialization/types/McpToolConfigOutput.js +0 -56
- package/serialization/resources/textToVoice/client/requests/SaveVoicePreviewRequest.d.ts +0 -16
- package/serialization/resources/textToVoice/client/requests/SaveVoicePreviewRequest.js +0 -47
- package/serialization/types/AgentBan.d.ts +0 -15
- package/serialization/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +0 -13
- package/serialization/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.d.ts +0 -10
- package/serialization/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.js +0 -41
- package/serialization/types/BodyAddProjectV1ProjectsAddPostFiction.d.ts +0 -10
- package/serialization/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +0 -10
- package/serialization/types/BodyAddProjectV1ProjectsAddPostTargetAudience.d.ts +0 -10
- package/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.d.ts +0 -14
- package/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.js +0 -45
- package/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.d.ts +0 -14
- package/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.js +0 -45
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +0 -26
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js +0 -57
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +0 -10
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.js +0 -41
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.d.ts +0 -18
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.js +0 -51
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.d.ts +0 -10
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.js +0 -41
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.d.ts +0 -13
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.d.ts +0 -18
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.js +0 -51
- package/serialization/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.d.ts +0 -18
- package/serialization/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.d.ts +0 -14
- package/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +0 -15
- package/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.js +0 -46
- package/serialization/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +0 -12
- package/serialization/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +0 -12
- package/serialization/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.js +0 -43
- package/serialization/types/ConversationHistoryTranscriptToolResultCommonModel.d.ts +0 -18
- package/serialization/types/McpToolConfigInput.d.ts +0 -24
- package/serialization/types/McpToolConfigInput.js +0 -56
- package/serialization/types/McpToolConfigOutput.d.ts +0 -24
- package/serialization/types/McpToolConfigOutput.js +0 -56
- /package/api/resources/{textToVoice/client/requests/SaveVoicePreviewRequest.js → conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.js} +0 -0
- /package/api/{types/AgentBan.js → resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js} +0 -0
- /package/api/{types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.js → resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js} +0 -0
- /package/api/{types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.js → resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js} +0 -0
- /package/api/{types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js} +0 -0
- /package/api/{types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js → resources/speechToText/types/SpeechToTextConvertResponse.js} +0 -0
- /package/api/types/{BodyCreatePodcastV1ProjectsPodcastCreatePostMode.js → CaptionStyleCharacterAnimationModel.js} +0 -0
- /package/api/types/{BodyCreatePodcastV1ProjectsPodcastCreatePostSource.js → CaptionStyleHorizontalPlacementModel.js} +0 -0
- /package/api/types/{BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.js → CaptionStyleModel.js} +0 -0
- /package/api/types/{BodyEditBasicProjectInfoV1ProjectsProjectIdPost.js → CaptionStyleSectionAnimationModel.js} +0 -0
- /package/api/types/{BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.js → CaptionStyleTemplateModel.js} +0 -0
- /package/api/types/{BodyEditProjectContentV1ProjectsProjectIdContentPost.js → CaptionStyleVerticalPlacementModel.js} +0 -0
- /package/api/types/{BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.js → CaptionStyleWordAnimationModel.js} +0 -0
- /package/api/types/{BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.js → ConversationHistoryTranscriptCommonModelInputToolResultsItem.js} +0 -0
- /package/api/types/{ConversationHistoryTranscriptToolResultCommonModel.js → ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js} +0 -0
- /package/api/types/{McpToolConfigInput.js → ConversationHistoryTranscriptOtherToolsResultCommonModel.js} +0 -0
- /package/api/types/{McpToolConfigOutput.js → ConversationHistoryTranscriptSystemToolResultCommonModel.js} +0 -0
- /package/{dist/api/resources/textToVoice/client/requests/SaveVoicePreviewRequest.js → api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js} +0 -0
- /package/{dist/api/types/AgentBan.js → api/types/ConversationInitiationSourceInfo.js} +0 -0
- /package/{dist/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.js → api/types/DynamicVariableAssignment.js} +0 -0
- /package/{dist/api/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.js → api/types/DynamicVariableUpdateCommonModel.js} +0 -0
- /package/{dist/api/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.js → api/types/EndCallToolResultModel.js} +0 -0
- /package/{dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js → api/types/LanguageDetectionToolResultModel.js} +0 -0
- /package/{dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.js → api/types/MultichannelSpeechToTextResponseModel.js} +0 -0
- /package/{dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.js → api/types/PlayDtmfResultErrorModel.js} +0 -0
- /package/{dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.js → api/types/PlayDtmfResultSuccessModel.js} +0 -0
- /package/{dist/api/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.js → api/types/SaveVoicePreviewRequest.js} +0 -0
- /package/{dist/api/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.js → api/types/SegmentSubtitleFrame.js} +0 -0
- /package/{dist/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.js → api/types/SkipTurnToolResponseModel.js} +0 -0
- /package/{dist/api/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.js → api/types/SpeechToTextWebhookResponseModel.js} +0 -0
- /package/{dist/api/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.js → api/types/TokenResponseModel.js} +0 -0
- /package/{dist/api/types/ConversationHistoryTranscriptToolResultCommonModel.js → api/types/ToolUsageStatsResponseModel.js} +0 -0
- /package/{dist/api/types/McpToolConfigInput.js → api/types/TransferToAgentToolResultErrorModel.js} +0 -0
- /package/{dist/api/types/McpToolConfigOutput.js → api/types/TransferToAgentToolResultSuccessModel.js} +0 -0
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { SegmentSubtitleFrame } from "./SegmentSubtitleFrame";
|
|
7
8
|
import { DubbedSegment } from "./DubbedSegment";
|
|
8
9
|
export declare const SpeakerSegment: core.serialization.ObjectSchema<serializers.SpeakerSegment.Raw, ElevenLabs.SpeakerSegment>;
|
|
9
10
|
export declare namespace SpeakerSegment {
|
|
@@ -12,6 +13,7 @@ export declare namespace SpeakerSegment {
|
|
|
12
13
|
start_time: number;
|
|
13
14
|
end_time: number;
|
|
14
15
|
text: string;
|
|
16
|
+
subtitles: SegmentSubtitleFrame.Raw[];
|
|
15
17
|
dubs: Record<string, DubbedSegment.Raw>;
|
|
16
18
|
}
|
|
17
19
|
}
|
|
@@ -38,11 +38,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.SpeakerSegment = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
+
const SegmentSubtitleFrame_1 = require("./SegmentSubtitleFrame");
|
|
41
42
|
const DubbedSegment_1 = require("./DubbedSegment");
|
|
42
43
|
exports.SpeakerSegment = core.serialization.object({
|
|
43
44
|
id: core.serialization.string(),
|
|
44
45
|
startTime: core.serialization.property("start_time", core.serialization.number()),
|
|
45
46
|
endTime: core.serialization.property("end_time", core.serialization.number()),
|
|
46
47
|
text: core.serialization.string(),
|
|
48
|
+
subtitles: core.serialization.list(SegmentSubtitleFrame_1.SegmentSubtitleFrame),
|
|
47
49
|
dubs: core.serialization.record(core.serialization.string(), DubbedSegment_1.DubbedSegment),
|
|
48
50
|
});
|
|
@@ -13,6 +13,7 @@ export declare namespace SpeechToTextChunkResponseModel {
|
|
|
13
13
|
language_probability: number;
|
|
14
14
|
text: string;
|
|
15
15
|
words: SpeechToTextWordResponseModel.Raw[];
|
|
16
|
+
channel_index?: number | null;
|
|
16
17
|
additional_formats?: (AdditionalFormatResponseModel.Raw | null | undefined)[] | null;
|
|
17
18
|
}
|
|
18
19
|
}
|
|
@@ -45,5 +45,6 @@ exports.SpeechToTextChunkResponseModel = core.serialization.object({
|
|
|
45
45
|
languageProbability: core.serialization.property("language_probability", core.serialization.number()),
|
|
46
46
|
text: core.serialization.string(),
|
|
47
47
|
words: core.serialization.list(SpeechToTextWordResponseModel_1.SpeechToTextWordResponseModel),
|
|
48
|
+
channelIndex: core.serialization.property("channel_index", core.serialization.number().optional()),
|
|
48
49
|
additionalFormats: core.serialization.property("additional_formats", core.serialization.list(AdditionalFormatResponseModel_1.AdditionalFormatResponseModel.optional()).optional()),
|
|
49
50
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const SpeechToTextWebhookResponseModel: core.serialization.ObjectSchema<serializers.SpeechToTextWebhookResponseModel.Raw, ElevenLabs.SpeechToTextWebhookResponseModel>;
|
|
8
|
+
export declare namespace SpeechToTextWebhookResponseModel {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message: string;
|
|
11
|
+
request_id: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SpeechToTextWebhookResponseModel = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.SpeechToTextWebhookResponseModel = core.serialization.object({
|
|
42
|
+
message: core.serialization.string(),
|
|
43
|
+
requestId: core.serialization.property("request_id", core.serialization.string()),
|
|
44
|
+
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { DynamicVariableAssignment } from "./DynamicVariableAssignment";
|
|
7
8
|
import { SystemToolConfigInputParams } from "./SystemToolConfigInputParams";
|
|
8
9
|
export declare const SystemToolConfigInput: core.serialization.ObjectSchema<serializers.SystemToolConfigInput.Raw, ElevenLabs.SystemToolConfigInput>;
|
|
9
10
|
export declare namespace SystemToolConfigInput {
|
|
@@ -11,6 +12,9 @@ export declare namespace SystemToolConfigInput {
|
|
|
11
12
|
name: string;
|
|
12
13
|
description: string;
|
|
13
14
|
response_timeout_secs?: number | null;
|
|
15
|
+
disable_interruptions?: boolean | null;
|
|
16
|
+
force_pre_tool_speech?: boolean | null;
|
|
17
|
+
assignments?: DynamicVariableAssignment.Raw[] | null;
|
|
14
18
|
params: SystemToolConfigInputParams.Raw;
|
|
15
19
|
}
|
|
16
20
|
}
|
|
@@ -38,10 +38,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.SystemToolConfigInput = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
+
const DynamicVariableAssignment_1 = require("./DynamicVariableAssignment");
|
|
41
42
|
const SystemToolConfigInputParams_1 = require("./SystemToolConfigInputParams");
|
|
42
43
|
exports.SystemToolConfigInput = core.serialization.object({
|
|
43
44
|
name: core.serialization.string(),
|
|
44
45
|
description: core.serialization.string(),
|
|
45
46
|
responseTimeoutSecs: core.serialization.property("response_timeout_secs", core.serialization.number().optional()),
|
|
47
|
+
disableInterruptions: core.serialization.property("disable_interruptions", core.serialization.boolean().optional()),
|
|
48
|
+
forcePreToolSpeech: core.serialization.property("force_pre_tool_speech", core.serialization.boolean().optional()),
|
|
49
|
+
assignments: core.serialization.list(DynamicVariableAssignment_1.DynamicVariableAssignment).optional(),
|
|
46
50
|
params: SystemToolConfigInputParams_1.SystemToolConfigInputParams,
|
|
47
51
|
});
|
|
@@ -10,9 +10,10 @@ import { PlayDtmfToolConfig } from "./PlayDtmfToolConfig";
|
|
|
10
10
|
import { SkipTurnToolConfig } from "./SkipTurnToolConfig";
|
|
11
11
|
import { TransferToAgentToolConfig } from "./TransferToAgentToolConfig";
|
|
12
12
|
import { TransferToNumberToolConfigInput } from "./TransferToNumberToolConfigInput";
|
|
13
|
+
import { VoicemailDetectionToolConfig } from "./VoicemailDetectionToolConfig";
|
|
13
14
|
export declare const SystemToolConfigInputParams: core.serialization.Schema<serializers.SystemToolConfigInputParams.Raw, ElevenLabs.SystemToolConfigInputParams>;
|
|
14
15
|
export declare namespace SystemToolConfigInputParams {
|
|
15
|
-
type Raw = SystemToolConfigInputParams.EndCall | SystemToolConfigInputParams.LanguageDetection | SystemToolConfigInputParams.PlayKeypadTouchTone | SystemToolConfigInputParams.SkipTurn | SystemToolConfigInputParams.TransferToAgent | SystemToolConfigInputParams.TransferToNumber;
|
|
16
|
+
type Raw = SystemToolConfigInputParams.EndCall | SystemToolConfigInputParams.LanguageDetection | SystemToolConfigInputParams.PlayKeypadTouchTone | SystemToolConfigInputParams.SkipTurn | SystemToolConfigInputParams.TransferToAgent | SystemToolConfigInputParams.TransferToNumber | SystemToolConfigInputParams.VoicemailDetection;
|
|
16
17
|
interface EndCall extends EndCallToolConfig.Raw {
|
|
17
18
|
system_tool_type: "end_call";
|
|
18
19
|
}
|
|
@@ -31,4 +32,7 @@ export declare namespace SystemToolConfigInputParams {
|
|
|
31
32
|
interface TransferToNumber extends TransferToNumberToolConfigInput.Raw {
|
|
32
33
|
system_tool_type: "transfer_to_number";
|
|
33
34
|
}
|
|
35
|
+
interface VoicemailDetection extends VoicemailDetectionToolConfig.Raw {
|
|
36
|
+
system_tool_type: "voicemail_detection";
|
|
37
|
+
}
|
|
34
38
|
}
|
|
@@ -44,6 +44,7 @@ const PlayDtmfToolConfig_1 = require("./PlayDtmfToolConfig");
|
|
|
44
44
|
const SkipTurnToolConfig_1 = require("./SkipTurnToolConfig");
|
|
45
45
|
const TransferToAgentToolConfig_1 = require("./TransferToAgentToolConfig");
|
|
46
46
|
const TransferToNumberToolConfigInput_1 = require("./TransferToNumberToolConfigInput");
|
|
47
|
+
const VoicemailDetectionToolConfig_1 = require("./VoicemailDetectionToolConfig");
|
|
47
48
|
exports.SystemToolConfigInputParams = core.serialization
|
|
48
49
|
.union(core.serialization.discriminant("systemToolType", "system_tool_type"), {
|
|
49
50
|
end_call: EndCallToolConfig_1.EndCallToolConfig,
|
|
@@ -52,6 +53,7 @@ exports.SystemToolConfigInputParams = core.serialization
|
|
|
52
53
|
skip_turn: SkipTurnToolConfig_1.SkipTurnToolConfig,
|
|
53
54
|
transfer_to_agent: TransferToAgentToolConfig_1.TransferToAgentToolConfig,
|
|
54
55
|
transfer_to_number: TransferToNumberToolConfigInput_1.TransferToNumberToolConfigInput,
|
|
56
|
+
voicemail_detection: VoicemailDetectionToolConfig_1.VoicemailDetectionToolConfig,
|
|
55
57
|
})
|
|
56
58
|
.transform({
|
|
57
59
|
transform: (value) => value,
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { DynamicVariableAssignment } from "./DynamicVariableAssignment";
|
|
7
8
|
import { SystemToolConfigOutputParams } from "./SystemToolConfigOutputParams";
|
|
8
9
|
export declare const SystemToolConfigOutput: core.serialization.ObjectSchema<serializers.SystemToolConfigOutput.Raw, ElevenLabs.SystemToolConfigOutput>;
|
|
9
10
|
export declare namespace SystemToolConfigOutput {
|
|
@@ -11,6 +12,9 @@ export declare namespace SystemToolConfigOutput {
|
|
|
11
12
|
name: string;
|
|
12
13
|
description: string;
|
|
13
14
|
response_timeout_secs?: number | null;
|
|
15
|
+
disable_interruptions?: boolean | null;
|
|
16
|
+
force_pre_tool_speech?: boolean | null;
|
|
17
|
+
assignments?: DynamicVariableAssignment.Raw[] | null;
|
|
14
18
|
params: SystemToolConfigOutputParams.Raw;
|
|
15
19
|
}
|
|
16
20
|
}
|
|
@@ -38,10 +38,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.SystemToolConfigOutput = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
+
const DynamicVariableAssignment_1 = require("./DynamicVariableAssignment");
|
|
41
42
|
const SystemToolConfigOutputParams_1 = require("./SystemToolConfigOutputParams");
|
|
42
43
|
exports.SystemToolConfigOutput = core.serialization.object({
|
|
43
44
|
name: core.serialization.string(),
|
|
44
45
|
description: core.serialization.string(),
|
|
45
46
|
responseTimeoutSecs: core.serialization.property("response_timeout_secs", core.serialization.number().optional()),
|
|
47
|
+
disableInterruptions: core.serialization.property("disable_interruptions", core.serialization.boolean().optional()),
|
|
48
|
+
forcePreToolSpeech: core.serialization.property("force_pre_tool_speech", core.serialization.boolean().optional()),
|
|
49
|
+
assignments: core.serialization.list(DynamicVariableAssignment_1.DynamicVariableAssignment).optional(),
|
|
46
50
|
params: SystemToolConfigOutputParams_1.SystemToolConfigOutputParams,
|
|
47
51
|
});
|
|
@@ -10,9 +10,10 @@ import { PlayDtmfToolConfig } from "./PlayDtmfToolConfig";
|
|
|
10
10
|
import { SkipTurnToolConfig } from "./SkipTurnToolConfig";
|
|
11
11
|
import { TransferToAgentToolConfig } from "./TransferToAgentToolConfig";
|
|
12
12
|
import { TransferToNumberToolConfigOutput } from "./TransferToNumberToolConfigOutput";
|
|
13
|
+
import { VoicemailDetectionToolConfig } from "./VoicemailDetectionToolConfig";
|
|
13
14
|
export declare const SystemToolConfigOutputParams: core.serialization.Schema<serializers.SystemToolConfigOutputParams.Raw, ElevenLabs.SystemToolConfigOutputParams>;
|
|
14
15
|
export declare namespace SystemToolConfigOutputParams {
|
|
15
|
-
type Raw = SystemToolConfigOutputParams.EndCall | SystemToolConfigOutputParams.LanguageDetection | SystemToolConfigOutputParams.PlayKeypadTouchTone | SystemToolConfigOutputParams.SkipTurn | SystemToolConfigOutputParams.TransferToAgent | SystemToolConfigOutputParams.TransferToNumber;
|
|
16
|
+
type Raw = SystemToolConfigOutputParams.EndCall | SystemToolConfigOutputParams.LanguageDetection | SystemToolConfigOutputParams.PlayKeypadTouchTone | SystemToolConfigOutputParams.SkipTurn | SystemToolConfigOutputParams.TransferToAgent | SystemToolConfigOutputParams.TransferToNumber | SystemToolConfigOutputParams.VoicemailDetection;
|
|
16
17
|
interface EndCall extends EndCallToolConfig.Raw {
|
|
17
18
|
system_tool_type: "end_call";
|
|
18
19
|
}
|
|
@@ -31,4 +32,7 @@ export declare namespace SystemToolConfigOutputParams {
|
|
|
31
32
|
interface TransferToNumber extends TransferToNumberToolConfigOutput.Raw {
|
|
32
33
|
system_tool_type: "transfer_to_number";
|
|
33
34
|
}
|
|
35
|
+
interface VoicemailDetection extends VoicemailDetectionToolConfig.Raw {
|
|
36
|
+
system_tool_type: "voicemail_detection";
|
|
37
|
+
}
|
|
34
38
|
}
|
|
@@ -44,6 +44,7 @@ const PlayDtmfToolConfig_1 = require("./PlayDtmfToolConfig");
|
|
|
44
44
|
const SkipTurnToolConfig_1 = require("./SkipTurnToolConfig");
|
|
45
45
|
const TransferToAgentToolConfig_1 = require("./TransferToAgentToolConfig");
|
|
46
46
|
const TransferToNumberToolConfigOutput_1 = require("./TransferToNumberToolConfigOutput");
|
|
47
|
+
const VoicemailDetectionToolConfig_1 = require("./VoicemailDetectionToolConfig");
|
|
47
48
|
exports.SystemToolConfigOutputParams = core.serialization
|
|
48
49
|
.union(core.serialization.discriminant("systemToolType", "system_tool_type"), {
|
|
49
50
|
end_call: EndCallToolConfig_1.EndCallToolConfig,
|
|
@@ -52,6 +53,7 @@ exports.SystemToolConfigOutputParams = core.serialization
|
|
|
52
53
|
skip_turn: SkipTurnToolConfig_1.SkipTurnToolConfig,
|
|
53
54
|
transfer_to_agent: TransferToAgentToolConfig_1.TransferToAgentToolConfig,
|
|
54
55
|
transfer_to_number: TransferToNumberToolConfigOutput_1.TransferToNumberToolConfigOutput,
|
|
56
|
+
voicemail_detection: VoicemailDetectionToolConfig_1.VoicemailDetectionToolConfig,
|
|
55
57
|
})
|
|
56
58
|
.transform({
|
|
57
59
|
transform: (value) => value,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TokenResponseModel: core.serialization.ObjectSchema<serializers.TokenResponseModel.Raw, ElevenLabs.TokenResponseModel>;
|
|
8
|
+
export declare namespace TokenResponseModel {
|
|
9
|
+
interface Raw {
|
|
10
|
+
token: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TokenResponseModel = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.TokenResponseModel = core.serialization.object({
|
|
42
|
+
token: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -9,9 +9,12 @@ export declare const Tool: core.serialization.ObjectSchema<serializers.Tool.Raw,
|
|
|
9
9
|
export declare namespace Tool {
|
|
10
10
|
interface Raw {
|
|
11
11
|
name: string;
|
|
12
|
+
title?: string | null;
|
|
12
13
|
description?: string | null;
|
|
13
14
|
inputSchema: Record<string, unknown>;
|
|
15
|
+
outputSchema?: Record<string, unknown> | null;
|
|
14
16
|
annotations?: ToolAnnotations.Raw | null;
|
|
17
|
+
_meta?: Record<string, unknown> | null;
|
|
15
18
|
[key: string]: any;
|
|
16
19
|
}
|
|
17
20
|
}
|
|
@@ -42,8 +42,11 @@ const ToolAnnotations_1 = require("./ToolAnnotations");
|
|
|
42
42
|
exports.Tool = core.serialization
|
|
43
43
|
.object({
|
|
44
44
|
name: core.serialization.string(),
|
|
45
|
+
title: core.serialization.string().optional(),
|
|
45
46
|
description: core.serialization.string().optional(),
|
|
46
47
|
inputSchema: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
48
|
+
outputSchema: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
47
49
|
annotations: ToolAnnotations_1.ToolAnnotations.optional(),
|
|
50
|
+
meta: core.serialization.property("_meta", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
48
51
|
})
|
|
49
52
|
.passthrough();
|
|
@@ -5,7 +5,6 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ClientToolConfigInput } from "./ClientToolConfigInput";
|
|
8
|
-
import { McpToolConfigInput } from "./McpToolConfigInput";
|
|
9
8
|
import { SystemToolConfigInput } from "./SystemToolConfigInput";
|
|
10
9
|
import { WebhookToolConfigInput } from "./WebhookToolConfigInput";
|
|
11
10
|
export declare const ToolRequestModelToolConfig: core.serialization.Schema<serializers.ToolRequestModelToolConfig.Raw, ElevenLabs.ToolRequestModelToolConfig>;
|
|
@@ -14,8 +13,9 @@ export declare namespace ToolRequestModelToolConfig {
|
|
|
14
13
|
interface Client extends ClientToolConfigInput.Raw {
|
|
15
14
|
type: "client";
|
|
16
15
|
}
|
|
17
|
-
interface Mcp
|
|
16
|
+
interface Mcp {
|
|
18
17
|
type: "mcp";
|
|
18
|
+
value?: unknown;
|
|
19
19
|
}
|
|
20
20
|
interface System extends SystemToolConfigInput.Raw {
|
|
21
21
|
type: "system";
|
|
@@ -39,13 +39,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ToolRequestModelToolConfig = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const ClientToolConfigInput_1 = require("./ClientToolConfigInput");
|
|
42
|
-
const McpToolConfigInput_1 = require("./McpToolConfigInput");
|
|
43
42
|
const SystemToolConfigInput_1 = require("./SystemToolConfigInput");
|
|
44
43
|
const WebhookToolConfigInput_1 = require("./WebhookToolConfigInput");
|
|
45
44
|
exports.ToolRequestModelToolConfig = core.serialization
|
|
46
45
|
.union("type", {
|
|
47
46
|
client: ClientToolConfigInput_1.ClientToolConfigInput,
|
|
48
|
-
mcp:
|
|
47
|
+
mcp: core.serialization.object({
|
|
48
|
+
value: core.serialization.unknown(),
|
|
49
|
+
}),
|
|
49
50
|
system: SystemToolConfigInput_1.SystemToolConfigInput,
|
|
50
51
|
webhook: WebhookToolConfigInput_1.WebhookToolConfigInput,
|
|
51
52
|
})
|
|
@@ -6,11 +6,13 @@ import * as ElevenLabs from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ToolResponseModelToolConfig } from "./ToolResponseModelToolConfig";
|
|
8
8
|
import { ResourceAccessInfo } from "./ResourceAccessInfo";
|
|
9
|
+
import { ToolUsageStatsResponseModel } from "./ToolUsageStatsResponseModel";
|
|
9
10
|
export declare const ToolResponseModel: core.serialization.ObjectSchema<serializers.ToolResponseModel.Raw, ElevenLabs.ToolResponseModel>;
|
|
10
11
|
export declare namespace ToolResponseModel {
|
|
11
12
|
interface Raw {
|
|
12
13
|
id: string;
|
|
13
14
|
tool_config: ToolResponseModelToolConfig.Raw;
|
|
14
15
|
access_info: ResourceAccessInfo.Raw;
|
|
16
|
+
usage_stats: ToolUsageStatsResponseModel.Raw;
|
|
15
17
|
}
|
|
16
18
|
}
|
|
@@ -40,8 +40,10 @@ exports.ToolResponseModel = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const ToolResponseModelToolConfig_1 = require("./ToolResponseModelToolConfig");
|
|
42
42
|
const ResourceAccessInfo_1 = require("./ResourceAccessInfo");
|
|
43
|
+
const ToolUsageStatsResponseModel_1 = require("./ToolUsageStatsResponseModel");
|
|
43
44
|
exports.ToolResponseModel = core.serialization.object({
|
|
44
45
|
id: core.serialization.string(),
|
|
45
46
|
toolConfig: core.serialization.property("tool_config", ToolResponseModelToolConfig_1.ToolResponseModelToolConfig),
|
|
46
47
|
accessInfo: core.serialization.property("access_info", ResourceAccessInfo_1.ResourceAccessInfo),
|
|
48
|
+
usageStats: core.serialization.property("usage_stats", ToolUsageStatsResponseModel_1.ToolUsageStatsResponseModel),
|
|
47
49
|
});
|
|
@@ -5,7 +5,6 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ClientToolConfigOutput } from "./ClientToolConfigOutput";
|
|
8
|
-
import { McpToolConfigOutput } from "./McpToolConfigOutput";
|
|
9
8
|
import { SystemToolConfigOutput } from "./SystemToolConfigOutput";
|
|
10
9
|
import { WebhookToolConfigOutput } from "./WebhookToolConfigOutput";
|
|
11
10
|
export declare const ToolResponseModelToolConfig: core.serialization.Schema<serializers.ToolResponseModelToolConfig.Raw, ElevenLabs.ToolResponseModelToolConfig>;
|
|
@@ -14,8 +13,9 @@ export declare namespace ToolResponseModelToolConfig {
|
|
|
14
13
|
interface Client extends ClientToolConfigOutput.Raw {
|
|
15
14
|
type: "client";
|
|
16
15
|
}
|
|
17
|
-
interface Mcp
|
|
16
|
+
interface Mcp {
|
|
18
17
|
type: "mcp";
|
|
18
|
+
value?: unknown;
|
|
19
19
|
}
|
|
20
20
|
interface System extends SystemToolConfigOutput.Raw {
|
|
21
21
|
type: "system";
|
|
@@ -39,13 +39,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ToolResponseModelToolConfig = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const ClientToolConfigOutput_1 = require("./ClientToolConfigOutput");
|
|
42
|
-
const McpToolConfigOutput_1 = require("./McpToolConfigOutput");
|
|
43
42
|
const SystemToolConfigOutput_1 = require("./SystemToolConfigOutput");
|
|
44
43
|
const WebhookToolConfigOutput_1 = require("./WebhookToolConfigOutput");
|
|
45
44
|
exports.ToolResponseModelToolConfig = core.serialization
|
|
46
45
|
.union("type", {
|
|
47
46
|
client: ClientToolConfigOutput_1.ClientToolConfigOutput,
|
|
48
|
-
mcp:
|
|
47
|
+
mcp: core.serialization.object({
|
|
48
|
+
value: core.serialization.unknown(),
|
|
49
|
+
}),
|
|
49
50
|
system: SystemToolConfigOutput_1.SystemToolConfigOutput,
|
|
50
51
|
webhook: WebhookToolConfigOutput_1.WebhookToolConfigOutput,
|
|
51
52
|
})
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ToolType: core.serialization.Schema<serializers.ToolType.Raw, ElevenLabs.ToolType>;
|
|
8
|
+
export declare namespace ToolType {
|
|
9
|
+
type Raw = "system" | "webhook" | "client" | "mcp";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ToolType = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ToolType = core.serialization.enum_(["system", "webhook", "client", "mcp"]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ToolUsageStatsResponseModel: core.serialization.ObjectSchema<serializers.ToolUsageStatsResponseModel.Raw, ElevenLabs.ToolUsageStatsResponseModel>;
|
|
8
|
+
export declare namespace ToolUsageStatsResponseModel {
|
|
9
|
+
interface Raw {
|
|
10
|
+
total_calls?: number | null;
|
|
11
|
+
avg_latency_secs: number;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -36,9 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.ToolUsageStatsResponseModel = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
exports.ToolUsageStatsResponseModel = core.serialization.object({
|
|
42
|
+
totalCalls: core.serialization.property("total_calls", core.serialization.number().optional()),
|
|
43
|
+
avgLatencySecs: core.serialization.property("avg_latency_secs", core.serialization.number()),
|
|
44
44
|
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TransferToAgentToolResultErrorModel: core.serialization.ObjectSchema<serializers.TransferToAgentToolResultErrorModel.Raw, ElevenLabs.TransferToAgentToolResultErrorModel>;
|
|
8
|
+
export declare namespace TransferToAgentToolResultErrorModel {
|
|
9
|
+
interface Raw {
|
|
10
|
+
status?: "error" | null;
|
|
11
|
+
from_agent: string;
|
|
12
|
+
error: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TransferToAgentToolResultErrorModel = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.TransferToAgentToolResultErrorModel = core.serialization.object({
|
|
42
|
+
status: core.serialization.stringLiteral("error").optional(),
|
|
43
|
+
fromAgent: core.serialization.property("from_agent", core.serialization.string()),
|
|
44
|
+
error: core.serialization.string(),
|
|
45
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TransferToAgentToolResultSuccessModel: core.serialization.ObjectSchema<serializers.TransferToAgentToolResultSuccessModel.Raw, ElevenLabs.TransferToAgentToolResultSuccessModel>;
|
|
8
|
+
export declare namespace TransferToAgentToolResultSuccessModel {
|
|
9
|
+
interface Raw {
|
|
10
|
+
status?: "success" | null;
|
|
11
|
+
from_agent: string;
|
|
12
|
+
to_agent: string;
|
|
13
|
+
condition: string;
|
|
14
|
+
delay_ms?: number | null;
|
|
15
|
+
transfer_message?: string | null;
|
|
16
|
+
enable_transferred_agent_first_message?: boolean | null;
|
|
17
|
+
}
|
|
18
|
+
}
|