@elevenlabs/elevenlabs-js 2.32.0 → 2.34.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 +18 -0
- package/Client.js +76 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +9 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.js +25 -10
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/index.js +1 -0
- 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 +13 -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/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/api/resources/{workspace/resources/members/types → 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/{serialization/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/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/{dist/api/resources/workspace/resources/members/types → api/resources/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/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 +6 -0
- package/api/resources/conversationalAi/resources/agents/resources/index.js +7 -1
- package/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +3 -0
- package/api/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
- package/api/resources/{workspace/resources/invites → conversationalAi/resources/agents}/types/index.js +1 -1
- package/api/resources/conversationalAi/resources/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/index.js +1 -0
- 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/secrets/client/Client.d.ts +6 -2
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +18 -6
- package/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts +13 -0
- package/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.js +3 -0
- package/api/resources/conversationalAi/resources/secrets/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -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/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +12 -29
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +49 -118
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
- 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/studio/resources/projects/client/Client.js +3 -0
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +2 -0
- package/api/resources/textToDialogue/client/Client.d.ts +1 -1
- package/api/resources/textToDialogue/client/Client.js +3 -7
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +4 -4
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -3
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +32 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +35 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +32 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +35 -0
- package/api/resources/textToDialogue/types/index.d.ts +2 -0
- package/api/resources/textToDialogue/types/index.js +2 -0
- 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/workspace/resources/groups/resources/members/client/Client.d.ts +2 -2
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- 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/Client.d.ts +3 -3
- package/api/resources/workspace/resources/invites/client/Client.js +3 -3
- 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/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/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/AlignmentGuardrail.d.ts +3 -0
- package/api/types/AlignmentGuardrail.js +3 -0
- package/api/types/ApiIntegrationWebhookOverridesInput.d.ts +2 -0
- package/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +2 -0
- package/api/types/BranchProtectionStatus.d.ts +5 -0
- package/api/types/BranchProtectionStatus.js +8 -0
- package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +2 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +2 -0
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +2 -0
- package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +2 -0
- package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +2 -0
- package/api/types/ConversationTurnMetrics.d.ts +1 -0
- package/api/types/CreateAgentBranchResponseModel.d.ts +6 -0
- package/api/types/CreateAgentBranchResponseModel.js +3 -0
- package/api/types/DirectPublishingReadResponseModel.d.ts +2 -0
- package/api/types/GetConversationResponseModel.d.ts +1 -0
- package/api/types/GetUnitTestResponseModel.d.ts +2 -0
- package/api/types/GetWorkspaceSecretsResponseModel.d.ts +4 -0
- package/api/types/GuardrailsV1Input.d.ts +1 -0
- package/api/types/GuardrailsV1Output.d.ts +1 -0
- package/api/types/InvoiceResponse.d.ts +1 -1
- package/api/types/ListResponseAgentBranchSummary.d.ts +5 -0
- package/api/types/ListResponseAgentBranchSummary.js +3 -0
- package/api/types/NonStreamingOutputFormats.d.ts +10 -0
- package/api/types/NonStreamingOutputFormats.js +13 -0
- package/api/types/PermissionType.d.ts +7 -0
- package/api/types/PermissionType.js +7 -0
- package/api/types/ProcedureDraftRef.d.ts +4 -0
- package/api/types/ProcedureDraftRef.js +3 -0
- package/api/types/ProcedureVersionRef.d.ts +6 -0
- package/api/types/ProcedureVersionRef.js +3 -0
- package/api/types/ProjectCreationMetaResponseModelType.d.ts +1 -0
- package/api/types/ProjectCreationMetaResponseModelType.js +1 -0
- package/api/types/ProjectExtendedResponse.d.ts +2 -0
- package/api/types/ProjectResponse.d.ts +2 -0
- package/api/types/ResponseFilterMode.d.ts +6 -0
- package/api/types/ResponseFilterMode.js +9 -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/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/UnitTestCommonModel.d.ts +2 -0
- package/api/types/User.d.ts +2 -0
- package/api/types/index.d.ts +20 -1
- package/api/types/index.js +20 -1
- package/dist/BaseClient.js +2 -2
- package/dist/Client.d.ts +18 -0
- package/dist/Client.js +76 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +9 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +25 -10
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/index.js +1 -0
- 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 +13 -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 +6 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/index.js +7 -1
- package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
- package/dist/api/resources/{workspace/resources/invites → conversationalAi/resources/agents}/types/index.js +1 -1
- package/dist/api/resources/conversationalAi/resources/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/index.js +1 -0
- 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/secrets/client/Client.d.ts +6 -2
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +18 -6
- package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/secrets/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -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/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +12 -29
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +49 -118
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
- 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/studio/resources/projects/client/Client.js +3 -0
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +2 -0
- package/dist/api/resources/textToDialogue/client/Client.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/Client.js +3 -7
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +4 -4
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -3
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +32 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +35 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +32 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +35 -0
- package/dist/api/resources/textToDialogue/types/index.d.ts +2 -0
- package/dist/api/resources/textToDialogue/types/index.js +2 -0
- 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/workspace/resources/groups/resources/members/client/Client.d.ts +2 -2
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- 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/Client.d.ts +3 -3
- package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
- 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/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/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/AlignmentGuardrail.d.ts +3 -0
- package/dist/api/types/AlignmentGuardrail.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesInput.d.ts +2 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +2 -0
- package/dist/api/types/BranchProtectionStatus.d.ts +5 -0
- package/dist/api/types/BranchProtectionStatus.js +8 -0
- package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +2 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +2 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +2 -0
- package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +2 -0
- package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +2 -0
- package/dist/api/types/ConversationTurnMetrics.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/DirectPublishingReadResponseModel.d.ts +2 -0
- package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/api/types/GetUnitTestResponseModel.d.ts +2 -0
- package/dist/api/types/GetWorkspaceSecretsResponseModel.d.ts +4 -0
- package/dist/api/types/GuardrailsV1Input.d.ts +1 -0
- package/dist/api/types/GuardrailsV1Output.d.ts +1 -0
- package/dist/api/types/InvoiceResponse.d.ts +1 -1
- package/dist/api/types/ListResponseAgentBranchSummary.d.ts +5 -0
- package/dist/api/types/ListResponseAgentBranchSummary.js +3 -0
- package/dist/api/types/NonStreamingOutputFormats.d.ts +10 -0
- package/dist/api/types/NonStreamingOutputFormats.js +13 -0
- package/dist/api/types/PermissionType.d.ts +7 -0
- package/dist/api/types/PermissionType.js +7 -0
- package/dist/api/types/ProcedureDraftRef.d.ts +4 -0
- package/dist/api/types/ProcedureDraftRef.js +3 -0
- package/dist/api/types/ProcedureVersionRef.d.ts +6 -0
- package/dist/api/types/ProcedureVersionRef.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 +2 -0
- package/dist/api/types/ProjectResponse.d.ts +2 -0
- package/dist/api/types/ResponseFilterMode.d.ts +6 -0
- package/dist/api/types/ResponseFilterMode.js +9 -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/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/UnitTestCommonModel.d.ts +2 -0
- package/dist/api/types/User.d.ts +2 -0
- package/dist/api/types/index.d.ts +20 -1
- package/dist/api/types/index.js +20 -1
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
- 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 +12 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +44 -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/{whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js} +5 -6
- 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 +6 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.js +7 -1
- package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +9 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/types/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/index.js +1 -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/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +1 -3
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +7 -0
- package/{serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js → dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js} +31 -21
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +68 -0
- package/dist/serialization/resources/textToDialogue/types/index.d.ts +2 -0
- package/dist/serialization/resources/textToDialogue/types/index.js +2 -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/AgentBranchBasicInfo.d.ts +10 -0
- package/dist/serialization/types/{ImportWhatsAppAccountResponse.js → AgentBranchBasicInfo.js} +4 -3
- 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/types/AgentDeploymentRequestItem.js +43 -0
- package/dist/serialization/types/AgentDeploymentResponse.d.ts +9 -0
- package/dist/serialization/types/AgentDeploymentResponse.js +41 -0
- 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/{resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → types/AgentVersionParents.js} +7 -6
- package/dist/serialization/types/AlignmentGuardrail.d.ts +9 -0
- package/{serialization/types/ImportWhatsAppAccountResponse.js → dist/serialization/types/AlignmentGuardrail.js} +3 -3
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +3 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.js +3 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +3 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
- package/dist/serialization/types/BranchProtectionStatus.d.ts +7 -0
- package/dist/serialization/{resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → types/BranchProtectionStatus.js} +3 -3
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +2 -0
- package/dist/serialization/types/ConversationTurnMetrics.d.ts +1 -0
- package/dist/serialization/types/ConversationTurnMetrics.js +1 -0
- package/dist/serialization/types/CreateAgentBranchResponseModel.d.ts +10 -0
- package/dist/serialization/types/CreateAgentBranchResponseModel.js +42 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +2 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.js +2 -0
- package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetConversationResponseModel.js +1 -0
- package/dist/serialization/types/GetUnitTestResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetUnitTestResponseModel.js +1 -0
- package/dist/serialization/types/GetWorkspaceSecretsResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetWorkspaceSecretsResponseModel.js +2 -0
- package/dist/serialization/types/GuardrailsV1Input.d.ts +2 -0
- package/dist/serialization/types/GuardrailsV1Input.js +2 -0
- package/dist/serialization/types/GuardrailsV1Output.d.ts +2 -0
- package/dist/serialization/types/GuardrailsV1Output.js +2 -0
- package/dist/serialization/types/ListResponseAgentBranchSummary.d.ts +12 -0
- package/dist/serialization/types/ListResponseAgentBranchSummary.js +44 -0
- package/dist/serialization/types/NonStreamingOutputFormats.d.ts +7 -0
- package/dist/serialization/types/NonStreamingOutputFormats.js +47 -0
- package/dist/serialization/types/PermissionType.d.ts +1 -1
- package/dist/serialization/types/PermissionType.js +7 -0
- package/dist/serialization/types/ProcedureDraftRef.d.ts +9 -0
- package/{serialization/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → dist/serialization/types/ProcedureDraftRef.js} +5 -3
- package/dist/serialization/types/ProcedureVersionRef.d.ts +10 -0
- package/dist/serialization/types/ProcedureVersionRef.js +42 -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 +1 -0
- package/dist/serialization/types/ProjectExtendedResponse.js +1 -0
- package/dist/serialization/types/ProjectResponse.d.ts +1 -0
- package/dist/serialization/types/ProjectResponse.js +1 -0
- package/dist/serialization/types/ResponseFilterMode.d.ts +7 -0
- package/dist/serialization/types/ResponseFilterMode.js +39 -0
- package/dist/serialization/types/SeatType.d.ts +7 -0
- package/dist/serialization/types/SeatType.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 +1 -0
- package/dist/serialization/types/TurnConfig.js +1 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.js +1 -0
- package/dist/serialization/types/UnitTestCommonModel.d.ts +1 -0
- package/dist/serialization/types/UnitTestCommonModel.js +1 -0
- package/dist/serialization/types/User.d.ts +1 -0
- package/dist/serialization/types/User.js +1 -0
- package/dist/serialization/types/index.d.ts +20 -1
- package/dist/serialization/types/index.js +20 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1076 -228
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +2 -0
- package/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
- 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 +12 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +44 -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/{whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js} +5 -6
- 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 +6 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/index.js +7 -1
- package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +9 -0
- package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +41 -0
- package/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/types/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/index.js +1 -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/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +1 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +1 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +1 -3
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +7 -0
- package/{dist/serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js → serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js} +31 -21
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +68 -0
- package/serialization/resources/textToDialogue/types/index.d.ts +2 -0
- package/serialization/resources/textToDialogue/types/index.js +2 -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/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/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/AlignmentGuardrail.d.ts +9 -0
- package/serialization/types/AlignmentGuardrail.js +41 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +3 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInput.js +3 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +3 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
- package/serialization/types/BranchProtectionStatus.d.ts +7 -0
- package/serialization/types/BranchProtectionStatus.js +39 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +2 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +2 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +2 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +2 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +2 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +2 -0
- package/serialization/types/ConversationTurnMetrics.d.ts +1 -0
- package/serialization/types/ConversationTurnMetrics.js +1 -0
- package/serialization/types/CreateAgentBranchResponseModel.d.ts +10 -0
- package/serialization/types/CreateAgentBranchResponseModel.js +42 -0
- package/serialization/types/DirectPublishingReadResponseModel.d.ts +2 -0
- package/serialization/types/DirectPublishingReadResponseModel.js +2 -0
- package/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/serialization/types/GetConversationResponseModel.js +1 -0
- package/serialization/types/GetUnitTestResponseModel.d.ts +1 -0
- package/serialization/types/GetUnitTestResponseModel.js +1 -0
- package/serialization/types/GetWorkspaceSecretsResponseModel.d.ts +2 -0
- package/serialization/types/GetWorkspaceSecretsResponseModel.js +2 -0
- package/serialization/types/GuardrailsV1Input.d.ts +2 -0
- package/serialization/types/GuardrailsV1Input.js +2 -0
- package/serialization/types/GuardrailsV1Output.d.ts +2 -0
- package/serialization/types/GuardrailsV1Output.js +2 -0
- package/serialization/types/ListResponseAgentBranchSummary.d.ts +12 -0
- package/serialization/types/ListResponseAgentBranchSummary.js +44 -0
- package/serialization/types/NonStreamingOutputFormats.d.ts +7 -0
- package/serialization/types/NonStreamingOutputFormats.js +47 -0
- package/serialization/types/PermissionType.d.ts +1 -1
- package/serialization/types/PermissionType.js +7 -0
- package/serialization/types/ProcedureDraftRef.d.ts +9 -0
- package/serialization/types/ProcedureDraftRef.js +41 -0
- package/serialization/types/ProcedureVersionRef.d.ts +10 -0
- package/serialization/types/ProcedureVersionRef.js +42 -0
- package/serialization/types/ProjectCreationMetaResponseModelType.d.ts +1 -1
- package/serialization/types/ProjectCreationMetaResponseModelType.js +1 -1
- package/serialization/types/ProjectExtendedResponse.d.ts +1 -0
- package/serialization/types/ProjectExtendedResponse.js +1 -0
- package/serialization/types/ProjectResponse.d.ts +1 -0
- package/serialization/types/ProjectResponse.js +1 -0
- package/serialization/types/ResponseFilterMode.d.ts +7 -0
- package/serialization/types/ResponseFilterMode.js +39 -0
- package/serialization/types/SeatType.d.ts +7 -0
- package/serialization/types/SeatType.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 +1 -0
- package/serialization/types/TurnConfig.js +1 -0
- package/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
- package/serialization/types/TurnConfigWorkflowOverride.js +1 -0
- package/serialization/types/UnitTestCommonModel.d.ts +1 -0
- package/serialization/types/UnitTestCommonModel.js +1 -0
- package/serialization/types/User.d.ts +1 -0
- package/serialization/types/User.js +1 -0
- package/serialization/types/index.d.ts +20 -1
- package/serialization/types/index.js +20 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -13
- 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/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/ImportWhatsAppAccountResponse.d.ts +0 -3
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -13
- 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/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/ImportWhatsAppAccountResponse.d.ts +0 -3
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -11
- 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/dist/serialization/types/ImportWhatsAppAccountResponse.d.ts +0 -9
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -11
- 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/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +0 -43
- package/serialization/types/ImportWhatsAppAccountResponse.d.ts +0 -9
- /package/api/resources/conversationalAi/resources/{whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.js} +0 -0
- /package/api/resources/{workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js} +0 -0
- /package/api/{types/ImportWhatsAppAccountResponse.js → resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js} +0 -0
- /package/{dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesListRequest.js} +0 -0
- /package/{dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js} +0 -0
- /package/{dist/api/types/ImportWhatsAppAccountResponse.js → api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.js} +0 -0
package/.fern/metadata.json
CHANGED
package/BaseClient.js
CHANGED
|
@@ -41,8 +41,8 @@ function normalizeClientOptions(options) {
|
|
|
41
41
|
const headers = (0, headers_1.mergeHeaders)({
|
|
42
42
|
"X-Fern-Language": "JavaScript",
|
|
43
43
|
"X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js",
|
|
44
|
-
"X-Fern-SDK-Version": "v2.
|
|
45
|
-
"User-Agent": "@elevenlabs/elevenlabs-js/v2.
|
|
44
|
+
"X-Fern-SDK-Version": "v2.34.0",
|
|
45
|
+
"User-Agent": "@elevenlabs/elevenlabs-js/v2.34.0",
|
|
46
46
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
47
47
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
48
48
|
"xi-api-key": options === null || options === void 0 ? void 0 : options.apiKey,
|
package/Client.d.ts
CHANGED
|
@@ -81,6 +81,24 @@ export declare class ElevenLabsClient {
|
|
|
81
81
|
get music(): MusicClient;
|
|
82
82
|
get tokens(): TokensClient;
|
|
83
83
|
get workspace(): WorkspaceClient;
|
|
84
|
+
/**
|
|
85
|
+
* @param {ElevenLabsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* await client.postV1ConvaiWhatsappAccounts()
|
|
89
|
+
*/
|
|
90
|
+
postV1ConvaiWhatsappAccounts(requestOptions?: ElevenLabsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
91
|
+
private __postV1ConvaiWhatsappAccounts;
|
|
92
|
+
/**
|
|
93
|
+
* @param {string} agent_id
|
|
94
|
+
* @param {string} branch_id
|
|
95
|
+
* @param {ElevenLabsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* await client.deleteV1ConvaiAgentsAgentIdBranchesBranchId("agent_id", "branch_id")
|
|
99
|
+
*/
|
|
100
|
+
deleteV1ConvaiAgentsAgentIdBranchesBranchId(agent_id: string, branch_id: string, requestOptions?: ElevenLabsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
101
|
+
private __deleteV1ConvaiAgentsAgentIdBranchesBranchId;
|
|
84
102
|
/**
|
|
85
103
|
* Add a generated voice to the voice library.
|
|
86
104
|
*
|
package/Client.js
CHANGED
|
@@ -174,6 +174,82 @@ class ElevenLabsClient {
|
|
|
174
174
|
var _a;
|
|
175
175
|
return ((_a = this._workspace) !== null && _a !== void 0 ? _a : (this._workspace = new Client_24.WorkspaceClient(this._options)));
|
|
176
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* @param {ElevenLabsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
179
|
+
*
|
|
180
|
+
* @example
|
|
181
|
+
* await client.postV1ConvaiWhatsappAccounts()
|
|
182
|
+
*/
|
|
183
|
+
postV1ConvaiWhatsappAccounts(requestOptions) {
|
|
184
|
+
return core.HttpResponsePromise.fromPromise(this.__postV1ConvaiWhatsappAccounts(requestOptions));
|
|
185
|
+
}
|
|
186
|
+
__postV1ConvaiWhatsappAccounts(requestOptions) {
|
|
187
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
188
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
189
|
+
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);
|
|
190
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
191
|
+
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/whatsapp-accounts"),
|
|
192
|
+
method: "POST",
|
|
193
|
+
headers: _headers,
|
|
194
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
195
|
+
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,
|
|
196
|
+
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,
|
|
197
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
198
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
199
|
+
logging: this._options.logging,
|
|
200
|
+
});
|
|
201
|
+
if (_response.ok) {
|
|
202
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
203
|
+
}
|
|
204
|
+
if (_response.error.reason === "status-code") {
|
|
205
|
+
throw new errors.ElevenLabsError({
|
|
206
|
+
statusCode: _response.error.statusCode,
|
|
207
|
+
body: _response.error.body,
|
|
208
|
+
rawResponse: _response.rawResponse,
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/convai/whatsapp-accounts");
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* @param {string} agent_id
|
|
216
|
+
* @param {string} branch_id
|
|
217
|
+
* @param {ElevenLabsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
218
|
+
*
|
|
219
|
+
* @example
|
|
220
|
+
* await client.deleteV1ConvaiAgentsAgentIdBranchesBranchId("agent_id", "branch_id")
|
|
221
|
+
*/
|
|
222
|
+
deleteV1ConvaiAgentsAgentIdBranchesBranchId(agent_id, branch_id, requestOptions) {
|
|
223
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteV1ConvaiAgentsAgentIdBranchesBranchId(agent_id, branch_id, requestOptions));
|
|
224
|
+
}
|
|
225
|
+
__deleteV1ConvaiAgentsAgentIdBranchesBranchId(agent_id, branch_id, requestOptions) {
|
|
226
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
227
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
228
|
+
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);
|
|
229
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
230
|
+
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/${core.url.encodePathParam(agent_id)}/branches/${core.url.encodePathParam(branch_id)}`),
|
|
231
|
+
method: "DELETE",
|
|
232
|
+
headers: _headers,
|
|
233
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
234
|
+
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,
|
|
235
|
+
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,
|
|
236
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
237
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
238
|
+
logging: this._options.logging,
|
|
239
|
+
});
|
|
240
|
+
if (_response.ok) {
|
|
241
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
242
|
+
}
|
|
243
|
+
if (_response.error.reason === "status-code") {
|
|
244
|
+
throw new errors.ElevenLabsError({
|
|
245
|
+
statusCode: _response.error.statusCode,
|
|
246
|
+
body: _response.error.body,
|
|
247
|
+
rawResponse: _response.rawResponse,
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/convai/agents/{agent_id}/branches/{branch_id}");
|
|
251
|
+
});
|
|
252
|
+
}
|
|
177
253
|
/**
|
|
178
254
|
* Add a generated voice to the voice library.
|
|
179
255
|
*
|
|
@@ -2,6 +2,9 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../Ba
|
|
|
2
2
|
import { type NormalizedClientOptions } from "../../../../../../BaseClient";
|
|
3
3
|
import * as core from "../../../../../../core";
|
|
4
4
|
import * as ElevenLabs from "../../../../../index";
|
|
5
|
+
import { BranchesClient } from "../resources/branches/client/Client";
|
|
6
|
+
import { DeploymentsClient } from "../resources/deployments/client/Client";
|
|
7
|
+
import { DraftsClient } from "../resources/drafts/client/Client";
|
|
5
8
|
import { KnowledgeBaseClient } from "../resources/knowledgeBase/client/Client";
|
|
6
9
|
import { LinkClient } from "../resources/link/client/Client";
|
|
7
10
|
import { LlmUsageClient } from "../resources/llmUsage/client/Client";
|
|
@@ -19,12 +22,18 @@ export declare class AgentsClient {
|
|
|
19
22
|
protected _link: LinkClient | undefined;
|
|
20
23
|
protected _knowledgeBase: KnowledgeBaseClient | undefined;
|
|
21
24
|
protected _llmUsage: LlmUsageClient | undefined;
|
|
25
|
+
protected _branches: BranchesClient | undefined;
|
|
26
|
+
protected _deployments: DeploymentsClient | undefined;
|
|
27
|
+
protected _drafts: DraftsClient | undefined;
|
|
22
28
|
constructor(options?: AgentsClient.Options);
|
|
23
29
|
get summaries(): SummariesClient;
|
|
24
30
|
get widget(): WidgetClient;
|
|
25
31
|
get link(): LinkClient;
|
|
26
32
|
get knowledgeBase(): KnowledgeBaseClient;
|
|
27
33
|
get llmUsage(): LlmUsageClient;
|
|
34
|
+
get branches(): BranchesClient;
|
|
35
|
+
get deployments(): DeploymentsClient;
|
|
36
|
+
get drafts(): DraftsClient;
|
|
28
37
|
/**
|
|
29
38
|
* Create an agent from a config object
|
|
30
39
|
*
|
|
@@ -52,34 +52,49 @@ const handleNonStatusCodeError_1 = require("../../../../../../errors/handleNonSt
|
|
|
52
52
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
53
53
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
54
54
|
const ElevenLabs = __importStar(require("../../../../../index"));
|
|
55
|
-
const Client_1 = require("../resources/
|
|
56
|
-
const Client_2 = require("../resources/
|
|
57
|
-
const Client_3 = require("../resources/
|
|
58
|
-
const Client_4 = require("../resources/
|
|
59
|
-
const Client_5 = require("../resources/
|
|
55
|
+
const Client_1 = require("../resources/branches/client/Client");
|
|
56
|
+
const Client_2 = require("../resources/deployments/client/Client");
|
|
57
|
+
const Client_3 = require("../resources/drafts/client/Client");
|
|
58
|
+
const Client_4 = require("../resources/knowledgeBase/client/Client");
|
|
59
|
+
const Client_5 = require("../resources/link/client/Client");
|
|
60
|
+
const Client_6 = require("../resources/llmUsage/client/Client");
|
|
61
|
+
const Client_7 = require("../resources/summaries/client/Client");
|
|
62
|
+
const Client_8 = require("../resources/widget/client/Client");
|
|
60
63
|
class AgentsClient {
|
|
61
64
|
constructor(options = {}) {
|
|
62
65
|
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
63
66
|
}
|
|
64
67
|
get summaries() {
|
|
65
68
|
var _a;
|
|
66
|
-
return ((_a = this._summaries) !== null && _a !== void 0 ? _a : (this._summaries = new
|
|
69
|
+
return ((_a = this._summaries) !== null && _a !== void 0 ? _a : (this._summaries = new Client_7.SummariesClient(this._options)));
|
|
67
70
|
}
|
|
68
71
|
get widget() {
|
|
69
72
|
var _a;
|
|
70
|
-
return ((_a = this._widget) !== null && _a !== void 0 ? _a : (this._widget = new
|
|
73
|
+
return ((_a = this._widget) !== null && _a !== void 0 ? _a : (this._widget = new Client_8.WidgetClient(this._options)));
|
|
71
74
|
}
|
|
72
75
|
get link() {
|
|
73
76
|
var _a;
|
|
74
|
-
return ((_a = this._link) !== null && _a !== void 0 ? _a : (this._link = new
|
|
77
|
+
return ((_a = this._link) !== null && _a !== void 0 ? _a : (this._link = new Client_5.LinkClient(this._options)));
|
|
75
78
|
}
|
|
76
79
|
get knowledgeBase() {
|
|
77
80
|
var _a;
|
|
78
|
-
return ((_a = this._knowledgeBase) !== null && _a !== void 0 ? _a : (this._knowledgeBase = new
|
|
81
|
+
return ((_a = this._knowledgeBase) !== null && _a !== void 0 ? _a : (this._knowledgeBase = new Client_4.KnowledgeBaseClient(this._options)));
|
|
79
82
|
}
|
|
80
83
|
get llmUsage() {
|
|
81
84
|
var _a;
|
|
82
|
-
return ((_a = this._llmUsage) !== null && _a !== void 0 ? _a : (this._llmUsage = new
|
|
85
|
+
return ((_a = this._llmUsage) !== null && _a !== void 0 ? _a : (this._llmUsage = new Client_6.LlmUsageClient(this._options)));
|
|
86
|
+
}
|
|
87
|
+
get branches() {
|
|
88
|
+
var _a;
|
|
89
|
+
return ((_a = this._branches) !== null && _a !== void 0 ? _a : (this._branches = new Client_1.BranchesClient(this._options)));
|
|
90
|
+
}
|
|
91
|
+
get deployments() {
|
|
92
|
+
var _a;
|
|
93
|
+
return ((_a = this._deployments) !== null && _a !== void 0 ? _a : (this._deployments = new Client_2.DeploymentsClient(this._options)));
|
|
94
|
+
}
|
|
95
|
+
get drafts() {
|
|
96
|
+
var _a;
|
|
97
|
+
return ((_a = this._drafts) !== null && _a !== void 0 ? _a : (this._drafts = new Client_3.DraftsClient(this._options)));
|
|
83
98
|
}
|
|
84
99
|
/**
|
|
85
100
|
* Create an agent from a config object
|
package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts
CHANGED
|
@@ -16,4 +16,6 @@ export interface UpdateAgentRequest {
|
|
|
16
16
|
tags?: string[];
|
|
17
17
|
/** Description for this version when publishing changes (only applicable for versioned agents) */
|
|
18
18
|
versionDescription?: string;
|
|
19
|
+
/** List of procedure refs used for this agent version. */
|
|
20
|
+
procedureRefs?: ElevenLabs.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem[];
|
|
19
21
|
}
|
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./client"), exports);
|
|
18
18
|
__exportStar(require("./resources"), exports);
|
|
19
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient";
|
|
2
|
+
import { type NormalizedClientOptions } from "../../../../../../../../BaseClient";
|
|
3
|
+
import * as core from "../../../../../../../../core";
|
|
4
|
+
import * as ElevenLabs from "../../../../../../../index";
|
|
5
|
+
export declare namespace BranchesClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class BranchesClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptions<BranchesClient.Options>;
|
|
12
|
+
constructor(options?: BranchesClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Returns a list of branches an agent has
|
|
15
|
+
*
|
|
16
|
+
* @param {string} agent_id - The id of an agent. This is returned on agent creation.
|
|
17
|
+
* @param {ElevenLabs.conversationalAi.agents.BranchesListRequest} request
|
|
18
|
+
* @param {BranchesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
19
|
+
*
|
|
20
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* await client.conversationalAi.agents.branches.list("agent_3701k3ttaq12ewp8b7qv5rfyszkz", {
|
|
24
|
+
* includeArchived: true,
|
|
25
|
+
* limit: 1
|
|
26
|
+
* })
|
|
27
|
+
*/
|
|
28
|
+
list(agent_id: string, request?: ElevenLabs.conversationalAi.agents.BranchesListRequest, requestOptions?: BranchesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ListResponseAgentBranchSummary>;
|
|
29
|
+
private __list;
|
|
30
|
+
/**
|
|
31
|
+
* Create a new branch from a given version of main branch
|
|
32
|
+
*
|
|
33
|
+
* @param {string} agent_id - The id of an agent. This is returned on agent creation.
|
|
34
|
+
* @param {ElevenLabs.conversationalAi.agents.BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost} request
|
|
35
|
+
* @param {BranchesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* await client.conversationalAi.agents.branches.create("agent_3701k3ttaq12ewp8b7qv5rfyszkz", {
|
|
41
|
+
* parentVersionId: "parent_version_id",
|
|
42
|
+
* name: "name",
|
|
43
|
+
* description: "description"
|
|
44
|
+
* })
|
|
45
|
+
*/
|
|
46
|
+
create(agent_id: string, request: ElevenLabs.conversationalAi.agents.BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost, requestOptions?: BranchesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.CreateAgentBranchResponseModel>;
|
|
47
|
+
private __create;
|
|
48
|
+
/**
|
|
49
|
+
* Get information about a single agent branch
|
|
50
|
+
*
|
|
51
|
+
* @param {string} agent_id - The id of an agent. This is returned on agent creation.
|
|
52
|
+
* @param {string} branch_id - Unique identifier for the branch.
|
|
53
|
+
* @param {BranchesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* await client.conversationalAi.agents.branches.get("agent_3701k3ttaq12ewp8b7qv5rfyszkz", "agtbranch_0901k4aafjxxfxt93gd841r7tv5t")
|
|
59
|
+
*/
|
|
60
|
+
get(agent_id: string, branch_id: string, requestOptions?: BranchesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.AgentBranchResponse>;
|
|
61
|
+
private __get;
|
|
62
|
+
/**
|
|
63
|
+
* Update agent branch properties such as archiving status and protection level
|
|
64
|
+
*
|
|
65
|
+
* @param {string} agent_id - The id of an agent. This is returned on agent creation.
|
|
66
|
+
* @param {string} branch_id - Unique identifier for the branch.
|
|
67
|
+
* @param {ElevenLabs.conversationalAi.agents.BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch} request
|
|
68
|
+
* @param {BranchesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* await client.conversationalAi.agents.branches.update("agent_3701k3ttaq12ewp8b7qv5rfyszkz", "agtbranch_0901k4aafjxxfxt93gd841r7tv5t")
|
|
74
|
+
*/
|
|
75
|
+
update(agent_id: string, branch_id: string, request?: ElevenLabs.conversationalAi.agents.BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch, requestOptions?: BranchesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.AgentBranchResponse>;
|
|
76
|
+
private __update;
|
|
77
|
+
/**
|
|
78
|
+
* Merge a branch into a target branch
|
|
79
|
+
*
|
|
80
|
+
* @param {string} agent_id - The id of an agent. This is returned on agent creation.
|
|
81
|
+
* @param {string} source_branch_id - Unique identifier for the source branch to merge from.
|
|
82
|
+
* @param {ElevenLabs.conversationalAi.agents.BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost} request
|
|
83
|
+
* @param {BranchesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* await client.conversationalAi.agents.branches.merge("agent_3701k3ttaq12ewp8b7qv5rfyszkz", "agtbrch_8901k4t9z5defmb8vh3e9361y7nj", {
|
|
89
|
+
* targetBranchId: "agtbrch_8901k4t9z5defmb8vh3e9361y7nj"
|
|
90
|
+
* })
|
|
91
|
+
*/
|
|
92
|
+
merge(agent_id: string, source_branch_id: string, request: ElevenLabs.conversationalAi.agents.BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost, requestOptions?: BranchesClient.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
93
|
+
private __merge;
|
|
94
|
+
}
|