@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
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.SummariesClient = void 0;
|
|
47
|
+
const BaseClient_1 = require("../../../../../../../../BaseClient");
|
|
48
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
49
|
+
const headers_1 = require("../../../../../../../../core/headers");
|
|
50
|
+
const environments = __importStar(require("../../../../../../../../environments"));
|
|
51
|
+
const handleNonStatusCodeError_1 = require("../../../../../../../../errors/handleNonStatusCodeError");
|
|
52
|
+
const errors = __importStar(require("../../../../../../../../errors/index"));
|
|
53
|
+
const serializers = __importStar(require("../../../../../../../../serialization/index"));
|
|
54
|
+
const ElevenLabs = __importStar(require("../../../../../../../index"));
|
|
55
|
+
class SummariesClient {
|
|
56
|
+
constructor(options = {}) {
|
|
57
|
+
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Returns summaries for the specified agents.
|
|
61
|
+
*
|
|
62
|
+
* @param {ElevenLabs.conversationalAi.agents.SummariesGetRequest} request
|
|
63
|
+
* @param {SummariesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* await client.conversationalAi.agents.summaries.get()
|
|
69
|
+
*/
|
|
70
|
+
get(request = {}, requestOptions) {
|
|
71
|
+
return core.HttpResponsePromise.fromPromise(this.__get(request, requestOptions));
|
|
72
|
+
}
|
|
73
|
+
__get() {
|
|
74
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
75
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
76
|
+
const { agentIds } = request;
|
|
77
|
+
const _queryParams = {};
|
|
78
|
+
if (agentIds != null) {
|
|
79
|
+
if (Array.isArray(agentIds)) {
|
|
80
|
+
_queryParams.agent_ids = agentIds.map((item) => item);
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
_queryParams.agent_ids = agentIds;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
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);
|
|
87
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
88
|
+
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/agents/summaries"),
|
|
89
|
+
method: "GET",
|
|
90
|
+
headers: _headers,
|
|
91
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
92
|
+
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,
|
|
93
|
+
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,
|
|
94
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
95
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
96
|
+
logging: this._options.logging,
|
|
97
|
+
});
|
|
98
|
+
if (_response.ok) {
|
|
99
|
+
return {
|
|
100
|
+
data: serializers.conversationalAi.agents.summaries.get.Response.parseOrThrow(_response.body, {
|
|
101
|
+
unrecognizedObjectKeys: "passthrough",
|
|
102
|
+
allowUnrecognizedUnionMembers: true,
|
|
103
|
+
allowUnrecognizedEnumValues: true,
|
|
104
|
+
breadcrumbsPrefix: ["response"],
|
|
105
|
+
}),
|
|
106
|
+
rawResponse: _response.rawResponse,
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
if (_response.error.reason === "status-code") {
|
|
110
|
+
switch (_response.error.statusCode) {
|
|
111
|
+
case 422:
|
|
112
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
113
|
+
unrecognizedObjectKeys: "passthrough",
|
|
114
|
+
allowUnrecognizedUnionMembers: true,
|
|
115
|
+
allowUnrecognizedEnumValues: true,
|
|
116
|
+
breadcrumbsPrefix: ["response"],
|
|
117
|
+
}), _response.rawResponse);
|
|
118
|
+
default:
|
|
119
|
+
throw new errors.ElevenLabsError({
|
|
120
|
+
statusCode: _response.error.statusCode,
|
|
121
|
+
body: _response.error.body,
|
|
122
|
+
rawResponse: _response.rawResponse,
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/agents/summaries");
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
exports.SummariesClient = SummariesClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { SummariesGetRequest } from "./SummariesGetRequest";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../../index";
|
|
2
|
+
export type SummariesGetResponseValue = ElevenLabs.conversationalAi.agents.SummariesGetResponseValue.Success | ElevenLabs.conversationalAi.agents.SummariesGetResponseValue.Failure;
|
|
3
|
+
export declare namespace SummariesGetResponseValue {
|
|
4
|
+
interface Success extends ElevenLabs.AgentSummaryBatchSuccessfulResponseModel {
|
|
5
|
+
status: "success";
|
|
6
|
+
}
|
|
7
|
+
interface Failure extends ElevenLabs.BatchFailureResponseModel {
|
|
8
|
+
status: "failure";
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SummariesGetResponseValue";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./SummariesGetResponseValue"), exports);
|
|
@@ -56,6 +56,19 @@ export declare class BatchCallsClient {
|
|
|
56
56
|
*/
|
|
57
57
|
get(batch_id: string, requestOptions?: BatchCallsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.BatchCallDetailedResponse>;
|
|
58
58
|
private __get;
|
|
59
|
+
/**
|
|
60
|
+
* Permanently delete a batch call and all recipient records. Conversations remain in history.
|
|
61
|
+
*
|
|
62
|
+
* @param {string} batch_id
|
|
63
|
+
* @param {BatchCallsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* await client.conversationalAi.batchCalls.delete("batch_id")
|
|
69
|
+
*/
|
|
70
|
+
delete(batch_id: string, requestOptions?: BatchCallsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
71
|
+
private __delete;
|
|
59
72
|
/**
|
|
60
73
|
* Cancel a running batch call and set all recipients to cancelled status.
|
|
61
74
|
*
|
|
@@ -254,6 +254,58 @@ class BatchCallsClient {
|
|
|
254
254
|
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/batch-calling/{batch_id}");
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
|
+
/**
|
|
258
|
+
* Permanently delete a batch call and all recipient records. Conversations remain in history.
|
|
259
|
+
*
|
|
260
|
+
* @param {string} batch_id
|
|
261
|
+
* @param {BatchCallsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
262
|
+
*
|
|
263
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
264
|
+
*
|
|
265
|
+
* @example
|
|
266
|
+
* await client.conversationalAi.batchCalls.delete("batch_id")
|
|
267
|
+
*/
|
|
268
|
+
delete(batch_id, requestOptions) {
|
|
269
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(batch_id, requestOptions));
|
|
270
|
+
}
|
|
271
|
+
__delete(batch_id, requestOptions) {
|
|
272
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
273
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
274
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
275
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
276
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/batch-calling/${core.url.encodePathParam(batch_id)}`),
|
|
277
|
+
method: "DELETE",
|
|
278
|
+
headers: _headers,
|
|
279
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
280
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
281
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
282
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
283
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
284
|
+
logging: this._options.logging,
|
|
285
|
+
});
|
|
286
|
+
if (_response.ok) {
|
|
287
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
288
|
+
}
|
|
289
|
+
if (_response.error.reason === "status-code") {
|
|
290
|
+
switch (_response.error.statusCode) {
|
|
291
|
+
case 422:
|
|
292
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
293
|
+
unrecognizedObjectKeys: "passthrough",
|
|
294
|
+
allowUnrecognizedUnionMembers: true,
|
|
295
|
+
allowUnrecognizedEnumValues: true,
|
|
296
|
+
breadcrumbsPrefix: ["response"],
|
|
297
|
+
}), _response.rawResponse);
|
|
298
|
+
default:
|
|
299
|
+
throw new errors.ElevenLabsError({
|
|
300
|
+
statusCode: _response.error.statusCode,
|
|
301
|
+
body: _response.error.body,
|
|
302
|
+
rawResponse: _response.rawResponse,
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/convai/batch-calling/{batch_id}");
|
|
307
|
+
});
|
|
308
|
+
}
|
|
257
309
|
/**
|
|
258
310
|
* Cancel a running batch call and set all recipients to cancelled status.
|
|
259
311
|
*
|
|
@@ -27,7 +27,8 @@ export declare class ConversationsClient {
|
|
|
27
27
|
* @example
|
|
28
28
|
* await client.conversationalAi.conversations.getSignedUrl({
|
|
29
29
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
30
|
-
* includeConversationId: true
|
|
30
|
+
* includeConversationId: true,
|
|
31
|
+
* branchId: "branch_id"
|
|
31
32
|
* })
|
|
32
33
|
*/
|
|
33
34
|
getSignedUrl(request: ElevenLabs.conversationalAi.ConversationsGetSignedUrlRequest, requestOptions?: ConversationsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ConversationSignedUrlResponseModel>;
|
|
@@ -43,7 +44,8 @@ export declare class ConversationsClient {
|
|
|
43
44
|
* @example
|
|
44
45
|
* await client.conversationalAi.conversations.getWebrtcToken({
|
|
45
46
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
46
|
-
* participantName: "participant_name"
|
|
47
|
+
* participantName: "participant_name",
|
|
48
|
+
* branchId: "branch_id"
|
|
47
49
|
* })
|
|
48
50
|
*/
|
|
49
51
|
getWebrtcToken(request: ElevenLabs.conversationalAi.ConversationsGetWebrtcTokenRequest, requestOptions?: ConversationsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.TokenResponseModel>;
|
|
@@ -72,7 +74,8 @@ export declare class ConversationsClient {
|
|
|
72
74
|
* pageSize: 1,
|
|
73
75
|
* summaryMode: "exclude",
|
|
74
76
|
* search: "search",
|
|
75
|
-
* conversationInitiationSource: "unknown"
|
|
77
|
+
* conversationInitiationSource: "unknown",
|
|
78
|
+
* branchId: "branch_id"
|
|
76
79
|
* })
|
|
77
80
|
*/
|
|
78
81
|
list(request?: ElevenLabs.conversationalAi.ConversationsListRequest, requestOptions?: ConversationsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetConversationsPageResponseModel>;
|
|
@@ -77,7 +77,8 @@ class ConversationsClient {
|
|
|
77
77
|
* @example
|
|
78
78
|
* await client.conversationalAi.conversations.getSignedUrl({
|
|
79
79
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
80
|
-
* includeConversationId: true
|
|
80
|
+
* includeConversationId: true,
|
|
81
|
+
* branchId: "branch_id"
|
|
81
82
|
* })
|
|
82
83
|
*/
|
|
83
84
|
getSignedUrl(request, requestOptions) {
|
|
@@ -86,12 +87,15 @@ class ConversationsClient {
|
|
|
86
87
|
__getSignedUrl(request, requestOptions) {
|
|
87
88
|
return __awaiter(this, void 0, void 0, function* () {
|
|
88
89
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
89
|
-
const { agentId, includeConversationId } = request;
|
|
90
|
+
const { agentId, includeConversationId, branchId } = request;
|
|
90
91
|
const _queryParams = {};
|
|
91
92
|
_queryParams.agent_id = agentId;
|
|
92
93
|
if (includeConversationId != null) {
|
|
93
94
|
_queryParams.include_conversation_id = includeConversationId.toString();
|
|
94
95
|
}
|
|
96
|
+
if (branchId != null) {
|
|
97
|
+
_queryParams.branch_id = branchId;
|
|
98
|
+
}
|
|
95
99
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
96
100
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
97
101
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/conversation/get-signed-url"),
|
|
@@ -146,7 +150,8 @@ class ConversationsClient {
|
|
|
146
150
|
* @example
|
|
147
151
|
* await client.conversationalAi.conversations.getWebrtcToken({
|
|
148
152
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
149
|
-
* participantName: "participant_name"
|
|
153
|
+
* participantName: "participant_name",
|
|
154
|
+
* branchId: "branch_id"
|
|
150
155
|
* })
|
|
151
156
|
*/
|
|
152
157
|
getWebrtcToken(request, requestOptions) {
|
|
@@ -155,12 +160,15 @@ class ConversationsClient {
|
|
|
155
160
|
__getWebrtcToken(request, requestOptions) {
|
|
156
161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
157
162
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
158
|
-
const { agentId, participantName } = request;
|
|
163
|
+
const { agentId, participantName, branchId } = request;
|
|
159
164
|
const _queryParams = {};
|
|
160
165
|
_queryParams.agent_id = agentId;
|
|
161
166
|
if (participantName != null) {
|
|
162
167
|
_queryParams.participant_name = participantName;
|
|
163
168
|
}
|
|
169
|
+
if (branchId != null) {
|
|
170
|
+
_queryParams.branch_id = branchId;
|
|
171
|
+
}
|
|
164
172
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
165
173
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
166
174
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/conversation/token"),
|
|
@@ -228,7 +236,8 @@ class ConversationsClient {
|
|
|
228
236
|
* pageSize: 1,
|
|
229
237
|
* summaryMode: "exclude",
|
|
230
238
|
* search: "search",
|
|
231
|
-
* conversationInitiationSource: "unknown"
|
|
239
|
+
* conversationInitiationSource: "unknown",
|
|
240
|
+
* branchId: "branch_id"
|
|
232
241
|
* })
|
|
233
242
|
*/
|
|
234
243
|
list(request = {}, requestOptions) {
|
|
@@ -237,7 +246,7 @@ class ConversationsClient {
|
|
|
237
246
|
__list() {
|
|
238
247
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
239
248
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
240
|
-
const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, mainLanguages, pageSize, summaryMode, search, conversationInitiationSource, } = request;
|
|
249
|
+
const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, mainLanguages, pageSize, summaryMode, search, conversationInitiationSource, branchId, } = request;
|
|
241
250
|
const _queryParams = {};
|
|
242
251
|
if (cursor != null) {
|
|
243
252
|
_queryParams.cursor = cursor;
|
|
@@ -318,6 +327,9 @@ class ConversationsClient {
|
|
|
318
327
|
if (conversationInitiationSource != null) {
|
|
319
328
|
_queryParams.conversation_initiation_source = serializers.ConversationInitiationSource.jsonOrThrow(conversationInitiationSource, { unrecognizedObjectKeys: "strip" });
|
|
320
329
|
}
|
|
330
|
+
if (branchId != null) {
|
|
331
|
+
_queryParams.branch_id = branchId;
|
|
332
|
+
}
|
|
321
333
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
322
334
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
323
335
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/conversations"),
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
4
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
5
|
-
* includeConversationId: true
|
|
5
|
+
* includeConversationId: true,
|
|
6
|
+
* branchId: "branch_id"
|
|
6
7
|
* }
|
|
7
8
|
*/
|
|
8
9
|
export interface ConversationsGetSignedUrlRequest {
|
|
@@ -10,4 +11,6 @@ export interface ConversationsGetSignedUrlRequest {
|
|
|
10
11
|
agentId: string;
|
|
11
12
|
/** Whether to include a conversation_id with the response. If included, the conversation_signature cannot be used again. */
|
|
12
13
|
includeConversationId?: boolean;
|
|
14
|
+
/** The ID of the branch to use */
|
|
15
|
+
branchId?: string;
|
|
13
16
|
}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
4
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
5
|
-
* participantName: "participant_name"
|
|
5
|
+
* participantName: "participant_name",
|
|
6
|
+
* branchId: "branch_id"
|
|
6
7
|
* }
|
|
7
8
|
*/
|
|
8
9
|
export interface ConversationsGetWebrtcTokenRequest {
|
|
@@ -10,4 +11,6 @@ export interface ConversationsGetWebrtcTokenRequest {
|
|
|
10
11
|
agentId: string;
|
|
11
12
|
/** Optional custom participant name. If not provided, user ID will be used */
|
|
12
13
|
participantName?: string;
|
|
14
|
+
/** The ID of the branch to use */
|
|
15
|
+
branchId?: string;
|
|
13
16
|
}
|
|
@@ -16,7 +16,8 @@ import type * as ElevenLabs from "../../../../../../index";
|
|
|
16
16
|
* pageSize: 1,
|
|
17
17
|
* summaryMode: "exclude",
|
|
18
18
|
* search: "search",
|
|
19
|
-
* conversationInitiationSource: "unknown"
|
|
19
|
+
* conversationInitiationSource: "unknown",
|
|
20
|
+
* branchId: "branch_id"
|
|
20
21
|
* }
|
|
21
22
|
*/
|
|
22
23
|
export interface ConversationsListRequest {
|
|
@@ -57,4 +58,6 @@ export interface ConversationsListRequest {
|
|
|
57
58
|
/** Full-text or fuzzy search over transcript messages */
|
|
58
59
|
search?: string;
|
|
59
60
|
conversationInitiationSource?: ElevenLabs.ConversationInitiationSource;
|
|
61
|
+
/** Filter conversations by branch ID. */
|
|
62
|
+
branchId?: string;
|
|
60
63
|
}
|
|
@@ -62,6 +62,21 @@ export declare class DocumentsClient {
|
|
|
62
62
|
*/
|
|
63
63
|
createFromText(request: ElevenLabs.conversationalAi.knowledgeBase.BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost, requestOptions?: DocumentsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.AddKnowledgeBaseResponseModel>;
|
|
64
64
|
private __createFromText;
|
|
65
|
+
/**
|
|
66
|
+
* Create a folder used for grouping documents together.
|
|
67
|
+
*
|
|
68
|
+
* @param {ElevenLabs.conversationalAi.knowledgeBase.BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost} request
|
|
69
|
+
* @param {DocumentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* await client.conversationalAi.knowledgeBase.documents.createFolder({
|
|
75
|
+
* name: "name"
|
|
76
|
+
* })
|
|
77
|
+
*/
|
|
78
|
+
createFolder(request: ElevenLabs.conversationalAi.knowledgeBase.BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost, requestOptions?: DocumentsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.AddKnowledgeBaseResponseModel>;
|
|
79
|
+
private __createFolder;
|
|
65
80
|
/**
|
|
66
81
|
* Get details about a specific documentation making up the agent's knowledge base
|
|
67
82
|
*
|
|
@@ -154,4 +169,33 @@ export declare class DocumentsClient {
|
|
|
154
169
|
*/
|
|
155
170
|
getSourceFileUrl(documentation_id: string, requestOptions?: DocumentsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.KnowledgeBaseSourceFileUrlResponseModel>;
|
|
156
171
|
private __getSourceFileUrl;
|
|
172
|
+
/**
|
|
173
|
+
* Moves the entity from one folder to another.
|
|
174
|
+
*
|
|
175
|
+
* @param {string} document_id - The id of a document from the knowledge base. This is returned on document addition.
|
|
176
|
+
* @param {ElevenLabs.conversationalAi.knowledgeBase.BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost} request
|
|
177
|
+
* @param {DocumentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
178
|
+
*
|
|
179
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* await client.conversationalAi.knowledgeBase.documents.move("21m00Tcm4TlvDq8ikWAM")
|
|
183
|
+
*/
|
|
184
|
+
move(document_id: string, request?: ElevenLabs.conversationalAi.knowledgeBase.BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost, requestOptions?: DocumentsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
185
|
+
private __move;
|
|
186
|
+
/**
|
|
187
|
+
* Moves multiple entities from one folder to another.
|
|
188
|
+
*
|
|
189
|
+
* @param {ElevenLabs.conversationalAi.knowledgeBase.BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost} request
|
|
190
|
+
* @param {DocumentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
191
|
+
*
|
|
192
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
193
|
+
*
|
|
194
|
+
* @example
|
|
195
|
+
* await client.conversationalAi.knowledgeBase.documents.bulkMove({
|
|
196
|
+
* documentIds: ["21m00Tcm4TlvDq8ikWAM", "31m00Tcm4TlvDq8ikWBM"]
|
|
197
|
+
* })
|
|
198
|
+
*/
|
|
199
|
+
bulkMove(request: ElevenLabs.conversationalAi.knowledgeBase.BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost, requestOptions?: DocumentsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
200
|
+
private __bulkMove;
|
|
157
201
|
}
|