@elevenlabs/elevenlabs-js 2.38.1 → 2.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseClient.js +2 -2
- package/Client.d.ts +3 -0
- package/Client.js +45 -40
- package/api/errors/BadRequestError.d.ts +1 -2
- package/api/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.d.ts +4 -0
- package/api/resources/conversationalAi/conversation/Conversation.d.ts +12 -0
- package/api/resources/conversationalAi/conversation/Conversation.js +18 -0
- package/api/resources/conversationalAi/conversation/__tests__/Conversation.test.js +25 -0
- package/api/resources/conversationalAi/conversation/events.d.ts +19 -2
- package/api/resources/conversationalAi/conversation/events.js +2 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.js +5 -1
- package/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +4 -1
- package/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +0 -1
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +0 -1
- package/api/resources/conversationalAi/resources/agents/index.d.ts +0 -1
- package/api/resources/conversationalAi/resources/agents/index.js +0 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +4 -2
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +29 -5
- 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 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +17 -1
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +4 -0
- package/api/resources/conversationalAi/resources/index.d.ts +0 -2
- package/api/resources/conversationalAi/resources/index.js +0 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +5 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +4 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +13 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +60 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/index.js +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.d.ts +16 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
- package/{dist/serialization/resources/conversationalAi/resources/twilio → api/resources/conversationalAi/resources/knowledgeBase/resources/document}/types/index.js +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +4 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.d.ts +4 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +5 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +16 -6
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/index.d.ts +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/index.js +15 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/requests/ChunkGetRequest.d.ts +11 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/index.js +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelAuthConnection.d.ts +5 -0
- package/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/types/index.js +1 -0
- package/api/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +6 -2
- package/api/resources/conversationalAi/resources/tools/client/Client.js +19 -7
- package/api/resources/conversationalAi/resources/tools/client/requests/ToolsDeleteRequest.d.ts +10 -0
- package/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +4 -1
- package/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.d.ts +1 -1
- package/api/resources/conversationalAi/resources/twilio/index.d.ts +0 -1
- package/api/resources/conversationalAi/resources/twilio/index.js +0 -1
- package/api/resources/conversationalAi/resources/users/client/Client.d.ts +2 -0
- package/api/resources/conversationalAi/resources/users/client/Client.js +9 -1
- package/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts +7 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +1 -0
- package/api/resources/environmentVariables/client/Client.d.ts +86 -0
- package/api/resources/environmentVariables/client/Client.js +362 -0
- package/api/resources/environmentVariables/client/index.d.ts +1 -0
- package/{serialization/resources/conversationalAi/resources/twilio/types → api/resources/environmentVariables/client}/index.js +1 -1
- package/api/resources/environmentVariables/client/requests/EnvironmentVariablesListRequest.d.ts +23 -0
- package/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +11 -0
- package/api/resources/environmentVariables/client/requests/index.d.ts +2 -0
- package/api/resources/environmentVariables/client/requests/index.js +2 -0
- package/api/resources/environmentVariables/index.d.ts +2 -0
- package/{dist/api/resources/conversationalAi/resources/twilio/types → api/resources/environmentVariables}/index.js +2 -1
- package/api/resources/environmentVariables/types/EnvironmentVariablesCreateRequestBody.d.ts +13 -0
- package/api/resources/environmentVariables/types/EnvironmentVariablesListRequestType.d.ts +6 -0
- package/api/resources/environmentVariables/types/EnvironmentVariablesListRequestType.js +9 -0
- package/api/resources/environmentVariables/types/UpdateEnvironmentVariableRequestValuesValue.d.ts +2 -0
- package/api/resources/environmentVariables/types/index.d.ts +3 -0
- package/{dist/api/resources/conversationalAi/resources/agents → api/resources/environmentVariables}/types/index.js +3 -2
- package/api/resources/history/client/Client.js +1 -6
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -0
- package/api/resources/speechToText/client/Client.js +12 -0
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +7 -1
- package/api/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.d.ts +4 -0
- package/api/resources/speechToText/types/index.d.ts +1 -0
- package/api/resources/speechToText/types/index.js +1 -0
- package/api/resources/workspace/client/Client.d.ts +3 -0
- package/api/resources/workspace/client/Client.js +13 -8
- package/api/resources/workspace/resources/authConnections/client/Client.d.ts +58 -0
- package/api/resources/workspace/resources/authConnections/client/Client.js +243 -0
- package/api/resources/workspace/resources/authConnections/client/index.d.ts +1 -0
- package/api/resources/workspace/resources/authConnections/client/index.js +2 -0
- package/api/resources/workspace/resources/authConnections/index.d.ts +2 -0
- package/api/resources/{conversationalAi/resources/twilio/types → workspace/resources/authConnections}/index.js +2 -1
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +22 -0
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +31 -0
- package/api/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
- package/api/resources/workspace/resources/authConnections/types/index.js +18 -0
- package/api/resources/workspace/resources/groups/client/Client.d.ts +12 -0
- package/api/resources/workspace/resources/groups/client/Client.js +59 -0
- package/api/resources/workspace/resources/index.d.ts +2 -0
- package/api/resources/workspace/resources/index.js +3 -1
- package/api/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.d.ts +3 -0
- package/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/api/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +18 -0
- package/api/types/ApiIntegrationOAuth2AuthCodeResponseScopeSeparator.d.ts +6 -0
- package/api/types/ApiIntegrationOAuth2AuthCodeResponseScopeSeparator.js +9 -0
- package/api/types/AsrProvider.d.ts +0 -1
- package/api/types/AsrProvider.js +0 -1
- package/api/types/AstAndOperatorNodeInputChildrenItem.d.ts +6 -2
- package/api/types/AstAndOperatorNodeOutputChildrenItem.d.ts +4 -1
- package/api/types/AstConditionalOperatorNodeInput.d.ts +9 -0
- package/api/types/AstConditionalOperatorNodeInputCondition.d.ts +50 -0
- package/api/types/AstConditionalOperatorNodeInputFalseExpression.d.ts +50 -0
- package/api/types/AstConditionalOperatorNodeInputFalseExpression.js +3 -0
- package/api/types/AstConditionalOperatorNodeInputTrueExpression.d.ts +50 -0
- package/api/types/AstConditionalOperatorNodeInputTrueExpression.js +3 -0
- package/api/types/AstConditionalOperatorNodeOutput.d.ts +9 -0
- package/api/types/AstConditionalOperatorNodeOutput.js +3 -0
- package/api/types/AstConditionalOperatorNodeOutputCondition.d.ts +49 -0
- package/api/types/AstConditionalOperatorNodeOutputCondition.js +3 -0
- package/api/types/AstConditionalOperatorNodeOutputFalseExpression.d.ts +49 -0
- package/api/types/AstConditionalOperatorNodeOutputFalseExpression.js +3 -0
- package/api/types/AstConditionalOperatorNodeOutputTrueExpression.d.ts +49 -0
- package/api/types/AstConditionalOperatorNodeOutputTrueExpression.js +3 -0
- package/api/types/AstEqualsOperatorNodeInputLeft.d.ts +6 -2
- package/api/types/AstEqualsOperatorNodeInputRight.d.ts +6 -2
- package/api/types/AstEqualsOperatorNodeOutputLeft.d.ts +4 -1
- package/api/types/AstEqualsOperatorNodeOutputRight.d.ts +4 -1
- package/api/types/AstGreaterThanOperatorNodeInputLeft.d.ts +6 -2
- package/api/types/AstGreaterThanOperatorNodeInputRight.d.ts +6 -2
- package/api/types/AstGreaterThanOperatorNodeOutputLeft.d.ts +4 -1
- package/api/types/AstGreaterThanOperatorNodeOutputRight.d.ts +4 -1
- package/api/types/AstGreaterThanOrEqualsOperatorNodeInputLeft.d.ts +6 -2
- package/api/types/AstGreaterThanOrEqualsOperatorNodeInputRight.d.ts +6 -2
- package/api/types/AstGreaterThanOrEqualsOperatorNodeOutputLeft.d.ts +4 -1
- package/api/types/AstGreaterThanOrEqualsOperatorNodeOutputRight.d.ts +4 -1
- package/api/types/AstLessThanOperatorNodeInputLeft.d.ts +6 -2
- package/api/types/AstLessThanOperatorNodeInputRight.d.ts +6 -2
- package/api/types/AstLessThanOperatorNodeOutputLeft.d.ts +4 -1
- package/api/types/AstLessThanOperatorNodeOutputRight.d.ts +4 -1
- package/api/types/AstLessThanOrEqualsOperatorNodeInputLeft.d.ts +6 -2
- package/api/types/AstLessThanOrEqualsOperatorNodeInputRight.d.ts +6 -2
- package/api/types/AstLessThanOrEqualsOperatorNodeOutputLeft.d.ts +4 -1
- package/api/types/AstLessThanOrEqualsOperatorNodeOutputRight.d.ts +4 -1
- package/api/types/AstNotEqualsOperatorNodeInputLeft.d.ts +6 -2
- package/api/types/AstNotEqualsOperatorNodeInputRight.d.ts +6 -2
- package/api/types/AstNotEqualsOperatorNodeOutputLeft.d.ts +4 -1
- package/api/types/AstNotEqualsOperatorNodeOutputRight.d.ts +4 -1
- package/api/types/AstOrOperatorNodeInputChildrenItem.d.ts +6 -2
- package/api/types/AstOrOperatorNodeOutputChildrenItem.d.ts +4 -1
- package/api/types/AstllmNodeInput.d.ts +2 -4
- package/api/types/AstllmNodeInputPrompt.d.ts +5 -0
- package/api/types/AstllmNodeInputPrompt.js +3 -0
- package/api/types/AstllmNodeInputValueSchema.d.ts +6 -0
- package/api/types/AstllmNodeInputValueSchema.js +3 -0
- package/api/types/AstllmNodeOutput.d.ts +4 -1
- package/api/types/AuthConnectionDependencies.d.ts +9 -0
- package/api/types/AuthConnectionDependencies.js +3 -0
- package/api/types/AuthConnectionDependenciesMcpServersItem.d.ts +10 -0
- package/api/types/AuthConnectionDependenciesMcpServersItem.js +3 -0
- package/api/types/AuthConnectionDependenciesToolsItem.d.ts +10 -0
- package/api/types/AuthConnectionDependenciesToolsItem.js +3 -0
- package/api/types/AutoSyncInfo.d.ts +10 -0
- package/api/types/AutoSyncInfo.js +3 -0
- package/api/types/BasicAuthResponse.d.ts +11 -0
- package/api/types/BasicAuthResponse.js +3 -0
- package/api/types/BatchCallDetailedResponse.d.ts +2 -0
- package/api/types/BatchCallResponse.d.ts +2 -0
- package/api/types/BearerAuthResponse.d.ts +10 -0
- package/api/types/BearerAuthResponse.js +3 -0
- package/api/types/BuiltInToolsInput.d.ts +0 -2
- package/api/types/BuiltInToolsOutput.d.ts +0 -2
- package/api/types/BuiltInToolsWorkflowOverrideInput.d.ts +0 -2
- package/api/types/BuiltInToolsWorkflowOverrideOutput.d.ts +0 -2
- package/api/types/CaptionStyleModel.d.ts +4 -0
- package/api/types/CaptionStyleModelTextBlendMode.d.ts +6 -0
- package/api/types/CaptionStyleModelTextBlendMode.js +9 -0
- package/api/types/CaptionStyleModelTextTransform.d.ts +5 -0
- package/api/types/CaptionStyleModelTextTransform.js +8 -0
- package/api/types/CaptionStyleModelTextWeight.d.ts +1 -0
- package/api/types/CaptionStyleModelTextWeight.js +1 -0
- package/api/types/ChapterResponse.d.ts +2 -0
- package/api/types/ChapterWithContentResponseModel.d.ts +2 -0
- package/api/types/CheckRentalAvailabilityParams.d.ts +3 -0
- package/api/types/CheckRentalAvailabilityParams.js +3 -0
- package/api/types/CoachedAgentSettings.d.ts +1 -0
- package/api/types/CoachingAgentSettings.d.ts +1 -0
- package/api/types/ContentConfig.d.ts +7 -7
- package/api/types/ContentGuardrailInput.d.ts +1 -0
- package/api/types/ContentGuardrailInputTriggerAction.d.ts +10 -0
- package/api/types/ContentGuardrailInputTriggerAction.js +3 -0
- package/api/types/ContentGuardrailOutput.d.ts +1 -0
- package/api/types/ContentGuardrailOutputTriggerAction.d.ts +10 -0
- package/api/types/ContentGuardrailOutputTriggerAction.js +3 -0
- package/api/types/ContentThresholdGuardrail.d.ts +5 -0
- package/api/types/ContentThresholdGuardrail.js +3 -0
- package/api/types/ContentThresholdGuardrailThreshold.d.ts +1 -0
- package/api/types/ContentThresholdGuardrailThreshold.js +3 -0
- package/api/types/Contributor.d.ts +2 -0
- package/api/types/ConvAiEnvVarLocator.d.ts +6 -0
- package/api/types/ConvAiEnvVarLocator.js +3 -0
- package/api/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +2 -1
- package/{dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts → api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.d.ts} +4 -4
- package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.js +3 -0
- package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.d.ts +16 -0
- package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.js +3 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptResponseModelToolResultsItem.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsInput.d.ts +7 -0
- package/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsInput.js +3 -0
- package/api/types/{ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.d.ts → ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsOutput.d.ts} +1 -1
- package/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsOutput.js +3 -0
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.d.ts +1 -1
- package/api/types/ConversationHistoryTwilioPhoneCallModel.d.ts +1 -1
- package/api/types/ConversationInitiationSource.d.ts +1 -0
- package/api/types/ConversationInitiationSource.js +1 -0
- package/api/types/ConversationSummaryResponseModel.d.ts +2 -1
- package/api/types/ConversationUserResponseModel.d.ts +1 -1
- package/api/types/CreateAuthConnectionEnvironmentVariableRequest.d.ts +7 -0
- package/api/types/CreateAuthConnectionEnvironmentVariableRequest.js +3 -0
- package/api/types/CreateBasicAuthRequest.d.ts +9 -0
- package/api/types/CreateBasicAuthRequest.js +3 -0
- package/api/types/CreateCustomHeaderAuthRequest.d.ts +7 -0
- package/api/types/CreateCustomHeaderAuthRequest.js +3 -0
- package/api/types/CreateOAuth2ClientCredsRequest.d.ts +15 -0
- package/api/types/CreateOAuth2ClientCredsRequest.js +3 -0
- package/api/types/CreateOAuth2JwtRequest.d.ts +27 -0
- package/api/types/CreateOAuth2JwtRequest.js +3 -0
- package/api/types/CreateOAuth2JwtRequestAlgorithm.d.ts +10 -0
- package/api/types/CreateOAuth2JwtRequestAlgorithm.js +13 -0
- package/api/types/CreatePrivateKeyJwtRequest.d.ts +23 -0
- package/api/types/CreatePrivateKeyJwtRequest.js +3 -0
- package/api/types/CreatePrivateKeyJwtRequestAlgorithm.d.ts +10 -0
- package/api/types/CreatePrivateKeyJwtRequestAlgorithm.js +13 -0
- package/api/types/CreateRentalBookingParams.d.ts +3 -0
- package/api/types/CreateRentalBookingParams.js +3 -0
- package/api/types/CreateSecretEnvironmentVariableRequest.d.ts +7 -0
- package/api/types/CreateSecretEnvironmentVariableRequest.js +3 -0
- package/api/types/CreateSimulationTestRequest.d.ts +2 -0
- package/api/types/CreateStringEnvironmentVariableRequest.d.ts +6 -0
- package/api/types/CreateStringEnvironmentVariableRequest.js +3 -0
- package/api/types/CustomGuardrailConfig.d.ts +1 -0
- package/api/types/CustomGuardrailConfigTriggerAction.d.ts +10 -0
- package/api/types/CustomGuardrailConfigTriggerAction.js +3 -0
- package/api/types/CustomHeaderAuthResponse.d.ts +12 -0
- package/api/types/CustomHeaderAuthResponse.js +3 -0
- package/api/types/CustomLlm.d.ts +1 -1
- package/api/types/CustomLlmApiKey.d.ts +5 -0
- package/api/types/CustomLlmApiKey.js +3 -0
- package/api/types/CustomLlmRequestHeadersValue.d.ts +1 -1
- package/api/types/DependentAvailableMcpServerIdentifier.d.ts +7 -0
- package/api/types/DependentAvailableMcpServerIdentifier.js +3 -0
- package/api/types/DependentAvailableMcpServerIdentifierAccessLevel.d.ts +7 -0
- package/api/types/DependentAvailableMcpServerIdentifierAccessLevel.js +10 -0
- package/api/types/DependentIntegrationConnectionIdentifier.d.ts +7 -0
- package/api/types/DependentIntegrationConnectionIdentifier.js +3 -0
- package/api/types/DependentUnknownMcpServerIdentifier.d.ts +3 -0
- package/api/types/DependentUnknownMcpServerIdentifier.js +3 -0
- package/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/api/types/EndCallTriggerAction.d.ts +1 -0
- package/api/types/EndCallTriggerAction.js +3 -0
- package/api/types/EnvironmentAuthConnectionLocator.d.ts +8 -0
- package/api/types/EnvironmentAuthConnectionLocator.js +3 -0
- package/api/types/EnvironmentVariableAuthConnectionValue.d.ts +3 -0
- package/api/types/EnvironmentVariableAuthConnectionValue.js +3 -0
- package/api/types/EnvironmentVariableAuthConnectionValueRequest.d.ts +3 -0
- package/api/types/EnvironmentVariableAuthConnectionValueRequest.js +3 -0
- package/api/types/EnvironmentVariableResponse.d.ts +11 -0
- package/api/types/EnvironmentVariableResponse.js +3 -0
- package/api/types/EnvironmentVariableResponseType.d.ts +6 -0
- package/api/types/EnvironmentVariableResponseType.js +9 -0
- package/api/types/EnvironmentVariableResponseValues.d.ts +2 -0
- package/api/types/EnvironmentVariableResponseValues.js +3 -0
- package/api/types/EnvironmentVariableSecretValue.d.ts +3 -0
- package/api/types/EnvironmentVariableSecretValue.js +3 -0
- package/api/types/EnvironmentVariableSecretValueRequest.d.ts +3 -0
- package/api/types/EnvironmentVariableSecretValueRequest.js +3 -0
- package/api/types/EnvironmentVariablesListResponse.d.ts +6 -0
- package/api/types/EnvironmentVariablesListResponse.js +3 -0
- package/api/types/GetAgentResponseModel.d.ts +0 -2
- package/api/types/GetConvAiSettingsResponseModel.d.ts +2 -0
- package/api/types/GetConversationResponseModel.d.ts +1 -0
- package/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +1 -0
- package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +1 -0
- package/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +1 -0
- package/api/types/GetSimulationTestResponseModel.d.ts +2 -0
- package/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/api/types/GetWhatsAppAccountResponse.d.ts +1 -0
- package/api/types/GuardrailsV1Input.d.ts +0 -1
- package/api/types/GuardrailsV1Output.d.ts +0 -1
- package/api/types/ListAuthConnectionsResponse.d.ts +4 -0
- package/api/types/ListAuthConnectionsResponse.js +3 -0
- package/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +31 -0
- package/api/types/ListAuthConnectionsResponseAuthConnectionsItem.js +3 -0
- package/api/types/ListRentalServicesParams.d.ts +4 -0
- package/api/types/ListRentalServicesParams.js +3 -0
- package/api/types/Llm.d.ts +1 -0
- package/api/types/Llm.js +1 -0
- package/api/types/LlmLiteralJsonSchemaProperty.d.ts +7 -0
- package/api/types/LlmLiteralJsonSchemaProperty.js +3 -0
- package/api/types/LlmLiteralJsonSchemaPropertyType.d.ts +7 -0
- package/api/types/LlmLiteralJsonSchemaPropertyType.js +10 -0
- package/api/types/McpServerConfigInput.d.ts +1 -1
- package/api/types/McpServerConfigInputAuthConnection.d.ts +5 -0
- package/api/types/McpServerConfigInputAuthConnection.js +3 -0
- package/api/types/McpServerConfigInputRequestHeadersValue.d.ts +1 -1
- package/api/types/McpServerConfigOutput.d.ts +1 -1
- package/api/types/McpServerConfigOutputAuthConnection.d.ts +5 -0
- package/api/types/McpServerConfigOutputAuthConnection.js +3 -0
- package/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +1 -1
- package/api/types/NoCoachingSettings.d.ts +1 -0
- package/api/types/OAuth2ClientCredsResponse.d.ts +16 -0
- package/api/types/OAuth2ClientCredsResponse.js +3 -0
- package/api/types/OAuth2JwtResponse.d.ts +28 -0
- package/api/types/OAuth2JwtResponse.js +3 -0
- package/api/types/OAuth2JwtResponseAlgorithm.d.ts +10 -0
- package/api/types/OAuth2JwtResponseAlgorithm.js +13 -0
- package/api/types/PendingClipTaskType.d.ts +1 -0
- package/api/types/PendingClipTaskType.js +1 -0
- package/api/types/PlayDtmfToolConfig.d.ts +3 -1
- package/api/types/PreviewAudioDbModel.d.ts +2 -0
- package/api/types/PrivateKeyJwtResponse.d.ts +24 -0
- package/api/types/PrivateKeyJwtResponse.js +3 -0
- package/api/types/PrivateKeyJwtResponseAlgorithm.d.ts +10 -0
- package/api/types/PrivateKeyJwtResponseAlgorithm.js +13 -0
- package/api/types/ProjectExternalAudioResponseModel.d.ts +2 -1
- package/api/types/ProjectVideoResponseModel.d.ts +2 -0
- package/api/types/RetryTriggerAction.d.ts +4 -0
- package/api/types/RetryTriggerAction.js +3 -0
- package/api/types/SimulationTestModel.d.ts +2 -0
- package/api/types/SingleTestRunRequestModel.d.ts +4 -0
- package/api/types/SpeechHistoryItemResponse.d.ts +2 -0
- package/api/types/StudioTextStyleOutlineModel.d.ts +6 -0
- package/api/types/StudioTextStyleOutlineModel.js +3 -0
- package/api/types/StudioTextStyleShadowModel.d.ts +8 -0
- package/api/types/StudioTextStyleShadowModel.js +3 -0
- package/api/types/Subscription.d.ts +4 -0
- package/api/types/SystemToolConfigInputParams.d.ts +1 -4
- package/api/types/SystemToolConfigOutputParams.d.ts +1 -4
- package/api/types/TelephonyDirection.d.ts +5 -0
- package/api/types/{ConversationSummaryResponseModelDirection.js → TelephonyDirection.js} +2 -2
- package/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +1 -1
- package/api/types/TextToSpeechApplyTextNormalizationEnum.js +1 -1
- package/api/types/TtsConversationalModel.d.ts +4 -0
- package/api/types/TtsConversationalModel.js +4 -0
- package/api/types/TtsModelFamily.d.ts +2 -0
- package/api/types/TtsModelFamily.js +2 -0
- package/api/types/UnitTestRunResponseModel.d.ts +3 -0
- package/api/types/UpdateSimulationTestRequest.d.ts +2 -0
- package/api/types/UsersSortBy.d.ts +5 -0
- package/api/types/UsersSortBy.js +8 -0
- package/api/types/VideoAnalysis.d.ts +6 -0
- package/api/types/VideoAnalysis.js +3 -0
- package/api/types/VideoAnalysisResult.d.ts +11 -0
- package/api/types/VideoAnalysisResult.js +3 -0
- package/api/types/VideoAnalysisStatus.d.ts +6 -0
- package/api/types/VideoAnalysisStatus.js +9 -0
- package/api/types/VideoKeyMoment.d.ts +5 -0
- package/api/types/VideoKeyMoment.js +3 -0
- package/api/types/VideoSegment.d.ts +12 -0
- package/api/types/VideoSegment.js +3 -0
- package/api/types/VideoSubject.d.ts +4 -0
- package/api/types/VideoSubject.js +3 -0
- package/api/types/VideoTranscription.d.ts +6 -0
- package/api/types/VideoTranscription.js +3 -0
- package/api/types/VideoTranscriptionWord.d.ts +6 -0
- package/api/types/VideoTranscriptionWord.js +3 -0
- package/api/types/WebhookToolApiSchemaConfigInput.d.ts +1 -1
- package/api/types/WebhookToolApiSchemaConfigInputAuthConnection.d.ts +5 -0
- package/api/types/WebhookToolApiSchemaConfigInputAuthConnection.js +3 -0
- package/api/types/WebhookToolApiSchemaConfigInputRequestHeadersValue.d.ts +1 -1
- package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -1
- package/api/types/WebhookToolApiSchemaConfigOutputAuthConnection.d.ts +5 -0
- package/api/types/WebhookToolApiSchemaConfigOutputAuthConnection.js +3 -0
- package/api/types/WebhookToolApiSchemaConfigOutputRequestHeadersValue.d.ts +1 -1
- package/api/types/WhatsAppAuthResponse.d.ts +8 -0
- package/api/types/WhatsAppAuthResponse.js +3 -0
- package/api/types/WorkflowExpressionConditionModelInputExpression.d.ts +6 -2
- package/api/types/WorkflowExpressionConditionModelOutputExpression.d.ts +4 -1
- package/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +1 -1
- package/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +1 -1
- package/api/types/index.d.ts +86 -8
- package/api/types/index.js +86 -8
- package/dist/BaseClient.js +2 -2
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +45 -40
- package/dist/api/errors/BadRequestError.d.ts +1 -2
- package/dist/api/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.d.ts +4 -0
- package/dist/api/resources/conversationalAi/conversation/Conversation.d.ts +12 -0
- package/dist/api/resources/conversationalAi/conversation/Conversation.js +18 -0
- package/dist/api/resources/conversationalAi/conversation/__tests__/Conversation.test.js +25 -0
- package/dist/api/resources/conversationalAi/conversation/events.d.ts +19 -2
- package/dist/api/resources/conversationalAi/conversation/events.js +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +5 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +0 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +0 -1
- package/dist/api/resources/conversationalAi/resources/agents/index.d.ts +0 -1
- package/dist/api/resources/conversationalAi/resources/agents/index.js +0 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +4 -2
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +29 -5
- 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 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +17 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +4 -0
- package/dist/api/resources/conversationalAi/resources/index.d.ts +0 -2
- package/dist/api/resources/conversationalAi/resources/index.js +0 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +5 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +60 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.d.ts +16 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.js +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +4 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.d.ts +4 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +5 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +16 -6
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/index.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/index.js +15 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/requests/ChunkGetRequest.d.ts +11 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/requests/ChunkGetRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelAuthConnection.d.ts +5 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelAuthConnection.js +3 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/types/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +6 -2
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +19 -7
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsDeleteRequest.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsDeleteRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/twilio/index.d.ts +0 -1
- package/dist/api/resources/conversationalAi/resources/twilio/index.js +0 -1
- package/dist/api/resources/conversationalAi/resources/users/client/Client.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/users/client/Client.js +9 -1
- package/dist/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts +7 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +1 -0
- package/dist/api/resources/environmentVariables/client/Client.d.ts +86 -0
- package/dist/api/resources/environmentVariables/client/Client.js +362 -0
- package/dist/api/resources/environmentVariables/client/index.d.ts +1 -0
- package/dist/api/resources/environmentVariables/client/index.js +17 -0
- package/dist/api/resources/environmentVariables/client/requests/EnvironmentVariablesListRequest.d.ts +23 -0
- package/dist/api/resources/environmentVariables/client/requests/EnvironmentVariablesListRequest.js +3 -0
- package/dist/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +11 -0
- package/dist/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +3 -0
- package/dist/api/resources/environmentVariables/client/requests/index.d.ts +2 -0
- package/dist/api/resources/environmentVariables/client/requests/index.js +2 -0
- package/dist/api/resources/environmentVariables/index.d.ts +2 -0
- package/dist/api/resources/environmentVariables/index.js +18 -0
- package/dist/api/resources/environmentVariables/types/EnvironmentVariablesCreateRequestBody.d.ts +13 -0
- package/dist/api/resources/environmentVariables/types/EnvironmentVariablesCreateRequestBody.js +3 -0
- package/dist/api/resources/environmentVariables/types/EnvironmentVariablesListRequestType.d.ts +6 -0
- package/dist/api/resources/environmentVariables/types/EnvironmentVariablesListRequestType.js +9 -0
- package/dist/api/resources/environmentVariables/types/UpdateEnvironmentVariableRequestValuesValue.d.ts +2 -0
- package/dist/api/resources/environmentVariables/types/UpdateEnvironmentVariableRequestValuesValue.js +3 -0
- package/dist/api/resources/environmentVariables/types/index.d.ts +3 -0
- package/{api/resources/conversationalAi/resources/agents → dist/api/resources/environmentVariables}/types/index.js +3 -2
- package/dist/api/resources/history/client/Client.js +1 -6
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -0
- package/dist/api/resources/speechToText/client/Client.js +12 -0
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +7 -1
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.d.ts +4 -0
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.js +3 -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/workspace/client/Client.d.ts +3 -0
- package/dist/api/resources/workspace/client/Client.js +13 -8
- package/dist/api/resources/workspace/resources/authConnections/client/Client.d.ts +58 -0
- package/dist/api/resources/workspace/resources/authConnections/client/Client.js +243 -0
- package/dist/api/resources/workspace/resources/authConnections/client/index.d.ts +1 -0
- package/dist/api/resources/workspace/resources/authConnections/client/index.js +2 -0
- package/dist/api/resources/workspace/resources/authConnections/index.d.ts +2 -0
- package/dist/api/resources/workspace/resources/authConnections/index.js +18 -0
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +22 -0
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.js +3 -0
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +31 -0
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +3 -0
- package/dist/api/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
- package/dist/api/resources/workspace/resources/authConnections/types/index.js +18 -0
- package/dist/api/resources/workspace/resources/groups/client/Client.d.ts +12 -0
- package/dist/api/resources/workspace/resources/groups/client/Client.js +59 -0
- package/dist/api/resources/workspace/resources/index.d.ts +2 -0
- package/dist/api/resources/workspace/resources/index.js +3 -1
- package/dist/api/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.d.ts +3 -0
- package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/dist/api/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +18 -0
- package/dist/api/types/ApiIntegrationOAuth2AuthCodeResponse.js +3 -0
- package/dist/api/types/ApiIntegrationOAuth2AuthCodeResponseScopeSeparator.d.ts +6 -0
- package/dist/api/types/ApiIntegrationOAuth2AuthCodeResponseScopeSeparator.js +9 -0
- package/dist/api/types/AsrProvider.d.ts +0 -1
- package/dist/api/types/AsrProvider.js +0 -1
- package/dist/api/types/AstAndOperatorNodeInputChildrenItem.d.ts +6 -2
- package/dist/api/types/AstAndOperatorNodeOutputChildrenItem.d.ts +4 -1
- package/dist/api/types/AstConditionalOperatorNodeInput.d.ts +9 -0
- package/dist/api/types/AstConditionalOperatorNodeInput.js +3 -0
- package/dist/api/types/AstConditionalOperatorNodeInputCondition.d.ts +50 -0
- package/dist/api/types/AstConditionalOperatorNodeInputCondition.js +3 -0
- package/dist/api/types/AstConditionalOperatorNodeInputFalseExpression.d.ts +50 -0
- package/dist/api/types/AstConditionalOperatorNodeInputFalseExpression.js +3 -0
- package/dist/api/types/AstConditionalOperatorNodeInputTrueExpression.d.ts +50 -0
- package/dist/api/types/AstConditionalOperatorNodeInputTrueExpression.js +3 -0
- package/dist/api/types/AstConditionalOperatorNodeOutput.d.ts +9 -0
- package/dist/api/types/AstConditionalOperatorNodeOutput.js +3 -0
- package/dist/api/types/AstConditionalOperatorNodeOutputCondition.d.ts +49 -0
- package/dist/api/types/AstConditionalOperatorNodeOutputCondition.js +3 -0
- package/dist/api/types/AstConditionalOperatorNodeOutputFalseExpression.d.ts +49 -0
- package/dist/api/types/AstConditionalOperatorNodeOutputFalseExpression.js +3 -0
- package/dist/api/types/AstConditionalOperatorNodeOutputTrueExpression.d.ts +49 -0
- package/dist/api/types/AstConditionalOperatorNodeOutputTrueExpression.js +3 -0
- package/dist/api/types/AstEqualsOperatorNodeInputLeft.d.ts +6 -2
- package/dist/api/types/AstEqualsOperatorNodeInputRight.d.ts +6 -2
- package/dist/api/types/AstEqualsOperatorNodeOutputLeft.d.ts +4 -1
- package/dist/api/types/AstEqualsOperatorNodeOutputRight.d.ts +4 -1
- package/dist/api/types/AstGreaterThanOperatorNodeInputLeft.d.ts +6 -2
- package/dist/api/types/AstGreaterThanOperatorNodeInputRight.d.ts +6 -2
- package/dist/api/types/AstGreaterThanOperatorNodeOutputLeft.d.ts +4 -1
- package/dist/api/types/AstGreaterThanOperatorNodeOutputRight.d.ts +4 -1
- package/dist/api/types/AstGreaterThanOrEqualsOperatorNodeInputLeft.d.ts +6 -2
- package/dist/api/types/AstGreaterThanOrEqualsOperatorNodeInputRight.d.ts +6 -2
- package/dist/api/types/AstGreaterThanOrEqualsOperatorNodeOutputLeft.d.ts +4 -1
- package/dist/api/types/AstGreaterThanOrEqualsOperatorNodeOutputRight.d.ts +4 -1
- package/dist/api/types/AstLessThanOperatorNodeInputLeft.d.ts +6 -2
- package/dist/api/types/AstLessThanOperatorNodeInputRight.d.ts +6 -2
- package/dist/api/types/AstLessThanOperatorNodeOutputLeft.d.ts +4 -1
- package/dist/api/types/AstLessThanOperatorNodeOutputRight.d.ts +4 -1
- package/dist/api/types/AstLessThanOrEqualsOperatorNodeInputLeft.d.ts +6 -2
- package/dist/api/types/AstLessThanOrEqualsOperatorNodeInputRight.d.ts +6 -2
- package/dist/api/types/AstLessThanOrEqualsOperatorNodeOutputLeft.d.ts +4 -1
- package/dist/api/types/AstLessThanOrEqualsOperatorNodeOutputRight.d.ts +4 -1
- package/dist/api/types/AstNotEqualsOperatorNodeInputLeft.d.ts +6 -2
- package/dist/api/types/AstNotEqualsOperatorNodeInputRight.d.ts +6 -2
- package/dist/api/types/AstNotEqualsOperatorNodeOutputLeft.d.ts +4 -1
- package/dist/api/types/AstNotEqualsOperatorNodeOutputRight.d.ts +4 -1
- package/dist/api/types/AstOrOperatorNodeInputChildrenItem.d.ts +6 -2
- package/dist/api/types/AstOrOperatorNodeOutputChildrenItem.d.ts +4 -1
- package/dist/api/types/AstllmNodeInput.d.ts +2 -4
- package/dist/api/types/AstllmNodeInputPrompt.d.ts +5 -0
- package/dist/api/types/AstllmNodeInputPrompt.js +3 -0
- package/dist/api/types/AstllmNodeInputValueSchema.d.ts +6 -0
- package/dist/api/types/AstllmNodeInputValueSchema.js +3 -0
- package/dist/api/types/AstllmNodeOutput.d.ts +4 -1
- package/dist/api/types/AuthConnectionDependencies.d.ts +9 -0
- package/dist/api/types/AuthConnectionDependencies.js +3 -0
- package/dist/api/types/AuthConnectionDependenciesMcpServersItem.d.ts +10 -0
- package/dist/api/types/AuthConnectionDependenciesMcpServersItem.js +3 -0
- package/dist/api/types/AuthConnectionDependenciesToolsItem.d.ts +10 -0
- package/dist/api/types/AuthConnectionDependenciesToolsItem.js +3 -0
- package/dist/api/types/AutoSyncInfo.d.ts +10 -0
- package/dist/api/types/AutoSyncInfo.js +3 -0
- package/dist/api/types/BasicAuthResponse.d.ts +11 -0
- package/dist/api/types/BasicAuthResponse.js +3 -0
- package/dist/api/types/BatchCallDetailedResponse.d.ts +2 -0
- package/dist/api/types/BatchCallResponse.d.ts +2 -0
- package/dist/api/types/BearerAuthResponse.d.ts +10 -0
- package/dist/api/types/BearerAuthResponse.js +3 -0
- package/dist/api/types/BuiltInToolsInput.d.ts +0 -2
- package/dist/api/types/BuiltInToolsOutput.d.ts +0 -2
- package/dist/api/types/BuiltInToolsWorkflowOverrideInput.d.ts +0 -2
- package/dist/api/types/BuiltInToolsWorkflowOverrideOutput.d.ts +0 -2
- package/dist/api/types/CaptionStyleModel.d.ts +4 -0
- package/dist/api/types/CaptionStyleModelTextBlendMode.d.ts +6 -0
- package/dist/api/types/CaptionStyleModelTextBlendMode.js +9 -0
- package/dist/api/types/CaptionStyleModelTextTransform.d.ts +5 -0
- package/dist/api/types/CaptionStyleModelTextTransform.js +8 -0
- package/dist/api/types/CaptionStyleModelTextWeight.d.ts +1 -0
- package/dist/api/types/CaptionStyleModelTextWeight.js +1 -0
- package/dist/api/types/ChapterResponse.d.ts +2 -0
- package/dist/api/types/ChapterWithContentResponseModel.d.ts +2 -0
- package/dist/api/types/CheckRentalAvailabilityParams.d.ts +3 -0
- package/dist/api/types/CheckRentalAvailabilityParams.js +3 -0
- package/dist/api/types/CoachedAgentSettings.d.ts +1 -0
- package/dist/api/types/CoachingAgentSettings.d.ts +1 -0
- package/dist/api/types/ContentConfig.d.ts +7 -7
- package/dist/api/types/ContentGuardrailInput.d.ts +1 -0
- package/dist/api/types/ContentGuardrailInputTriggerAction.d.ts +10 -0
- package/dist/api/types/ContentGuardrailInputTriggerAction.js +3 -0
- package/dist/api/types/ContentGuardrailOutput.d.ts +1 -0
- package/dist/api/types/ContentGuardrailOutputTriggerAction.d.ts +10 -0
- package/dist/api/types/ContentGuardrailOutputTriggerAction.js +3 -0
- package/dist/api/types/ContentThresholdGuardrail.d.ts +5 -0
- package/dist/api/types/ContentThresholdGuardrail.js +3 -0
- package/dist/api/types/ContentThresholdGuardrailThreshold.d.ts +1 -0
- package/dist/api/types/ContentThresholdGuardrailThreshold.js +3 -0
- package/dist/api/types/Contributor.d.ts +2 -0
- package/dist/api/types/ConvAiEnvVarLocator.d.ts +6 -0
- package/dist/api/types/ConvAiEnvVarLocator.js +3 -0
- package/dist/api/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +2 -1
- package/{api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts → dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.d.ts} +4 -4
- package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.d.ts +16 -0
- package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptResponseModelToolResultsItem.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsInput.d.ts +7 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsInput.js +3 -0
- package/dist/api/types/{ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.d.ts → ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsOutput.d.ts} +1 -1
- package/dist/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsOutput.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTwilioPhoneCallModel.d.ts +1 -1
- package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
- package/dist/api/types/ConversationInitiationSource.js +1 -0
- package/dist/api/types/ConversationSummaryResponseModel.d.ts +2 -1
- package/dist/api/types/ConversationUserResponseModel.d.ts +1 -1
- package/dist/api/types/CreateAuthConnectionEnvironmentVariableRequest.d.ts +7 -0
- package/dist/api/types/CreateAuthConnectionEnvironmentVariableRequest.js +3 -0
- package/dist/api/types/CreateBasicAuthRequest.d.ts +9 -0
- package/dist/api/types/CreateBasicAuthRequest.js +3 -0
- package/dist/api/types/CreateCustomHeaderAuthRequest.d.ts +7 -0
- package/dist/api/types/CreateCustomHeaderAuthRequest.js +3 -0
- package/dist/api/types/CreateOAuth2ClientCredsRequest.d.ts +15 -0
- package/dist/api/types/CreateOAuth2ClientCredsRequest.js +3 -0
- package/dist/api/types/CreateOAuth2JwtRequest.d.ts +27 -0
- package/dist/api/types/CreateOAuth2JwtRequest.js +3 -0
- package/dist/api/types/CreateOAuth2JwtRequestAlgorithm.d.ts +10 -0
- package/dist/api/types/CreateOAuth2JwtRequestAlgorithm.js +13 -0
- package/dist/api/types/CreatePrivateKeyJwtRequest.d.ts +23 -0
- package/dist/api/types/CreatePrivateKeyJwtRequest.js +3 -0
- package/dist/api/types/CreatePrivateKeyJwtRequestAlgorithm.d.ts +10 -0
- package/dist/api/types/CreatePrivateKeyJwtRequestAlgorithm.js +13 -0
- package/dist/api/types/CreateRentalBookingParams.d.ts +3 -0
- package/dist/api/types/CreateRentalBookingParams.js +3 -0
- package/dist/api/types/CreateSecretEnvironmentVariableRequest.d.ts +7 -0
- package/dist/api/types/CreateSecretEnvironmentVariableRequest.js +3 -0
- package/dist/api/types/CreateSimulationTestRequest.d.ts +2 -0
- package/dist/api/types/CreateStringEnvironmentVariableRequest.d.ts +6 -0
- package/dist/api/types/CreateStringEnvironmentVariableRequest.js +3 -0
- package/dist/api/types/CustomGuardrailConfig.d.ts +1 -0
- package/dist/api/types/CustomGuardrailConfigTriggerAction.d.ts +10 -0
- package/dist/api/types/CustomGuardrailConfigTriggerAction.js +3 -0
- package/dist/api/types/CustomHeaderAuthResponse.d.ts +12 -0
- package/dist/api/types/CustomHeaderAuthResponse.js +3 -0
- package/dist/api/types/CustomLlm.d.ts +1 -1
- package/dist/api/types/CustomLlmApiKey.d.ts +5 -0
- package/dist/api/types/CustomLlmApiKey.js +3 -0
- package/dist/api/types/CustomLlmRequestHeadersValue.d.ts +1 -1
- package/dist/api/types/DependentAvailableMcpServerIdentifier.d.ts +7 -0
- package/dist/api/types/DependentAvailableMcpServerIdentifier.js +3 -0
- package/dist/api/types/DependentAvailableMcpServerIdentifierAccessLevel.d.ts +7 -0
- package/dist/api/types/DependentAvailableMcpServerIdentifierAccessLevel.js +10 -0
- package/dist/api/types/DependentIntegrationConnectionIdentifier.d.ts +7 -0
- package/dist/api/types/DependentIntegrationConnectionIdentifier.js +3 -0
- package/dist/api/types/DependentUnknownMcpServerIdentifier.d.ts +3 -0
- package/dist/api/types/DependentUnknownMcpServerIdentifier.js +3 -0
- package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/dist/api/types/EndCallTriggerAction.d.ts +1 -0
- package/dist/api/types/EndCallTriggerAction.js +3 -0
- package/dist/api/types/EnvironmentAuthConnectionLocator.d.ts +8 -0
- package/dist/api/types/EnvironmentAuthConnectionLocator.js +3 -0
- package/dist/api/types/EnvironmentVariableAuthConnectionValue.d.ts +3 -0
- package/dist/api/types/EnvironmentVariableAuthConnectionValue.js +3 -0
- package/dist/api/types/EnvironmentVariableAuthConnectionValueRequest.d.ts +3 -0
- package/dist/api/types/EnvironmentVariableAuthConnectionValueRequest.js +3 -0
- package/dist/api/types/EnvironmentVariableResponse.d.ts +11 -0
- package/dist/api/types/EnvironmentVariableResponse.js +3 -0
- package/dist/api/types/EnvironmentVariableResponseType.d.ts +6 -0
- package/dist/api/types/EnvironmentVariableResponseType.js +9 -0
- package/dist/api/types/EnvironmentVariableResponseValues.d.ts +2 -0
- package/dist/api/types/EnvironmentVariableResponseValues.js +3 -0
- package/dist/api/types/EnvironmentVariableSecretValue.d.ts +3 -0
- package/dist/api/types/EnvironmentVariableSecretValue.js +3 -0
- package/dist/api/types/EnvironmentVariableSecretValueRequest.d.ts +3 -0
- package/dist/api/types/EnvironmentVariableSecretValueRequest.js +3 -0
- package/dist/api/types/EnvironmentVariablesListResponse.d.ts +6 -0
- package/dist/api/types/EnvironmentVariablesListResponse.js +3 -0
- package/dist/api/types/GetAgentResponseModel.d.ts +0 -2
- package/dist/api/types/GetConvAiSettingsResponseModel.d.ts +2 -0
- package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +1 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +1 -0
- package/dist/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +1 -0
- package/dist/api/types/GetSimulationTestResponseModel.d.ts +2 -0
- package/dist/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/dist/api/types/GetWhatsAppAccountResponse.d.ts +1 -0
- package/dist/api/types/GuardrailsV1Input.d.ts +0 -1
- package/dist/api/types/GuardrailsV1Output.d.ts +0 -1
- package/dist/api/types/ListAuthConnectionsResponse.d.ts +4 -0
- package/dist/api/types/ListAuthConnectionsResponse.js +3 -0
- package/dist/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +31 -0
- package/dist/api/types/ListAuthConnectionsResponseAuthConnectionsItem.js +3 -0
- package/dist/api/types/ListRentalServicesParams.d.ts +4 -0
- package/dist/api/types/ListRentalServicesParams.js +3 -0
- package/dist/api/types/Llm.d.ts +1 -0
- package/dist/api/types/Llm.js +1 -0
- package/dist/api/types/LlmLiteralJsonSchemaProperty.d.ts +7 -0
- package/dist/api/types/LlmLiteralJsonSchemaProperty.js +3 -0
- package/dist/api/types/LlmLiteralJsonSchemaPropertyType.d.ts +7 -0
- package/dist/api/types/LlmLiteralJsonSchemaPropertyType.js +10 -0
- package/dist/api/types/McpServerConfigInput.d.ts +1 -1
- package/dist/api/types/McpServerConfigInputAuthConnection.d.ts +5 -0
- package/dist/api/types/McpServerConfigInputAuthConnection.js +3 -0
- package/dist/api/types/McpServerConfigInputRequestHeadersValue.d.ts +1 -1
- package/dist/api/types/McpServerConfigOutput.d.ts +1 -1
- package/dist/api/types/McpServerConfigOutputAuthConnection.d.ts +5 -0
- package/dist/api/types/McpServerConfigOutputAuthConnection.js +3 -0
- package/dist/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +1 -1
- package/dist/api/types/NoCoachingSettings.d.ts +1 -0
- package/dist/api/types/OAuth2ClientCredsResponse.d.ts +16 -0
- package/dist/api/types/OAuth2ClientCredsResponse.js +3 -0
- package/dist/api/types/OAuth2JwtResponse.d.ts +28 -0
- package/dist/api/types/OAuth2JwtResponse.js +3 -0
- package/dist/api/types/OAuth2JwtResponseAlgorithm.d.ts +10 -0
- package/dist/api/types/OAuth2JwtResponseAlgorithm.js +13 -0
- package/dist/api/types/PendingClipTaskType.d.ts +1 -0
- package/dist/api/types/PendingClipTaskType.js +1 -0
- package/dist/api/types/PlayDtmfToolConfig.d.ts +3 -1
- package/dist/api/types/PreviewAudioDbModel.d.ts +2 -0
- package/dist/api/types/PrivateKeyJwtResponse.d.ts +24 -0
- package/dist/api/types/PrivateKeyJwtResponse.js +3 -0
- package/dist/api/types/PrivateKeyJwtResponseAlgorithm.d.ts +10 -0
- package/dist/api/types/PrivateKeyJwtResponseAlgorithm.js +13 -0
- package/dist/api/types/ProjectExternalAudioResponseModel.d.ts +2 -1
- package/dist/api/types/ProjectVideoResponseModel.d.ts +2 -0
- package/dist/api/types/RetryTriggerAction.d.ts +4 -0
- package/dist/api/types/RetryTriggerAction.js +3 -0
- package/dist/api/types/SimulationTestModel.d.ts +2 -0
- package/dist/api/types/SingleTestRunRequestModel.d.ts +4 -0
- package/dist/api/types/SpeechHistoryItemResponse.d.ts +2 -0
- package/dist/api/types/StudioTextStyleOutlineModel.d.ts +6 -0
- package/dist/api/types/StudioTextStyleOutlineModel.js +3 -0
- package/dist/api/types/StudioTextStyleShadowModel.d.ts +8 -0
- package/dist/api/types/StudioTextStyleShadowModel.js +3 -0
- package/dist/api/types/Subscription.d.ts +4 -0
- package/dist/api/types/SystemToolConfigInputParams.d.ts +1 -4
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +1 -4
- package/dist/api/types/TelephonyDirection.d.ts +5 -0
- package/dist/api/types/{ConversationSummaryResponseModelDirection.js → TelephonyDirection.js} +2 -2
- package/dist/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +1 -1
- package/dist/api/types/TextToSpeechApplyTextNormalizationEnum.js +1 -1
- package/dist/api/types/TtsConversationalModel.d.ts +4 -0
- package/dist/api/types/TtsConversationalModel.js +4 -0
- package/dist/api/types/TtsModelFamily.d.ts +2 -0
- package/dist/api/types/TtsModelFamily.js +2 -0
- package/dist/api/types/UnitTestRunResponseModel.d.ts +3 -0
- package/dist/api/types/UpdateSimulationTestRequest.d.ts +2 -0
- package/dist/api/types/UsersSortBy.d.ts +5 -0
- package/dist/api/types/UsersSortBy.js +8 -0
- package/dist/api/types/VideoAnalysis.d.ts +6 -0
- package/dist/api/types/VideoAnalysis.js +3 -0
- package/dist/api/types/VideoAnalysisResult.d.ts +11 -0
- package/dist/api/types/VideoAnalysisResult.js +3 -0
- package/dist/api/types/VideoAnalysisStatus.d.ts +6 -0
- package/dist/api/types/VideoAnalysisStatus.js +9 -0
- package/dist/api/types/VideoKeyMoment.d.ts +5 -0
- package/dist/api/types/VideoKeyMoment.js +3 -0
- package/dist/api/types/VideoSegment.d.ts +12 -0
- package/dist/api/types/VideoSegment.js +3 -0
- package/dist/api/types/VideoSubject.d.ts +4 -0
- package/dist/api/types/VideoSubject.js +3 -0
- package/dist/api/types/VideoTranscription.d.ts +6 -0
- package/dist/api/types/VideoTranscription.js +3 -0
- package/dist/api/types/VideoTranscriptionWord.d.ts +6 -0
- package/dist/api/types/VideoTranscriptionWord.js +3 -0
- package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +1 -1
- package/dist/api/types/WebhookToolApiSchemaConfigInputAuthConnection.d.ts +5 -0
- package/dist/api/types/WebhookToolApiSchemaConfigInputAuthConnection.js +3 -0
- package/dist/api/types/WebhookToolApiSchemaConfigInputRequestHeadersValue.d.ts +1 -1
- package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -1
- package/dist/api/types/WebhookToolApiSchemaConfigOutputAuthConnection.d.ts +5 -0
- package/dist/api/types/WebhookToolApiSchemaConfigOutputAuthConnection.js +3 -0
- package/dist/api/types/WebhookToolApiSchemaConfigOutputRequestHeadersValue.d.ts +1 -1
- package/dist/api/types/WhatsAppAuthResponse.d.ts +8 -0
- package/dist/api/types/WhatsAppAuthResponse.js +3 -0
- package/dist/api/types/WorkflowExpressionConditionModelInputExpression.d.ts +6 -2
- package/dist/api/types/WorkflowExpressionConditionModelOutputExpression.d.ts +4 -1
- package/dist/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +1 -1
- package/dist/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +1 -1
- package/dist/api/types/index.d.ts +86 -8
- package/dist/api/types/index.js +86 -8
- package/dist/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.d.ts +2 -0
- package/dist/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +0 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +0 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +0 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +0 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/index.d.ts +0 -1
- package/dist/serialization/resources/conversationalAi/resources/agents/index.js +0 -1
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +0 -2
- package/dist/serialization/resources/conversationalAi/resources/index.js +0 -2
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.d.ts +23 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.js +53 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +2 -2
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +2 -2
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelAuthConnection.d.ts +9 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelAuthConnection.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +2 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js +7 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.d.ts +2 -2
- package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.js +2 -2
- package/dist/serialization/resources/conversationalAi/resources/twilio/index.d.ts +0 -1
- package/dist/serialization/resources/conversationalAi/resources/twilio/index.js +0 -1
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +1 -0
- package/dist/serialization/resources/environmentVariables/client/index.d.ts +1 -0
- package/dist/serialization/resources/environmentVariables/client/index.js +17 -0
- package/dist/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +10 -0
- package/dist/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +42 -0
- package/dist/serialization/resources/environmentVariables/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/environmentVariables/client/requests/index.js +5 -0
- package/dist/serialization/resources/environmentVariables/index.d.ts +2 -0
- package/dist/serialization/resources/environmentVariables/index.js +18 -0
- package/dist/serialization/resources/environmentVariables/types/EnvironmentVariablesCreateRequestBody.d.ts +19 -0
- package/dist/serialization/resources/environmentVariables/types/EnvironmentVariablesCreateRequestBody.js +51 -0
- package/dist/serialization/resources/environmentVariables/types/EnvironmentVariablesListRequestType.d.ts +7 -0
- package/dist/serialization/resources/environmentVariables/types/EnvironmentVariablesListRequestType.js +39 -0
- package/dist/serialization/resources/environmentVariables/types/UpdateEnvironmentVariableRequestValuesValue.d.ts +9 -0
- package/dist/serialization/resources/environmentVariables/types/UpdateEnvironmentVariableRequestValuesValue.js +45 -0
- package/dist/serialization/resources/environmentVariables/types/index.d.ts +3 -0
- package/dist/serialization/resources/environmentVariables/types/index.js +19 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +1 -0
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.d.ts +7 -0
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.js +42 -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/workspace/resources/authConnections/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/resources/authConnections/index.js +17 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +27 -0
- package/{serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.js → dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.js} +13 -7
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +39 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +61 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/index.js +18 -0
- package/dist/serialization/resources/workspace/resources/groups/client/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/resources/groups/client/index.js +2 -1
- package/dist/serialization/resources/workspace/resources/groups/client/list.d.ts +8 -0
- package/dist/serialization/resources/{conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.js → workspace/resources/groups/client/list.js} +3 -2
- package/dist/serialization/resources/workspace/resources/index.d.ts +2 -0
- package/dist/serialization/resources/workspace/resources/index.js +3 -1
- package/dist/serialization/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.d.ts +2 -0
- package/dist/serialization/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.js +2 -0
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
- package/dist/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +20 -0
- package/dist/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.js +52 -0
- package/dist/serialization/types/ApiIntegrationOAuth2AuthCodeResponseScopeSeparator.d.ts +7 -0
- package/dist/serialization/types/{ConversationHistoryTwilioPhoneCallModelDirection.js → ApiIntegrationOAuth2AuthCodeResponseScopeSeparator.js} +2 -2
- package/dist/serialization/types/AsrProvider.d.ts +1 -1
- package/dist/serialization/types/AsrProvider.js +1 -1
- package/dist/serialization/types/AstAndOperatorNodeInputChildrenItem.d.ts +6 -2
- package/dist/serialization/types/AstAndOperatorNodeInputChildrenItem.js +4 -1
- package/dist/serialization/types/AstAndOperatorNodeOutputChildrenItem.d.ts +4 -1
- package/dist/serialization/types/AstAndOperatorNodeOutputChildrenItem.js +1 -0
- package/dist/serialization/types/AstConditionalOperatorNodeInput.d.ts +11 -0
- package/dist/serialization/types/AstConditionalOperatorNodeInput.js +44 -0
- package/dist/serialization/types/AstConditionalOperatorNodeInputCondition.d.ts +55 -0
- package/dist/serialization/types/AstConditionalOperatorNodeInputCondition.js +67 -0
- package/dist/serialization/types/AstConditionalOperatorNodeInputFalseExpression.d.ts +55 -0
- package/dist/serialization/types/AstConditionalOperatorNodeInputFalseExpression.js +67 -0
- package/dist/serialization/types/AstConditionalOperatorNodeInputTrueExpression.d.ts +55 -0
- package/dist/serialization/types/AstConditionalOperatorNodeInputTrueExpression.js +67 -0
- package/dist/serialization/types/AstConditionalOperatorNodeOutput.d.ts +11 -0
- package/dist/serialization/types/AstConditionalOperatorNodeOutput.js +44 -0
- package/dist/serialization/types/AstConditionalOperatorNodeOutputCondition.d.ts +54 -0
- package/dist/serialization/types/AstConditionalOperatorNodeOutputCondition.js +65 -0
- package/dist/serialization/types/AstConditionalOperatorNodeOutputFalseExpression.d.ts +54 -0
- package/dist/serialization/types/AstConditionalOperatorNodeOutputFalseExpression.js +65 -0
- package/dist/serialization/types/AstConditionalOperatorNodeOutputTrueExpression.d.ts +54 -0
- package/dist/serialization/types/AstConditionalOperatorNodeOutputTrueExpression.js +65 -0
- package/dist/serialization/types/AstEqualsOperatorNodeInputLeft.d.ts +6 -2
- package/dist/serialization/types/AstEqualsOperatorNodeInputLeft.js +4 -1
- package/dist/serialization/types/AstEqualsOperatorNodeInputRight.d.ts +6 -2
- package/dist/serialization/types/AstEqualsOperatorNodeInputRight.js +4 -1
- package/dist/serialization/types/AstEqualsOperatorNodeOutputLeft.d.ts +4 -1
- package/dist/serialization/types/AstEqualsOperatorNodeOutputLeft.js +1 -0
- package/dist/serialization/types/AstEqualsOperatorNodeOutputRight.d.ts +4 -1
- package/dist/serialization/types/AstEqualsOperatorNodeOutputRight.js +1 -0
- package/dist/serialization/types/AstGreaterThanOperatorNodeInputLeft.d.ts +6 -2
- package/dist/serialization/types/AstGreaterThanOperatorNodeInputLeft.js +4 -1
- package/dist/serialization/types/AstGreaterThanOperatorNodeInputRight.d.ts +6 -2
- package/dist/serialization/types/AstGreaterThanOperatorNodeInputRight.js +4 -1
- package/dist/serialization/types/AstGreaterThanOperatorNodeOutputLeft.d.ts +4 -1
- package/dist/serialization/types/AstGreaterThanOperatorNodeOutputLeft.js +1 -0
- package/dist/serialization/types/AstGreaterThanOperatorNodeOutputRight.d.ts +4 -1
- package/dist/serialization/types/AstGreaterThanOperatorNodeOutputRight.js +1 -0
- package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeInputLeft.d.ts +6 -2
- package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeInputLeft.js +4 -1
- package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeInputRight.d.ts +6 -2
- package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeInputRight.js +4 -1
- package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeOutputLeft.d.ts +4 -1
- package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeOutputLeft.js +1 -0
- package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeOutputRight.d.ts +4 -1
- package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeOutputRight.js +1 -0
- package/dist/serialization/types/AstLessThanOperatorNodeInputLeft.d.ts +6 -2
- package/dist/serialization/types/AstLessThanOperatorNodeInputLeft.js +4 -1
- package/dist/serialization/types/AstLessThanOperatorNodeInputRight.d.ts +6 -2
- package/dist/serialization/types/AstLessThanOperatorNodeInputRight.js +4 -1
- package/dist/serialization/types/AstLessThanOperatorNodeOutputLeft.d.ts +4 -1
- package/dist/serialization/types/AstLessThanOperatorNodeOutputLeft.js +1 -0
- package/dist/serialization/types/AstLessThanOperatorNodeOutputRight.d.ts +4 -1
- package/dist/serialization/types/AstLessThanOperatorNodeOutputRight.js +1 -0
- package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeInputLeft.d.ts +6 -2
- package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeInputLeft.js +4 -1
- package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeInputRight.d.ts +6 -2
- package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeInputRight.js +4 -1
- package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeOutputLeft.d.ts +4 -1
- package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeOutputLeft.js +1 -0
- package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeOutputRight.d.ts +4 -1
- package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeOutputRight.js +1 -0
- package/dist/serialization/types/AstNotEqualsOperatorNodeInputLeft.d.ts +6 -2
- package/dist/serialization/types/AstNotEqualsOperatorNodeInputLeft.js +4 -1
- package/dist/serialization/types/AstNotEqualsOperatorNodeInputRight.d.ts +6 -2
- package/dist/serialization/types/AstNotEqualsOperatorNodeInputRight.js +4 -1
- package/dist/serialization/types/AstNotEqualsOperatorNodeOutputLeft.d.ts +4 -1
- package/dist/serialization/types/AstNotEqualsOperatorNodeOutputLeft.js +1 -0
- package/dist/serialization/types/AstNotEqualsOperatorNodeOutputRight.d.ts +4 -1
- package/dist/serialization/types/AstNotEqualsOperatorNodeOutputRight.js +1 -0
- package/dist/serialization/types/AstOrOperatorNodeInputChildrenItem.d.ts +6 -2
- package/dist/serialization/types/AstOrOperatorNodeInputChildrenItem.js +4 -1
- package/dist/serialization/types/AstOrOperatorNodeOutputChildrenItem.d.ts +4 -1
- package/dist/serialization/types/AstOrOperatorNodeOutputChildrenItem.js +1 -0
- package/dist/serialization/types/AstllmNodeInput.d.ts +4 -4
- package/dist/serialization/types/AstllmNodeInput.js +3 -3
- package/dist/serialization/types/AstllmNodeInputPrompt.d.ts +10 -0
- package/dist/serialization/types/AstllmNodeInputPrompt.js +42 -0
- package/dist/serialization/types/AstllmNodeInputValueSchema.d.ts +11 -0
- package/dist/serialization/types/AstllmNodeInputValueSchema.js +43 -0
- package/dist/serialization/types/AstllmNodeOutput.d.ts +2 -0
- package/dist/serialization/types/AstllmNodeOutput.js +2 -0
- package/dist/serialization/types/AuthConnectionDependencies.d.ts +14 -0
- package/dist/serialization/types/AuthConnectionDependencies.js +46 -0
- package/dist/serialization/types/AuthConnectionDependenciesMcpServersItem.d.ts +15 -0
- package/dist/serialization/{resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.js → types/AuthConnectionDependenciesMcpServersItem.js} +7 -7
- package/dist/serialization/types/AuthConnectionDependenciesToolsItem.d.ts +15 -0
- package/dist/serialization/{resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.js → types/AuthConnectionDependenciesToolsItem.js} +7 -7
- package/dist/serialization/types/AutoSyncInfo.d.ts +12 -0
- package/dist/serialization/types/AutoSyncInfo.js +44 -0
- package/dist/serialization/types/BasicAuthResponse.d.ts +14 -0
- package/dist/serialization/types/BasicAuthResponse.js +46 -0
- package/dist/serialization/types/BatchCallDetailedResponse.d.ts +1 -0
- package/dist/serialization/types/BatchCallDetailedResponse.js +1 -0
- package/dist/serialization/types/BatchCallResponse.d.ts +1 -0
- package/dist/serialization/types/BatchCallResponse.js +1 -0
- package/dist/serialization/types/BearerAuthResponse.d.ts +13 -0
- package/dist/serialization/types/BearerAuthResponse.js +45 -0
- package/dist/serialization/types/BuiltInToolsInput.d.ts +0 -1
- package/dist/serialization/types/BuiltInToolsInput.js +0 -1
- package/dist/serialization/types/BuiltInToolsOutput.d.ts +0 -1
- package/dist/serialization/types/BuiltInToolsOutput.js +0 -1
- package/dist/serialization/types/BuiltInToolsWorkflowOverrideInput.d.ts +0 -1
- package/dist/serialization/types/BuiltInToolsWorkflowOverrideInput.js +0 -1
- package/dist/serialization/types/BuiltInToolsWorkflowOverrideOutput.d.ts +0 -1
- package/dist/serialization/types/BuiltInToolsWorkflowOverrideOutput.js +0 -1
- package/dist/serialization/types/CaptionStyleModel.d.ts +8 -0
- package/dist/serialization/types/CaptionStyleModel.js +8 -0
- package/dist/serialization/types/CaptionStyleModelTextBlendMode.d.ts +7 -0
- package/dist/serialization/types/{ConversationSummaryResponseModelDirection.js → CaptionStyleModelTextBlendMode.js} +2 -2
- package/dist/serialization/types/CaptionStyleModelTextTransform.d.ts +7 -0
- package/{serialization/types/ConversationSummaryResponseModelDirection.js → dist/serialization/types/CaptionStyleModelTextTransform.js} +2 -2
- package/dist/serialization/types/CaptionStyleModelTextWeight.d.ts +1 -1
- package/dist/serialization/types/CaptionStyleModelTextWeight.js +1 -1
- package/dist/serialization/types/ChapterResponse.d.ts +1 -0
- package/dist/serialization/types/ChapterResponse.js +1 -0
- package/dist/serialization/types/ChapterWithContentResponseModel.d.ts +1 -0
- package/dist/serialization/types/ChapterWithContentResponseModel.js +1 -0
- package/dist/serialization/types/CheckRentalAvailabilityParams.d.ts +9 -0
- package/dist/serialization/types/CheckRentalAvailabilityParams.js +41 -0
- package/dist/serialization/types/CoachedAgentSettings.d.ts +1 -0
- package/dist/serialization/types/CoachedAgentSettings.js +1 -0
- package/dist/serialization/types/CoachingAgentSettings.d.ts +1 -0
- package/dist/serialization/types/CoachingAgentSettings.js +1 -0
- package/dist/serialization/types/ContentConfig.d.ts +8 -8
- package/dist/serialization/types/ContentConfig.js +8 -8
- package/dist/serialization/types/ContentGuardrailInput.d.ts +2 -0
- package/dist/serialization/types/ContentGuardrailInput.js +2 -0
- package/dist/serialization/types/ContentGuardrailInputTriggerAction.d.ts +15 -0
- package/dist/serialization/types/{GetAgentResponseModelCoachingSettings.js → ContentGuardrailInputTriggerAction.js} +6 -8
- package/dist/serialization/types/ContentGuardrailOutput.d.ts +2 -0
- package/dist/serialization/types/ContentGuardrailOutput.js +2 -0
- package/dist/serialization/types/ContentGuardrailOutputTriggerAction.d.ts +15 -0
- package/{serialization/types/GetAgentResponseModelCoachingSettings.js → dist/serialization/types/ContentGuardrailOutputTriggerAction.js} +6 -8
- package/dist/serialization/types/ContentThresholdGuardrail.d.ts +11 -0
- package/dist/serialization/types/ContentThresholdGuardrail.js +43 -0
- package/dist/serialization/types/ContentThresholdGuardrailThreshold.d.ts +7 -0
- package/dist/serialization/types/ContentThresholdGuardrailThreshold.js +44 -0
- package/dist/serialization/types/Contributor.d.ts +2 -0
- package/dist/serialization/types/Contributor.js +2 -0
- package/dist/serialization/types/ConvAiEnvVarLocator.d.ts +9 -0
- package/{serialization/types/ConversationHistorySipTrunkingPhoneCallModelDirection.js → dist/serialization/types/ConvAiEnvVarLocator.js} +4 -2
- package/dist/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +3 -2
- package/dist/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.js +3 -2
- package/dist/serialization/types/{ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts → ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.d.ts} +5 -5
- package/{serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js → dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.js} +5 -5
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.d.ts +22 -0
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.js +54 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsInput.d.ts +13 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsInput.js +45 -0
- package/{serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.d.ts → dist/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsOutput.d.ts} +2 -2
- package/{serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.js → dist/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsOutput.js} +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.js +2 -2
- package/dist/serialization/types/ConversationHistoryTwilioPhoneCallModel.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTwilioPhoneCallModel.js +2 -2
- package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationSource.js +1 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +3 -2
- package/dist/serialization/types/ConversationSummaryResponseModel.js +3 -2
- package/dist/serialization/types/ConversationUserResponseModel.d.ts +1 -1
- package/dist/serialization/types/ConversationUserResponseModel.js +1 -1
- package/dist/serialization/types/CreateAuthConnectionEnvironmentVariableRequest.d.ts +11 -0
- package/dist/serialization/types/CreateAuthConnectionEnvironmentVariableRequest.js +43 -0
- package/dist/serialization/types/CreateBasicAuthRequest.d.ts +12 -0
- package/dist/serialization/types/CreateBasicAuthRequest.js +44 -0
- package/dist/serialization/types/CreateCustomHeaderAuthRequest.d.ts +12 -0
- package/dist/serialization/types/CreateCustomHeaderAuthRequest.js +44 -0
- package/dist/serialization/types/CreateOAuth2ClientCredsRequest.d.ts +17 -0
- package/dist/serialization/types/CreateOAuth2ClientCredsRequest.js +49 -0
- package/dist/serialization/types/CreateOAuth2JwtRequest.d.ts +21 -0
- package/dist/serialization/types/CreateOAuth2JwtRequest.js +53 -0
- package/dist/serialization/types/CreateOAuth2JwtRequestAlgorithm.d.ts +7 -0
- package/{serialization/types/ConversationHistoryTwilioPhoneCallModelDirection.js → dist/serialization/types/CreateOAuth2JwtRequestAlgorithm.js} +2 -2
- package/dist/serialization/types/CreatePrivateKeyJwtRequest.d.ts +19 -0
- package/dist/serialization/types/CreatePrivateKeyJwtRequest.js +51 -0
- package/dist/serialization/types/CreatePrivateKeyJwtRequestAlgorithm.d.ts +7 -0
- package/dist/serialization/types/CreatePrivateKeyJwtRequestAlgorithm.js +39 -0
- package/dist/serialization/types/CreateRentalBookingParams.d.ts +9 -0
- package/dist/serialization/types/CreateRentalBookingParams.js +41 -0
- package/dist/serialization/types/CreateSecretEnvironmentVariableRequest.d.ts +11 -0
- package/dist/serialization/types/CreateSecretEnvironmentVariableRequest.js +43 -0
- package/dist/serialization/types/CreateSimulationTestRequest.d.ts +1 -0
- package/dist/serialization/types/CreateSimulationTestRequest.js +1 -0
- package/dist/serialization/types/CreateStringEnvironmentVariableRequest.d.ts +10 -0
- package/dist/serialization/types/CreateStringEnvironmentVariableRequest.js +42 -0
- package/dist/serialization/types/CustomGuardrailConfig.d.ts +2 -0
- package/dist/serialization/types/CustomGuardrailConfig.js +2 -0
- package/dist/serialization/types/CustomGuardrailConfigTriggerAction.d.ts +15 -0
- package/dist/serialization/types/CustomGuardrailConfigTriggerAction.js +49 -0
- package/dist/serialization/types/CustomHeaderAuthResponse.d.ts +14 -0
- package/dist/serialization/types/CustomHeaderAuthResponse.js +46 -0
- package/dist/serialization/types/CustomLlm.d.ts +2 -2
- package/dist/serialization/types/CustomLlm.js +2 -2
- package/dist/serialization/types/CustomLlmApiKey.d.ts +9 -0
- package/dist/serialization/types/CustomLlmApiKey.js +41 -0
- package/dist/serialization/types/CustomLlmRequestHeadersValue.d.ts +2 -1
- package/dist/serialization/types/CustomLlmRequestHeadersValue.js +7 -1
- package/dist/serialization/types/DependentAvailableMcpServerIdentifier.d.ts +13 -0
- package/dist/serialization/types/DependentAvailableMcpServerIdentifier.js +45 -0
- package/dist/serialization/types/DependentAvailableMcpServerIdentifierAccessLevel.d.ts +7 -0
- package/dist/serialization/types/DependentAvailableMcpServerIdentifierAccessLevel.js +39 -0
- package/dist/serialization/types/DependentIntegrationConnectionIdentifier.d.ts +10 -0
- package/dist/serialization/types/DependentIntegrationConnectionIdentifier.js +42 -0
- package/dist/serialization/types/DependentUnknownMcpServerIdentifier.d.ts +9 -0
- package/dist/serialization/types/DependentUnknownMcpServerIdentifier.js +41 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -0
- package/dist/serialization/types/EndCallTriggerAction.d.ts +7 -0
- package/dist/serialization/types/EndCallTriggerAction.js +39 -0
- package/dist/serialization/types/EnvironmentAuthConnectionLocator.d.ts +9 -0
- package/dist/serialization/types/EnvironmentAuthConnectionLocator.js +41 -0
- package/dist/serialization/types/EnvironmentVariableAuthConnectionValue.d.ts +9 -0
- package/dist/serialization/types/EnvironmentVariableAuthConnectionValue.js +41 -0
- package/dist/serialization/types/EnvironmentVariableAuthConnectionValueRequest.d.ts +9 -0
- package/dist/serialization/types/EnvironmentVariableAuthConnectionValueRequest.js +41 -0
- package/dist/serialization/types/EnvironmentVariableResponse.d.ts +18 -0
- package/dist/serialization/types/EnvironmentVariableResponse.js +50 -0
- package/dist/serialization/types/EnvironmentVariableResponseType.d.ts +7 -0
- package/dist/serialization/types/EnvironmentVariableResponseType.js +39 -0
- package/dist/serialization/types/EnvironmentVariableResponseValues.d.ts +9 -0
- package/dist/serialization/types/EnvironmentVariableResponseValues.js +45 -0
- package/dist/serialization/types/EnvironmentVariableSecretValue.d.ts +9 -0
- package/dist/serialization/types/EnvironmentVariableSecretValue.js +41 -0
- package/dist/serialization/types/EnvironmentVariableSecretValueRequest.d.ts +9 -0
- package/dist/serialization/types/EnvironmentVariableSecretValueRequest.js +41 -0
- package/dist/serialization/types/EnvironmentVariablesListResponse.d.ts +12 -0
- package/dist/serialization/types/EnvironmentVariablesListResponse.js +44 -0
- package/dist/serialization/types/GetAgentResponseModel.d.ts +0 -2
- package/dist/serialization/types/GetAgentResponseModel.js +0 -2
- package/dist/serialization/types/GetConvAiSettingsResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetConvAiSettingsResponseModel.js +1 -0
- package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetConversationResponseModel.js +1 -0
- package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.js +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +2 -0
- package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.js +2 -0
- package/dist/serialization/types/GetSimulationTestResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetSimulationTestResponseModel.js +1 -0
- package/dist/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
- package/dist/serialization/types/GetWhatsAppAccountResponse.d.ts +1 -0
- package/dist/serialization/types/GetWhatsAppAccountResponse.js +1 -0
- package/dist/serialization/types/GuardrailsV1Input.d.ts +0 -2
- package/dist/serialization/types/GuardrailsV1Input.js +0 -2
- package/dist/serialization/types/GuardrailsV1Output.d.ts +0 -2
- package/dist/serialization/types/GuardrailsV1Output.js +0 -2
- package/dist/serialization/types/ListAuthConnectionsResponse.d.ts +10 -0
- package/dist/serialization/types/ListAuthConnectionsResponse.js +42 -0
- package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +39 -0
- package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +61 -0
- package/dist/serialization/types/ListRentalServicesParams.d.ts +10 -0
- package/dist/serialization/types/ListRentalServicesParams.js +42 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +1 -0
- package/dist/serialization/types/LlmLiteralJsonSchemaProperty.d.ts +12 -0
- package/dist/serialization/types/LlmLiteralJsonSchemaProperty.js +44 -0
- package/dist/serialization/types/LlmLiteralJsonSchemaPropertyType.d.ts +7 -0
- package/dist/serialization/types/LlmLiteralJsonSchemaPropertyType.js +39 -0
- package/dist/serialization/types/McpServerConfigInput.d.ts +2 -2
- package/dist/serialization/types/McpServerConfigInput.js +2 -2
- package/dist/serialization/types/McpServerConfigInputAuthConnection.d.ts +9 -0
- package/dist/serialization/types/McpServerConfigInputAuthConnection.js +41 -0
- package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +2 -1
- package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.js +7 -1
- package/dist/serialization/types/McpServerConfigOutput.d.ts +2 -2
- package/dist/serialization/types/McpServerConfigOutput.js +2 -2
- package/dist/serialization/types/McpServerConfigOutputAuthConnection.d.ts +9 -0
- package/dist/serialization/types/McpServerConfigOutputAuthConnection.js +41 -0
- package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +2 -1
- package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.js +7 -1
- package/dist/serialization/types/NoCoachingSettings.d.ts +1 -0
- package/dist/serialization/types/NoCoachingSettings.js +1 -0
- package/dist/serialization/types/OAuth2ClientCredsResponse.d.ts +18 -0
- package/dist/serialization/types/OAuth2ClientCredsResponse.js +50 -0
- package/dist/serialization/types/OAuth2JwtResponse.d.ts +23 -0
- package/dist/serialization/types/OAuth2JwtResponse.js +55 -0
- package/dist/serialization/types/OAuth2JwtResponseAlgorithm.d.ts +7 -0
- package/dist/serialization/types/OAuth2JwtResponseAlgorithm.js +39 -0
- package/dist/serialization/types/PendingClipTaskType.d.ts +1 -1
- package/dist/serialization/types/PendingClipTaskType.js +1 -1
- package/dist/serialization/types/PlayDtmfToolConfig.d.ts +1 -0
- package/dist/serialization/types/PlayDtmfToolConfig.js +1 -0
- package/dist/serialization/types/PreviewAudioDbModel.d.ts +2 -0
- package/dist/serialization/types/PreviewAudioDbModel.js +2 -0
- package/dist/serialization/types/PrivateKeyJwtResponse.d.ts +21 -0
- package/dist/serialization/types/PrivateKeyJwtResponse.js +53 -0
- package/dist/serialization/types/PrivateKeyJwtResponseAlgorithm.d.ts +7 -0
- package/dist/serialization/types/PrivateKeyJwtResponseAlgorithm.js +39 -0
- package/dist/serialization/types/ProjectExternalAudioResponseModel.d.ts +2 -1
- package/dist/serialization/types/ProjectExternalAudioResponseModel.js +2 -1
- package/dist/serialization/types/ProjectVideoResponseModel.d.ts +3 -0
- package/dist/serialization/types/ProjectVideoResponseModel.js +3 -0
- package/dist/serialization/types/RetryTriggerAction.d.ts +9 -0
- package/dist/serialization/types/RetryTriggerAction.js +41 -0
- package/dist/serialization/types/SimulationTestModel.d.ts +1 -0
- package/dist/serialization/types/SimulationTestModel.js +1 -0
- package/dist/serialization/types/SingleTestRunRequestModel.d.ts +2 -0
- package/dist/serialization/types/SingleTestRunRequestModel.js +2 -0
- package/dist/serialization/types/SpeechHistoryItemResponse.d.ts +1 -0
- package/dist/serialization/types/SpeechHistoryItemResponse.js +1 -0
- package/dist/serialization/types/StudioTextStyleOutlineModel.d.ts +12 -0
- package/dist/serialization/types/StudioTextStyleOutlineModel.js +44 -0
- package/dist/serialization/types/StudioTextStyleShadowModel.d.ts +14 -0
- package/dist/serialization/types/StudioTextStyleShadowModel.js +46 -0
- package/dist/serialization/types/Subscription.d.ts +2 -0
- package/dist/serialization/types/Subscription.js +2 -0
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +1 -5
- package/dist/serialization/types/SystemToolConfigInputParams.js +0 -2
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +1 -5
- package/dist/serialization/types/SystemToolConfigOutputParams.js +0 -2
- package/dist/serialization/types/TelephonyDirection.d.ts +7 -0
- package/dist/serialization/types/TelephonyDirection.js +39 -0
- package/dist/serialization/types/UnitTestRunResponseModel.d.ts +3 -0
- package/dist/serialization/types/UnitTestRunResponseModel.js +3 -0
- package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +1 -0
- package/dist/serialization/types/UpdateSimulationTestRequest.js +1 -0
- package/dist/serialization/types/UsersSortBy.d.ts +7 -0
- package/dist/serialization/types/UsersSortBy.js +39 -0
- package/dist/serialization/types/VideoAnalysis.d.ts +13 -0
- package/dist/serialization/types/VideoAnalysis.js +45 -0
- package/dist/serialization/types/VideoAnalysisResult.d.ts +20 -0
- package/dist/serialization/types/VideoAnalysisResult.js +52 -0
- package/dist/serialization/types/VideoAnalysisStatus.d.ts +7 -0
- package/dist/serialization/types/VideoAnalysisStatus.js +39 -0
- package/dist/serialization/types/VideoKeyMoment.d.ts +11 -0
- package/dist/serialization/types/VideoKeyMoment.js +43 -0
- package/dist/serialization/types/VideoSegment.d.ts +18 -0
- package/dist/serialization/types/VideoSegment.js +50 -0
- package/dist/serialization/types/VideoSubject.d.ts +10 -0
- package/dist/serialization/types/VideoSubject.js +42 -0
- package/dist/serialization/types/VideoTranscription.d.ts +12 -0
- package/dist/serialization/types/VideoTranscription.js +44 -0
- package/dist/serialization/types/VideoTranscriptionWord.d.ts +12 -0
- package/dist/serialization/types/VideoTranscriptionWord.js +44 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -2
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -2
- package/dist/serialization/types/WebhookToolApiSchemaConfigInputAuthConnection.d.ts +9 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInputAuthConnection.js +41 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInputRequestHeadersValue.d.ts +2 -1
- package/dist/serialization/types/WebhookToolApiSchemaConfigInputRequestHeadersValue.js +7 -1
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -2
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -2
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutputAuthConnection.d.ts +9 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutputAuthConnection.js +41 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutputRequestHeadersValue.d.ts +2 -1
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutputRequestHeadersValue.js +7 -1
- package/dist/serialization/types/WhatsAppAuthResponse.d.ts +14 -0
- package/dist/serialization/types/WhatsAppAuthResponse.js +46 -0
- package/dist/serialization/types/WorkflowExpressionConditionModelInputExpression.d.ts +6 -2
- package/dist/serialization/types/WorkflowExpressionConditionModelInputExpression.js +4 -1
- package/dist/serialization/types/WorkflowExpressionConditionModelOutputExpression.d.ts +4 -1
- package/dist/serialization/types/WorkflowExpressionConditionModelOutputExpression.js +1 -0
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +2 -2
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +2 -2
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +2 -2
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +2 -2
- package/dist/serialization/types/index.d.ts +86 -8
- package/dist/serialization/types/index.js +86 -8
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +634 -25
- package/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.d.ts +2 -0
- package/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.js +2 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +0 -2
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +0 -2
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +0 -2
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +0 -2
- package/serialization/resources/conversationalAi/resources/agents/index.d.ts +0 -1
- package/serialization/resources/conversationalAi/resources/agents/index.js +0 -1
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +1 -0
- package/serialization/resources/conversationalAi/resources/index.d.ts +0 -2
- package/serialization/resources/conversationalAi/resources/index.js +0 -2
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.d.ts +23 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.js +53 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.js +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +2 -2
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +2 -2
- package/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelAuthConnection.d.ts +9 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelAuthConnection.js +41 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +2 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js +7 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/types/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.js +1 -0
- package/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.d.ts +2 -2
- package/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.js +2 -2
- package/serialization/resources/conversationalAi/resources/twilio/index.d.ts +0 -1
- package/serialization/resources/conversationalAi/resources/twilio/index.js +0 -1
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +1 -0
- package/serialization/resources/environmentVariables/client/index.d.ts +1 -0
- package/serialization/resources/environmentVariables/client/index.js +17 -0
- package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +10 -0
- package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +42 -0
- package/serialization/resources/environmentVariables/client/requests/index.d.ts +1 -0
- package/serialization/resources/environmentVariables/client/requests/index.js +5 -0
- package/serialization/resources/environmentVariables/index.d.ts +2 -0
- package/serialization/resources/environmentVariables/index.js +18 -0
- package/serialization/resources/environmentVariables/types/EnvironmentVariablesCreateRequestBody.d.ts +19 -0
- package/serialization/resources/environmentVariables/types/EnvironmentVariablesCreateRequestBody.js +51 -0
- package/serialization/resources/environmentVariables/types/EnvironmentVariablesListRequestType.d.ts +7 -0
- package/serialization/resources/environmentVariables/types/EnvironmentVariablesListRequestType.js +39 -0
- package/serialization/resources/environmentVariables/types/UpdateEnvironmentVariableRequestValuesValue.d.ts +9 -0
- package/serialization/resources/environmentVariables/types/UpdateEnvironmentVariableRequestValuesValue.js +45 -0
- package/serialization/resources/environmentVariables/types/index.d.ts +3 -0
- package/serialization/resources/environmentVariables/types/index.js +19 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +1 -0
- package/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.d.ts +7 -0
- package/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.js +42 -0
- package/serialization/resources/speechToText/types/index.d.ts +1 -0
- package/serialization/resources/speechToText/types/index.js +1 -0
- package/serialization/resources/workspace/resources/authConnections/index.d.ts +1 -0
- package/serialization/resources/workspace/resources/authConnections/index.js +17 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +27 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.js +55 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +39 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +61 -0
- package/serialization/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
- package/serialization/resources/workspace/resources/authConnections/types/index.js +18 -0
- package/serialization/resources/workspace/resources/groups/client/index.d.ts +1 -0
- package/serialization/resources/workspace/resources/groups/client/index.js +2 -1
- package/serialization/resources/workspace/resources/groups/client/list.d.ts +8 -0
- package/serialization/resources/{conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.js → workspace/resources/groups/client/list.js} +3 -2
- package/serialization/resources/workspace/resources/index.d.ts +2 -0
- package/serialization/resources/workspace/resources/index.js +3 -1
- package/serialization/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.d.ts +2 -0
- package/serialization/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.js +2 -0
- package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
- package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
- package/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +20 -0
- package/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.js +52 -0
- package/serialization/types/ApiIntegrationOAuth2AuthCodeResponseScopeSeparator.d.ts +7 -0
- package/serialization/types/ApiIntegrationOAuth2AuthCodeResponseScopeSeparator.js +39 -0
- package/serialization/types/AsrProvider.d.ts +1 -1
- package/serialization/types/AsrProvider.js +1 -1
- package/serialization/types/AstAndOperatorNodeInputChildrenItem.d.ts +6 -2
- package/serialization/types/AstAndOperatorNodeInputChildrenItem.js +4 -1
- package/serialization/types/AstAndOperatorNodeOutputChildrenItem.d.ts +4 -1
- package/serialization/types/AstAndOperatorNodeOutputChildrenItem.js +1 -0
- package/serialization/types/AstConditionalOperatorNodeInput.d.ts +11 -0
- package/serialization/types/AstConditionalOperatorNodeInput.js +44 -0
- package/serialization/types/AstConditionalOperatorNodeInputCondition.d.ts +55 -0
- package/serialization/types/AstConditionalOperatorNodeInputCondition.js +67 -0
- package/serialization/types/AstConditionalOperatorNodeInputFalseExpression.d.ts +55 -0
- package/serialization/types/AstConditionalOperatorNodeInputFalseExpression.js +67 -0
- package/serialization/types/AstConditionalOperatorNodeInputTrueExpression.d.ts +55 -0
- package/serialization/types/AstConditionalOperatorNodeInputTrueExpression.js +67 -0
- package/serialization/types/AstConditionalOperatorNodeOutput.d.ts +11 -0
- package/serialization/types/AstConditionalOperatorNodeOutput.js +44 -0
- package/serialization/types/AstConditionalOperatorNodeOutputCondition.d.ts +54 -0
- package/serialization/types/AstConditionalOperatorNodeOutputCondition.js +65 -0
- package/serialization/types/AstConditionalOperatorNodeOutputFalseExpression.d.ts +54 -0
- package/serialization/types/AstConditionalOperatorNodeOutputFalseExpression.js +65 -0
- package/serialization/types/AstConditionalOperatorNodeOutputTrueExpression.d.ts +54 -0
- package/serialization/types/AstConditionalOperatorNodeOutputTrueExpression.js +65 -0
- package/serialization/types/AstEqualsOperatorNodeInputLeft.d.ts +6 -2
- package/serialization/types/AstEqualsOperatorNodeInputLeft.js +4 -1
- package/serialization/types/AstEqualsOperatorNodeInputRight.d.ts +6 -2
- package/serialization/types/AstEqualsOperatorNodeInputRight.js +4 -1
- package/serialization/types/AstEqualsOperatorNodeOutputLeft.d.ts +4 -1
- package/serialization/types/AstEqualsOperatorNodeOutputLeft.js +1 -0
- package/serialization/types/AstEqualsOperatorNodeOutputRight.d.ts +4 -1
- package/serialization/types/AstEqualsOperatorNodeOutputRight.js +1 -0
- package/serialization/types/AstGreaterThanOperatorNodeInputLeft.d.ts +6 -2
- package/serialization/types/AstGreaterThanOperatorNodeInputLeft.js +4 -1
- package/serialization/types/AstGreaterThanOperatorNodeInputRight.d.ts +6 -2
- package/serialization/types/AstGreaterThanOperatorNodeInputRight.js +4 -1
- package/serialization/types/AstGreaterThanOperatorNodeOutputLeft.d.ts +4 -1
- package/serialization/types/AstGreaterThanOperatorNodeOutputLeft.js +1 -0
- package/serialization/types/AstGreaterThanOperatorNodeOutputRight.d.ts +4 -1
- package/serialization/types/AstGreaterThanOperatorNodeOutputRight.js +1 -0
- package/serialization/types/AstGreaterThanOrEqualsOperatorNodeInputLeft.d.ts +6 -2
- package/serialization/types/AstGreaterThanOrEqualsOperatorNodeInputLeft.js +4 -1
- package/serialization/types/AstGreaterThanOrEqualsOperatorNodeInputRight.d.ts +6 -2
- package/serialization/types/AstGreaterThanOrEqualsOperatorNodeInputRight.js +4 -1
- package/serialization/types/AstGreaterThanOrEqualsOperatorNodeOutputLeft.d.ts +4 -1
- package/serialization/types/AstGreaterThanOrEqualsOperatorNodeOutputLeft.js +1 -0
- package/serialization/types/AstGreaterThanOrEqualsOperatorNodeOutputRight.d.ts +4 -1
- package/serialization/types/AstGreaterThanOrEqualsOperatorNodeOutputRight.js +1 -0
- package/serialization/types/AstLessThanOperatorNodeInputLeft.d.ts +6 -2
- package/serialization/types/AstLessThanOperatorNodeInputLeft.js +4 -1
- package/serialization/types/AstLessThanOperatorNodeInputRight.d.ts +6 -2
- package/serialization/types/AstLessThanOperatorNodeInputRight.js +4 -1
- package/serialization/types/AstLessThanOperatorNodeOutputLeft.d.ts +4 -1
- package/serialization/types/AstLessThanOperatorNodeOutputLeft.js +1 -0
- package/serialization/types/AstLessThanOperatorNodeOutputRight.d.ts +4 -1
- package/serialization/types/AstLessThanOperatorNodeOutputRight.js +1 -0
- package/serialization/types/AstLessThanOrEqualsOperatorNodeInputLeft.d.ts +6 -2
- package/serialization/types/AstLessThanOrEqualsOperatorNodeInputLeft.js +4 -1
- package/serialization/types/AstLessThanOrEqualsOperatorNodeInputRight.d.ts +6 -2
- package/serialization/types/AstLessThanOrEqualsOperatorNodeInputRight.js +4 -1
- package/serialization/types/AstLessThanOrEqualsOperatorNodeOutputLeft.d.ts +4 -1
- package/serialization/types/AstLessThanOrEqualsOperatorNodeOutputLeft.js +1 -0
- package/serialization/types/AstLessThanOrEqualsOperatorNodeOutputRight.d.ts +4 -1
- package/serialization/types/AstLessThanOrEqualsOperatorNodeOutputRight.js +1 -0
- package/serialization/types/AstNotEqualsOperatorNodeInputLeft.d.ts +6 -2
- package/serialization/types/AstNotEqualsOperatorNodeInputLeft.js +4 -1
- package/serialization/types/AstNotEqualsOperatorNodeInputRight.d.ts +6 -2
- package/serialization/types/AstNotEqualsOperatorNodeInputRight.js +4 -1
- package/serialization/types/AstNotEqualsOperatorNodeOutputLeft.d.ts +4 -1
- package/serialization/types/AstNotEqualsOperatorNodeOutputLeft.js +1 -0
- package/serialization/types/AstNotEqualsOperatorNodeOutputRight.d.ts +4 -1
- package/serialization/types/AstNotEqualsOperatorNodeOutputRight.js +1 -0
- package/serialization/types/AstOrOperatorNodeInputChildrenItem.d.ts +6 -2
- package/serialization/types/AstOrOperatorNodeInputChildrenItem.js +4 -1
- package/serialization/types/AstOrOperatorNodeOutputChildrenItem.d.ts +4 -1
- package/serialization/types/AstOrOperatorNodeOutputChildrenItem.js +1 -0
- package/serialization/types/AstllmNodeInput.d.ts +4 -4
- package/serialization/types/AstllmNodeInput.js +3 -3
- package/serialization/types/AstllmNodeInputPrompt.d.ts +10 -0
- package/serialization/types/AstllmNodeInputPrompt.js +42 -0
- package/serialization/types/AstllmNodeInputValueSchema.d.ts +11 -0
- package/serialization/types/AstllmNodeInputValueSchema.js +43 -0
- package/serialization/types/AstllmNodeOutput.d.ts +2 -0
- package/serialization/types/AstllmNodeOutput.js +2 -0
- package/serialization/types/AuthConnectionDependencies.d.ts +14 -0
- package/serialization/types/AuthConnectionDependencies.js +46 -0
- package/serialization/types/AuthConnectionDependenciesMcpServersItem.d.ts +15 -0
- package/serialization/types/AuthConnectionDependenciesMcpServersItem.js +49 -0
- package/serialization/types/AuthConnectionDependenciesToolsItem.d.ts +15 -0
- package/serialization/{resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.js → types/AuthConnectionDependenciesToolsItem.js} +7 -7
- package/serialization/types/AutoSyncInfo.d.ts +12 -0
- package/serialization/types/AutoSyncInfo.js +44 -0
- package/serialization/types/BasicAuthResponse.d.ts +14 -0
- package/serialization/types/BasicAuthResponse.js +46 -0
- package/serialization/types/BatchCallDetailedResponse.d.ts +1 -0
- package/serialization/types/BatchCallDetailedResponse.js +1 -0
- package/serialization/types/BatchCallResponse.d.ts +1 -0
- package/serialization/types/BatchCallResponse.js +1 -0
- package/serialization/types/BearerAuthResponse.d.ts +13 -0
- package/serialization/types/BearerAuthResponse.js +45 -0
- package/serialization/types/BuiltInToolsInput.d.ts +0 -1
- package/serialization/types/BuiltInToolsInput.js +0 -1
- package/serialization/types/BuiltInToolsOutput.d.ts +0 -1
- package/serialization/types/BuiltInToolsOutput.js +0 -1
- package/serialization/types/BuiltInToolsWorkflowOverrideInput.d.ts +0 -1
- package/serialization/types/BuiltInToolsWorkflowOverrideInput.js +0 -1
- package/serialization/types/BuiltInToolsWorkflowOverrideOutput.d.ts +0 -1
- package/serialization/types/BuiltInToolsWorkflowOverrideOutput.js +0 -1
- package/serialization/types/CaptionStyleModel.d.ts +8 -0
- package/serialization/types/CaptionStyleModel.js +8 -0
- package/serialization/types/CaptionStyleModelTextBlendMode.d.ts +7 -0
- package/serialization/types/CaptionStyleModelTextBlendMode.js +39 -0
- package/serialization/types/CaptionStyleModelTextTransform.d.ts +7 -0
- package/serialization/types/CaptionStyleModelTextTransform.js +39 -0
- package/serialization/types/CaptionStyleModelTextWeight.d.ts +1 -1
- package/serialization/types/CaptionStyleModelTextWeight.js +1 -1
- package/serialization/types/ChapterResponse.d.ts +1 -0
- package/serialization/types/ChapterResponse.js +1 -0
- package/serialization/types/ChapterWithContentResponseModel.d.ts +1 -0
- package/serialization/types/ChapterWithContentResponseModel.js +1 -0
- package/serialization/types/CheckRentalAvailabilityParams.d.ts +9 -0
- package/serialization/types/CheckRentalAvailabilityParams.js +41 -0
- package/serialization/types/CoachedAgentSettings.d.ts +1 -0
- package/serialization/types/CoachedAgentSettings.js +1 -0
- package/serialization/types/CoachingAgentSettings.d.ts +1 -0
- package/serialization/types/CoachingAgentSettings.js +1 -0
- package/serialization/types/ContentConfig.d.ts +8 -8
- package/serialization/types/ContentConfig.js +8 -8
- package/serialization/types/ContentGuardrailInput.d.ts +2 -0
- package/serialization/types/ContentGuardrailInput.js +2 -0
- package/serialization/types/ContentGuardrailInputTriggerAction.d.ts +15 -0
- package/serialization/types/ContentGuardrailInputTriggerAction.js +49 -0
- package/serialization/types/ContentGuardrailOutput.d.ts +2 -0
- package/serialization/types/ContentGuardrailOutput.js +2 -0
- package/serialization/types/ContentGuardrailOutputTriggerAction.d.ts +15 -0
- package/serialization/types/ContentGuardrailOutputTriggerAction.js +49 -0
- package/serialization/types/ContentThresholdGuardrail.d.ts +11 -0
- package/serialization/types/ContentThresholdGuardrail.js +43 -0
- package/serialization/types/ContentThresholdGuardrailThreshold.d.ts +7 -0
- package/serialization/types/ContentThresholdGuardrailThreshold.js +44 -0
- package/serialization/types/Contributor.d.ts +2 -0
- package/serialization/types/Contributor.js +2 -0
- package/serialization/types/ConvAiEnvVarLocator.d.ts +9 -0
- package/{dist/serialization/types/ConversationHistorySipTrunkingPhoneCallModelDirection.js → serialization/types/ConvAiEnvVarLocator.js} +4 -2
- package/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +3 -2
- package/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.js +3 -2
- package/serialization/types/{ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts → ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.d.ts} +5 -5
- package/{dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js → serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.js} +5 -5
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.d.ts +22 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.js +54 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsInput.d.ts +13 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsInput.js +45 -0
- package/{dist/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.d.ts → serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsOutput.d.ts} +2 -2
- package/{dist/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.js → serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsOutput.js} +2 -2
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.js +2 -2
- package/serialization/types/ConversationHistoryTwilioPhoneCallModel.d.ts +2 -2
- package/serialization/types/ConversationHistoryTwilioPhoneCallModel.js +2 -2
- package/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/serialization/types/ConversationInitiationSource.js +1 -0
- package/serialization/types/ConversationSummaryResponseModel.d.ts +3 -2
- package/serialization/types/ConversationSummaryResponseModel.js +3 -2
- package/serialization/types/ConversationUserResponseModel.d.ts +1 -1
- package/serialization/types/ConversationUserResponseModel.js +1 -1
- package/serialization/types/CreateAuthConnectionEnvironmentVariableRequest.d.ts +11 -0
- package/serialization/types/CreateAuthConnectionEnvironmentVariableRequest.js +43 -0
- package/serialization/types/CreateBasicAuthRequest.d.ts +12 -0
- package/serialization/types/CreateBasicAuthRequest.js +44 -0
- package/serialization/types/CreateCustomHeaderAuthRequest.d.ts +12 -0
- package/serialization/types/CreateCustomHeaderAuthRequest.js +44 -0
- package/serialization/types/CreateOAuth2ClientCredsRequest.d.ts +17 -0
- package/serialization/types/CreateOAuth2ClientCredsRequest.js +49 -0
- package/serialization/types/CreateOAuth2JwtRequest.d.ts +21 -0
- package/serialization/types/CreateOAuth2JwtRequest.js +53 -0
- package/serialization/types/CreateOAuth2JwtRequestAlgorithm.d.ts +7 -0
- package/serialization/types/CreateOAuth2JwtRequestAlgorithm.js +39 -0
- package/serialization/types/CreatePrivateKeyJwtRequest.d.ts +19 -0
- package/serialization/types/CreatePrivateKeyJwtRequest.js +51 -0
- package/serialization/types/CreatePrivateKeyJwtRequestAlgorithm.d.ts +7 -0
- package/serialization/types/CreatePrivateKeyJwtRequestAlgorithm.js +39 -0
- package/serialization/types/CreateRentalBookingParams.d.ts +9 -0
- package/serialization/types/CreateRentalBookingParams.js +41 -0
- package/serialization/types/CreateSecretEnvironmentVariableRequest.d.ts +11 -0
- package/serialization/types/CreateSecretEnvironmentVariableRequest.js +43 -0
- package/serialization/types/CreateSimulationTestRequest.d.ts +1 -0
- package/serialization/types/CreateSimulationTestRequest.js +1 -0
- package/serialization/types/CreateStringEnvironmentVariableRequest.d.ts +10 -0
- package/serialization/types/CreateStringEnvironmentVariableRequest.js +42 -0
- package/serialization/types/CustomGuardrailConfig.d.ts +2 -0
- package/serialization/types/CustomGuardrailConfig.js +2 -0
- package/serialization/types/CustomGuardrailConfigTriggerAction.d.ts +15 -0
- package/serialization/types/CustomGuardrailConfigTriggerAction.js +49 -0
- package/serialization/types/CustomHeaderAuthResponse.d.ts +14 -0
- package/serialization/types/CustomHeaderAuthResponse.js +46 -0
- package/serialization/types/CustomLlm.d.ts +2 -2
- package/serialization/types/CustomLlm.js +2 -2
- package/serialization/types/CustomLlmApiKey.d.ts +9 -0
- package/serialization/types/CustomLlmApiKey.js +41 -0
- package/serialization/types/CustomLlmRequestHeadersValue.d.ts +2 -1
- package/serialization/types/CustomLlmRequestHeadersValue.js +7 -1
- package/serialization/types/DependentAvailableMcpServerIdentifier.d.ts +13 -0
- package/serialization/types/DependentAvailableMcpServerIdentifier.js +45 -0
- package/serialization/types/DependentAvailableMcpServerIdentifierAccessLevel.d.ts +7 -0
- package/serialization/types/DependentAvailableMcpServerIdentifierAccessLevel.js +39 -0
- package/serialization/types/DependentIntegrationConnectionIdentifier.d.ts +10 -0
- package/serialization/types/DependentIntegrationConnectionIdentifier.js +42 -0
- package/serialization/types/DependentUnknownMcpServerIdentifier.d.ts +9 -0
- package/serialization/types/DependentUnknownMcpServerIdentifier.js +41 -0
- package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/serialization/types/DirectPublishingReadResponseModel.js +1 -0
- package/serialization/types/EndCallTriggerAction.d.ts +7 -0
- package/serialization/types/EndCallTriggerAction.js +39 -0
- package/serialization/types/EnvironmentAuthConnectionLocator.d.ts +9 -0
- package/serialization/types/EnvironmentAuthConnectionLocator.js +41 -0
- package/serialization/types/EnvironmentVariableAuthConnectionValue.d.ts +9 -0
- package/serialization/types/EnvironmentVariableAuthConnectionValue.js +41 -0
- package/serialization/types/EnvironmentVariableAuthConnectionValueRequest.d.ts +9 -0
- package/serialization/types/EnvironmentVariableAuthConnectionValueRequest.js +41 -0
- package/serialization/types/EnvironmentVariableResponse.d.ts +18 -0
- package/serialization/types/EnvironmentVariableResponse.js +50 -0
- package/serialization/types/EnvironmentVariableResponseType.d.ts +7 -0
- package/serialization/types/EnvironmentVariableResponseType.js +39 -0
- package/serialization/types/EnvironmentVariableResponseValues.d.ts +9 -0
- package/serialization/types/EnvironmentVariableResponseValues.js +45 -0
- package/serialization/types/EnvironmentVariableSecretValue.d.ts +9 -0
- package/serialization/types/EnvironmentVariableSecretValue.js +41 -0
- package/serialization/types/EnvironmentVariableSecretValueRequest.d.ts +9 -0
- package/serialization/types/EnvironmentVariableSecretValueRequest.js +41 -0
- package/serialization/types/EnvironmentVariablesListResponse.d.ts +12 -0
- package/serialization/types/EnvironmentVariablesListResponse.js +44 -0
- package/serialization/types/GetAgentResponseModel.d.ts +0 -2
- package/serialization/types/GetAgentResponseModel.js +0 -2
- package/serialization/types/GetConvAiSettingsResponseModel.d.ts +1 -0
- package/serialization/types/GetConvAiSettingsResponseModel.js +1 -0
- package/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/serialization/types/GetConversationResponseModel.js +1 -0
- package/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +2 -0
- package/serialization/types/GetKnowledgeBaseFolderResponseModel.js +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +2 -0
- package/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +2 -0
- package/serialization/types/GetKnowledgeBaseUrlResponseModel.js +2 -0
- package/serialization/types/GetSimulationTestResponseModel.d.ts +1 -0
- package/serialization/types/GetSimulationTestResponseModel.js +1 -0
- package/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
- package/serialization/types/GetWhatsAppAccountResponse.d.ts +1 -0
- package/serialization/types/GetWhatsAppAccountResponse.js +1 -0
- package/serialization/types/GuardrailsV1Input.d.ts +0 -2
- package/serialization/types/GuardrailsV1Input.js +0 -2
- package/serialization/types/GuardrailsV1Output.d.ts +0 -2
- package/serialization/types/GuardrailsV1Output.js +0 -2
- package/serialization/types/ListAuthConnectionsResponse.d.ts +10 -0
- package/serialization/types/ListAuthConnectionsResponse.js +42 -0
- package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +39 -0
- package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +61 -0
- package/serialization/types/ListRentalServicesParams.d.ts +10 -0
- package/serialization/types/ListRentalServicesParams.js +42 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +1 -0
- package/serialization/types/LlmLiteralJsonSchemaProperty.d.ts +12 -0
- package/serialization/types/LlmLiteralJsonSchemaProperty.js +44 -0
- package/serialization/types/LlmLiteralJsonSchemaPropertyType.d.ts +7 -0
- package/serialization/types/LlmLiteralJsonSchemaPropertyType.js +39 -0
- package/serialization/types/McpServerConfigInput.d.ts +2 -2
- package/serialization/types/McpServerConfigInput.js +2 -2
- package/serialization/types/McpServerConfigInputAuthConnection.d.ts +9 -0
- package/serialization/types/McpServerConfigInputAuthConnection.js +41 -0
- package/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +2 -1
- package/serialization/types/McpServerConfigInputRequestHeadersValue.js +7 -1
- package/serialization/types/McpServerConfigOutput.d.ts +2 -2
- package/serialization/types/McpServerConfigOutput.js +2 -2
- package/serialization/types/McpServerConfigOutputAuthConnection.d.ts +9 -0
- package/serialization/types/McpServerConfigOutputAuthConnection.js +41 -0
- package/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +2 -1
- package/serialization/types/McpServerConfigOutputRequestHeadersValue.js +7 -1
- package/serialization/types/NoCoachingSettings.d.ts +1 -0
- package/serialization/types/NoCoachingSettings.js +1 -0
- package/serialization/types/OAuth2ClientCredsResponse.d.ts +18 -0
- package/serialization/types/OAuth2ClientCredsResponse.js +50 -0
- package/serialization/types/OAuth2JwtResponse.d.ts +23 -0
- package/serialization/types/OAuth2JwtResponse.js +55 -0
- package/serialization/types/OAuth2JwtResponseAlgorithm.d.ts +7 -0
- package/serialization/types/OAuth2JwtResponseAlgorithm.js +39 -0
- package/serialization/types/PendingClipTaskType.d.ts +1 -1
- package/serialization/types/PendingClipTaskType.js +1 -1
- package/serialization/types/PlayDtmfToolConfig.d.ts +1 -0
- package/serialization/types/PlayDtmfToolConfig.js +1 -0
- package/serialization/types/PreviewAudioDbModel.d.ts +2 -0
- package/serialization/types/PreviewAudioDbModel.js +2 -0
- package/serialization/types/PrivateKeyJwtResponse.d.ts +21 -0
- package/serialization/types/PrivateKeyJwtResponse.js +53 -0
- package/serialization/types/PrivateKeyJwtResponseAlgorithm.d.ts +7 -0
- package/serialization/types/PrivateKeyJwtResponseAlgorithm.js +39 -0
- package/serialization/types/ProjectExternalAudioResponseModel.d.ts +2 -1
- package/serialization/types/ProjectExternalAudioResponseModel.js +2 -1
- package/serialization/types/ProjectVideoResponseModel.d.ts +3 -0
- package/serialization/types/ProjectVideoResponseModel.js +3 -0
- package/serialization/types/RetryTriggerAction.d.ts +9 -0
- package/serialization/types/RetryTriggerAction.js +41 -0
- package/serialization/types/SimulationTestModel.d.ts +1 -0
- package/serialization/types/SimulationTestModel.js +1 -0
- package/serialization/types/SingleTestRunRequestModel.d.ts +2 -0
- package/serialization/types/SingleTestRunRequestModel.js +2 -0
- package/serialization/types/SpeechHistoryItemResponse.d.ts +1 -0
- package/serialization/types/SpeechHistoryItemResponse.js +1 -0
- package/serialization/types/StudioTextStyleOutlineModel.d.ts +12 -0
- package/serialization/types/StudioTextStyleOutlineModel.js +44 -0
- package/serialization/types/StudioTextStyleShadowModel.d.ts +14 -0
- package/serialization/types/StudioTextStyleShadowModel.js +46 -0
- package/serialization/types/Subscription.d.ts +2 -0
- package/serialization/types/Subscription.js +2 -0
- package/serialization/types/SystemToolConfigInputParams.d.ts +1 -5
- package/serialization/types/SystemToolConfigInputParams.js +0 -2
- package/serialization/types/SystemToolConfigOutputParams.d.ts +1 -5
- package/serialization/types/SystemToolConfigOutputParams.js +0 -2
- package/serialization/types/TelephonyDirection.d.ts +7 -0
- package/serialization/types/TelephonyDirection.js +39 -0
- package/serialization/types/UnitTestRunResponseModel.d.ts +3 -0
- package/serialization/types/UnitTestRunResponseModel.js +3 -0
- package/serialization/types/UpdateSimulationTestRequest.d.ts +1 -0
- package/serialization/types/UpdateSimulationTestRequest.js +1 -0
- package/serialization/types/UsersSortBy.d.ts +7 -0
- package/serialization/types/UsersSortBy.js +39 -0
- package/serialization/types/VideoAnalysis.d.ts +13 -0
- package/serialization/types/VideoAnalysis.js +45 -0
- package/serialization/types/VideoAnalysisResult.d.ts +20 -0
- package/serialization/types/VideoAnalysisResult.js +52 -0
- package/serialization/types/VideoAnalysisStatus.d.ts +7 -0
- package/serialization/types/VideoAnalysisStatus.js +39 -0
- package/serialization/types/VideoKeyMoment.d.ts +11 -0
- package/serialization/types/VideoKeyMoment.js +43 -0
- package/serialization/types/VideoSegment.d.ts +18 -0
- package/serialization/types/VideoSegment.js +50 -0
- package/serialization/types/VideoSubject.d.ts +10 -0
- package/serialization/types/VideoSubject.js +42 -0
- package/serialization/types/VideoTranscription.d.ts +12 -0
- package/serialization/types/VideoTranscription.js +44 -0
- package/serialization/types/VideoTranscriptionWord.d.ts +12 -0
- package/serialization/types/VideoTranscriptionWord.js +44 -0
- package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -2
- package/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -2
- package/serialization/types/WebhookToolApiSchemaConfigInputAuthConnection.d.ts +9 -0
- package/serialization/types/WebhookToolApiSchemaConfigInputAuthConnection.js +41 -0
- package/serialization/types/WebhookToolApiSchemaConfigInputRequestHeadersValue.d.ts +2 -1
- package/serialization/types/WebhookToolApiSchemaConfigInputRequestHeadersValue.js +7 -1
- package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -2
- package/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -2
- package/serialization/types/WebhookToolApiSchemaConfigOutputAuthConnection.d.ts +9 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutputAuthConnection.js +41 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutputRequestHeadersValue.d.ts +2 -1
- package/serialization/types/WebhookToolApiSchemaConfigOutputRequestHeadersValue.js +7 -1
- package/serialization/types/WhatsAppAuthResponse.d.ts +14 -0
- package/serialization/types/WhatsAppAuthResponse.js +46 -0
- package/serialization/types/WorkflowExpressionConditionModelInputExpression.d.ts +6 -2
- package/serialization/types/WorkflowExpressionConditionModelInputExpression.js +4 -1
- package/serialization/types/WorkflowExpressionConditionModelOutputExpression.d.ts +4 -1
- package/serialization/types/WorkflowExpressionConditionModelOutputExpression.js +1 -0
- package/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +2 -2
- package/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +2 -2
- package/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +2 -2
- package/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +2 -2
- package/serialization/types/index.d.ts +86 -8
- package/serialization/types/index.js +86 -8
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.d.ts +0 -10
- package/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.d.ts +0 -10
- package/api/resources/conversationalAi/resources/agents/types/index.d.ts +0 -2
- package/api/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.d.ts +0 -5
- package/api/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.js +0 -8
- package/api/resources/conversationalAi/resources/twilio/types/index.d.ts +0 -1
- package/api/types/ConversationHistorySipTrunkingPhoneCallModelDirection.d.ts +0 -5
- package/api/types/ConversationHistorySipTrunkingPhoneCallModelDirection.js +0 -8
- package/api/types/ConversationHistoryTwilioPhoneCallModelDirection.d.ts +0 -5
- package/api/types/ConversationHistoryTwilioPhoneCallModelDirection.js +0 -8
- package/api/types/ConversationSummaryResponseModelDirection.d.ts +0 -5
- package/api/types/GetAgentResponseModelCoachingSettings.d.ts +0 -13
- package/api/types/SearchDocumentationToolConfigInput.d.ts +0 -39
- package/api/types/SearchDocumentationToolConfigOutput.d.ts +0 -37
- package/dist/api/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.d.ts +0 -10
- package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.d.ts +0 -10
- package/dist/api/resources/conversationalAi/resources/agents/types/index.d.ts +0 -2
- package/dist/api/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.d.ts +0 -5
- package/dist/api/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.js +0 -8
- package/dist/api/resources/conversationalAi/resources/twilio/types/index.d.ts +0 -1
- package/dist/api/types/ConversationHistorySipTrunkingPhoneCallModelDirection.d.ts +0 -5
- package/dist/api/types/ConversationHistorySipTrunkingPhoneCallModelDirection.js +0 -8
- package/dist/api/types/ConversationHistoryTwilioPhoneCallModelDirection.d.ts +0 -5
- package/dist/api/types/ConversationHistoryTwilioPhoneCallModelDirection.js +0 -8
- package/dist/api/types/ConversationSummaryResponseModelDirection.d.ts +0 -5
- package/dist/api/types/GetAgentResponseModelCoachingSettings.d.ts +0 -13
- package/dist/api/types/SearchDocumentationToolConfigInput.d.ts +0 -39
- package/dist/api/types/SearchDocumentationToolConfigOutput.d.ts +0 -37
- package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.d.ts +0 -15
- package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.d.ts +0 -15
- package/dist/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +0 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/types/index.js +0 -18
- package/dist/serialization/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.d.ts +0 -7
- package/dist/serialization/resources/conversationalAi/resources/twilio/types/index.d.ts +0 -1
- package/dist/serialization/types/ConversationHistorySipTrunkingPhoneCallModelDirection.d.ts +0 -7
- package/dist/serialization/types/ConversationHistoryTwilioPhoneCallModelDirection.d.ts +0 -7
- package/dist/serialization/types/ConversationSummaryResponseModelDirection.d.ts +0 -7
- package/dist/serialization/types/GetAgentResponseModelCoachingSettings.d.ts +0 -19
- package/dist/serialization/types/SearchDocumentationToolConfigInput.d.ts +0 -22
- package/dist/serialization/types/SearchDocumentationToolConfigInput.js +0 -54
- package/dist/serialization/types/SearchDocumentationToolConfigOutput.d.ts +0 -20
- package/dist/serialization/types/SearchDocumentationToolConfigOutput.js +0 -52
- package/serialization/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.d.ts +0 -15
- package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.d.ts +0 -15
- package/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +0 -2
- package/serialization/resources/conversationalAi/resources/agents/types/index.js +0 -18
- package/serialization/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.d.ts +0 -7
- package/serialization/resources/conversationalAi/resources/twilio/types/index.d.ts +0 -1
- package/serialization/types/ConversationHistorySipTrunkingPhoneCallModelDirection.d.ts +0 -7
- package/serialization/types/ConversationHistoryTwilioPhoneCallModelDirection.d.ts +0 -7
- package/serialization/types/ConversationSummaryResponseModelDirection.d.ts +0 -7
- package/serialization/types/GetAgentResponseModelCoachingSettings.d.ts +0 -19
- package/serialization/types/SearchDocumentationToolConfigInput.d.ts +0 -22
- package/serialization/types/SearchDocumentationToolConfigInput.js +0 -54
- package/serialization/types/SearchDocumentationToolConfigOutput.d.ts +0 -20
- package/serialization/types/SearchDocumentationToolConfigOutput.js +0 -52
- /package/api/resources/conversationalAi/resources/{agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.js → knowledgeBase/resources/document/types/DocumentRefreshResponse.js} +0 -0
- /package/api/resources/conversationalAi/resources/{agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.js → knowledgeBase/resources/documents/resources/chunk/client/requests/ChunkGetRequest.js} +0 -0
- /package/api/{types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js → resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelAuthConnection.js} +0 -0
- /package/api/{types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.js → resources/conversationalAi/resources/tools/client/requests/ToolsDeleteRequest.js} +0 -0
- /package/api/{types/GetAgentResponseModelCoachingSettings.js → resources/environmentVariables/client/requests/EnvironmentVariablesListRequest.js} +0 -0
- /package/api/{types/SearchDocumentationToolConfigInput.js → resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js} +0 -0
- /package/api/{types/SearchDocumentationToolConfigOutput.js → resources/environmentVariables/types/EnvironmentVariablesCreateRequestBody.js} +0 -0
- /package/{dist/api/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.js → api/resources/environmentVariables/types/UpdateEnvironmentVariableRequestValuesValue.js} +0 -0
- /package/{dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.js → api/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.js} +0 -0
- /package/{dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js → api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.js} +0 -0
- /package/{dist/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.js → api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js} +0 -0
- /package/{dist/api/types/GetAgentResponseModelCoachingSettings.js → api/types/ApiIntegrationOAuth2AuthCodeResponse.js} +0 -0
- /package/{dist/api/types/SearchDocumentationToolConfigInput.js → api/types/AstConditionalOperatorNodeInput.js} +0 -0
- /package/{dist/api/types/SearchDocumentationToolConfigOutput.js → api/types/AstConditionalOperatorNodeInputCondition.js} +0 -0
|
@@ -172,6 +172,31 @@ describe("Conversation", () => {
|
|
|
172
172
|
text: "User is looking at product page",
|
|
173
173
|
}));
|
|
174
174
|
});
|
|
175
|
+
it("should send multimodal message with text and file", () => {
|
|
176
|
+
conversation.sendMultimodalMessage({ text: "What is in this file?", fileId: "file_abc123" });
|
|
177
|
+
expect(mockWebSocket.send).toHaveBeenCalledWith(JSON.stringify({
|
|
178
|
+
type: "multimodal_message",
|
|
179
|
+
text: { type: "user_message", text: "What is in this file?" },
|
|
180
|
+
file: { type: "file_input", file_id: "file_abc123" },
|
|
181
|
+
}));
|
|
182
|
+
});
|
|
183
|
+
it("should send multimodal message with text only", () => {
|
|
184
|
+
conversation.sendMultimodalMessage({ text: "Hello" });
|
|
185
|
+
expect(mockWebSocket.send).toHaveBeenCalledWith(JSON.stringify({
|
|
186
|
+
type: "multimodal_message",
|
|
187
|
+
text: { type: "user_message", text: "Hello" },
|
|
188
|
+
}));
|
|
189
|
+
});
|
|
190
|
+
it("should send multimodal message with file only", () => {
|
|
191
|
+
conversation.sendMultimodalMessage({ fileId: "file_abc123" });
|
|
192
|
+
expect(mockWebSocket.send).toHaveBeenCalledWith(JSON.stringify({
|
|
193
|
+
type: "multimodal_message",
|
|
194
|
+
file: { type: "file_input", file_id: "file_abc123" },
|
|
195
|
+
}));
|
|
196
|
+
});
|
|
197
|
+
it("should throw error when sending multimodal message without text or fileId", () => {
|
|
198
|
+
expect(() => conversation.sendMultimodalMessage({})).toThrow("At least one of text or fileId must be provided");
|
|
199
|
+
});
|
|
175
200
|
it("should throw error when sending message without active session", () => {
|
|
176
201
|
conversation.endSession();
|
|
177
202
|
expect(() => conversation.sendUserMessage("test")).toThrow("Session not started or websocket not connected");
|
|
@@ -11,7 +11,9 @@ export declare enum ClientToOrchestratorEvent {
|
|
|
11
11
|
CONTEXTUAL_UPDATE = "contextual_update",
|
|
12
12
|
/** User text message. */
|
|
13
13
|
USER_MESSAGE = "user_message",
|
|
14
|
-
USER_ACTIVITY = "user_activity"
|
|
14
|
+
USER_ACTIVITY = "user_activity",
|
|
15
|
+
/** Multimodal message combining text and a file reference. */
|
|
16
|
+
MULTIMODAL_MESSAGE = "multimodal_message"
|
|
15
17
|
}
|
|
16
18
|
/**
|
|
17
19
|
* Base interface for all client-to-orchestrator events.
|
|
@@ -72,6 +74,21 @@ export interface FeedbackEvent extends BaseClientToOrchestratorEvent {
|
|
|
72
74
|
feedback: string;
|
|
73
75
|
rating?: number;
|
|
74
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* File component of a multimodal message.
|
|
79
|
+
*/
|
|
80
|
+
export interface MultimodalMessageFile {
|
|
81
|
+
type: "file_input";
|
|
82
|
+
file_id: string;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Event for sending multimodal messages combining text and a file reference.
|
|
86
|
+
*/
|
|
87
|
+
export interface MultimodalMessageClientToOrchestratorEvent extends BaseClientToOrchestratorEvent {
|
|
88
|
+
type: ClientToOrchestratorEvent.MULTIMODAL_MESSAGE;
|
|
89
|
+
text?: UserMessageClientToOrchestratorEvent;
|
|
90
|
+
file?: MultimodalMessageFile;
|
|
91
|
+
}
|
|
75
92
|
/**
|
|
76
93
|
* Event for sending user audio chunks.
|
|
77
94
|
*/
|
|
@@ -81,4 +98,4 @@ export interface UserAudioChunkEvent {
|
|
|
81
98
|
/**
|
|
82
99
|
* Union type for all client-to-orchestrator events.
|
|
83
100
|
*/
|
|
84
|
-
export type ClientToOrchestratorEventUnion = UserMessageClientToOrchestratorEvent | UserActivityClientToOrchestratorEvent | ContextualUpdateClientToOrchestratorEvent | ConversationInitiationClientDataEvent | ClientToolResultEvent | PongEvent | FeedbackEvent;
|
|
101
|
+
export type ClientToOrchestratorEventUnion = UserMessageClientToOrchestratorEvent | UserActivityClientToOrchestratorEvent | ContextualUpdateClientToOrchestratorEvent | ConversationInitiationClientDataEvent | ClientToolResultEvent | PongEvent | FeedbackEvent | MultimodalMessageClientToOrchestratorEvent;
|
|
@@ -16,4 +16,6 @@ var ClientToOrchestratorEvent;
|
|
|
16
16
|
/** User text message. */
|
|
17
17
|
ClientToOrchestratorEvent["USER_MESSAGE"] = "user_message";
|
|
18
18
|
ClientToOrchestratorEvent["USER_ACTIVITY"] = "user_activity";
|
|
19
|
+
/** Multimodal message combining text and a file reference. */
|
|
20
|
+
ClientToOrchestratorEvent["MULTIMODAL_MESSAGE"] = "multimodal_message";
|
|
19
21
|
})(ClientToOrchestratorEvent || (exports.ClientToOrchestratorEvent = ClientToOrchestratorEvent = {}));
|
|
@@ -395,6 +395,7 @@ class AgentsClient {
|
|
|
395
395
|
* search: "search",
|
|
396
396
|
* archived: true,
|
|
397
397
|
* showOnlyOwnedAgents: true,
|
|
398
|
+
* createdByUserId: "created_by_user_id",
|
|
398
399
|
* sortDirection: "asc",
|
|
399
400
|
* sortBy: "name",
|
|
400
401
|
* cursor: "cursor"
|
|
@@ -406,7 +407,7 @@ class AgentsClient {
|
|
|
406
407
|
__list() {
|
|
407
408
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
408
409
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
409
|
-
const { pageSize, search, archived, showOnlyOwnedAgents, sortDirection, sortBy, cursor } = request;
|
|
410
|
+
const { pageSize, search, archived, showOnlyOwnedAgents, createdByUserId, sortDirection, sortBy, cursor } = request;
|
|
410
411
|
const _queryParams = {};
|
|
411
412
|
if (pageSize != null) {
|
|
412
413
|
_queryParams.page_size = pageSize.toString();
|
|
@@ -420,6 +421,9 @@ class AgentsClient {
|
|
|
420
421
|
if (showOnlyOwnedAgents != null) {
|
|
421
422
|
_queryParams.show_only_owned_agents = showOnlyOwnedAgents.toString();
|
|
422
423
|
}
|
|
424
|
+
if (createdByUserId != null) {
|
|
425
|
+
_queryParams.created_by_user_id = createdByUserId;
|
|
426
|
+
}
|
|
423
427
|
if (sortDirection != null) {
|
|
424
428
|
_queryParams.sort_direction = serializers.SortDirection.jsonOrThrow(sortDirection, {
|
|
425
429
|
unrecognizedObjectKeys: "strip",
|
package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import type * as ElevenLabs from "../../../../../../index";
|
|
|
6
6
|
* search: "search",
|
|
7
7
|
* archived: true,
|
|
8
8
|
* showOnlyOwnedAgents: true,
|
|
9
|
+
* createdByUserId: "created_by_user_id",
|
|
9
10
|
* sortDirection: "asc",
|
|
10
11
|
* sortBy: "name",
|
|
11
12
|
* cursor: "cursor"
|
|
@@ -18,8 +19,10 @@ export interface AgentsListRequest {
|
|
|
18
19
|
search?: string;
|
|
19
20
|
/** Filter agents by archived status */
|
|
20
21
|
archived?: boolean;
|
|
21
|
-
/** If set to true, the endpoint will omit any agents that were shared with you by someone else and include only the ones you own */
|
|
22
|
+
/** If set to true, the endpoint will omit any agents that were shared with you by someone else and include only the ones you own. Deprecated: use created_by_user_id instead. */
|
|
22
23
|
showOnlyOwnedAgents?: boolean;
|
|
24
|
+
/** Filter agents by creator user ID. When set, only agents created by this user are returned. Takes precedence over show_only_owned_agents. Use '@me' to refer to the authenticated user. */
|
|
25
|
+
createdByUserId?: string;
|
|
23
26
|
/** The direction to sort the results */
|
|
24
27
|
sortDirection?: ElevenLabs.SortDirection;
|
|
25
28
|
/** The field to sort the results by */
|
package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts
CHANGED
|
@@ -21,7 +21,6 @@ export interface UpdateAgentRequest {
|
|
|
21
21
|
name?: string;
|
|
22
22
|
/** Tags to help classify and filter the agent */
|
|
23
23
|
tags?: string[];
|
|
24
|
-
coachingSettings?: ElevenLabs.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings;
|
|
25
24
|
/** Description for this version when publishing changes (only applicable for versioned agents) */
|
|
26
25
|
versionDescription?: string;
|
|
27
26
|
}
|
|
@@ -16,4 +16,3 @@ 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);
|
|
@@ -16,4 +16,6 @@ export interface BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost {
|
|
|
16
16
|
whatsappParams?: ElevenLabs.BatchCallWhatsAppParams;
|
|
17
17
|
timezone?: string;
|
|
18
18
|
telephonyCallConfig?: ElevenLabs.TelephonyCallConfig;
|
|
19
|
+
/** Maximum number of simultaneous calls for this batch. When set, dispatch is governed by this limit rather than workspace/agent capacity percentages. */
|
|
20
|
+
targetConcurrencyLimit?: number;
|
|
19
21
|
}
|
|
@@ -34,7 +34,8 @@ export declare class ConversationsClient {
|
|
|
34
34
|
* await client.conversationalAi.conversations.getSignedUrl({
|
|
35
35
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
36
36
|
* includeConversationId: true,
|
|
37
|
-
* branchId: "branch_id"
|
|
37
|
+
* branchId: "branch_id",
|
|
38
|
+
* environment: "environment"
|
|
38
39
|
* })
|
|
39
40
|
*/
|
|
40
41
|
getSignedUrl(request: ElevenLabs.conversationalAi.ConversationsGetSignedUrlRequest, requestOptions?: ConversationsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ConversationSignedUrlResponseModel>;
|
|
@@ -51,7 +52,8 @@ export declare class ConversationsClient {
|
|
|
51
52
|
* await client.conversationalAi.conversations.getWebrtcToken({
|
|
52
53
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
53
54
|
* participantName: "participant_name",
|
|
54
|
-
* branchId: "branch_id"
|
|
55
|
+
* branchId: "branch_id",
|
|
56
|
+
* environment: "environment"
|
|
55
57
|
* })
|
|
56
58
|
*/
|
|
57
59
|
getWebrtcToken(request: ElevenLabs.conversationalAi.ConversationsGetWebrtcTokenRequest, requestOptions?: ConversationsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.TokenResponseModel>;
|
|
@@ -88,7 +88,8 @@ class ConversationsClient {
|
|
|
88
88
|
* await client.conversationalAi.conversations.getSignedUrl({
|
|
89
89
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
90
90
|
* includeConversationId: true,
|
|
91
|
-
* branchId: "branch_id"
|
|
91
|
+
* branchId: "branch_id",
|
|
92
|
+
* environment: "environment"
|
|
92
93
|
* })
|
|
93
94
|
*/
|
|
94
95
|
getSignedUrl(request, requestOptions) {
|
|
@@ -97,7 +98,7 @@ class ConversationsClient {
|
|
|
97
98
|
__getSignedUrl(request, requestOptions) {
|
|
98
99
|
return __awaiter(this, void 0, void 0, function* () {
|
|
99
100
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
100
|
-
const { agentId, includeConversationId, branchId } = request;
|
|
101
|
+
const { agentId, includeConversationId, branchId, environment } = request;
|
|
101
102
|
const _queryParams = {};
|
|
102
103
|
_queryParams.agent_id = agentId;
|
|
103
104
|
if (includeConversationId != null) {
|
|
@@ -106,6 +107,9 @@ class ConversationsClient {
|
|
|
106
107
|
if (branchId != null) {
|
|
107
108
|
_queryParams.branch_id = branchId;
|
|
108
109
|
}
|
|
110
|
+
if (environment != null) {
|
|
111
|
+
_queryParams.environment = environment;
|
|
112
|
+
}
|
|
109
113
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
110
114
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
111
115
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/conversation/get-signed-url"),
|
|
@@ -161,7 +165,8 @@ class ConversationsClient {
|
|
|
161
165
|
* await client.conversationalAi.conversations.getWebrtcToken({
|
|
162
166
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
163
167
|
* participantName: "participant_name",
|
|
164
|
-
* branchId: "branch_id"
|
|
168
|
+
* branchId: "branch_id",
|
|
169
|
+
* environment: "environment"
|
|
165
170
|
* })
|
|
166
171
|
*/
|
|
167
172
|
getWebrtcToken(request, requestOptions) {
|
|
@@ -170,7 +175,7 @@ class ConversationsClient {
|
|
|
170
175
|
__getWebrtcToken(request, requestOptions) {
|
|
171
176
|
return __awaiter(this, void 0, void 0, function* () {
|
|
172
177
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
173
|
-
const { agentId, participantName, branchId } = request;
|
|
178
|
+
const { agentId, participantName, branchId, environment } = request;
|
|
174
179
|
const _queryParams = {};
|
|
175
180
|
_queryParams.agent_id = agentId;
|
|
176
181
|
if (participantName != null) {
|
|
@@ -179,6 +184,9 @@ class ConversationsClient {
|
|
|
179
184
|
if (branchId != null) {
|
|
180
185
|
_queryParams.branch_id = branchId;
|
|
181
186
|
}
|
|
187
|
+
if (environment != null) {
|
|
188
|
+
_queryParams.environment = environment;
|
|
189
|
+
}
|
|
182
190
|
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);
|
|
183
191
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
184
192
|
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"),
|
|
@@ -256,7 +264,7 @@ class ConversationsClient {
|
|
|
256
264
|
__list() {
|
|
257
265
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
258
266
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
259
|
-
const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, mainLanguages, pageSize, summaryMode, search, conversationInitiationSource, branchId, } = request;
|
|
267
|
+
const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, toolNamesSuccessful, toolNamesErrored, mainLanguages, pageSize, summaryMode, search, conversationInitiationSource, branchId, } = request;
|
|
260
268
|
const _queryParams = {};
|
|
261
269
|
if (cursor != null) {
|
|
262
270
|
_queryParams.cursor = cursor;
|
|
@@ -317,6 +325,22 @@ class ConversationsClient {
|
|
|
317
325
|
_queryParams.tool_names = toolNames;
|
|
318
326
|
}
|
|
319
327
|
}
|
|
328
|
+
if (toolNamesSuccessful != null) {
|
|
329
|
+
if (Array.isArray(toolNamesSuccessful)) {
|
|
330
|
+
_queryParams.tool_names_successful = toolNamesSuccessful.map((item) => item);
|
|
331
|
+
}
|
|
332
|
+
else {
|
|
333
|
+
_queryParams.tool_names_successful = toolNamesSuccessful;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
if (toolNamesErrored != null) {
|
|
337
|
+
if (Array.isArray(toolNamesErrored)) {
|
|
338
|
+
_queryParams.tool_names_errored = toolNamesErrored.map((item) => item);
|
|
339
|
+
}
|
|
340
|
+
else {
|
|
341
|
+
_queryParams.tool_names_errored = toolNamesErrored;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
320
344
|
if (mainLanguages != null) {
|
|
321
345
|
if (Array.isArray(mainLanguages)) {
|
|
322
346
|
_queryParams.main_languages = mainLanguages.map((item) => item);
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* {
|
|
4
4
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
5
5
|
* includeConversationId: true,
|
|
6
|
-
* branchId: "branch_id"
|
|
6
|
+
* branchId: "branch_id",
|
|
7
|
+
* environment: "environment"
|
|
7
8
|
* }
|
|
8
9
|
*/
|
|
9
10
|
export interface ConversationsGetSignedUrlRequest {
|
|
@@ -13,4 +14,6 @@ export interface ConversationsGetSignedUrlRequest {
|
|
|
13
14
|
includeConversationId?: boolean;
|
|
14
15
|
/** The ID of the branch to use */
|
|
15
16
|
branchId?: string;
|
|
17
|
+
/** The environment to use for resolving environment variables (e.g. 'production', 'staging'). Defaults to 'production'. */
|
|
18
|
+
environment?: string;
|
|
16
19
|
}
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* {
|
|
4
4
|
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
5
5
|
* participantName: "participant_name",
|
|
6
|
-
* branchId: "branch_id"
|
|
6
|
+
* branchId: "branch_id",
|
|
7
|
+
* environment: "environment"
|
|
7
8
|
* }
|
|
8
9
|
*/
|
|
9
10
|
export interface ConversationsGetWebrtcTokenRequest {
|
|
@@ -13,4 +14,6 @@ export interface ConversationsGetWebrtcTokenRequest {
|
|
|
13
14
|
participantName?: string;
|
|
14
15
|
/** The ID of the branch to use */
|
|
15
16
|
branchId?: string;
|
|
17
|
+
/** The environment to use for resolving environment variables (e.g. 'production', 'staging'). Defaults to 'production'. */
|
|
18
|
+
environment?: string;
|
|
16
19
|
}
|
|
@@ -49,6 +49,10 @@ export interface ConversationsListRequest {
|
|
|
49
49
|
dataCollectionParams?: string | string[];
|
|
50
50
|
/** Filter conversations by tool names used during the call. */
|
|
51
51
|
toolNames?: string | string[];
|
|
52
|
+
/** Filter conversations by tool names that had successful calls. */
|
|
53
|
+
toolNamesSuccessful?: string | string[];
|
|
54
|
+
/** Filter conversations by tool names that had errored calls. */
|
|
55
|
+
toolNamesErrored?: string | string[];
|
|
52
56
|
/** Filter conversations by detected main language (language code). */
|
|
53
57
|
mainLanguages?: string | string[];
|
|
54
58
|
/** How many conversations to return at maximum. Can not exceed 100, defaults to 30. */
|
|
@@ -90,7 +90,7 @@ class MessagesClient {
|
|
|
90
90
|
__textSearch(request, requestOptions) {
|
|
91
91
|
return __awaiter(this, void 0, void 0, function* () {
|
|
92
92
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
93
|
-
const { textQuery, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, mainLanguages, pageSize, summaryMode, conversationInitiationSource, branchId, cursor, } = request;
|
|
93
|
+
const { textQuery, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, toolNamesSuccessful, toolNamesErrored, mainLanguages, pageSize, summaryMode, conversationInitiationSource, branchId, cursor, } = request;
|
|
94
94
|
const _queryParams = {};
|
|
95
95
|
_queryParams.text_query = textQuery;
|
|
96
96
|
if (agentId != null) {
|
|
@@ -149,6 +149,22 @@ class MessagesClient {
|
|
|
149
149
|
_queryParams.tool_names = toolNames;
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
+
if (toolNamesSuccessful != null) {
|
|
153
|
+
if (Array.isArray(toolNamesSuccessful)) {
|
|
154
|
+
_queryParams.tool_names_successful = toolNamesSuccessful.map((item) => item);
|
|
155
|
+
}
|
|
156
|
+
else {
|
|
157
|
+
_queryParams.tool_names_successful = toolNamesSuccessful;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
if (toolNamesErrored != null) {
|
|
161
|
+
if (Array.isArray(toolNamesErrored)) {
|
|
162
|
+
_queryParams.tool_names_errored = toolNamesErrored.map((item) => item);
|
|
163
|
+
}
|
|
164
|
+
else {
|
|
165
|
+
_queryParams.tool_names_errored = toolNamesErrored;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
152
168
|
if (mainLanguages != null) {
|
|
153
169
|
if (Array.isArray(mainLanguages)) {
|
|
154
170
|
_queryParams.main_languages = mainLanguages.map((item) => item);
|
|
@@ -49,6 +49,10 @@ export interface MessagesTextSearchRequest {
|
|
|
49
49
|
dataCollectionParams?: string | string[];
|
|
50
50
|
/** Filter conversations by tool names used during the call. */
|
|
51
51
|
toolNames?: string | string[];
|
|
52
|
+
/** Filter conversations by tool names that had successful calls. */
|
|
53
|
+
toolNamesSuccessful?: string | string[];
|
|
54
|
+
/** Filter conversations by tool names that had errored calls. */
|
|
55
|
+
toolNamesErrored?: string | string[];
|
|
52
56
|
/** Filter conversations by detected main language (language code). */
|
|
53
57
|
mainLanguages?: string | string[];
|
|
54
58
|
/** Number of results per page. Max 50. */
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * as agents from "./agents";
|
|
2
2
|
export * from "./agents/client/requests";
|
|
3
|
-
export * from "./agents/types";
|
|
4
3
|
export * as analytics from "./analytics";
|
|
5
4
|
export * as batchCalls from "./batchCalls";
|
|
6
5
|
export * from "./batchCalls/client/requests";
|
|
@@ -33,7 +32,6 @@ export * as tools from "./tools";
|
|
|
33
32
|
export * from "./tools/client/requests";
|
|
34
33
|
export * as twilio from "./twilio";
|
|
35
34
|
export * from "./twilio/client/requests";
|
|
36
|
-
export * from "./twilio/types";
|
|
37
35
|
export * as users from "./users";
|
|
38
36
|
export * from "./users/client/requests";
|
|
39
37
|
export * as whatsapp from "./whatsapp";
|
|
@@ -39,7 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.whatsappAccounts = exports.whatsapp = exports.users = exports.twilio = exports.tools = exports.tests = exports.sipTrunk = exports.settings = exports.secrets = exports.phoneNumbers = exports.mcpServers = exports.llmUsage = exports.llm = exports.knowledgeBase = exports.dashboard = exports.conversations = exports.batchCalls = exports.analytics = exports.agents = void 0;
|
|
40
40
|
exports.agents = __importStar(require("./agents"));
|
|
41
41
|
__exportStar(require("./agents/client/requests"), exports);
|
|
42
|
-
__exportStar(require("./agents/types"), exports);
|
|
43
42
|
exports.analytics = __importStar(require("./analytics"));
|
|
44
43
|
exports.batchCalls = __importStar(require("./batchCalls"));
|
|
45
44
|
__exportStar(require("./batchCalls/client/requests"), exports);
|
|
@@ -72,7 +71,6 @@ exports.tools = __importStar(require("./tools"));
|
|
|
72
71
|
__exportStar(require("./tools/client/requests"), exports);
|
|
73
72
|
exports.twilio = __importStar(require("./twilio"));
|
|
74
73
|
__exportStar(require("./twilio/client/requests"), exports);
|
|
75
|
-
__exportStar(require("./twilio/types"), exports);
|
|
76
74
|
exports.users = __importStar(require("./users"));
|
|
77
75
|
__exportStar(require("./users/client/requests"), exports);
|
|
78
76
|
exports.whatsapp = __importStar(require("./whatsapp"));
|
|
@@ -29,6 +29,7 @@ export declare class KnowledgeBaseClient {
|
|
|
29
29
|
* pageSize: 1,
|
|
30
30
|
* search: "search",
|
|
31
31
|
* showOnlyOwnedDocuments: true,
|
|
32
|
+
* createdByUserId: "created_by_user_id",
|
|
32
33
|
* parentFolderId: "parent_folder_id",
|
|
33
34
|
* ancestorFolderId: "ancestor_folder_id",
|
|
34
35
|
* foldersFirst: true,
|
|
@@ -79,6 +79,7 @@ class KnowledgeBaseClient {
|
|
|
79
79
|
* pageSize: 1,
|
|
80
80
|
* search: "search",
|
|
81
81
|
* showOnlyOwnedDocuments: true,
|
|
82
|
+
* createdByUserId: "created_by_user_id",
|
|
82
83
|
* parentFolderId: "parent_folder_id",
|
|
83
84
|
* ancestorFolderId: "ancestor_folder_id",
|
|
84
85
|
* foldersFirst: true,
|
|
@@ -93,7 +94,7 @@ class KnowledgeBaseClient {
|
|
|
93
94
|
__list() {
|
|
94
95
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
95
96
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
96
|
-
const { pageSize, search, showOnlyOwnedDocuments, types, parentFolderId, ancestorFolderId, foldersFirst, sortDirection, sortBy, cursor, } = request;
|
|
97
|
+
const { pageSize, search, showOnlyOwnedDocuments, createdByUserId, types, parentFolderId, ancestorFolderId, foldersFirst, sortDirection, sortBy, cursor, } = request;
|
|
97
98
|
const _queryParams = {};
|
|
98
99
|
if (pageSize != null) {
|
|
99
100
|
_queryParams.page_size = pageSize.toString();
|
|
@@ -104,6 +105,9 @@ class KnowledgeBaseClient {
|
|
|
104
105
|
if (showOnlyOwnedDocuments != null) {
|
|
105
106
|
_queryParams.show_only_owned_documents = showOnlyOwnedDocuments.toString();
|
|
106
107
|
}
|
|
108
|
+
if (createdByUserId != null) {
|
|
109
|
+
_queryParams.created_by_user_id = createdByUserId;
|
|
110
|
+
}
|
|
107
111
|
if (types != null) {
|
|
108
112
|
if (Array.isArray(types)) {
|
|
109
113
|
_queryParams.types = types.map((item) => serializers.KnowledgeBaseDocumentType.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }));
|
|
@@ -5,6 +5,7 @@ import type * as ElevenLabs from "../../../../../../index";
|
|
|
5
5
|
* pageSize: 1,
|
|
6
6
|
* search: "search",
|
|
7
7
|
* showOnlyOwnedDocuments: true,
|
|
8
|
+
* createdByUserId: "created_by_user_id",
|
|
8
9
|
* parentFolderId: "parent_folder_id",
|
|
9
10
|
* ancestorFolderId: "ancestor_folder_id",
|
|
10
11
|
* foldersFirst: true,
|
|
@@ -18,8 +19,10 @@ export interface KnowledgeBaseListRequest {
|
|
|
18
19
|
pageSize?: number;
|
|
19
20
|
/** If specified, the endpoint returns only such knowledge base documents whose names start with this string. */
|
|
20
21
|
search?: string;
|
|
21
|
-
/** If set to true, the endpoint will return only documents owned by you (and not shared from somebody else). */
|
|
22
|
+
/** If set to true, the endpoint will return only documents owned by you (and not shared from somebody else). Deprecated: use created_by_user_id instead. */
|
|
22
23
|
showOnlyOwnedDocuments?: boolean;
|
|
24
|
+
/** Filter documents by creator user ID. When set, only documents created by this user are returned. Takes precedence over show_only_owned_documents. Use '@me' to refer to the authenticated user. */
|
|
25
|
+
createdByUserId?: string;
|
|
23
26
|
/** If present, the endpoint will return only documents of the given types. */
|
|
24
27
|
types?: ElevenLabs.KnowledgeBaseDocumentType | ElevenLabs.KnowledgeBaseDocumentType[];
|
|
25
28
|
/** If set, the endpoint will return only documents that are direct children of the given folder. */
|
|
@@ -10,6 +10,19 @@ export declare namespace DocumentClient {
|
|
|
10
10
|
export declare class DocumentClient {
|
|
11
11
|
protected readonly _options: NormalizedClientOptions<DocumentClient.Options>;
|
|
12
12
|
constructor(options?: DocumentClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Manually refresh a URL document by re-fetching its content from the source URL.
|
|
15
|
+
*
|
|
16
|
+
* @param {string} documentation_id - The id of a document from the knowledge base. This is returned on document addition.
|
|
17
|
+
* @param {DocumentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
18
|
+
*
|
|
19
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* await client.conversationalAi.knowledgeBase.document.refresh("21m00Tcm4TlvDq8ikWAM")
|
|
23
|
+
*/
|
|
24
|
+
refresh(documentation_id: string, requestOptions?: DocumentClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.conversationalAi.knowledgeBase.DocumentRefreshResponse>;
|
|
25
|
+
private __refresh;
|
|
13
26
|
/**
|
|
14
27
|
* In case the document is not RAG indexed, it triggers rag indexing task, otherwise it just returns the current status.
|
|
15
28
|
*
|
|
@@ -56,6 +56,66 @@ class DocumentClient {
|
|
|
56
56
|
constructor(options = {}) {
|
|
57
57
|
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
58
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* Manually refresh a URL document by re-fetching its content from the source URL.
|
|
61
|
+
*
|
|
62
|
+
* @param {string} documentation_id - The id of a document from the knowledge base. This is returned on document addition.
|
|
63
|
+
* @param {DocumentClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* await client.conversationalAi.knowledgeBase.document.refresh("21m00Tcm4TlvDq8ikWAM")
|
|
69
|
+
*/
|
|
70
|
+
refresh(documentation_id, requestOptions) {
|
|
71
|
+
return core.HttpResponsePromise.fromPromise(this.__refresh(documentation_id, requestOptions));
|
|
72
|
+
}
|
|
73
|
+
__refresh(documentation_id, requestOptions) {
|
|
74
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
75
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
76
|
+
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);
|
|
77
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
78
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/knowledge-base/${core.url.encodePathParam(documentation_id)}/refresh`),
|
|
79
|
+
method: "POST",
|
|
80
|
+
headers: _headers,
|
|
81
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
82
|
+
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,
|
|
83
|
+
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,
|
|
84
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
85
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
86
|
+
logging: this._options.logging,
|
|
87
|
+
});
|
|
88
|
+
if (_response.ok) {
|
|
89
|
+
return {
|
|
90
|
+
data: serializers.conversationalAi.knowledgeBase.DocumentRefreshResponse.parseOrThrow(_response.body, {
|
|
91
|
+
unrecognizedObjectKeys: "passthrough",
|
|
92
|
+
allowUnrecognizedUnionMembers: true,
|
|
93
|
+
allowUnrecognizedEnumValues: true,
|
|
94
|
+
breadcrumbsPrefix: ["response"],
|
|
95
|
+
}),
|
|
96
|
+
rawResponse: _response.rawResponse,
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
if (_response.error.reason === "status-code") {
|
|
100
|
+
switch (_response.error.statusCode) {
|
|
101
|
+
case 422:
|
|
102
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
103
|
+
unrecognizedObjectKeys: "passthrough",
|
|
104
|
+
allowUnrecognizedUnionMembers: true,
|
|
105
|
+
allowUnrecognizedEnumValues: true,
|
|
106
|
+
breadcrumbsPrefix: ["response"],
|
|
107
|
+
}), _response.rawResponse);
|
|
108
|
+
default:
|
|
109
|
+
throw new errors.ElevenLabsError({
|
|
110
|
+
statusCode: _response.error.statusCode,
|
|
111
|
+
body: _response.error.body,
|
|
112
|
+
rawResponse: _response.rawResponse,
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/convai/knowledge-base/{documentation_id}/refresh");
|
|
117
|
+
});
|
|
118
|
+
}
|
|
59
119
|
/**
|
|
60
120
|
* In case the document is not RAG indexed, it triggers rag indexing task, otherwise it just returns the current status.
|
|
61
121
|
*
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../../index";
|
|
2
|
+
export type DocumentRefreshResponse = ElevenLabs.conversationalAi.knowledgeBase.DocumentRefreshResponse.Url | ElevenLabs.conversationalAi.knowledgeBase.DocumentRefreshResponse.File_ | ElevenLabs.conversationalAi.knowledgeBase.DocumentRefreshResponse.Text | ElevenLabs.conversationalAi.knowledgeBase.DocumentRefreshResponse.Folder;
|
|
3
|
+
export declare namespace DocumentRefreshResponse {
|
|
4
|
+
interface Url extends ElevenLabs.GetKnowledgeBaseUrlResponseModel {
|
|
5
|
+
type: "url";
|
|
6
|
+
}
|
|
7
|
+
interface File_ extends ElevenLabs.GetKnowledgeBaseFileResponseModel {
|
|
8
|
+
type: "file";
|
|
9
|
+
}
|
|
10
|
+
interface Text extends ElevenLabs.GetKnowledgeBaseTextResponseModel {
|
|
11
|
+
type: "text";
|
|
12
|
+
}
|
|
13
|
+
interface Folder extends ElevenLabs.GetKnowledgeBaseFolderResponseModel {
|
|
14
|
+
type: "folder";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./DocumentRefreshResponse";
|
|
@@ -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("./DocumentRefreshResponse"), exports);
|
|
@@ -9,4 +9,8 @@ export interface BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost {
|
|
|
9
9
|
name: string;
|
|
10
10
|
/** If set, the created document or folder will be placed inside the given folder. */
|
|
11
11
|
parentFolderId?: string;
|
|
12
|
+
/** Whether to enable auto-sync for this URL document. */
|
|
13
|
+
enableAutoSync?: boolean;
|
|
14
|
+
/** Whether to automatically remove the document if the URL becomes unavailable. Only applicable when auto-sync is enabled. */
|
|
15
|
+
autoRemove?: boolean;
|
|
12
16
|
}
|
|
@@ -11,4 +11,8 @@ export interface BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost {
|
|
|
11
11
|
name?: string;
|
|
12
12
|
/** If set, the created document or folder will be placed inside the given folder. */
|
|
13
13
|
parentFolderId?: string;
|
|
14
|
+
/** Whether to enable auto-sync for this URL document. */
|
|
15
|
+
enableAutoSync?: boolean;
|
|
16
|
+
/** Whether to automatically remove the document if the URL becomes unavailable. Only applicable when auto-sync is enabled. */
|
|
17
|
+
autoRemove?: boolean;
|
|
14
18
|
}
|