@elevenlabs/elevenlabs-js 2.31.0 → 2.32.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/BaseClient.js +2 -2
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.js +7 -2
- package/api/resources/conversationalAi/resources/agents/resources/index.d.ts +3 -0
- package/api/resources/conversationalAi/resources/agents/resources/index.js +4 -1
- package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.d.ts +26 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +130 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.d.ts +8 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.js +3 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/index.js +18 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.d.ts +10 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.js +3 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/types/index.js +17 -0
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +13 -0
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +52 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +6 -3
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +18 -6
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +4 -1
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +4 -1
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -1
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +1 -1
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +0 -2
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +0 -2
- package/api/resources/speechToText/client/Client.d.ts +1 -1
- package/api/resources/speechToText/client/Client.js +4 -2
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -4
- package/api/resources/speechToText/types/SpeechToTextConvertRequestModelId.d.ts +6 -0
- package/api/resources/speechToText/types/SpeechToTextConvertRequestModelId.js +9 -0
- package/api/resources/speechToText/types/index.d.ts +1 -0
- package/api/resources/speechToText/types/index.js +1 -0
- package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +4 -4
- package/api/resources/studio/resources/projects/client/Client.js +3 -1
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +5 -5
- package/api/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.d.ts +14 -0
- package/api/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.js +17 -0
- package/api/resources/studio/resources/projects/types/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/types/index.js +1 -0
- package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.d.ts +4 -4
- package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.js +4 -4
- package/api/resources/textToSpeech/client/Client.d.ts +1 -1
- package/api/resources/textToSpeech/client/Client.js +1 -1
- package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +2 -2
- package/api/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.d.ts +17 -10
- package/api/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.js +17 -10
- package/api/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.d.ts +17 -10
- package/api/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.js +17 -10
- package/api/resources/voices/client/Client.js +7 -1
- package/api/resources/voices/client/requests/BodyEditVoiceV1VoicesVoiceIdEditPost.d.ts +3 -2
- package/api/resources/voices/resources/index.d.ts +1 -0
- package/api/resources/voices/resources/index.js +1 -0
- package/api/resources/voices/resources/ivc/client/Client.js +7 -1
- package/api/resources/voices/resources/ivc/client/requests/BodyAddVoiceV1VoicesAddPost.d.ts +3 -2
- package/api/resources/voices/resources/ivc/index.d.ts +1 -0
- package/api/resources/voices/resources/ivc/index.js +1 -0
- package/api/resources/voices/resources/ivc/types/IvcCreateRequestLabels.d.ts +4 -0
- package/api/resources/voices/resources/ivc/types/IvcCreateRequestLabels.js +3 -0
- package/api/resources/voices/resources/ivc/types/index.d.ts +1 -0
- package/api/resources/voices/resources/ivc/types/index.js +17 -0
- package/api/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
- package/api/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
- package/api/resources/voices/types/VoicesUpdateRequestLabels.d.ts +4 -0
- package/api/resources/voices/types/VoicesUpdateRequestLabels.js +3 -0
- package/api/resources/voices/types/index.d.ts +1 -0
- package/api/resources/voices/types/index.js +1 -0
- package/api/types/AddKnowledgeBaseResponseModel.d.ts +3 -0
- package/api/types/AgentSummaryBatchSuccessfulResponseModel.d.ts +4 -0
- package/api/types/AgentSummaryBatchSuccessfulResponseModel.js +3 -0
- package/api/types/Contributor.d.ts +4 -0
- package/api/types/Contributor.js +3 -0
- package/api/types/ConversationHistoryAnalysisCommonModel.d.ts +2 -0
- package/api/types/CustomSipHeader.d.ts +9 -0
- package/api/types/CustomSipHeader.js +3 -0
- package/api/types/CustomSipHeaderWithDynamicVariable.d.ts +11 -0
- package/api/types/CustomSipHeaderWithDynamicVariable.js +3 -0
- package/api/types/DirectPublishingReadResponseModel.d.ts +50 -0
- package/api/types/DirectPublishingReadResponseModel.js +3 -0
- package/api/types/DirectPublishingReadResponseModelDisplayMode.d.ts +6 -0
- package/api/types/DirectPublishingReadResponseModelDisplayMode.js +9 -0
- package/api/types/DirectPublishingReadResponseModelGenreItem.d.ts +35 -0
- package/api/types/DirectPublishingReadResponseModelGenreItem.js +38 -0
- package/api/types/DirectPublishingReadResponseModelPayoutType.d.ts +6 -0
- package/api/types/DirectPublishingReadResponseModelPayoutType.js +9 -0
- package/api/types/DirectPublishingReadResponseModelTargetAudience.d.ts +7 -0
- package/api/types/DirectPublishingReadResponseModelTargetAudience.js +10 -0
- package/api/types/DubbingMetadataResponse.d.ts +6 -4
- package/api/types/DubbingModel.d.ts +1 -0
- package/api/types/DubbingModel.js +1 -0
- package/api/types/InvoiceResponse.d.ts +3 -1
- package/api/types/InvoiceResponseModelPaymentIntentStatussesItem.d.ts +10 -0
- package/api/types/InvoiceResponseModelPaymentIntentStatussesItem.js +13 -0
- package/api/types/LiteralJsonSchemaProperty.d.ts +7 -4
- package/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
- package/api/{resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts → types/PermissionType.d.ts} +8 -2
- package/api/types/{WorkspaceApiKeyResponseModelPermissionsItem.js → PermissionType.js} +8 -2
- package/api/types/PhoneNumberTransfer.d.ts +2 -0
- package/api/types/PhoneNumberTransferCustomSipHeadersItem.d.ts +10 -0
- package/api/types/PhoneNumberTransferCustomSipHeadersItem.js +3 -0
- package/api/types/PreviewAudioDbModel.d.ts +7 -0
- package/api/types/PreviewAudioDbModel.js +3 -0
- package/api/types/ProjectExtendedResponse.d.ts +2 -0
- package/api/types/ReadLegalTerms.d.ts +5 -0
- package/api/types/ReadLegalTerms.js +3 -0
- package/api/types/ReadMetadataChapterDbModel.d.ts +10 -0
- package/api/types/ReadMetadataChapterDbModel.js +3 -0
- package/api/types/ReviewResponseModel.d.ts +9 -0
- package/api/types/ReviewResponseModel.js +3 -0
- package/api/types/ReviewResponseModelRejectReasonsItem.d.ts +21 -0
- package/api/types/ReviewResponseModelRejectReasonsItem.js +24 -0
- package/api/types/ReviewResponseModelReviewStatus.d.ts +6 -0
- package/api/types/ReviewResponseModelReviewStatus.js +9 -0
- package/api/types/SampleConfigDbModel.d.ts +7 -0
- package/api/types/SampleConfigDbModel.js +3 -0
- package/api/types/SampleConfigDbModelParentType.d.ts +5 -0
- package/api/types/SampleConfigDbModelParentType.js +8 -0
- package/api/types/SpellingPatience.d.ts +6 -0
- package/api/types/SpellingPatience.js +9 -0
- package/api/types/TurnConfig.d.ts +2 -0
- package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
- package/api/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.d.ts +10 -0
- package/api/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.js +3 -0
- package/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
- package/api/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.d.ts +10 -0
- package/api/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.js +3 -0
- package/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -1
- package/api/types/index.d.ts +23 -1
- package/api/types/index.js +23 -1
- package/dist/BaseClient.js +2 -2
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +7 -2
- package/dist/api/resources/conversationalAi/resources/agents/resources/index.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/index.js +4 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.d.ts +26 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +130 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.d.ts +8 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/index.js +18 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.js +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/types/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +52 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +6 -3
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +18 -6
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +1 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +0 -2
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +0 -2
- package/dist/api/resources/speechToText/client/Client.d.ts +1 -1
- package/dist/api/resources/speechToText/client/Client.js +4 -2
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -4
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestModelId.d.ts +6 -0
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestModelId.js +9 -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/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +4 -4
- package/dist/api/resources/studio/resources/projects/client/Client.js +3 -1
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +5 -5
- package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.d.ts +14 -0
- package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.js +17 -0
- package/dist/api/resources/studio/resources/projects/types/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/types/index.js +1 -0
- package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.d.ts +4 -4
- package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.js +4 -4
- package/dist/api/resources/textToSpeech/client/Client.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/Client.js +1 -1
- package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +2 -2
- package/dist/api/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.d.ts +17 -10
- package/dist/api/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.js +17 -10
- package/dist/api/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.d.ts +17 -10
- package/dist/api/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.js +17 -10
- package/dist/api/resources/voices/client/Client.js +7 -1
- package/dist/api/resources/voices/client/requests/BodyEditVoiceV1VoicesVoiceIdEditPost.d.ts +3 -2
- package/dist/api/resources/voices/resources/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/index.js +1 -0
- package/dist/api/resources/voices/resources/ivc/client/Client.js +7 -1
- package/dist/api/resources/voices/resources/ivc/client/requests/BodyAddVoiceV1VoicesAddPost.d.ts +3 -2
- package/dist/api/resources/voices/resources/ivc/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/ivc/index.js +1 -0
- package/dist/api/resources/voices/resources/ivc/types/IvcCreateRequestLabels.d.ts +4 -0
- package/dist/api/resources/voices/resources/ivc/types/IvcCreateRequestLabels.js +3 -0
- package/dist/api/resources/voices/resources/ivc/types/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/ivc/types/index.js +17 -0
- package/dist/api/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
- package/dist/api/resources/voices/types/VoicesUpdateRequestLabels.d.ts +4 -0
- package/dist/api/resources/voices/types/VoicesUpdateRequestLabels.js +3 -0
- package/dist/api/resources/voices/types/index.d.ts +1 -0
- package/dist/api/resources/voices/types/index.js +1 -0
- package/dist/api/types/AddKnowledgeBaseResponseModel.d.ts +3 -0
- package/dist/api/types/AgentSummaryBatchSuccessfulResponseModel.d.ts +4 -0
- package/dist/api/types/AgentSummaryBatchSuccessfulResponseModel.js +3 -0
- package/dist/api/types/Contributor.d.ts +4 -0
- package/dist/api/types/Contributor.js +3 -0
- package/dist/api/types/ConversationHistoryAnalysisCommonModel.d.ts +2 -0
- package/dist/api/types/CustomSipHeader.d.ts +9 -0
- package/dist/api/types/CustomSipHeader.js +3 -0
- package/dist/api/types/CustomSipHeaderWithDynamicVariable.d.ts +11 -0
- package/dist/api/types/CustomSipHeaderWithDynamicVariable.js +3 -0
- package/dist/api/types/DirectPublishingReadResponseModel.d.ts +50 -0
- package/dist/api/types/DirectPublishingReadResponseModel.js +3 -0
- package/dist/api/types/DirectPublishingReadResponseModelDisplayMode.d.ts +6 -0
- package/dist/api/types/DirectPublishingReadResponseModelDisplayMode.js +9 -0
- package/dist/api/types/DirectPublishingReadResponseModelGenreItem.d.ts +35 -0
- package/dist/api/types/DirectPublishingReadResponseModelGenreItem.js +38 -0
- package/dist/api/types/DirectPublishingReadResponseModelPayoutType.d.ts +6 -0
- package/dist/api/types/DirectPublishingReadResponseModelPayoutType.js +9 -0
- package/dist/api/types/DirectPublishingReadResponseModelTargetAudience.d.ts +7 -0
- package/dist/api/types/DirectPublishingReadResponseModelTargetAudience.js +10 -0
- package/dist/api/types/DubbingMetadataResponse.d.ts +6 -4
- package/dist/api/types/DubbingModel.d.ts +1 -0
- package/dist/api/types/DubbingModel.js +1 -0
- package/dist/api/types/InvoiceResponse.d.ts +3 -1
- package/dist/api/types/InvoiceResponseModelPaymentIntentStatussesItem.d.ts +10 -0
- package/dist/api/types/InvoiceResponseModelPaymentIntentStatussesItem.js +13 -0
- package/dist/api/types/LiteralJsonSchemaProperty.d.ts +7 -4
- package/dist/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
- package/{api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts → dist/api/types/PermissionType.d.ts} +8 -2
- package/{api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js → dist/api/types/PermissionType.js} +8 -2
- package/dist/api/types/PhoneNumberTransfer.d.ts +2 -0
- package/dist/api/types/PhoneNumberTransferCustomSipHeadersItem.d.ts +10 -0
- package/dist/api/types/PhoneNumberTransferCustomSipHeadersItem.js +3 -0
- package/dist/api/types/PreviewAudioDbModel.d.ts +7 -0
- package/dist/api/types/PreviewAudioDbModel.js +3 -0
- package/dist/api/types/ProjectExtendedResponse.d.ts +2 -0
- package/dist/api/types/ReadLegalTerms.d.ts +5 -0
- package/dist/api/types/ReadLegalTerms.js +3 -0
- package/dist/api/types/ReadMetadataChapterDbModel.d.ts +10 -0
- package/dist/api/types/ReadMetadataChapterDbModel.js +3 -0
- package/dist/api/types/ReviewResponseModel.d.ts +9 -0
- package/dist/api/types/ReviewResponseModel.js +3 -0
- package/dist/api/types/ReviewResponseModelRejectReasonsItem.d.ts +21 -0
- package/dist/api/types/ReviewResponseModelRejectReasonsItem.js +24 -0
- package/dist/api/types/ReviewResponseModelReviewStatus.d.ts +6 -0
- package/dist/api/types/ReviewResponseModelReviewStatus.js +9 -0
- package/dist/api/types/SampleConfigDbModel.d.ts +7 -0
- package/dist/api/types/SampleConfigDbModel.js +3 -0
- package/dist/api/types/SampleConfigDbModelParentType.d.ts +5 -0
- package/dist/api/types/SampleConfigDbModelParentType.js +8 -0
- package/dist/api/types/SpellingPatience.d.ts +6 -0
- package/dist/api/types/SpellingPatience.js +9 -0
- package/dist/api/types/TurnConfig.d.ts +2 -0
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.d.ts +10 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.js +3 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.d.ts +10 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.js +3 -0
- package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -1
- package/dist/api/types/index.d.ts +23 -1
- package/dist/api/types/index.js +23 -1
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/get.d.ts +8 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/get.js +40 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/index.js +37 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/index.js +18 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.d.ts +15 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.js +49 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/index.js +17 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +2 -2
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +2 -2
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +2 -2
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +2 -2
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +0 -2
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +0 -2
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestModelId.d.ts +7 -0
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestModelId.js +39 -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/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.d.ts +7 -0
- package/dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.js +39 -0
- package/dist/serialization/resources/studio/resources/projects/types/index.d.ts +1 -0
- package/dist/serialization/resources/studio/resources/projects/types/index.js +1 -0
- package/dist/serialization/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.d.ts +1 -1
- package/dist/serialization/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.js +16 -9
- package/dist/serialization/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.d.ts +1 -1
- package/dist/serialization/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.js +16 -9
- package/dist/serialization/resources/voices/resources/index.d.ts +2 -0
- package/dist/serialization/resources/voices/resources/index.js +3 -1
- package/dist/serialization/resources/voices/resources/ivc/index.d.ts +1 -0
- package/dist/serialization/resources/voices/resources/ivc/index.js +17 -0
- package/dist/serialization/resources/voices/resources/ivc/types/IvcCreateRequestLabels.d.ts +7 -0
- package/dist/serialization/resources/{serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js → voices/resources/ivc/types/IvcCreateRequestLabels.js} +4 -30
- package/dist/serialization/resources/voices/resources/ivc/types/index.d.ts +1 -0
- package/dist/serialization/resources/voices/resources/ivc/types/index.js +17 -0
- package/dist/serialization/resources/voices/types/VoicesUpdateRequestLabels.d.ts +7 -0
- package/dist/serialization/resources/voices/types/VoicesUpdateRequestLabels.js +42 -0
- package/dist/serialization/resources/voices/types/index.d.ts +1 -0
- package/dist/serialization/resources/voices/types/index.js +1 -0
- package/dist/serialization/types/AddKnowledgeBaseResponseModel.d.ts +2 -0
- package/dist/serialization/types/AddKnowledgeBaseResponseModel.js +2 -0
- package/dist/serialization/types/AgentSummaryBatchSuccessfulResponseModel.d.ts +10 -0
- package/dist/serialization/types/AgentSummaryBatchSuccessfulResponseModel.js +42 -0
- package/dist/serialization/types/Contributor.d.ts +10 -0
- package/dist/serialization/types/Contributor.js +42 -0
- package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.js +2 -0
- package/dist/serialization/types/CustomSipHeader.d.ts +10 -0
- package/dist/serialization/types/CustomSipHeader.js +42 -0
- package/dist/serialization/types/CustomSipHeaderWithDynamicVariable.d.ts +10 -0
- package/dist/serialization/types/CustomSipHeaderWithDynamicVariable.js +42 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +65 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.js +97 -0
- package/dist/serialization/types/DirectPublishingReadResponseModelDisplayMode.d.ts +7 -0
- package/dist/serialization/types/DirectPublishingReadResponseModelDisplayMode.js +39 -0
- package/dist/serialization/types/DirectPublishingReadResponseModelGenreItem.d.ts +7 -0
- package/dist/serialization/types/DirectPublishingReadResponseModelGenreItem.js +72 -0
- package/dist/serialization/types/DirectPublishingReadResponseModelPayoutType.d.ts +7 -0
- package/dist/serialization/types/DirectPublishingReadResponseModelPayoutType.js +39 -0
- package/dist/serialization/types/DirectPublishingReadResponseModelTargetAudience.d.ts +7 -0
- package/dist/serialization/types/DirectPublishingReadResponseModelTargetAudience.js +39 -0
- package/dist/serialization/types/DubbingMetadataResponse.d.ts +1 -0
- package/dist/serialization/types/DubbingMetadataResponse.js +1 -0
- package/dist/serialization/types/DubbingModel.d.ts +1 -1
- package/dist/serialization/types/DubbingModel.js +1 -1
- package/dist/serialization/types/InvoiceResponse.d.ts +2 -0
- package/dist/serialization/types/InvoiceResponse.js +2 -0
- package/dist/serialization/types/InvoiceResponseModelPaymentIntentStatussesItem.d.ts +7 -0
- package/dist/serialization/types/InvoiceResponseModelPaymentIntentStatussesItem.js +47 -0
- package/dist/serialization/types/{WorkspaceApiKeyResponseModelPermissionsItem.d.ts → PermissionType.d.ts} +3 -3
- package/{serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js → dist/serialization/types/PermissionType.js} +8 -2
- package/dist/serialization/types/PhoneNumberTransfer.d.ts +2 -0
- package/dist/serialization/types/PhoneNumberTransfer.js +2 -0
- package/dist/serialization/types/PhoneNumberTransferCustomSipHeadersItem.d.ts +15 -0
- package/dist/serialization/types/PhoneNumberTransferCustomSipHeadersItem.js +49 -0
- package/dist/serialization/types/PreviewAudioDbModel.d.ts +13 -0
- package/dist/serialization/types/PreviewAudioDbModel.js +45 -0
- package/dist/serialization/types/ProjectExtendedResponse.d.ts +2 -0
- package/dist/serialization/types/ProjectExtendedResponse.js +2 -0
- package/dist/serialization/types/ReadLegalTerms.d.ts +11 -0
- package/dist/serialization/types/ReadLegalTerms.js +43 -0
- package/dist/serialization/types/ReadMetadataChapterDbModel.d.ts +16 -0
- package/dist/serialization/types/ReadMetadataChapterDbModel.js +48 -0
- package/dist/serialization/types/ReviewResponseModel.d.ts +16 -0
- package/dist/serialization/{resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js → types/ReviewResponseModel.js} +12 -32
- package/dist/serialization/types/ReviewResponseModelRejectReasonsItem.d.ts +7 -0
- package/dist/serialization/types/ReviewResponseModelRejectReasonsItem.js +58 -0
- package/dist/serialization/types/ReviewResponseModelReviewStatus.d.ts +7 -0
- package/dist/serialization/types/ReviewResponseModelReviewStatus.js +39 -0
- package/dist/serialization/types/SampleConfigDbModel.d.ts +13 -0
- package/dist/serialization/types/SampleConfigDbModel.js +45 -0
- package/dist/serialization/types/SampleConfigDbModelParentType.d.ts +7 -0
- package/dist/serialization/types/SampleConfigDbModelParentType.js +39 -0
- package/dist/serialization/types/SpellingPatience.d.ts +7 -0
- package/dist/serialization/types/SpellingPatience.js +39 -0
- package/dist/serialization/types/TurnConfig.d.ts +2 -0
- package/dist/serialization/types/TurnConfig.js +2 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.js +2 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.d.ts +15 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.js +49 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.d.ts +15 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.js +49 -0
- package/dist/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -2
- package/dist/serialization/types/WorkspaceApiKeyResponseModel.js +3 -2
- package/dist/serialization/types/index.d.ts +23 -1
- package/dist/serialization/types/index.js +23 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/realtime/scribe.js +3 -0
- package/package.json +1 -1
- package/reference.md +135 -5
- package/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/get.d.ts +8 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/get.js +40 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/index.js +37 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/summaries/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/summaries/index.js +18 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.d.ts +15 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.js +49 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/index.js +17 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +2 -2
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +2 -2
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +2 -2
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +2 -2
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +0 -2
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +0 -2
- package/serialization/resources/speechToText/types/SpeechToTextConvertRequestModelId.d.ts +7 -0
- package/serialization/resources/speechToText/types/SpeechToTextConvertRequestModelId.js +39 -0
- package/serialization/resources/speechToText/types/index.d.ts +1 -0
- package/serialization/resources/speechToText/types/index.js +1 -0
- package/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.d.ts +7 -0
- package/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.js +39 -0
- package/serialization/resources/studio/resources/projects/types/index.d.ts +1 -0
- package/serialization/resources/studio/resources/projects/types/index.js +1 -0
- package/serialization/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.d.ts +1 -1
- package/serialization/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.js +16 -9
- package/serialization/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.d.ts +1 -1
- package/serialization/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.js +16 -9
- package/serialization/resources/voices/resources/index.d.ts +2 -0
- package/serialization/resources/voices/resources/index.js +3 -1
- package/serialization/resources/voices/resources/ivc/index.d.ts +1 -0
- package/serialization/resources/voices/resources/ivc/index.js +17 -0
- package/serialization/resources/voices/resources/ivc/types/IvcCreateRequestLabels.d.ts +7 -0
- package/serialization/resources/{serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js → voices/resources/ivc/types/IvcCreateRequestLabels.js} +4 -30
- package/serialization/resources/voices/resources/ivc/types/index.d.ts +1 -0
- package/serialization/resources/voices/resources/ivc/types/index.js +17 -0
- package/serialization/resources/voices/types/VoicesUpdateRequestLabels.d.ts +7 -0
- package/serialization/resources/voices/types/VoicesUpdateRequestLabels.js +42 -0
- package/serialization/resources/voices/types/index.d.ts +1 -0
- package/serialization/resources/voices/types/index.js +1 -0
- package/serialization/types/AddKnowledgeBaseResponseModel.d.ts +2 -0
- package/serialization/types/AddKnowledgeBaseResponseModel.js +2 -0
- package/serialization/types/AgentSummaryBatchSuccessfulResponseModel.d.ts +10 -0
- package/serialization/types/AgentSummaryBatchSuccessfulResponseModel.js +42 -0
- package/serialization/types/Contributor.d.ts +10 -0
- package/serialization/types/Contributor.js +42 -0
- package/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +2 -0
- package/serialization/types/ConversationHistoryAnalysisCommonModel.js +2 -0
- package/serialization/types/CustomSipHeader.d.ts +10 -0
- package/serialization/types/CustomSipHeader.js +42 -0
- package/serialization/types/CustomSipHeaderWithDynamicVariable.d.ts +10 -0
- package/serialization/types/CustomSipHeaderWithDynamicVariable.js +42 -0
- package/serialization/types/DirectPublishingReadResponseModel.d.ts +65 -0
- package/serialization/types/DirectPublishingReadResponseModel.js +97 -0
- package/serialization/types/DirectPublishingReadResponseModelDisplayMode.d.ts +7 -0
- package/serialization/types/DirectPublishingReadResponseModelDisplayMode.js +39 -0
- package/serialization/types/DirectPublishingReadResponseModelGenreItem.d.ts +7 -0
- package/serialization/types/DirectPublishingReadResponseModelGenreItem.js +72 -0
- package/serialization/types/DirectPublishingReadResponseModelPayoutType.d.ts +7 -0
- package/serialization/types/DirectPublishingReadResponseModelPayoutType.js +39 -0
- package/serialization/types/DirectPublishingReadResponseModelTargetAudience.d.ts +7 -0
- package/serialization/types/DirectPublishingReadResponseModelTargetAudience.js +39 -0
- package/serialization/types/DubbingMetadataResponse.d.ts +1 -0
- package/serialization/types/DubbingMetadataResponse.js +1 -0
- package/serialization/types/DubbingModel.d.ts +1 -1
- package/serialization/types/DubbingModel.js +1 -1
- package/serialization/types/InvoiceResponse.d.ts +2 -0
- package/serialization/types/InvoiceResponse.js +2 -0
- package/serialization/types/InvoiceResponseModelPaymentIntentStatussesItem.d.ts +7 -0
- package/serialization/types/InvoiceResponseModelPaymentIntentStatussesItem.js +47 -0
- package/serialization/types/{WorkspaceApiKeyResponseModelPermissionsItem.d.ts → PermissionType.d.ts} +3 -3
- package/{dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js → serialization/types/PermissionType.js} +8 -2
- package/serialization/types/PhoneNumberTransfer.d.ts +2 -0
- package/serialization/types/PhoneNumberTransfer.js +2 -0
- package/serialization/types/PhoneNumberTransferCustomSipHeadersItem.d.ts +15 -0
- package/serialization/types/PhoneNumberTransferCustomSipHeadersItem.js +49 -0
- package/serialization/types/PreviewAudioDbModel.d.ts +13 -0
- package/serialization/types/PreviewAudioDbModel.js +45 -0
- package/serialization/types/ProjectExtendedResponse.d.ts +2 -0
- package/serialization/types/ProjectExtendedResponse.js +2 -0
- package/serialization/types/ReadLegalTerms.d.ts +11 -0
- package/serialization/types/ReadLegalTerms.js +43 -0
- package/serialization/types/ReadMetadataChapterDbModel.d.ts +16 -0
- package/serialization/types/ReadMetadataChapterDbModel.js +48 -0
- package/serialization/types/ReviewResponseModel.d.ts +16 -0
- package/serialization/types/ReviewResponseModel.js +48 -0
- package/serialization/types/ReviewResponseModelRejectReasonsItem.d.ts +7 -0
- package/serialization/types/ReviewResponseModelRejectReasonsItem.js +58 -0
- package/serialization/types/ReviewResponseModelReviewStatus.d.ts +7 -0
- package/serialization/types/ReviewResponseModelReviewStatus.js +39 -0
- package/serialization/types/SampleConfigDbModel.d.ts +13 -0
- package/serialization/types/SampleConfigDbModel.js +45 -0
- package/serialization/types/SampleConfigDbModelParentType.d.ts +7 -0
- package/serialization/types/SampleConfigDbModelParentType.js +39 -0
- package/serialization/types/SpellingPatience.d.ts +7 -0
- package/serialization/types/SpellingPatience.js +39 -0
- package/serialization/types/TurnConfig.d.ts +2 -0
- package/serialization/types/TurnConfig.js +2 -0
- package/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/serialization/types/TurnConfigWorkflowOverride.js +2 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.d.ts +15 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.js +49 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.d.ts +15 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.js +49 -0
- package/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -2
- package/serialization/types/WorkspaceApiKeyResponseModel.js +3 -2
- package/serialization/types/index.d.ts +23 -1
- package/serialization/types/index.js +23 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/realtime/scribe.js +3 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts +0 -31
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js +0 -34
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts +0 -31
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js +0 -34
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts +0 -31
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js +0 -34
- package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +0 -31
- package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.js +0 -34
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts +0 -7
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts +0 -7
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts +0 -7
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts +0 -7
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js +0 -68
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../../index";
|
|
2
|
+
export type SummariesGetResponseValue = ElevenLabs.conversationalAi.agents.SummariesGetResponseValue.Success | ElevenLabs.conversationalAi.agents.SummariesGetResponseValue.Failure;
|
|
3
|
+
export declare namespace SummariesGetResponseValue {
|
|
4
|
+
interface Success extends ElevenLabs.AgentSummaryBatchSuccessfulResponseModel {
|
|
5
|
+
status: "success";
|
|
6
|
+
}
|
|
7
|
+
interface Failure extends ElevenLabs.BatchFailureResponseModel {
|
|
8
|
+
status: "failure";
|
|
9
|
+
}
|
|
10
|
+
}
|
package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/types/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SummariesGetResponseValue";
|
package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/types/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./SummariesGetResponseValue"), exports);
|
|
@@ -56,6 +56,19 @@ export declare class BatchCallsClient {
|
|
|
56
56
|
*/
|
|
57
57
|
get(batch_id: string, requestOptions?: BatchCallsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.BatchCallDetailedResponse>;
|
|
58
58
|
private __get;
|
|
59
|
+
/**
|
|
60
|
+
* Permanently delete a batch call and all recipient records. Conversations remain in history.
|
|
61
|
+
*
|
|
62
|
+
* @param {string} batch_id
|
|
63
|
+
* @param {BatchCallsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* await client.conversationalAi.batchCalls.delete("batch_id")
|
|
69
|
+
*/
|
|
70
|
+
delete(batch_id: string, requestOptions?: BatchCallsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
71
|
+
private __delete;
|
|
59
72
|
/**
|
|
60
73
|
* Cancel a running batch call and set all recipients to cancelled status.
|
|
61
74
|
*
|
|
@@ -254,6 +254,58 @@ class BatchCallsClient {
|
|
|
254
254
|
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/batch-calling/{batch_id}");
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
|
+
/**
|
|
258
|
+
* Permanently delete a batch call and all recipient records. Conversations remain in history.
|
|
259
|
+
*
|
|
260
|
+
* @param {string} batch_id
|
|
261
|
+
* @param {BatchCallsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
262
|
+
*
|
|
263
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
264
|
+
*
|
|
265
|
+
* @example
|
|
266
|
+
* await client.conversationalAi.batchCalls.delete("batch_id")
|
|
267
|
+
*/
|
|
268
|
+
delete(batch_id, requestOptions) {
|
|
269
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(batch_id, requestOptions));
|
|
270
|
+
}
|
|
271
|
+
__delete(batch_id, requestOptions) {
|
|
272
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
273
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
274
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
275
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
276
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/batch-calling/${core.url.encodePathParam(batch_id)}`),
|
|
277
|
+
method: "DELETE",
|
|
278
|
+
headers: _headers,
|
|
279
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
280
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
281
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
282
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
283
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
284
|
+
logging: this._options.logging,
|
|
285
|
+
});
|
|
286
|
+
if (_response.ok) {
|
|
287
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
288
|
+
}
|
|
289
|
+
if (_response.error.reason === "status-code") {
|
|
290
|
+
switch (_response.error.statusCode) {
|
|
291
|
+
case 422:
|
|
292
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
293
|
+
unrecognizedObjectKeys: "passthrough",
|
|
294
|
+
allowUnrecognizedUnionMembers: true,
|
|
295
|
+
allowUnrecognizedEnumValues: true,
|
|
296
|
+
breadcrumbsPrefix: ["response"],
|
|
297
|
+
}), _response.rawResponse);
|
|
298
|
+
default:
|
|
299
|
+
throw new errors.ElevenLabsError({
|
|
300
|
+
statusCode: _response.error.statusCode,
|
|
301
|
+
body: _response.error.body,
|
|
302
|
+
rawResponse: _response.rawResponse,
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/convai/batch-calling/{batch_id}");
|
|
307
|
+
});
|
|
308
|
+
}
|
|
257
309
|
/**
|
|
258
310
|
* Cancel a running batch call and set all recipients to cancelled status.
|
|
259
311
|
*
|
|
@@ -27,7 +27,8 @@ export declare class ConversationsClient {
|
|
|
27
27
|
* @example
|
|
28
28
|
* await client.conversationalAi.conversations.getSignedUrl({
|
|
29
29
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
30
|
-
* includeConversationId: true
|
|
30
|
+
* includeConversationId: true,
|
|
31
|
+
* branchId: "branch_id"
|
|
31
32
|
* })
|
|
32
33
|
*/
|
|
33
34
|
getSignedUrl(request: ElevenLabs.conversationalAi.ConversationsGetSignedUrlRequest, requestOptions?: ConversationsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ConversationSignedUrlResponseModel>;
|
|
@@ -43,7 +44,8 @@ export declare class ConversationsClient {
|
|
|
43
44
|
* @example
|
|
44
45
|
* await client.conversationalAi.conversations.getWebrtcToken({
|
|
45
46
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
46
|
-
* participantName: "participant_name"
|
|
47
|
+
* participantName: "participant_name",
|
|
48
|
+
* branchId: "branch_id"
|
|
47
49
|
* })
|
|
48
50
|
*/
|
|
49
51
|
getWebrtcToken(request: ElevenLabs.conversationalAi.ConversationsGetWebrtcTokenRequest, requestOptions?: ConversationsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.TokenResponseModel>;
|
|
@@ -72,7 +74,8 @@ export declare class ConversationsClient {
|
|
|
72
74
|
* pageSize: 1,
|
|
73
75
|
* summaryMode: "exclude",
|
|
74
76
|
* search: "search",
|
|
75
|
-
* conversationInitiationSource: "unknown"
|
|
77
|
+
* conversationInitiationSource: "unknown",
|
|
78
|
+
* branchId: "branch_id"
|
|
76
79
|
* })
|
|
77
80
|
*/
|
|
78
81
|
list(request?: ElevenLabs.conversationalAi.ConversationsListRequest, requestOptions?: ConversationsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetConversationsPageResponseModel>;
|
|
@@ -77,7 +77,8 @@ class ConversationsClient {
|
|
|
77
77
|
* @example
|
|
78
78
|
* await client.conversationalAi.conversations.getSignedUrl({
|
|
79
79
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
80
|
-
* includeConversationId: true
|
|
80
|
+
* includeConversationId: true,
|
|
81
|
+
* branchId: "branch_id"
|
|
81
82
|
* })
|
|
82
83
|
*/
|
|
83
84
|
getSignedUrl(request, requestOptions) {
|
|
@@ -86,12 +87,15 @@ class ConversationsClient {
|
|
|
86
87
|
__getSignedUrl(request, requestOptions) {
|
|
87
88
|
return __awaiter(this, void 0, void 0, function* () {
|
|
88
89
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
89
|
-
const { agentId, includeConversationId } = request;
|
|
90
|
+
const { agentId, includeConversationId, branchId } = request;
|
|
90
91
|
const _queryParams = {};
|
|
91
92
|
_queryParams.agent_id = agentId;
|
|
92
93
|
if (includeConversationId != null) {
|
|
93
94
|
_queryParams.include_conversation_id = includeConversationId.toString();
|
|
94
95
|
}
|
|
96
|
+
if (branchId != null) {
|
|
97
|
+
_queryParams.branch_id = branchId;
|
|
98
|
+
}
|
|
95
99
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
96
100
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
97
101
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/conversation/get-signed-url"),
|
|
@@ -146,7 +150,8 @@ class ConversationsClient {
|
|
|
146
150
|
* @example
|
|
147
151
|
* await client.conversationalAi.conversations.getWebrtcToken({
|
|
148
152
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
149
|
-
* participantName: "participant_name"
|
|
153
|
+
* participantName: "participant_name",
|
|
154
|
+
* branchId: "branch_id"
|
|
150
155
|
* })
|
|
151
156
|
*/
|
|
152
157
|
getWebrtcToken(request, requestOptions) {
|
|
@@ -155,12 +160,15 @@ class ConversationsClient {
|
|
|
155
160
|
__getWebrtcToken(request, requestOptions) {
|
|
156
161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
157
162
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
158
|
-
const { agentId, participantName } = request;
|
|
163
|
+
const { agentId, participantName, branchId } = request;
|
|
159
164
|
const _queryParams = {};
|
|
160
165
|
_queryParams.agent_id = agentId;
|
|
161
166
|
if (participantName != null) {
|
|
162
167
|
_queryParams.participant_name = participantName;
|
|
163
168
|
}
|
|
169
|
+
if (branchId != null) {
|
|
170
|
+
_queryParams.branch_id = branchId;
|
|
171
|
+
}
|
|
164
172
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
165
173
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
166
174
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/conversation/token"),
|
|
@@ -228,7 +236,8 @@ class ConversationsClient {
|
|
|
228
236
|
* pageSize: 1,
|
|
229
237
|
* summaryMode: "exclude",
|
|
230
238
|
* search: "search",
|
|
231
|
-
* conversationInitiationSource: "unknown"
|
|
239
|
+
* conversationInitiationSource: "unknown",
|
|
240
|
+
* branchId: "branch_id"
|
|
232
241
|
* })
|
|
233
242
|
*/
|
|
234
243
|
list(request = {}, requestOptions) {
|
|
@@ -237,7 +246,7 @@ class ConversationsClient {
|
|
|
237
246
|
__list() {
|
|
238
247
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
239
248
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
240
|
-
const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, mainLanguages, pageSize, summaryMode, search, conversationInitiationSource, } = request;
|
|
249
|
+
const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, mainLanguages, pageSize, summaryMode, search, conversationInitiationSource, branchId, } = request;
|
|
241
250
|
const _queryParams = {};
|
|
242
251
|
if (cursor != null) {
|
|
243
252
|
_queryParams.cursor = cursor;
|
|
@@ -318,6 +327,9 @@ class ConversationsClient {
|
|
|
318
327
|
if (conversationInitiationSource != null) {
|
|
319
328
|
_queryParams.conversation_initiation_source = serializers.ConversationInitiationSource.jsonOrThrow(conversationInitiationSource, { unrecognizedObjectKeys: "strip" });
|
|
320
329
|
}
|
|
330
|
+
if (branchId != null) {
|
|
331
|
+
_queryParams.branch_id = branchId;
|
|
332
|
+
}
|
|
321
333
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
322
334
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
323
335
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/conversations"),
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
4
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
5
|
-
* includeConversationId: true
|
|
5
|
+
* includeConversationId: true,
|
|
6
|
+
* branchId: "branch_id"
|
|
6
7
|
* }
|
|
7
8
|
*/
|
|
8
9
|
export interface ConversationsGetSignedUrlRequest {
|
|
@@ -10,4 +11,6 @@ export interface ConversationsGetSignedUrlRequest {
|
|
|
10
11
|
agentId: string;
|
|
11
12
|
/** Whether to include a conversation_id with the response. If included, the conversation_signature cannot be used again. */
|
|
12
13
|
includeConversationId?: boolean;
|
|
14
|
+
/** The ID of the branch to use */
|
|
15
|
+
branchId?: string;
|
|
13
16
|
}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
4
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
5
|
-
* participantName: "participant_name"
|
|
5
|
+
* participantName: "participant_name",
|
|
6
|
+
* branchId: "branch_id"
|
|
6
7
|
* }
|
|
7
8
|
*/
|
|
8
9
|
export interface ConversationsGetWebrtcTokenRequest {
|
|
@@ -10,4 +11,6 @@ export interface ConversationsGetWebrtcTokenRequest {
|
|
|
10
11
|
agentId: string;
|
|
11
12
|
/** Optional custom participant name. If not provided, user ID will be used */
|
|
12
13
|
participantName?: string;
|
|
14
|
+
/** The ID of the branch to use */
|
|
15
|
+
branchId?: string;
|
|
13
16
|
}
|
|
@@ -16,7 +16,8 @@ import type * as ElevenLabs from "../../../../../../index";
|
|
|
16
16
|
* pageSize: 1,
|
|
17
17
|
* summaryMode: "exclude",
|
|
18
18
|
* search: "search",
|
|
19
|
-
* conversationInitiationSource: "unknown"
|
|
19
|
+
* conversationInitiationSource: "unknown",
|
|
20
|
+
* branchId: "branch_id"
|
|
20
21
|
* }
|
|
21
22
|
*/
|
|
22
23
|
export interface ConversationsListRequest {
|
|
@@ -57,4 +58,6 @@ export interface ConversationsListRequest {
|
|
|
57
58
|
/** Full-text or fuzzy search over transcript messages */
|
|
58
59
|
search?: string;
|
|
59
60
|
conversationInitiationSource?: ElevenLabs.ConversationInitiationSource;
|
|
61
|
+
/** Filter conversations by branch ID. */
|
|
62
|
+
branchId?: string;
|
|
60
63
|
}
|
|
@@ -2,4 +2,4 @@ import type * as ElevenLabs from "../../../../../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* The permissions of the XI API.
|
|
4
4
|
*/
|
|
5
|
-
export type BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions = ElevenLabs.
|
|
5
|
+
export type BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions = ElevenLabs.PermissionType[] | "all";
|
|
@@ -2,4 +2,4 @@ import type * as ElevenLabs from "../../../../../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* The permissions of the XI API.
|
|
4
4
|
*/
|
|
5
|
-
export type BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions = ElevenLabs.
|
|
5
|
+
export type BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions = ElevenLabs.PermissionType[] | "all";
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
export * from "./BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions";
|
|
2
|
-
export * from "./BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem";
|
|
3
2
|
export * from "./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions";
|
|
4
|
-
export * from "./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem";
|
|
@@ -15,6 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions"), exports);
|
|
18
|
-
__exportStar(require("./BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem"), exports);
|
|
19
18
|
__exportStar(require("./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions"), exports);
|
|
20
|
-
__exportStar(require("./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem"), exports);
|
|
@@ -25,7 +25,7 @@ export declare class SpeechToTextClient {
|
|
|
25
25
|
* import { createReadStream } from "fs";
|
|
26
26
|
* await client.speechToText.convert({
|
|
27
27
|
* enableLogging: true,
|
|
28
|
-
* modelId: "
|
|
28
|
+
* modelId: "scribe_v1"
|
|
29
29
|
* })
|
|
30
30
|
*/
|
|
31
31
|
convert(request: ElevenLabs.BodySpeechToTextV1SpeechToTextPost, requestOptions?: SpeechToTextClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.SpeechToTextConvertResponse>;
|
|
@@ -74,7 +74,7 @@ class SpeechToTextClient {
|
|
|
74
74
|
* import { createReadStream } from "fs";
|
|
75
75
|
* await client.speechToText.convert({
|
|
76
76
|
* enableLogging: true,
|
|
77
|
-
* modelId: "
|
|
77
|
+
* modelId: "scribe_v1"
|
|
78
78
|
* })
|
|
79
79
|
*/
|
|
80
80
|
convert(request, requestOptions) {
|
|
@@ -88,7 +88,9 @@ class SpeechToTextClient {
|
|
|
88
88
|
_queryParams.enable_logging = request.enableLogging.toString();
|
|
89
89
|
}
|
|
90
90
|
const _request = yield core.newFormData();
|
|
91
|
-
_request.append("model_id", request.modelId
|
|
91
|
+
_request.append("model_id", serializers.SpeechToTextConvertRequestModelId.jsonOrThrow(request.modelId, {
|
|
92
|
+
unrecognizedObjectKeys: "strip",
|
|
93
|
+
}));
|
|
92
94
|
if (request.file != null) {
|
|
93
95
|
yield _request.appendFile("file", request.file);
|
|
94
96
|
}
|
package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts
CHANGED
|
@@ -4,20 +4,20 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
4
4
|
* @example
|
|
5
5
|
* {
|
|
6
6
|
* enableLogging: true,
|
|
7
|
-
* modelId: "
|
|
7
|
+
* modelId: "scribe_v1"
|
|
8
8
|
* }
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* {
|
|
12
12
|
* enableLogging: true,
|
|
13
|
-
* modelId: "
|
|
13
|
+
* modelId: "scribe_v1"
|
|
14
14
|
* }
|
|
15
15
|
*/
|
|
16
16
|
export interface BodySpeechToTextV1SpeechToTextPost {
|
|
17
17
|
/** When enable_logging is set to false zero retention mode will be used for the request. This will mean log and transcript storage features are unavailable for this request. Zero retention mode may only be used by enterprise customers. */
|
|
18
18
|
enableLogging?: boolean;
|
|
19
|
-
/** The ID of the model to use for transcription
|
|
20
|
-
modelId:
|
|
19
|
+
/** The ID of the model to use for transcription. */
|
|
20
|
+
modelId: ElevenLabs.SpeechToTextConvertRequestModelId;
|
|
21
21
|
/** The file to transcribe. All major audio and video formats are supported. Exactly one of the file or cloud_storage_url parameters must be provided. The file size must be less than 3.0GB. */
|
|
22
22
|
file?: core.file.Uploadable | undefined;
|
|
23
23
|
/** An ISO-639-1 or ISO-639-3 language_code corresponding to the language of the audio file. Can sometimes improve transcription performance if known beforehand. Defaults to null, in this case the language is predicted automatically. */
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** The ID of the model to use for transcription. */
|
|
2
|
+
export declare const SpeechToTextConvertRequestModelId: {
|
|
3
|
+
readonly ScribeV1: "scribe_v1";
|
|
4
|
+
readonly ScribeV2: "scribe_v2";
|
|
5
|
+
};
|
|
6
|
+
export type SpeechToTextConvertRequestModelId = (typeof SpeechToTextConvertRequestModelId)[keyof typeof SpeechToTextConvertRequestModelId];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SpeechToTextConvertRequestModelId = void 0;
|
|
5
|
+
/** The ID of the model to use for transcription. */
|
|
6
|
+
exports.SpeechToTextConvertRequestModelId = {
|
|
7
|
+
ScribeV1: "scribe_v1",
|
|
8
|
+
ScribeV2: "scribe_v2",
|
|
9
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./SpeechToTextConvertRequestEntityDetection";
|
|
2
2
|
export * from "./SpeechToTextConvertRequestFileFormat";
|
|
3
|
+
export * from "./SpeechToTextConvertRequestModelId";
|
|
3
4
|
export * from "./SpeechToTextConvertRequestTimestampsGranularity";
|
|
4
5
|
export * from "./SpeechToTextConvertRequestWebhookMetadata";
|
|
5
6
|
export * from "./SpeechToTextConvertResponse";
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./SpeechToTextConvertRequestEntityDetection"), exports);
|
|
18
18
|
__exportStar(require("./SpeechToTextConvertRequestFileFormat"), exports);
|
|
19
|
+
__exportStar(require("./SpeechToTextConvertRequestModelId"), exports);
|
|
19
20
|
__exportStar(require("./SpeechToTextConvertRequestTimestampsGranularity"), exports);
|
|
20
21
|
__exportStar(require("./SpeechToTextConvertRequestWebhookMetadata"), exports);
|
|
21
22
|
__exportStar(require("./SpeechToTextConvertResponse"), exports);
|
package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts
CHANGED
|
@@ -28,10 +28,10 @@ export interface BodyCreatePodcastV1StudioPodcastsPost {
|
|
|
28
28
|
source: ElevenLabs.BodyCreatePodcastV1StudioPodcastsPostSource;
|
|
29
29
|
/**
|
|
30
30
|
* Output quality of the generated audio. Must be one of:
|
|
31
|
-
* standard - standard output format, 128kbps with 44.1kHz sample rate.
|
|
32
|
-
* high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
33
|
-
* ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
34
|
-
*
|
|
31
|
+
* 'standard' - standard output format, 128kbps with 44.1kHz sample rate.
|
|
32
|
+
* 'high' - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
33
|
+
* 'ultra' - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
34
|
+
* 'ultra_lossless' - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
|
|
35
35
|
*/
|
|
36
36
|
qualityPreset?: ElevenLabs.BodyCreatePodcastV1StudioPodcastsPostQualityPreset;
|
|
37
37
|
/**
|
|
@@ -176,7 +176,9 @@ class ProjectsClient {
|
|
|
176
176
|
_request.append("from_content_json", request.fromContentJson);
|
|
177
177
|
}
|
|
178
178
|
if (request.qualityPreset != null) {
|
|
179
|
-
_request.append("quality_preset", request.qualityPreset
|
|
179
|
+
_request.append("quality_preset", serializers.studio.ProjectsCreateRequestQualityPreset.jsonOrThrow(request.qualityPreset, {
|
|
180
|
+
unrecognizedObjectKeys: "strip",
|
|
181
|
+
}));
|
|
180
182
|
}
|
|
181
183
|
if (request.title != null) {
|
|
182
184
|
_request.append("title", request.title);
|
|
@@ -29,12 +29,12 @@ export interface BodyCreateStudioProjectV1StudioProjectsPost {
|
|
|
29
29
|
fromContentJson?: string;
|
|
30
30
|
/**
|
|
31
31
|
* Output quality of the generated audio. Must be one of:
|
|
32
|
-
* standard - standard output format, 128kbps with 44.1kHz sample rate.
|
|
33
|
-
* high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
34
|
-
* ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
35
|
-
*
|
|
32
|
+
* 'standard' - standard output format, 128kbps with 44.1kHz sample rate.
|
|
33
|
+
* 'high' - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
34
|
+
* 'ultra' - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
35
|
+
* 'ultra_lossless' - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
|
|
36
36
|
*/
|
|
37
|
-
qualityPreset?:
|
|
37
|
+
qualityPreset?: ElevenLabs.studio.ProjectsCreateRequestQualityPreset;
|
|
38
38
|
/** An optional name of the author of the Studio project, this will be added as metadata to the mp3 file on Studio project or chapter download. */
|
|
39
39
|
title?: string;
|
|
40
40
|
/** An optional name of the author of the Studio project, this will be added as metadata to the mp3 file on Studio project or chapter download. */
|
package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Output quality of the generated audio. Must be one of:
|
|
3
|
+
* 'standard' - standard output format, 128kbps with 44.1kHz sample rate.
|
|
4
|
+
* 'high' - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
5
|
+
* 'ultra' - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
6
|
+
* 'ultra_lossless' - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
|
|
7
|
+
*/
|
|
8
|
+
export declare const ProjectsCreateRequestQualityPreset: {
|
|
9
|
+
readonly Standard: "standard";
|
|
10
|
+
readonly High: "high";
|
|
11
|
+
readonly Ultra: "ultra";
|
|
12
|
+
readonly UltraLossless: "ultra_lossless";
|
|
13
|
+
};
|
|
14
|
+
export type ProjectsCreateRequestQualityPreset = (typeof ProjectsCreateRequestQualityPreset)[keyof typeof ProjectsCreateRequestQualityPreset];
|
package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ProjectsCreateRequestQualityPreset = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* Output quality of the generated audio. Must be one of:
|
|
7
|
+
* 'standard' - standard output format, 128kbps with 44.1kHz sample rate.
|
|
8
|
+
* 'high' - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
9
|
+
* 'ultra' - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
10
|
+
* 'ultra_lossless' - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
|
|
11
|
+
*/
|
|
12
|
+
exports.ProjectsCreateRequestQualityPreset = {
|
|
13
|
+
Standard: "standard",
|
|
14
|
+
High: "high",
|
|
15
|
+
Ultra: "ultra",
|
|
16
|
+
UltraLossless: "ultra_lossless",
|
|
17
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./ProjectsCreateRequestApplyTextNormalization";
|
|
2
2
|
export * from "./ProjectsCreateRequestFiction";
|
|
3
|
+
export * from "./ProjectsCreateRequestQualityPreset";
|
|
3
4
|
export * from "./ProjectsCreateRequestSourceType";
|
|
4
5
|
export * from "./ProjectsCreateRequestTargetAudience";
|
|
@@ -16,5 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ProjectsCreateRequestApplyTextNormalization"), exports);
|
|
18
18
|
__exportStar(require("./ProjectsCreateRequestFiction"), exports);
|
|
19
|
+
__exportStar(require("./ProjectsCreateRequestQualityPreset"), exports);
|
|
19
20
|
__exportStar(require("./ProjectsCreateRequestSourceType"), exports);
|
|
20
21
|
__exportStar(require("./ProjectsCreateRequestTargetAudience"), exports);
|
package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Output quality of the generated audio. Must be one of:
|
|
3
|
-
* standard - standard output format, 128kbps with 44.1kHz sample rate.
|
|
4
|
-
* high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
5
|
-
* ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
6
|
-
*
|
|
3
|
+
* 'standard' - standard output format, 128kbps with 44.1kHz sample rate.
|
|
4
|
+
* 'high' - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
5
|
+
* 'ultra' - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
6
|
+
* 'ultra_lossless' - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
|
|
7
7
|
*/
|
|
8
8
|
export declare const BodyCreatePodcastV1StudioPodcastsPostQualityPreset: {
|
|
9
9
|
readonly Standard: "standard";
|
package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.js
CHANGED
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.BodyCreatePodcastV1StudioPodcastsPostQualityPreset = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* Output quality of the generated audio. Must be one of:
|
|
7
|
-
* standard - standard output format, 128kbps with 44.1kHz sample rate.
|
|
8
|
-
* high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
9
|
-
* ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
10
|
-
*
|
|
7
|
+
* 'standard' - standard output format, 128kbps with 44.1kHz sample rate.
|
|
8
|
+
* 'high' - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
|
|
9
|
+
* 'ultra' - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
|
|
10
|
+
* 'ultra_lossless' - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
|
|
11
11
|
*/
|
|
12
12
|
exports.BodyCreatePodcastV1StudioPodcastsPostQualityPreset = {
|
|
13
13
|
Standard: "standard",
|
|
@@ -29,7 +29,7 @@ export declare class TextToSpeechClient {
|
|
|
29
29
|
* await client.textToSpeech.convertWithTimestamps("21m00Tcm4TlvDq8ikWAM", {
|
|
30
30
|
* enableLogging: true,
|
|
31
31
|
* optimizeStreamingLatency: 1,
|
|
32
|
-
* outputFormat: "
|
|
32
|
+
* outputFormat: "alaw_8000",
|
|
33
33
|
* text: "This is a test for the API of ElevenLabs."
|
|
34
34
|
* })
|
|
35
35
|
*/
|
|
@@ -142,7 +142,7 @@ class TextToSpeechClient {
|
|
|
142
142
|
* await client.textToSpeech.convertWithTimestamps("21m00Tcm4TlvDq8ikWAM", {
|
|
143
143
|
* enableLogging: true,
|
|
144
144
|
* optimizeStreamingLatency: 1,
|
|
145
|
-
* outputFormat: "
|
|
145
|
+
* outputFormat: "alaw_8000",
|
|
146
146
|
* text: "This is a test for the API of ElevenLabs."
|
|
147
147
|
* })
|
|
148
148
|
*/
|
|
@@ -21,7 +21,7 @@ export interface BodyTextToSpeechFull {
|
|
|
21
21
|
* Defaults to None.
|
|
22
22
|
*/
|
|
23
23
|
optimizeStreamingLatency?: number;
|
|
24
|
-
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
24
|
+
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
25
25
|
outputFormat?: ElevenLabs.TextToSpeechConvertRequestOutputFormat;
|
|
26
26
|
/** The text that will get converted into speech. */
|
|
27
27
|
text: string;
|
package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
4
4
|
* {
|
|
5
5
|
* enableLogging: true,
|
|
6
6
|
* optimizeStreamingLatency: 1,
|
|
7
|
-
* outputFormat: "
|
|
7
|
+
* outputFormat: "alaw_8000",
|
|
8
8
|
* text: "This is a test for the API of ElevenLabs."
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
@@ -22,7 +22,7 @@ export interface BodyTextToSpeechFullWithTimestamps {
|
|
|
22
22
|
* Defaults to None.
|
|
23
23
|
*/
|
|
24
24
|
optimizeStreamingLatency?: number;
|
|
25
|
-
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
25
|
+
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
26
26
|
outputFormat?: ElevenLabs.TextToSpeechConvertWithTimestampsRequestOutputFormat;
|
|
27
27
|
/** The text that will get converted into speech. */
|
|
28
28
|
text: string;
|