@elevenlabs/elevenlabs-js 2.31.0 → 2.33.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/.fern/metadata.json +1 -1
- package/BaseClient.js +2 -2
- package/Client.d.ts +10 -0
- package/Client.js +39 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +12 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.js +28 -8
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +94 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +399 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/index.d.ts +1 -0
- package/{dist/serialization/resources/workspace/resources/members/types → api/resources/conversationalAi/resources/agents/resources/branches/client}/index.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.d.ts +23 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +12 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +11 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +3 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesListRequest.d.ts +13 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesListRequest.js +3 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +4 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/index.d.ts +1 -0
- package/{serialization/resources/workspace/resources/members/types → api/resources/conversationalAi/resources/agents/resources/branches}/index.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.d.ts +37 -0
- package/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +134 -0
- package/api/resources/conversationalAi/resources/agents/resources/deployments/client/index.d.ts +1 -0
- package/{dist/api/resources/workspace/resources/members/types → api/resources/conversationalAi/resources/agents/resources/deployments/client}/index.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.d.ts +19 -0
- package/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js +3 -0
- package/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/deployments/index.d.ts +1 -0
- package/api/resources/{workspace/resources/members/types → conversationalAi/resources/agents/resources/deployments}/index.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.d.ts +197 -0
- package/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +342 -0
- package/api/resources/conversationalAi/resources/agents/resources/drafts/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/drafts/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.d.ts +173 -0
- package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.js +3 -0
- package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/DraftsDeleteRequest.d.ts +10 -0
- package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/DraftsDeleteRequest.js +3 -0
- package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/drafts/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/drafts/index.js +17 -0
- package/api/resources/conversationalAi/resources/agents/resources/index.d.ts +9 -0
- package/api/resources/conversationalAi/resources/agents/resources/index.js +10 -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/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +44 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +178 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.d.ts +12 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.js +3 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +12 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +3 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.d.ts +8 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.js +3 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +3 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +10 -2
- package/api/resources/conversationalAi/resources/tools/client/Client.js +44 -6
- package/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +28 -0
- package/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.js +3 -0
- package/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +1 -1
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +1 -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 +6 -1
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +7 -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/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -1
- package/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -1
- 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/resources/workspace/resources/index.d.ts +0 -2
- package/api/resources/workspace/resources/index.js +0 -2
- package/api/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +4 -2
- package/api/resources/workspace/resources/invites/index.d.ts +0 -1
- package/api/resources/workspace/resources/invites/index.js +0 -1
- package/api/resources/workspace/resources/members/client/requests/UpdateMemberRequest.d.ts +4 -2
- package/api/resources/workspace/resources/members/index.d.ts +0 -1
- package/api/resources/workspace/resources/members/index.js +0 -1
- package/api/resources/workspace/resources/resources/client/Client.d.ts +0 -17
- package/api/resources/workspace/resources/resources/client/Client.js +0 -59
- package/api/resources/workspace/resources/resources/client/requests/index.d.ts +0 -1
- package/api/types/AddKnowledgeBaseResponseModel.d.ts +3 -0
- package/api/types/AgentBranchBasicInfo.d.ts +4 -0
- package/api/types/AgentBranchBasicInfo.js +3 -0
- package/api/types/AgentBranchResponse.d.ts +19 -0
- package/api/types/AgentBranchResponse.js +3 -0
- package/api/types/AgentBranchSummary.d.ts +17 -0
- package/api/types/AgentBranchSummary.js +3 -0
- package/api/types/AgentDeploymentPercentageStrategy.d.ts +5 -0
- package/api/types/AgentDeploymentPercentageStrategy.js +3 -0
- package/api/types/AgentDeploymentRequest.d.ts +5 -0
- package/api/types/AgentDeploymentRequest.js +3 -0
- package/api/types/AgentDeploymentRequestItem.d.ts +6 -0
- package/api/types/AgentDeploymentRequestItem.js +3 -0
- package/api/types/AgentDeploymentResponse.d.ts +4 -0
- package/api/types/AgentDeploymentResponse.js +3 -0
- package/api/types/AgentSummaryBatchSuccessfulResponseModel.d.ts +4 -0
- package/api/types/AgentSummaryBatchSuccessfulResponseModel.js +3 -0
- package/api/types/AgentVersionMetadata.d.ts +11 -0
- package/api/types/AgentVersionMetadata.js +3 -0
- package/api/types/AgentVersionParents.d.ts +6 -0
- package/api/types/AgentVersionParents.js +3 -0
- package/api/types/BranchProtectionStatus.d.ts +5 -0
- package/api/types/BranchProtectionStatus.js +8 -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/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/api/types/CreateAgentBranchResponseModel.d.ts +6 -0
- package/api/types/CreateAgentBranchResponseModel.js +3 -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 +51 -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/GetConversationResponseModel.d.ts +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/ListResponseAgentBranchSummary.d.ts +5 -0
- package/api/types/ListResponseAgentBranchSummary.js +3 -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} +9 -2
- package/{dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js → api/types/PermissionType.js} +9 -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/ProjectCreationMetaResponseModelType.d.ts +1 -0
- package/api/types/ProjectCreationMetaResponseModelType.js +1 -0
- package/api/types/ProjectExtendedResponse.d.ts +4 -0
- package/api/types/ProjectResponse.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/SeatType.d.ts +5 -0
- package/{dist/api/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → api/types/SeatType.js} +2 -2
- package/api/types/SongMetadata.d.ts +4 -0
- package/api/types/SpellingPatience.d.ts +6 -0
- package/api/types/SpellingPatience.js +9 -0
- package/api/types/ToolSortBy.d.ts +5 -0
- package/api/types/ToolSortBy.js +8 -0
- package/api/types/ToolTypeFilter.d.ts +6 -0
- package/api/types/ToolTypeFilter.js +9 -0
- package/api/types/ToolsResponseModel.d.ts +2 -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 +38 -1
- package/api/types/index.js +38 -1
- package/dist/BaseClient.js +2 -2
- package/dist/Client.d.ts +10 -0
- package/dist/Client.js +39 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +12 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +28 -8
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +94 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +399 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.d.ts +23 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +12 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +11 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesListRequest.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesListRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +4 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.d.ts +37 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +134 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.d.ts +19 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.d.ts +197 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +342 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.d.ts +173 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/DraftsDeleteRequest.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/DraftsDeleteRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/index.d.ts +9 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/index.js +10 -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/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +44 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +178 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.d.ts +12 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +12 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.d.ts +8 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +10 -2
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +44 -6
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +28 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +1 -1
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +1 -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 +6 -1
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +7 -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/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -1
- package/dist/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -1
- 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/resources/workspace/resources/index.d.ts +0 -2
- package/dist/api/resources/workspace/resources/index.js +0 -2
- package/dist/api/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +4 -2
- package/dist/api/resources/workspace/resources/invites/index.d.ts +0 -1
- package/dist/api/resources/workspace/resources/invites/index.js +0 -1
- package/dist/api/resources/workspace/resources/members/client/requests/UpdateMemberRequest.d.ts +4 -2
- package/dist/api/resources/workspace/resources/members/index.d.ts +0 -1
- package/dist/api/resources/workspace/resources/members/index.js +0 -1
- package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +0 -17
- package/dist/api/resources/workspace/resources/resources/client/Client.js +0 -59
- package/dist/api/resources/workspace/resources/resources/client/requests/index.d.ts +0 -1
- package/dist/api/types/AddKnowledgeBaseResponseModel.d.ts +3 -0
- package/dist/api/types/AgentBranchBasicInfo.d.ts +4 -0
- package/dist/api/types/AgentBranchBasicInfo.js +3 -0
- package/dist/api/types/AgentBranchResponse.d.ts +19 -0
- package/dist/api/types/AgentBranchResponse.js +3 -0
- package/dist/api/types/AgentBranchSummary.d.ts +17 -0
- package/dist/api/types/AgentBranchSummary.js +3 -0
- package/dist/api/types/AgentDeploymentPercentageStrategy.d.ts +5 -0
- package/dist/api/types/AgentDeploymentPercentageStrategy.js +3 -0
- package/dist/api/types/AgentDeploymentRequest.d.ts +5 -0
- package/dist/api/types/AgentDeploymentRequest.js +3 -0
- package/dist/api/types/AgentDeploymentRequestItem.d.ts +6 -0
- package/dist/api/types/AgentDeploymentRequestItem.js +3 -0
- package/dist/api/types/AgentDeploymentResponse.d.ts +4 -0
- package/dist/api/types/AgentDeploymentResponse.js +3 -0
- package/dist/api/types/AgentSummaryBatchSuccessfulResponseModel.d.ts +4 -0
- package/dist/api/types/AgentSummaryBatchSuccessfulResponseModel.js +3 -0
- package/dist/api/types/AgentVersionMetadata.d.ts +11 -0
- package/dist/api/types/AgentVersionMetadata.js +3 -0
- package/dist/api/types/AgentVersionParents.d.ts +6 -0
- package/dist/api/types/AgentVersionParents.js +3 -0
- package/dist/api/types/BranchProtectionStatus.d.ts +5 -0
- package/dist/api/types/BranchProtectionStatus.js +8 -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/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/dist/api/types/CreateAgentBranchResponseModel.d.ts +6 -0
- package/dist/api/types/CreateAgentBranchResponseModel.js +3 -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 +51 -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/GetConversationResponseModel.d.ts +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/ListResponseAgentBranchSummary.d.ts +5 -0
- package/dist/api/types/ListResponseAgentBranchSummary.js +3 -0
- package/dist/api/types/LiteralJsonSchemaProperty.d.ts +7 -4
- package/dist/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
- package/dist/api/{resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts → types/PermissionType.d.ts} +9 -2
- package/{api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js → dist/api/types/PermissionType.js} +9 -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/ProjectCreationMetaResponseModelType.d.ts +1 -0
- package/dist/api/types/ProjectCreationMetaResponseModelType.js +1 -0
- package/dist/api/types/ProjectExtendedResponse.d.ts +4 -0
- package/dist/api/types/ProjectResponse.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/SeatType.d.ts +5 -0
- package/{api/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → dist/api/types/SeatType.js} +2 -2
- package/dist/api/types/SongMetadata.d.ts +4 -0
- package/dist/api/types/SpellingPatience.d.ts +6 -0
- package/dist/api/types/SpellingPatience.js +9 -0
- package/dist/api/types/ToolSortBy.d.ts +5 -0
- package/dist/api/types/ToolSortBy.js +8 -0
- package/dist/api/types/ToolTypeFilter.d.ts +6 -0
- package/dist/api/types/ToolTypeFilter.js +9 -0
- package/dist/api/types/ToolsResponseModel.d.ts +2 -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 +38 -1
- package/dist/api/types/index.js +38 -1
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.d.ts +15 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.js +47 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +9 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +11 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +43 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.js +9 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.d.ts +10 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js +42 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.d.ts +14 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.js +46 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +8 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.js +9 -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/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.d.ts +10 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.js +42 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +10 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +42 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.d.ts +9 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.js +7 -1
- 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/{serialization/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.js} +2 -2
- 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/{serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js → dist/serialization/resources/voices/resources/ivc/types/IvcCreateRequestLabels.js} +4 -20
- 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/resources/workspace/resources/index.d.ts +0 -2
- package/dist/serialization/resources/workspace/resources/index.js +0 -2
- package/dist/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +3 -2
- package/dist/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.js +3 -2
- package/dist/serialization/resources/workspace/resources/invites/index.d.ts +0 -1
- package/dist/serialization/resources/workspace/resources/invites/index.js +0 -1
- package/dist/serialization/resources/workspace/resources/members/client/requests/UpdateMemberRequest.d.ts +3 -2
- package/dist/serialization/resources/workspace/resources/members/client/requests/UpdateMemberRequest.js +3 -2
- package/dist/serialization/resources/workspace/resources/members/index.d.ts +0 -1
- package/dist/serialization/resources/workspace/resources/members/index.js +0 -1
- package/dist/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/workspace/resources/resources/client/requests/index.js +1 -3
- package/dist/serialization/types/AddKnowledgeBaseResponseModel.d.ts +2 -0
- package/dist/serialization/types/AddKnowledgeBaseResponseModel.js +2 -0
- package/dist/serialization/types/AgentBranchBasicInfo.d.ts +10 -0
- package/dist/serialization/types/AgentBranchBasicInfo.js +42 -0
- package/dist/serialization/types/AgentBranchResponse.d.ts +24 -0
- package/dist/serialization/types/AgentBranchResponse.js +56 -0
- package/dist/serialization/types/AgentBranchSummary.d.ts +21 -0
- package/dist/serialization/types/AgentBranchSummary.js +53 -0
- package/dist/serialization/types/AgentDeploymentPercentageStrategy.d.ts +10 -0
- package/dist/serialization/types/AgentDeploymentPercentageStrategy.js +42 -0
- package/dist/serialization/types/AgentDeploymentRequest.d.ts +10 -0
- package/dist/serialization/types/AgentDeploymentRequest.js +42 -0
- package/dist/serialization/types/AgentDeploymentRequestItem.d.ts +11 -0
- package/dist/serialization/{resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → types/AgentDeploymentRequestItem.js} +6 -6
- package/dist/serialization/types/AgentDeploymentResponse.d.ts +9 -0
- package/dist/serialization/types/AgentDeploymentResponse.js +41 -0
- package/dist/serialization/types/AgentSummaryBatchSuccessfulResponseModel.d.ts +10 -0
- package/{serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → dist/serialization/types/AgentSummaryBatchSuccessfulResponseModel.js} +5 -6
- package/dist/serialization/types/AgentVersionMetadata.d.ts +18 -0
- package/dist/serialization/types/AgentVersionMetadata.js +50 -0
- package/dist/serialization/types/AgentVersionParents.d.ts +12 -0
- package/dist/serialization/types/AgentVersionParents.js +44 -0
- package/dist/serialization/types/BranchProtectionStatus.d.ts +7 -0
- package/dist/serialization/types/BranchProtectionStatus.js +39 -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/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
- package/dist/serialization/types/CreateAgentBranchResponseModel.d.ts +10 -0
- package/dist/serialization/types/CreateAgentBranchResponseModel.js +42 -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 +66 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.js +98 -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/GetConversationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetConversationResponseModel.js +1 -0
- 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/ListResponseAgentBranchSummary.d.ts +12 -0
- package/dist/serialization/types/ListResponseAgentBranchSummary.js +44 -0
- package/{serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts → dist/serialization/types/PermissionType.d.ts} +3 -3
- package/{serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js → dist/serialization/types/PermissionType.js} +9 -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/ProjectCreationMetaResponseModelType.d.ts +1 -1
- package/dist/serialization/types/ProjectCreationMetaResponseModelType.js +1 -1
- package/dist/serialization/types/ProjectExtendedResponse.d.ts +3 -0
- package/dist/serialization/types/ProjectExtendedResponse.js +3 -0
- package/dist/serialization/types/ProjectResponse.d.ts +1 -0
- package/dist/serialization/types/ProjectResponse.js +1 -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/types/ReviewResponseModel.js +48 -0
- 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/SeatType.d.ts +7 -0
- package/dist/serialization/types/SeatType.js +39 -0
- package/dist/serialization/types/SongMetadata.d.ts +2 -0
- package/dist/serialization/types/SongMetadata.js +2 -0
- package/dist/serialization/types/SpellingPatience.d.ts +7 -0
- package/dist/serialization/types/SpellingPatience.js +39 -0
- package/dist/serialization/types/ToolSortBy.d.ts +7 -0
- package/dist/serialization/types/ToolSortBy.js +39 -0
- package/dist/serialization/types/ToolTypeFilter.d.ts +7 -0
- package/dist/serialization/types/ToolTypeFilter.js +39 -0
- package/dist/serialization/types/ToolsResponseModel.d.ts +2 -0
- package/dist/serialization/types/ToolsResponseModel.js +2 -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 +38 -1
- package/dist/serialization/types/index.js +38 -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 +1166 -132
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.d.ts +15 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.js +47 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +9 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js +41 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +11 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +43 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +3 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.js +9 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.d.ts +10 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js +42 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/deployments/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/deployments/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.d.ts +14 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.js +46 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/drafts/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/drafts/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +8 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/index.js +9 -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/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.d.ts +10 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.js +42 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +10 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +42 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.d.ts +9 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.js +41 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +3 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.js +7 -1
- 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/{dist/serialization/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → serialization/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.js} +2 -2
- 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/{dist/serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js → serialization/resources/voices/resources/ivc/types/IvcCreateRequestLabels.js} +4 -20
- 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/resources/workspace/resources/index.d.ts +0 -2
- package/serialization/resources/workspace/resources/index.js +0 -2
- package/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +3 -2
- package/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.js +3 -2
- package/serialization/resources/workspace/resources/invites/index.d.ts +0 -1
- package/serialization/resources/workspace/resources/invites/index.js +0 -1
- package/serialization/resources/workspace/resources/members/client/requests/UpdateMemberRequest.d.ts +3 -2
- package/serialization/resources/workspace/resources/members/client/requests/UpdateMemberRequest.js +3 -2
- package/serialization/resources/workspace/resources/members/index.d.ts +0 -1
- package/serialization/resources/workspace/resources/members/index.js +0 -1
- package/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +0 -1
- package/serialization/resources/workspace/resources/resources/client/requests/index.js +1 -3
- package/serialization/types/AddKnowledgeBaseResponseModel.d.ts +2 -0
- package/serialization/types/AddKnowledgeBaseResponseModel.js +2 -0
- package/serialization/types/AgentBranchBasicInfo.d.ts +10 -0
- package/serialization/types/AgentBranchBasicInfo.js +42 -0
- package/serialization/types/AgentBranchResponse.d.ts +24 -0
- package/serialization/types/AgentBranchResponse.js +56 -0
- package/serialization/types/AgentBranchSummary.d.ts +21 -0
- package/serialization/types/AgentBranchSummary.js +53 -0
- package/serialization/types/AgentDeploymentPercentageStrategy.d.ts +10 -0
- package/serialization/types/AgentDeploymentPercentageStrategy.js +42 -0
- package/serialization/types/AgentDeploymentRequest.d.ts +10 -0
- package/serialization/types/AgentDeploymentRequest.js +42 -0
- package/serialization/types/AgentDeploymentRequestItem.d.ts +11 -0
- package/serialization/types/AgentDeploymentRequestItem.js +43 -0
- package/serialization/types/AgentDeploymentResponse.d.ts +9 -0
- package/serialization/types/AgentDeploymentResponse.js +41 -0
- package/serialization/types/AgentSummaryBatchSuccessfulResponseModel.d.ts +10 -0
- package/serialization/types/AgentSummaryBatchSuccessfulResponseModel.js +42 -0
- package/serialization/types/AgentVersionMetadata.d.ts +18 -0
- package/serialization/types/AgentVersionMetadata.js +50 -0
- package/serialization/types/AgentVersionParents.d.ts +12 -0
- package/serialization/types/AgentVersionParents.js +44 -0
- package/serialization/types/BranchProtectionStatus.d.ts +7 -0
- package/serialization/types/BranchProtectionStatus.js +39 -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/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
- package/serialization/types/CreateAgentBranchResponseModel.d.ts +10 -0
- package/serialization/types/CreateAgentBranchResponseModel.js +42 -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 +66 -0
- package/serialization/types/DirectPublishingReadResponseModel.js +98 -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/GetConversationResponseModel.d.ts +1 -0
- package/serialization/types/GetConversationResponseModel.js +1 -0
- 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/ListResponseAgentBranchSummary.d.ts +12 -0
- package/serialization/types/ListResponseAgentBranchSummary.js +44 -0
- package/{dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts → serialization/types/PermissionType.d.ts} +3 -3
- package/{dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js → serialization/types/PermissionType.js} +9 -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/ProjectCreationMetaResponseModelType.d.ts +1 -1
- package/serialization/types/ProjectCreationMetaResponseModelType.js +1 -1
- package/serialization/types/ProjectExtendedResponse.d.ts +3 -0
- package/serialization/types/ProjectExtendedResponse.js +3 -0
- package/serialization/types/ProjectResponse.d.ts +1 -0
- package/serialization/types/ProjectResponse.js +1 -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/SeatType.d.ts +7 -0
- package/serialization/types/SeatType.js +39 -0
- package/serialization/types/SongMetadata.d.ts +2 -0
- package/serialization/types/SongMetadata.js +2 -0
- package/serialization/types/SpellingPatience.d.ts +7 -0
- package/serialization/types/SpellingPatience.js +39 -0
- package/serialization/types/ToolSortBy.d.ts +7 -0
- package/serialization/types/ToolSortBy.js +39 -0
- package/serialization/types/ToolTypeFilter.d.ts +7 -0
- package/serialization/types/ToolTypeFilter.js +39 -0
- package/serialization/types/ToolsResponseModel.d.ts +2 -0
- package/serialization/types/ToolsResponseModel.js +2 -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 +38 -1
- package/serialization/types/index.js +38 -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/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +0 -21
- package/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js +0 -24
- package/api/resources/workspace/resources/invites/types/index.d.ts +0 -1
- package/api/resources/workspace/resources/invites/types/index.js +0 -17
- package/api/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.d.ts +0 -5
- package/api/resources/workspace/resources/members/types/index.d.ts +0 -1
- package/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +0 -14
- package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +0 -31
- package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.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/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +0 -21
- package/dist/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js +0 -24
- package/dist/api/resources/workspace/resources/invites/types/index.d.ts +0 -1
- package/dist/api/resources/workspace/resources/invites/types/index.js +0 -17
- package/dist/api/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.d.ts +0 -5
- package/dist/api/resources/workspace/resources/members/types/index.d.ts +0 -1
- package/dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +0 -14
- 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/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js +0 -68
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts +0 -7
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js +0 -68
- package/dist/serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +0 -7
- package/dist/serialization/resources/workspace/resources/invites/types/index.d.ts +0 -1
- package/dist/serialization/resources/workspace/resources/invites/types/index.js +0 -17
- package/dist/serialization/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.d.ts +0 -7
- package/dist/serialization/resources/workspace/resources/members/types/index.d.ts +0 -1
- package/dist/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +0 -11
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts +0 -7
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js +0 -68
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts +0 -7
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js +0 -68
- package/serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +0 -7
- package/serialization/resources/workspace/resources/invites/types/index.d.ts +0 -1
- package/serialization/resources/workspace/resources/invites/types/index.js +0 -17
- package/serialization/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.d.ts +0 -7
- package/serialization/resources/workspace/resources/members/types/index.d.ts +0 -1
- package/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +0 -11
- /package/api/resources/{workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.js} +0 -0
- /package/{dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js} +0 -0
package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js
CHANGED
|
@@ -271,6 +271,71 @@ class DocumentsClient {
|
|
|
271
271
|
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/convai/knowledge-base/text");
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
|
+
/**
|
|
275
|
+
* Create a folder used for grouping documents together.
|
|
276
|
+
*
|
|
277
|
+
* @param {ElevenLabs.conversationalAi.knowledgeBase.BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost} request
|
|
278
|
+
* @param {DocumentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
279
|
+
*
|
|
280
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
281
|
+
*
|
|
282
|
+
* @example
|
|
283
|
+
* await client.conversationalAi.knowledgeBase.documents.createFolder({
|
|
284
|
+
* name: "name"
|
|
285
|
+
* })
|
|
286
|
+
*/
|
|
287
|
+
createFolder(request, requestOptions) {
|
|
288
|
+
return core.HttpResponsePromise.fromPromise(this.__createFolder(request, requestOptions));
|
|
289
|
+
}
|
|
290
|
+
__createFolder(request, requestOptions) {
|
|
291
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
292
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
293
|
+
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);
|
|
294
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
295
|
+
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/knowledge-base/folder"),
|
|
296
|
+
method: "POST",
|
|
297
|
+
headers: _headers,
|
|
298
|
+
contentType: "application/json",
|
|
299
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
300
|
+
requestType: "json",
|
|
301
|
+
body: serializers.conversationalAi.knowledgeBase.BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
302
|
+
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,
|
|
303
|
+
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,
|
|
304
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
305
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
306
|
+
logging: this._options.logging,
|
|
307
|
+
});
|
|
308
|
+
if (_response.ok) {
|
|
309
|
+
return {
|
|
310
|
+
data: serializers.AddKnowledgeBaseResponseModel.parseOrThrow(_response.body, {
|
|
311
|
+
unrecognizedObjectKeys: "passthrough",
|
|
312
|
+
allowUnrecognizedUnionMembers: true,
|
|
313
|
+
allowUnrecognizedEnumValues: true,
|
|
314
|
+
breadcrumbsPrefix: ["response"],
|
|
315
|
+
}),
|
|
316
|
+
rawResponse: _response.rawResponse,
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
if (_response.error.reason === "status-code") {
|
|
320
|
+
switch (_response.error.statusCode) {
|
|
321
|
+
case 422:
|
|
322
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
323
|
+
unrecognizedObjectKeys: "passthrough",
|
|
324
|
+
allowUnrecognizedUnionMembers: true,
|
|
325
|
+
allowUnrecognizedEnumValues: true,
|
|
326
|
+
breadcrumbsPrefix: ["response"],
|
|
327
|
+
}), _response.rawResponse);
|
|
328
|
+
default:
|
|
329
|
+
throw new errors.ElevenLabsError({
|
|
330
|
+
statusCode: _response.error.statusCode,
|
|
331
|
+
body: _response.error.body,
|
|
332
|
+
rawResponse: _response.rawResponse,
|
|
333
|
+
});
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/convai/knowledge-base/folder");
|
|
337
|
+
});
|
|
338
|
+
}
|
|
274
339
|
/**
|
|
275
340
|
* Get details about a specific documentation making up the agent's knowledge base
|
|
276
341
|
*
|
|
@@ -655,5 +720,118 @@ class DocumentsClient {
|
|
|
655
720
|
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/knowledge-base/{documentation_id}/source-file-url");
|
|
656
721
|
});
|
|
657
722
|
}
|
|
723
|
+
/**
|
|
724
|
+
* Moves the entity from one folder to another.
|
|
725
|
+
*
|
|
726
|
+
* @param {string} document_id - The id of a document from the knowledge base. This is returned on document addition.
|
|
727
|
+
* @param {ElevenLabs.conversationalAi.knowledgeBase.BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost} request
|
|
728
|
+
* @param {DocumentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
729
|
+
*
|
|
730
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
731
|
+
*
|
|
732
|
+
* @example
|
|
733
|
+
* await client.conversationalAi.knowledgeBase.documents.move("21m00Tcm4TlvDq8ikWAM")
|
|
734
|
+
*/
|
|
735
|
+
move(document_id, request = {}, requestOptions) {
|
|
736
|
+
return core.HttpResponsePromise.fromPromise(this.__move(document_id, request, requestOptions));
|
|
737
|
+
}
|
|
738
|
+
__move(document_id_1) {
|
|
739
|
+
return __awaiter(this, arguments, void 0, function* (document_id, request = {}, requestOptions) {
|
|
740
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
741
|
+
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);
|
|
742
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
743
|
+
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/knowledge-base/${core.url.encodePathParam(document_id)}/move`),
|
|
744
|
+
method: "POST",
|
|
745
|
+
headers: _headers,
|
|
746
|
+
contentType: "application/json",
|
|
747
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
748
|
+
requestType: "json",
|
|
749
|
+
body: serializers.conversationalAi.knowledgeBase.BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
750
|
+
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,
|
|
751
|
+
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,
|
|
752
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
753
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
754
|
+
logging: this._options.logging,
|
|
755
|
+
});
|
|
756
|
+
if (_response.ok) {
|
|
757
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
758
|
+
}
|
|
759
|
+
if (_response.error.reason === "status-code") {
|
|
760
|
+
switch (_response.error.statusCode) {
|
|
761
|
+
case 422:
|
|
762
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
763
|
+
unrecognizedObjectKeys: "passthrough",
|
|
764
|
+
allowUnrecognizedUnionMembers: true,
|
|
765
|
+
allowUnrecognizedEnumValues: true,
|
|
766
|
+
breadcrumbsPrefix: ["response"],
|
|
767
|
+
}), _response.rawResponse);
|
|
768
|
+
default:
|
|
769
|
+
throw new errors.ElevenLabsError({
|
|
770
|
+
statusCode: _response.error.statusCode,
|
|
771
|
+
body: _response.error.body,
|
|
772
|
+
rawResponse: _response.rawResponse,
|
|
773
|
+
});
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/convai/knowledge-base/{document_id}/move");
|
|
777
|
+
});
|
|
778
|
+
}
|
|
779
|
+
/**
|
|
780
|
+
* Moves multiple entities from one folder to another.
|
|
781
|
+
*
|
|
782
|
+
* @param {ElevenLabs.conversationalAi.knowledgeBase.BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost} request
|
|
783
|
+
* @param {DocumentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
784
|
+
*
|
|
785
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
786
|
+
*
|
|
787
|
+
* @example
|
|
788
|
+
* await client.conversationalAi.knowledgeBase.documents.bulkMove({
|
|
789
|
+
* documentIds: ["21m00Tcm4TlvDq8ikWAM", "31m00Tcm4TlvDq8ikWBM"]
|
|
790
|
+
* })
|
|
791
|
+
*/
|
|
792
|
+
bulkMove(request, requestOptions) {
|
|
793
|
+
return core.HttpResponsePromise.fromPromise(this.__bulkMove(request, requestOptions));
|
|
794
|
+
}
|
|
795
|
+
__bulkMove(request, requestOptions) {
|
|
796
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
797
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
798
|
+
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);
|
|
799
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
800
|
+
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/knowledge-base/bulk-move"),
|
|
801
|
+
method: "POST",
|
|
802
|
+
headers: _headers,
|
|
803
|
+
contentType: "application/json",
|
|
804
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
805
|
+
requestType: "json",
|
|
806
|
+
body: serializers.conversationalAi.knowledgeBase.BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
807
|
+
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,
|
|
808
|
+
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,
|
|
809
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
810
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
811
|
+
logging: this._options.logging,
|
|
812
|
+
});
|
|
813
|
+
if (_response.ok) {
|
|
814
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
815
|
+
}
|
|
816
|
+
if (_response.error.reason === "status-code") {
|
|
817
|
+
switch (_response.error.statusCode) {
|
|
818
|
+
case 422:
|
|
819
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
820
|
+
unrecognizedObjectKeys: "passthrough",
|
|
821
|
+
allowUnrecognizedUnionMembers: true,
|
|
822
|
+
allowUnrecognizedEnumValues: true,
|
|
823
|
+
breadcrumbsPrefix: ["response"],
|
|
824
|
+
}), _response.rawResponse);
|
|
825
|
+
default:
|
|
826
|
+
throw new errors.ElevenLabsError({
|
|
827
|
+
statusCode: _response.error.statusCode,
|
|
828
|
+
body: _response.error.body,
|
|
829
|
+
rawResponse: _response.rawResponse,
|
|
830
|
+
});
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/convai/knowledge-base/bulk-move");
|
|
834
|
+
});
|
|
835
|
+
}
|
|
658
836
|
}
|
|
659
837
|
exports.DocumentsClient = DocumentsClient;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* documentIds: ["21m00Tcm4TlvDq8ikWAM", "31m00Tcm4TlvDq8ikWBM"]
|
|
5
|
+
* }
|
|
6
|
+
*/
|
|
7
|
+
export interface BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost {
|
|
8
|
+
/** The ids of documents or folders from the knowledge base. */
|
|
9
|
+
documentIds: string[];
|
|
10
|
+
/** The folder to move the entities to. If not set, the entities will be moved to the root folder. */
|
|
11
|
+
moveTo?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* name: "name"
|
|
5
|
+
* }
|
|
6
|
+
*/
|
|
7
|
+
export interface BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost {
|
|
8
|
+
/** A custom, human-readable name for the document. */
|
|
9
|
+
name: string;
|
|
10
|
+
/** If set, the created document or folder will be placed inside the given folder. */
|
|
11
|
+
parentFolderId?: string;
|
|
12
|
+
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
export type { BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost } from "./BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost";
|
|
1
2
|
export type { BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePost } from "./BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePost";
|
|
3
|
+
export type { BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost } from "./BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost";
|
|
2
4
|
export type { BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost } from "./BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost";
|
|
3
5
|
export type { BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost } from "./BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost";
|
|
6
|
+
export type { BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost } from "./BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost";
|
|
4
7
|
export type { BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch } from "./BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch";
|
|
5
8
|
export type { DocumentsDeleteRequest } from "./DocumentsDeleteRequest";
|
|
6
9
|
export type { DocumentsGetAgentsRequest } from "./DocumentsGetAgentsRequest";
|
|
@@ -13,14 +13,22 @@ export declare class ToolsClient {
|
|
|
13
13
|
/**
|
|
14
14
|
* Get all available tools in the workspace.
|
|
15
15
|
*
|
|
16
|
+
* @param {ElevenLabs.conversationalAi.ToolsListRequest} request
|
|
16
17
|
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
18
|
*
|
|
18
19
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
19
20
|
*
|
|
20
21
|
* @example
|
|
21
|
-
* await client.conversationalAi.tools.list(
|
|
22
|
+
* await client.conversationalAi.tools.list({
|
|
23
|
+
* search: "search",
|
|
24
|
+
* pageSize: 1,
|
|
25
|
+
* showOnlyOwnedDocuments: true,
|
|
26
|
+
* sortDirection: "asc",
|
|
27
|
+
* sortBy: "name",
|
|
28
|
+
* cursor: "cursor"
|
|
29
|
+
* })
|
|
22
30
|
*/
|
|
23
|
-
list(requestOptions?: ToolsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ToolsResponseModel>;
|
|
31
|
+
list(request?: ElevenLabs.conversationalAi.ToolsListRequest, requestOptions?: ToolsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ToolsResponseModel>;
|
|
24
32
|
private __list;
|
|
25
33
|
/**
|
|
26
34
|
* Add a new tool to the available tools in the workspace.
|
|
@@ -59,25 +59,63 @@ class ToolsClient {
|
|
|
59
59
|
/**
|
|
60
60
|
* Get all available tools in the workspace.
|
|
61
61
|
*
|
|
62
|
+
* @param {ElevenLabs.conversationalAi.ToolsListRequest} request
|
|
62
63
|
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
64
|
*
|
|
64
65
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
65
66
|
*
|
|
66
67
|
* @example
|
|
67
|
-
* await client.conversationalAi.tools.list(
|
|
68
|
+
* await client.conversationalAi.tools.list({
|
|
69
|
+
* search: "search",
|
|
70
|
+
* pageSize: 1,
|
|
71
|
+
* showOnlyOwnedDocuments: true,
|
|
72
|
+
* sortDirection: "asc",
|
|
73
|
+
* sortBy: "name",
|
|
74
|
+
* cursor: "cursor"
|
|
75
|
+
* })
|
|
68
76
|
*/
|
|
69
|
-
list(requestOptions) {
|
|
70
|
-
return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
|
|
77
|
+
list(request = {}, requestOptions) {
|
|
78
|
+
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
71
79
|
}
|
|
72
|
-
__list(
|
|
73
|
-
return __awaiter(this,
|
|
80
|
+
__list() {
|
|
81
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
74
82
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
83
|
+
const { search, pageSize, showOnlyOwnedDocuments, types, sortDirection, sortBy, cursor } = request;
|
|
84
|
+
const _queryParams = {};
|
|
85
|
+
if (search != null) {
|
|
86
|
+
_queryParams.search = search;
|
|
87
|
+
}
|
|
88
|
+
if (pageSize != null) {
|
|
89
|
+
_queryParams.page_size = pageSize.toString();
|
|
90
|
+
}
|
|
91
|
+
if (showOnlyOwnedDocuments != null) {
|
|
92
|
+
_queryParams.show_only_owned_documents = showOnlyOwnedDocuments.toString();
|
|
93
|
+
}
|
|
94
|
+
if (types != null) {
|
|
95
|
+
if (Array.isArray(types)) {
|
|
96
|
+
_queryParams.types = types.map((item) => serializers.ToolTypeFilter.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }));
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
_queryParams.types = serializers.ToolTypeFilter.jsonOrThrow(types, { unrecognizedObjectKeys: "strip" });
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
if (sortDirection != null) {
|
|
103
|
+
_queryParams.sort_direction = serializers.SortDirection.jsonOrThrow(sortDirection, {
|
|
104
|
+
unrecognizedObjectKeys: "strip",
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
if (sortBy != null) {
|
|
108
|
+
_queryParams.sort_by = serializers.ToolSortBy.jsonOrThrow(sortBy, { unrecognizedObjectKeys: "strip" });
|
|
109
|
+
}
|
|
110
|
+
if (cursor != null) {
|
|
111
|
+
_queryParams.cursor = cursor;
|
|
112
|
+
}
|
|
75
113
|
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);
|
|
76
114
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
77
115
|
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/tools"),
|
|
78
116
|
method: "GET",
|
|
79
117
|
headers: _headers,
|
|
80
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
118
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
81
119
|
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,
|
|
82
120
|
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,
|
|
83
121
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* search: "search",
|
|
6
|
+
* pageSize: 1,
|
|
7
|
+
* showOnlyOwnedDocuments: true,
|
|
8
|
+
* sortDirection: "asc",
|
|
9
|
+
* sortBy: "name",
|
|
10
|
+
* cursor: "cursor"
|
|
11
|
+
* }
|
|
12
|
+
*/
|
|
13
|
+
export interface ToolsListRequest {
|
|
14
|
+
/** If specified, the endpoint returns only tools whose names start with this string. */
|
|
15
|
+
search?: string;
|
|
16
|
+
/** How many documents to return at maximum. Can not exceed 100, defaults to 30. */
|
|
17
|
+
pageSize?: number;
|
|
18
|
+
/** If set to true, the endpoint will return only tools owned by you (and not shared from somebody else). */
|
|
19
|
+
showOnlyOwnedDocuments?: boolean;
|
|
20
|
+
/** If present, the endpoint will return only tools of the given types. */
|
|
21
|
+
types?: ElevenLabs.ToolTypeFilter | ElevenLabs.ToolTypeFilter[];
|
|
22
|
+
/** The direction to sort the results */
|
|
23
|
+
sortDirection?: ElevenLabs.SortDirection;
|
|
24
|
+
/** The field to sort the results by */
|
|
25
|
+
sortBy?: ElevenLabs.ToolSortBy;
|
|
26
|
+
/** Used for fetching next page. Cursor is returned in the response. */
|
|
27
|
+
cursor?: string;
|
|
28
|
+
}
|
|
@@ -11,7 +11,7 @@ export declare class RulesClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptions<RulesClient.Options>;
|
|
12
12
|
constructor(options?: RulesClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Add rules to the pronunciation dictionary
|
|
14
|
+
* Add rules to the pronunciation dictionary. If a rule with the same string_to_replace already exists, it will be replaced.
|
|
15
15
|
*
|
|
16
16
|
* @param {string} pronunciation_dictionary_id - The id of the pronunciation dictionary
|
|
17
17
|
* @param {ElevenLabs.pronunciationDictionaries.PronunciationDictionary} request
|
|
@@ -57,7 +57,7 @@ class RulesClient {
|
|
|
57
57
|
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
* Add rules to the pronunciation dictionary
|
|
60
|
+
* Add rules to the pronunciation dictionary. If a rule with the same string_to_replace already exists, it will be replaced.
|
|
61
61
|
*
|
|
62
62
|
* @param {string} pronunciation_dictionary_id - The id of the pronunciation dictionary
|
|
63
63
|
* @param {ElevenLabs.pronunciationDictionaries.PronunciationDictionary} request
|
|
@@ -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
|
}
|
|
@@ -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);
|
|
@@ -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);
|
|
@@ -250,6 +252,9 @@ class ProjectsClient {
|
|
|
250
252
|
_request.append("voice_settings", _item);
|
|
251
253
|
}
|
|
252
254
|
}
|
|
255
|
+
if (request.createPublishingRead != null) {
|
|
256
|
+
_request.append("create_publishing_read", request.createPublishingRead.toString());
|
|
257
|
+
}
|
|
253
258
|
const _maybeEncodedRequest = yield _request.getRequest();
|
|
254
259
|
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);
|
|
255
260
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
@@ -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. */
|
|
@@ -142,4 +142,6 @@ export interface BodyCreateStudioProjectV1StudioProjectsPost {
|
|
|
142
142
|
*
|
|
143
143
|
*/
|
|
144
144
|
voiceSettings?: string[];
|
|
145
|
+
/** If true, creates a corresponding read for direct publishing in draft state */
|
|
146
|
+
createPublishingRead?: boolean;
|
|
145
147
|
}
|
|
@@ -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];
|