@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
|
@@ -1,25 +1,32 @@
|
|
|
1
|
-
/** 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. */
|
|
1
|
+
/** 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. */
|
|
2
2
|
export declare const TextToSpeechConvertRequestOutputFormat: {
|
|
3
|
+
readonly Alaw8000: "alaw_8000";
|
|
3
4
|
readonly Mp32205032: "mp3_22050_32";
|
|
4
5
|
readonly Mp32400048: "mp3_24000_48";
|
|
6
|
+
readonly Mp344100128: "mp3_44100_128";
|
|
7
|
+
readonly Mp344100192: "mp3_44100_192";
|
|
5
8
|
readonly Mp34410032: "mp3_44100_32";
|
|
6
9
|
readonly Mp34410064: "mp3_44100_64";
|
|
7
10
|
readonly Mp34410096: "mp3_44100_96";
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
10
|
-
readonly
|
|
11
|
+
readonly Opus48000128: "opus_48000_128";
|
|
12
|
+
readonly Opus48000192: "opus_48000_192";
|
|
13
|
+
readonly Opus4800032: "opus_48000_32";
|
|
14
|
+
readonly Opus4800064: "opus_48000_64";
|
|
15
|
+
readonly Opus4800096: "opus_48000_96";
|
|
11
16
|
readonly Pcm16000: "pcm_16000";
|
|
12
17
|
readonly Pcm22050: "pcm_22050";
|
|
13
18
|
readonly Pcm24000: "pcm_24000";
|
|
14
19
|
readonly Pcm32000: "pcm_32000";
|
|
15
20
|
readonly Pcm44100: "pcm_44100";
|
|
16
21
|
readonly Pcm48000: "pcm_48000";
|
|
22
|
+
readonly Pcm8000: "pcm_8000";
|
|
17
23
|
readonly Ulaw8000: "ulaw_8000";
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
readonly
|
|
24
|
+
readonly Wav16000: "wav_16000";
|
|
25
|
+
readonly Wav22050: "wav_22050";
|
|
26
|
+
readonly Wav24000: "wav_24000";
|
|
27
|
+
readonly Wav32000: "wav_32000";
|
|
28
|
+
readonly Wav44100: "wav_44100";
|
|
29
|
+
readonly Wav48000: "wav_48000";
|
|
30
|
+
readonly Wav8000: "wav_8000";
|
|
24
31
|
};
|
|
25
32
|
export type TextToSpeechConvertRequestOutputFormat = (typeof TextToSpeechConvertRequestOutputFormat)[keyof typeof TextToSpeechConvertRequestOutputFormat];
|
|
@@ -2,27 +2,34 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.TextToSpeechConvertRequestOutputFormat = void 0;
|
|
5
|
-
/** 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. */
|
|
5
|
+
/** 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. */
|
|
6
6
|
exports.TextToSpeechConvertRequestOutputFormat = {
|
|
7
|
+
Alaw8000: "alaw_8000",
|
|
7
8
|
Mp32205032: "mp3_22050_32",
|
|
8
9
|
Mp32400048: "mp3_24000_48",
|
|
10
|
+
Mp344100128: "mp3_44100_128",
|
|
11
|
+
Mp344100192: "mp3_44100_192",
|
|
9
12
|
Mp34410032: "mp3_44100_32",
|
|
10
13
|
Mp34410064: "mp3_44100_64",
|
|
11
14
|
Mp34410096: "mp3_44100_96",
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
Opus48000128: "opus_48000_128",
|
|
16
|
+
Opus48000192: "opus_48000_192",
|
|
17
|
+
Opus4800032: "opus_48000_32",
|
|
18
|
+
Opus4800064: "opus_48000_64",
|
|
19
|
+
Opus4800096: "opus_48000_96",
|
|
15
20
|
Pcm16000: "pcm_16000",
|
|
16
21
|
Pcm22050: "pcm_22050",
|
|
17
22
|
Pcm24000: "pcm_24000",
|
|
18
23
|
Pcm32000: "pcm_32000",
|
|
19
24
|
Pcm44100: "pcm_44100",
|
|
20
25
|
Pcm48000: "pcm_48000",
|
|
26
|
+
Pcm8000: "pcm_8000",
|
|
21
27
|
Ulaw8000: "ulaw_8000",
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
Wav16000: "wav_16000",
|
|
29
|
+
Wav22050: "wav_22050",
|
|
30
|
+
Wav24000: "wav_24000",
|
|
31
|
+
Wav32000: "wav_32000",
|
|
32
|
+
Wav44100: "wav_44100",
|
|
33
|
+
Wav48000: "wav_48000",
|
|
34
|
+
Wav8000: "wav_8000",
|
|
28
35
|
};
|
|
@@ -1,25 +1,32 @@
|
|
|
1
|
-
/** 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. */
|
|
1
|
+
/** 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. */
|
|
2
2
|
export declare const TextToSpeechConvertWithTimestampsRequestOutputFormat: {
|
|
3
|
+
readonly Alaw8000: "alaw_8000";
|
|
3
4
|
readonly Mp32205032: "mp3_22050_32";
|
|
4
5
|
readonly Mp32400048: "mp3_24000_48";
|
|
6
|
+
readonly Mp344100128: "mp3_44100_128";
|
|
7
|
+
readonly Mp344100192: "mp3_44100_192";
|
|
5
8
|
readonly Mp34410032: "mp3_44100_32";
|
|
6
9
|
readonly Mp34410064: "mp3_44100_64";
|
|
7
10
|
readonly Mp34410096: "mp3_44100_96";
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
10
|
-
readonly
|
|
11
|
+
readonly Opus48000128: "opus_48000_128";
|
|
12
|
+
readonly Opus48000192: "opus_48000_192";
|
|
13
|
+
readonly Opus4800032: "opus_48000_32";
|
|
14
|
+
readonly Opus4800064: "opus_48000_64";
|
|
15
|
+
readonly Opus4800096: "opus_48000_96";
|
|
11
16
|
readonly Pcm16000: "pcm_16000";
|
|
12
17
|
readonly Pcm22050: "pcm_22050";
|
|
13
18
|
readonly Pcm24000: "pcm_24000";
|
|
14
19
|
readonly Pcm32000: "pcm_32000";
|
|
15
20
|
readonly Pcm44100: "pcm_44100";
|
|
16
21
|
readonly Pcm48000: "pcm_48000";
|
|
22
|
+
readonly Pcm8000: "pcm_8000";
|
|
17
23
|
readonly Ulaw8000: "ulaw_8000";
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
readonly
|
|
24
|
+
readonly Wav16000: "wav_16000";
|
|
25
|
+
readonly Wav22050: "wav_22050";
|
|
26
|
+
readonly Wav24000: "wav_24000";
|
|
27
|
+
readonly Wav32000: "wav_32000";
|
|
28
|
+
readonly Wav44100: "wav_44100";
|
|
29
|
+
readonly Wav48000: "wav_48000";
|
|
30
|
+
readonly Wav8000: "wav_8000";
|
|
24
31
|
};
|
|
25
32
|
export type TextToSpeechConvertWithTimestampsRequestOutputFormat = (typeof TextToSpeechConvertWithTimestampsRequestOutputFormat)[keyof typeof TextToSpeechConvertWithTimestampsRequestOutputFormat];
|
|
@@ -2,27 +2,34 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.TextToSpeechConvertWithTimestampsRequestOutputFormat = void 0;
|
|
5
|
-
/** 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. */
|
|
5
|
+
/** 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. */
|
|
6
6
|
exports.TextToSpeechConvertWithTimestampsRequestOutputFormat = {
|
|
7
|
+
Alaw8000: "alaw_8000",
|
|
7
8
|
Mp32205032: "mp3_22050_32",
|
|
8
9
|
Mp32400048: "mp3_24000_48",
|
|
10
|
+
Mp344100128: "mp3_44100_128",
|
|
11
|
+
Mp344100192: "mp3_44100_192",
|
|
9
12
|
Mp34410032: "mp3_44100_32",
|
|
10
13
|
Mp34410064: "mp3_44100_64",
|
|
11
14
|
Mp34410096: "mp3_44100_96",
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
Opus48000128: "opus_48000_128",
|
|
16
|
+
Opus48000192: "opus_48000_192",
|
|
17
|
+
Opus4800032: "opus_48000_32",
|
|
18
|
+
Opus4800064: "opus_48000_64",
|
|
19
|
+
Opus4800096: "opus_48000_96",
|
|
15
20
|
Pcm16000: "pcm_16000",
|
|
16
21
|
Pcm22050: "pcm_22050",
|
|
17
22
|
Pcm24000: "pcm_24000",
|
|
18
23
|
Pcm32000: "pcm_32000",
|
|
19
24
|
Pcm44100: "pcm_44100",
|
|
20
25
|
Pcm48000: "pcm_48000",
|
|
26
|
+
Pcm8000: "pcm_8000",
|
|
21
27
|
Ulaw8000: "ulaw_8000",
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
Wav16000: "wav_16000",
|
|
29
|
+
Wav22050: "wav_22050",
|
|
30
|
+
Wav24000: "wav_24000",
|
|
31
|
+
Wav32000: "wav_32000",
|
|
32
|
+
Wav44100: "wav_44100",
|
|
33
|
+
Wav48000: "wav_48000",
|
|
34
|
+
Wav8000: "wav_8000",
|
|
28
35
|
};
|
|
@@ -47,6 +47,7 @@ exports.VoicesClient = void 0;
|
|
|
47
47
|
const BaseClient_1 = require("../../../../BaseClient");
|
|
48
48
|
const core = __importStar(require("../../../../core"));
|
|
49
49
|
const headers_1 = require("../../../../core/headers");
|
|
50
|
+
const json_1 = require("../../../../core/json");
|
|
50
51
|
const environments = __importStar(require("../../../../environments"));
|
|
51
52
|
const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCodeError");
|
|
52
53
|
const errors = __importStar(require("../../../../errors/index"));
|
|
@@ -420,7 +421,12 @@ class VoicesClient {
|
|
|
420
421
|
_request.append("description", request.description);
|
|
421
422
|
}
|
|
422
423
|
if (request.labels != null) {
|
|
423
|
-
_request.append("labels",
|
|
424
|
+
_request.append("labels", (() => {
|
|
425
|
+
const mapped = serializers.VoicesUpdateRequestLabels.jsonOrThrow(request.labels, {
|
|
426
|
+
unrecognizedObjectKeys: "strip",
|
|
427
|
+
});
|
|
428
|
+
return typeof mapped === "string" ? mapped : (0, json_1.toJson)(mapped);
|
|
429
|
+
})());
|
|
424
430
|
}
|
|
425
431
|
const _maybeEncodedRequest = yield _request.getRequest();
|
|
426
432
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "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 }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type * as core from "../../../../../core";
|
|
2
|
+
import type * as ElevenLabs from "../../../../index";
|
|
2
3
|
/**
|
|
3
4
|
* @example
|
|
4
5
|
* {
|
|
@@ -14,6 +15,6 @@ export interface BodyEditVoiceV1VoicesVoiceIdEditPost {
|
|
|
14
15
|
removeBackgroundNoise?: boolean;
|
|
15
16
|
/** A description of the voice. */
|
|
16
17
|
description?: string;
|
|
17
|
-
/**
|
|
18
|
-
labels?:
|
|
18
|
+
/** Labels for the voice. Keys can be language, accent, gender, or age. */
|
|
19
|
+
labels?: ElevenLabs.VoicesUpdateRequestLabels;
|
|
19
20
|
}
|
|
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.settings = exports.samples = exports.pvc = exports.ivc = void 0;
|
|
40
40
|
exports.ivc = __importStar(require("./ivc"));
|
|
41
41
|
__exportStar(require("./ivc/client/requests"), exports);
|
|
42
|
+
__exportStar(require("./ivc/types"), exports);
|
|
42
43
|
exports.pvc = __importStar(require("./pvc"));
|
|
43
44
|
__exportStar(require("./pvc/client/requests"), exports);
|
|
44
45
|
exports.samples = __importStar(require("./samples"));
|
|
@@ -47,6 +47,7 @@ exports.IvcClient = void 0;
|
|
|
47
47
|
const BaseClient_1 = require("../../../../../../BaseClient");
|
|
48
48
|
const core = __importStar(require("../../../../../../core"));
|
|
49
49
|
const headers_1 = require("../../../../../../core/headers");
|
|
50
|
+
const json_1 = require("../../../../../../core/json");
|
|
50
51
|
const environments = __importStar(require("../../../../../../environments"));
|
|
51
52
|
const handleNonStatusCodeError_1 = require("../../../../../../errors/handleNonStatusCodeError");
|
|
52
53
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
@@ -89,7 +90,12 @@ class IvcClient {
|
|
|
89
90
|
_request.append("description", request.description);
|
|
90
91
|
}
|
|
91
92
|
if (request.labels != null) {
|
|
92
|
-
_request.append("labels",
|
|
93
|
+
_request.append("labels", (() => {
|
|
94
|
+
const mapped = serializers.voices.IvcCreateRequestLabels.jsonOrThrow(request.labels, {
|
|
95
|
+
unrecognizedObjectKeys: "strip",
|
|
96
|
+
});
|
|
97
|
+
return typeof mapped === "string" ? mapped : (0, json_1.toJson)(mapped);
|
|
98
|
+
})());
|
|
93
99
|
}
|
|
94
100
|
const _maybeEncodedRequest = yield _request.getRequest();
|
|
95
101
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "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 }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
package/dist/api/resources/voices/resources/ivc/client/requests/BodyAddVoiceV1VoicesAddPost.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type * as core from "../../../../../../../core";
|
|
2
|
+
import type * as ElevenLabs from "../../../../../../index";
|
|
2
3
|
/**
|
|
3
4
|
* @example
|
|
4
5
|
* {
|
|
@@ -15,6 +16,6 @@ export interface BodyAddVoiceV1VoicesAddPost {
|
|
|
15
16
|
removeBackgroundNoise?: boolean;
|
|
16
17
|
/** A description of the voice. */
|
|
17
18
|
description?: string;
|
|
18
|
-
/**
|
|
19
|
-
labels?:
|
|
19
|
+
/** Labels for the voice. Keys can be language, accent, gender, or age. */
|
|
20
|
+
labels?: ElevenLabs.voices.IvcCreateRequestLabels;
|
|
20
21
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./IvcCreateRequestLabels";
|
|
@@ -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("./IvcCreateRequestLabels"), exports);
|
|
@@ -9,6 +9,6 @@ export interface BodyEditPvcVoiceV1VoicesPvcVoiceIdPost {
|
|
|
9
9
|
language?: string;
|
|
10
10
|
/** Description to use for the created voice. */
|
|
11
11
|
description?: string;
|
|
12
|
-
/**
|
|
12
|
+
/** Labels for the voice. Keys can be language, accent, gender, or age. */
|
|
13
13
|
labels?: Record<string, string | undefined>;
|
|
14
14
|
}
|
|
@@ -12,6 +12,6 @@ export interface CreatePvcVoiceRequest {
|
|
|
12
12
|
language: string;
|
|
13
13
|
/** Description to use for the created voice. */
|
|
14
14
|
description?: string;
|
|
15
|
-
/**
|
|
15
|
+
/** Labels for the voice. Keys can be language, accent, gender, or age. */
|
|
16
16
|
labels?: Record<string, string | undefined>;
|
|
17
17
|
}
|
|
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./VoicesGetSharedRequestCategory"), exports);
|
|
18
|
+
__exportStar(require("./VoicesUpdateRequestLabels"), exports);
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
1
2
|
export interface AddKnowledgeBaseResponseModel {
|
|
2
3
|
id: string;
|
|
3
4
|
name: string;
|
|
5
|
+
/** The folder path segments leading to this entity, from root to parent folder. */
|
|
6
|
+
folderPath?: ElevenLabs.KnowledgeBaseFolderPathSegmentSummaryResponseModel[];
|
|
4
7
|
}
|
|
@@ -2,6 +2,8 @@ import type * as ElevenLabs from "../index";
|
|
|
2
2
|
export interface ConversationHistoryAnalysisCommonModel {
|
|
3
3
|
evaluationCriteriaResults?: Record<string, ElevenLabs.ConversationHistoryEvaluationCriteriaResultCommonModel>;
|
|
4
4
|
dataCollectionResults?: Record<string, ElevenLabs.DataCollectionResultCommonModel>;
|
|
5
|
+
evaluationCriteriaResultsList?: ElevenLabs.ConversationHistoryEvaluationCriteriaResultCommonModel[];
|
|
6
|
+
dataCollectionResultsList?: ElevenLabs.DataCollectionResultCommonModel[];
|
|
5
7
|
callSuccessful: ElevenLabs.EvaluationSuccessResult;
|
|
6
8
|
transcriptSummary: string;
|
|
7
9
|
callSummaryTitle?: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom SIP header for phone transfers with a dynamic variable reference.
|
|
3
|
+
* The value is a variable name that will be resolved at runtime.
|
|
4
|
+
* Value is not validated here since it will be substituted with actual value later.
|
|
5
|
+
*/
|
|
6
|
+
export interface CustomSipHeaderWithDynamicVariable {
|
|
7
|
+
/** The SIP header name (e.g., 'X-Customer-ID') */
|
|
8
|
+
key: string;
|
|
9
|
+
/** The dynamic variable name to resolve */
|
|
10
|
+
value: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
export interface DirectPublishingReadResponseModel {
|
|
3
|
+
readId: string;
|
|
4
|
+
createdAtUnix: number;
|
|
5
|
+
updatedAtUnix: number;
|
|
6
|
+
wordCount: number;
|
|
7
|
+
charCount: number;
|
|
8
|
+
chapters: ElevenLabs.ReadMetadataChapterDbModel[];
|
|
9
|
+
title?: string;
|
|
10
|
+
author?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
articleImageUrl?: string;
|
|
13
|
+
language?: string;
|
|
14
|
+
displayMode?: ElevenLabs.DirectPublishingReadResponseModelDisplayMode;
|
|
15
|
+
genre?: ElevenLabs.DirectPublishingReadResponseModelGenreItem[];
|
|
16
|
+
fiction?: string;
|
|
17
|
+
contentType?: string;
|
|
18
|
+
originalFileType?: string;
|
|
19
|
+
targetAudience?: ElevenLabs.DirectPublishingReadResponseModelTargetAudience;
|
|
20
|
+
matureContent?: boolean;
|
|
21
|
+
origin?: string;
|
|
22
|
+
publicationDate?: string;
|
|
23
|
+
isbn?: string;
|
|
24
|
+
ean?: string;
|
|
25
|
+
legalTerms?: ElevenLabs.ReadLegalTerms;
|
|
26
|
+
contentGuidelinesTerms?: ElevenLabs.ReadLegalTerms;
|
|
27
|
+
publishingProjectId?: string;
|
|
28
|
+
publishingState?: string;
|
|
29
|
+
publisherProfileId?: string;
|
|
30
|
+
qualityScore?: number;
|
|
31
|
+
publisher?: string;
|
|
32
|
+
copyright?: string;
|
|
33
|
+
subtitle?: string;
|
|
34
|
+
distributionTerritories?: "worldwide"[];
|
|
35
|
+
edition?: string;
|
|
36
|
+
contributors?: ElevenLabs.Contributor[];
|
|
37
|
+
payoutType?: ElevenLabs.DirectPublishingReadResponseModelPayoutType;
|
|
38
|
+
listPrice?: number;
|
|
39
|
+
currency?: "usd";
|
|
40
|
+
originalAudioDocumentId?: string;
|
|
41
|
+
seriesId?: string;
|
|
42
|
+
volume?: number;
|
|
43
|
+
publishedAtUnix?: number;
|
|
44
|
+
readSlug?: string;
|
|
45
|
+
previewAudioObject?: ElevenLabs.PreviewAudioDbModel;
|
|
46
|
+
sampleConfig?: ElevenLabs.SampleConfigDbModel;
|
|
47
|
+
review?: ElevenLabs.ReviewResponseModel;
|
|
48
|
+
voiceId?: string;
|
|
49
|
+
canUseAssistant?: boolean;
|
|
50
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const DirectPublishingReadResponseModelDisplayMode: {
|
|
2
|
+
readonly Text: "text";
|
|
3
|
+
readonly AudioOnly: "audio-only";
|
|
4
|
+
readonly TextWithAudio: "text-with-audio";
|
|
5
|
+
};
|
|
6
|
+
export type DirectPublishingReadResponseModelDisplayMode = (typeof DirectPublishingReadResponseModelDisplayMode)[keyof typeof DirectPublishingReadResponseModelDisplayMode];
|
|
@@ -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.DirectPublishingReadResponseModelDisplayMode = void 0;
|
|
5
|
+
exports.DirectPublishingReadResponseModelDisplayMode = {
|
|
6
|
+
Text: "text",
|
|
7
|
+
AudioOnly: "audio-only",
|
|
8
|
+
TextWithAudio: "text-with-audio",
|
|
9
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const DirectPublishingReadResponseModelGenreItem: {
|
|
2
|
+
readonly Fantasy: "Fantasy";
|
|
3
|
+
readonly Romance: "Romance";
|
|
4
|
+
readonly ScienceFiction: "Science Fiction";
|
|
5
|
+
readonly MysteryAndThriller: "Mystery and Thriller";
|
|
6
|
+
readonly ActionAndAdventure: "Action and Adventure";
|
|
7
|
+
readonly Dystopia: "Dystopia";
|
|
8
|
+
readonly BusinessAndEconomics: "Business and Economics";
|
|
9
|
+
readonly Technology: "Technology";
|
|
10
|
+
readonly DetectiveAndCrime: "Detective and Crime";
|
|
11
|
+
readonly Horror: "Horror";
|
|
12
|
+
readonly BiographyAndMemoir: "Biography and Memoir";
|
|
13
|
+
readonly EducationAndLearning: "Education and Learning";
|
|
14
|
+
readonly History: "History";
|
|
15
|
+
readonly ChildrensLiterature: "Children's Literature";
|
|
16
|
+
readonly FairyTalesAndFolklore: "Fairy Tales and Folklore";
|
|
17
|
+
readonly FanFiction: "Fan Fiction";
|
|
18
|
+
readonly GeneralFiction: "General Fiction";
|
|
19
|
+
readonly HealthAndWellness: "Health and Wellness";
|
|
20
|
+
readonly HistoricalFiction: "Historical Fiction";
|
|
21
|
+
readonly Humor: "Humor";
|
|
22
|
+
readonly LiteraryClassics: "Literary Classics";
|
|
23
|
+
readonly Philosophy: "Philosophy";
|
|
24
|
+
readonly Poetry: "Poetry";
|
|
25
|
+
readonly PoliticsAndGovernment: "Politics and Government";
|
|
26
|
+
readonly Psychology: "Psychology";
|
|
27
|
+
readonly ScienceAndNature: "Science and Nature";
|
|
28
|
+
readonly SelfHelp: "Self-Help";
|
|
29
|
+
readonly SpiritualityAndReligion: "Spirituality and Religion";
|
|
30
|
+
readonly Travel: "Travel";
|
|
31
|
+
readonly TrueCrime: "True Crime";
|
|
32
|
+
readonly Other: "Other";
|
|
33
|
+
readonly AdultRomance: "Adult Romance";
|
|
34
|
+
};
|
|
35
|
+
export type DirectPublishingReadResponseModelGenreItem = (typeof DirectPublishingReadResponseModelGenreItem)[keyof typeof DirectPublishingReadResponseModelGenreItem];
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DirectPublishingReadResponseModelGenreItem = void 0;
|
|
5
|
+
exports.DirectPublishingReadResponseModelGenreItem = {
|
|
6
|
+
Fantasy: "Fantasy",
|
|
7
|
+
Romance: "Romance",
|
|
8
|
+
ScienceFiction: "Science Fiction",
|
|
9
|
+
MysteryAndThriller: "Mystery and Thriller",
|
|
10
|
+
ActionAndAdventure: "Action and Adventure",
|
|
11
|
+
Dystopia: "Dystopia",
|
|
12
|
+
BusinessAndEconomics: "Business and Economics",
|
|
13
|
+
Technology: "Technology",
|
|
14
|
+
DetectiveAndCrime: "Detective and Crime",
|
|
15
|
+
Horror: "Horror",
|
|
16
|
+
BiographyAndMemoir: "Biography and Memoir",
|
|
17
|
+
EducationAndLearning: "Education and Learning",
|
|
18
|
+
History: "History",
|
|
19
|
+
ChildrensLiterature: "Children's Literature",
|
|
20
|
+
FairyTalesAndFolklore: "Fairy Tales and Folklore",
|
|
21
|
+
FanFiction: "Fan Fiction",
|
|
22
|
+
GeneralFiction: "General Fiction",
|
|
23
|
+
HealthAndWellness: "Health and Wellness",
|
|
24
|
+
HistoricalFiction: "Historical Fiction",
|
|
25
|
+
Humor: "Humor",
|
|
26
|
+
LiteraryClassics: "Literary Classics",
|
|
27
|
+
Philosophy: "Philosophy",
|
|
28
|
+
Poetry: "Poetry",
|
|
29
|
+
PoliticsAndGovernment: "Politics and Government",
|
|
30
|
+
Psychology: "Psychology",
|
|
31
|
+
ScienceAndNature: "Science and Nature",
|
|
32
|
+
SelfHelp: "Self-Help",
|
|
33
|
+
SpiritualityAndReligion: "Spirituality and Religion",
|
|
34
|
+
Travel: "Travel",
|
|
35
|
+
TrueCrime: "True Crime",
|
|
36
|
+
Other: "Other",
|
|
37
|
+
AdultRomance: "Adult Romance",
|
|
38
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const DirectPublishingReadResponseModelPayoutType: {
|
|
2
|
+
readonly None: "none";
|
|
3
|
+
readonly EngagementBased: "engagement_based";
|
|
4
|
+
readonly FixedPayout: "fixed_payout";
|
|
5
|
+
};
|
|
6
|
+
export type DirectPublishingReadResponseModelPayoutType = (typeof DirectPublishingReadResponseModelPayoutType)[keyof typeof DirectPublishingReadResponseModelPayoutType];
|
|
@@ -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.DirectPublishingReadResponseModelPayoutType = void 0;
|
|
5
|
+
exports.DirectPublishingReadResponseModelPayoutType = {
|
|
6
|
+
None: "none",
|
|
7
|
+
EngagementBased: "engagement_based",
|
|
8
|
+
FixedPayout: "fixed_payout",
|
|
9
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const DirectPublishingReadResponseModelTargetAudience: {
|
|
2
|
+
readonly Children: "children";
|
|
3
|
+
readonly YoungAdult: "young adult";
|
|
4
|
+
readonly Adult: "adult";
|
|
5
|
+
readonly AllAges: "all ages";
|
|
6
|
+
};
|
|
7
|
+
export type DirectPublishingReadResponseModelTargetAudience = (typeof DirectPublishingReadResponseModelTargetAudience)[keyof typeof DirectPublishingReadResponseModelTargetAudience];
|