@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
|
@@ -21,10 +21,12 @@ export declare class UsersClient {
|
|
|
21
21
|
* @example
|
|
22
22
|
* await client.conversationalAi.users.list({
|
|
23
23
|
* agentId: "agent_id",
|
|
24
|
+
* branchId: "branch_id",
|
|
24
25
|
* callStartBeforeUnix: 1,
|
|
25
26
|
* callStartAfterUnix: 1,
|
|
26
27
|
* search: "search",
|
|
27
28
|
* pageSize: 1,
|
|
29
|
+
* sortBy: "last_contact_unix_secs",
|
|
28
30
|
* cursor: "cursor"
|
|
29
31
|
* })
|
|
30
32
|
*/
|
|
@@ -67,10 +67,12 @@ class UsersClient {
|
|
|
67
67
|
* @example
|
|
68
68
|
* await client.conversationalAi.users.list({
|
|
69
69
|
* agentId: "agent_id",
|
|
70
|
+
* branchId: "branch_id",
|
|
70
71
|
* callStartBeforeUnix: 1,
|
|
71
72
|
* callStartAfterUnix: 1,
|
|
72
73
|
* search: "search",
|
|
73
74
|
* pageSize: 1,
|
|
75
|
+
* sortBy: "last_contact_unix_secs",
|
|
74
76
|
* cursor: "cursor"
|
|
75
77
|
* })
|
|
76
78
|
*/
|
|
@@ -80,11 +82,14 @@ class UsersClient {
|
|
|
80
82
|
__list() {
|
|
81
83
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
82
84
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
83
|
-
const { agentId, callStartBeforeUnix, callStartAfterUnix, search, pageSize, cursor } = request;
|
|
85
|
+
const { agentId, branchId, callStartBeforeUnix, callStartAfterUnix, search, pageSize, sortBy, cursor } = request;
|
|
84
86
|
const _queryParams = {};
|
|
85
87
|
if (agentId != null) {
|
|
86
88
|
_queryParams.agent_id = agentId;
|
|
87
89
|
}
|
|
90
|
+
if (branchId != null) {
|
|
91
|
+
_queryParams.branch_id = branchId;
|
|
92
|
+
}
|
|
88
93
|
if (callStartBeforeUnix != null) {
|
|
89
94
|
_queryParams.call_start_before_unix = callStartBeforeUnix.toString();
|
|
90
95
|
}
|
|
@@ -97,6 +102,9 @@ class UsersClient {
|
|
|
97
102
|
if (pageSize != null) {
|
|
98
103
|
_queryParams.page_size = pageSize.toString();
|
|
99
104
|
}
|
|
105
|
+
if (sortBy != null) {
|
|
106
|
+
_queryParams.sort_by = serializers.UsersSortBy.jsonOrThrow(sortBy, { unrecognizedObjectKeys: "strip" });
|
|
107
|
+
}
|
|
100
108
|
if (cursor != null) {
|
|
101
109
|
_queryParams.cursor = cursor;
|
|
102
110
|
}
|
package/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts
CHANGED
|
@@ -1,17 +1,22 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../index";
|
|
1
2
|
/**
|
|
2
3
|
* @example
|
|
3
4
|
* {
|
|
4
5
|
* agentId: "agent_id",
|
|
6
|
+
* branchId: "branch_id",
|
|
5
7
|
* callStartBeforeUnix: 1,
|
|
6
8
|
* callStartAfterUnix: 1,
|
|
7
9
|
* search: "search",
|
|
8
10
|
* pageSize: 1,
|
|
11
|
+
* sortBy: "last_contact_unix_secs",
|
|
9
12
|
* cursor: "cursor"
|
|
10
13
|
* }
|
|
11
14
|
*/
|
|
12
15
|
export interface UsersListRequest {
|
|
13
16
|
/** The id of the agent you're taking the action on. */
|
|
14
17
|
agentId?: string;
|
|
18
|
+
/** Filter conversations by branch ID. */
|
|
19
|
+
branchId?: string;
|
|
15
20
|
/** Unix timestamp (in seconds) to filter conversations up to this start date. */
|
|
16
21
|
callStartBeforeUnix?: number;
|
|
17
22
|
/** Unix timestamp (in seconds) to filter conversations after to this start date. */
|
|
@@ -20,6 +25,8 @@ export interface UsersListRequest {
|
|
|
20
25
|
search?: string;
|
|
21
26
|
/** How many users to return at maximum. Defaults to 30. */
|
|
22
27
|
pageSize?: number;
|
|
28
|
+
/** The field to sort the results by. Defaults to last_contact_unix_secs. */
|
|
29
|
+
sortBy?: ElevenLabs.UsersSortBy;
|
|
23
30
|
/** Used for fetching next page. Cursor is returned in the response. */
|
|
24
31
|
cursor?: string;
|
|
25
32
|
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient";
|
|
2
|
+
import { type NormalizedClientOptions } from "../../../../BaseClient";
|
|
3
|
+
import * as core from "../../../../core";
|
|
4
|
+
import * as ElevenLabs from "../../../index";
|
|
5
|
+
export declare namespace EnvironmentVariablesClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class EnvironmentVariablesClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptions<EnvironmentVariablesClient.Options>;
|
|
12
|
+
constructor(options?: EnvironmentVariablesClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* List all environment variables for the workspace with optional filtering
|
|
15
|
+
*
|
|
16
|
+
* @param {ElevenLabs.EnvironmentVariablesListRequest} request
|
|
17
|
+
* @param {EnvironmentVariablesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
18
|
+
*
|
|
19
|
+
* @throws {@link ElevenLabs.BadRequestError}
|
|
20
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* await client.environmentVariables.list({
|
|
24
|
+
* cursor: "cursor",
|
|
25
|
+
* pageSize: 1,
|
|
26
|
+
* label: "label",
|
|
27
|
+
* environment: "environment",
|
|
28
|
+
* type: "string"
|
|
29
|
+
* })
|
|
30
|
+
*/
|
|
31
|
+
list(request?: ElevenLabs.EnvironmentVariablesListRequest, requestOptions?: EnvironmentVariablesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.EnvironmentVariablesListResponse>;
|
|
32
|
+
private __list;
|
|
33
|
+
/**
|
|
34
|
+
* Create a new environment variable for the workspace
|
|
35
|
+
*
|
|
36
|
+
* @param {ElevenLabs.EnvironmentVariablesCreateRequestBody} request
|
|
37
|
+
* @param {EnvironmentVariablesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link ElevenLabs.BadRequestError}
|
|
40
|
+
* @throws {@link ElevenLabs.ConflictError}
|
|
41
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* await client.environmentVariables.create({
|
|
45
|
+
* type: "string",
|
|
46
|
+
* label: "label",
|
|
47
|
+
* values: {
|
|
48
|
+
* "key": "value"
|
|
49
|
+
* }
|
|
50
|
+
* })
|
|
51
|
+
*/
|
|
52
|
+
create(request: ElevenLabs.EnvironmentVariablesCreateRequestBody, requestOptions?: EnvironmentVariablesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.EnvironmentVariableResponse>;
|
|
53
|
+
private __create;
|
|
54
|
+
/**
|
|
55
|
+
* Get a specific environment variable by ID
|
|
56
|
+
*
|
|
57
|
+
* @param {string} env_var_id
|
|
58
|
+
* @param {EnvironmentVariablesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ElevenLabs.NotFoundError}
|
|
61
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* await client.environmentVariables.get("env_var_id")
|
|
65
|
+
*/
|
|
66
|
+
get(env_var_id: string, requestOptions?: EnvironmentVariablesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.EnvironmentVariableResponse>;
|
|
67
|
+
private __get;
|
|
68
|
+
/**
|
|
69
|
+
* Replace an environment variable's values. Use null to remove an environment (except production).
|
|
70
|
+
*
|
|
71
|
+
* @param {string} env_var_id
|
|
72
|
+
* @param {ElevenLabs.UpdateEnvironmentVariableRequest} request
|
|
73
|
+
* @param {EnvironmentVariablesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ElevenLabs.BadRequestError}
|
|
76
|
+
* @throws {@link ElevenLabs.NotFoundError}
|
|
77
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* await client.environmentVariables.update("env_var_id", {
|
|
81
|
+
* values: {}
|
|
82
|
+
* })
|
|
83
|
+
*/
|
|
84
|
+
update(env_var_id: string, request: ElevenLabs.UpdateEnvironmentVariableRequest, requestOptions?: EnvironmentVariablesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.EnvironmentVariableResponse>;
|
|
85
|
+
private __update;
|
|
86
|
+
}
|
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.EnvironmentVariablesClient = void 0;
|
|
47
|
+
const BaseClient_1 = require("../../../../BaseClient");
|
|
48
|
+
const core = __importStar(require("../../../../core"));
|
|
49
|
+
const headers_1 = require("../../../../core/headers");
|
|
50
|
+
const environments = __importStar(require("../../../../environments"));
|
|
51
|
+
const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCodeError");
|
|
52
|
+
const errors = __importStar(require("../../../../errors/index"));
|
|
53
|
+
const serializers = __importStar(require("../../../../serialization/index"));
|
|
54
|
+
const ElevenLabs = __importStar(require("../../../index"));
|
|
55
|
+
class EnvironmentVariablesClient {
|
|
56
|
+
constructor(options = {}) {
|
|
57
|
+
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* List all environment variables for the workspace with optional filtering
|
|
61
|
+
*
|
|
62
|
+
* @param {ElevenLabs.EnvironmentVariablesListRequest} request
|
|
63
|
+
* @param {EnvironmentVariablesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ElevenLabs.BadRequestError}
|
|
66
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* await client.environmentVariables.list({
|
|
70
|
+
* cursor: "cursor",
|
|
71
|
+
* pageSize: 1,
|
|
72
|
+
* label: "label",
|
|
73
|
+
* environment: "environment",
|
|
74
|
+
* type: "string"
|
|
75
|
+
* })
|
|
76
|
+
*/
|
|
77
|
+
list(request = {}, requestOptions) {
|
|
78
|
+
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
79
|
+
}
|
|
80
|
+
__list() {
|
|
81
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
82
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
83
|
+
const { cursor, pageSize, label, environment, type: type_ } = request;
|
|
84
|
+
const _queryParams = {};
|
|
85
|
+
if (cursor != null) {
|
|
86
|
+
_queryParams.cursor = cursor;
|
|
87
|
+
}
|
|
88
|
+
if (pageSize != null) {
|
|
89
|
+
_queryParams.page_size = pageSize.toString();
|
|
90
|
+
}
|
|
91
|
+
if (label != null) {
|
|
92
|
+
_queryParams.label = label;
|
|
93
|
+
}
|
|
94
|
+
if (environment != null) {
|
|
95
|
+
_queryParams.environment = environment;
|
|
96
|
+
}
|
|
97
|
+
if (type_ != null) {
|
|
98
|
+
_queryParams.type = serializers.EnvironmentVariablesListRequestType.jsonOrThrow(type_, {
|
|
99
|
+
unrecognizedObjectKeys: "strip",
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
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);
|
|
103
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
104
|
+
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/environment-variables"),
|
|
105
|
+
method: "GET",
|
|
106
|
+
headers: _headers,
|
|
107
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
108
|
+
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,
|
|
109
|
+
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,
|
|
110
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
111
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
112
|
+
logging: this._options.logging,
|
|
113
|
+
});
|
|
114
|
+
if (_response.ok) {
|
|
115
|
+
return {
|
|
116
|
+
data: serializers.EnvironmentVariablesListResponse.parseOrThrow(_response.body, {
|
|
117
|
+
unrecognizedObjectKeys: "passthrough",
|
|
118
|
+
allowUnrecognizedUnionMembers: true,
|
|
119
|
+
allowUnrecognizedEnumValues: true,
|
|
120
|
+
breadcrumbsPrefix: ["response"],
|
|
121
|
+
}),
|
|
122
|
+
rawResponse: _response.rawResponse,
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
if (_response.error.reason === "status-code") {
|
|
126
|
+
switch (_response.error.statusCode) {
|
|
127
|
+
case 400:
|
|
128
|
+
throw new ElevenLabs.BadRequestError(_response.error.body, _response.rawResponse);
|
|
129
|
+
case 422:
|
|
130
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
131
|
+
unrecognizedObjectKeys: "passthrough",
|
|
132
|
+
allowUnrecognizedUnionMembers: true,
|
|
133
|
+
allowUnrecognizedEnumValues: true,
|
|
134
|
+
breadcrumbsPrefix: ["response"],
|
|
135
|
+
}), _response.rawResponse);
|
|
136
|
+
default:
|
|
137
|
+
throw new errors.ElevenLabsError({
|
|
138
|
+
statusCode: _response.error.statusCode,
|
|
139
|
+
body: _response.error.body,
|
|
140
|
+
rawResponse: _response.rawResponse,
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/environment-variables");
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Create a new environment variable for the workspace
|
|
149
|
+
*
|
|
150
|
+
* @param {ElevenLabs.EnvironmentVariablesCreateRequestBody} request
|
|
151
|
+
* @param {EnvironmentVariablesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
152
|
+
*
|
|
153
|
+
* @throws {@link ElevenLabs.BadRequestError}
|
|
154
|
+
* @throws {@link ElevenLabs.ConflictError}
|
|
155
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* await client.environmentVariables.create({
|
|
159
|
+
* type: "string",
|
|
160
|
+
* label: "label",
|
|
161
|
+
* values: {
|
|
162
|
+
* "key": "value"
|
|
163
|
+
* }
|
|
164
|
+
* })
|
|
165
|
+
*/
|
|
166
|
+
create(request, requestOptions) {
|
|
167
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
168
|
+
}
|
|
169
|
+
__create(request, requestOptions) {
|
|
170
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
171
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
172
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
173
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
174
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/environment-variables"),
|
|
175
|
+
method: "POST",
|
|
176
|
+
headers: _headers,
|
|
177
|
+
contentType: "application/json",
|
|
178
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
179
|
+
requestType: "json",
|
|
180
|
+
body: serializers.EnvironmentVariablesCreateRequestBody.jsonOrThrow(request, {
|
|
181
|
+
unrecognizedObjectKeys: "strip",
|
|
182
|
+
}),
|
|
183
|
+
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,
|
|
184
|
+
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,
|
|
185
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
186
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
187
|
+
logging: this._options.logging,
|
|
188
|
+
});
|
|
189
|
+
if (_response.ok) {
|
|
190
|
+
return {
|
|
191
|
+
data: serializers.EnvironmentVariableResponse.parseOrThrow(_response.body, {
|
|
192
|
+
unrecognizedObjectKeys: "passthrough",
|
|
193
|
+
allowUnrecognizedUnionMembers: true,
|
|
194
|
+
allowUnrecognizedEnumValues: true,
|
|
195
|
+
breadcrumbsPrefix: ["response"],
|
|
196
|
+
}),
|
|
197
|
+
rawResponse: _response.rawResponse,
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
if (_response.error.reason === "status-code") {
|
|
201
|
+
switch (_response.error.statusCode) {
|
|
202
|
+
case 400:
|
|
203
|
+
throw new ElevenLabs.BadRequestError(_response.error.body, _response.rawResponse);
|
|
204
|
+
case 409:
|
|
205
|
+
throw new ElevenLabs.ConflictError(_response.error.body, _response.rawResponse);
|
|
206
|
+
case 422:
|
|
207
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
208
|
+
unrecognizedObjectKeys: "passthrough",
|
|
209
|
+
allowUnrecognizedUnionMembers: true,
|
|
210
|
+
allowUnrecognizedEnumValues: true,
|
|
211
|
+
breadcrumbsPrefix: ["response"],
|
|
212
|
+
}), _response.rawResponse);
|
|
213
|
+
default:
|
|
214
|
+
throw new errors.ElevenLabsError({
|
|
215
|
+
statusCode: _response.error.statusCode,
|
|
216
|
+
body: _response.error.body,
|
|
217
|
+
rawResponse: _response.rawResponse,
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/convai/environment-variables");
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Get a specific environment variable by ID
|
|
226
|
+
*
|
|
227
|
+
* @param {string} env_var_id
|
|
228
|
+
* @param {EnvironmentVariablesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
229
|
+
*
|
|
230
|
+
* @throws {@link ElevenLabs.NotFoundError}
|
|
231
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
232
|
+
*
|
|
233
|
+
* @example
|
|
234
|
+
* await client.environmentVariables.get("env_var_id")
|
|
235
|
+
*/
|
|
236
|
+
get(env_var_id, requestOptions) {
|
|
237
|
+
return core.HttpResponsePromise.fromPromise(this.__get(env_var_id, requestOptions));
|
|
238
|
+
}
|
|
239
|
+
__get(env_var_id, requestOptions) {
|
|
240
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
241
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
242
|
+
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);
|
|
243
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
244
|
+
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/environment-variables/${core.url.encodePathParam(env_var_id)}`),
|
|
245
|
+
method: "GET",
|
|
246
|
+
headers: _headers,
|
|
247
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
248
|
+
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,
|
|
249
|
+
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,
|
|
250
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
251
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
252
|
+
logging: this._options.logging,
|
|
253
|
+
});
|
|
254
|
+
if (_response.ok) {
|
|
255
|
+
return {
|
|
256
|
+
data: serializers.EnvironmentVariableResponse.parseOrThrow(_response.body, {
|
|
257
|
+
unrecognizedObjectKeys: "passthrough",
|
|
258
|
+
allowUnrecognizedUnionMembers: true,
|
|
259
|
+
allowUnrecognizedEnumValues: true,
|
|
260
|
+
breadcrumbsPrefix: ["response"],
|
|
261
|
+
}),
|
|
262
|
+
rawResponse: _response.rawResponse,
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
if (_response.error.reason === "status-code") {
|
|
266
|
+
switch (_response.error.statusCode) {
|
|
267
|
+
case 404:
|
|
268
|
+
throw new ElevenLabs.NotFoundError(_response.error.body, _response.rawResponse);
|
|
269
|
+
case 422:
|
|
270
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
271
|
+
unrecognizedObjectKeys: "passthrough",
|
|
272
|
+
allowUnrecognizedUnionMembers: true,
|
|
273
|
+
allowUnrecognizedEnumValues: true,
|
|
274
|
+
breadcrumbsPrefix: ["response"],
|
|
275
|
+
}), _response.rawResponse);
|
|
276
|
+
default:
|
|
277
|
+
throw new errors.ElevenLabsError({
|
|
278
|
+
statusCode: _response.error.statusCode,
|
|
279
|
+
body: _response.error.body,
|
|
280
|
+
rawResponse: _response.rawResponse,
|
|
281
|
+
});
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/environment-variables/{env_var_id}");
|
|
285
|
+
});
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* Replace an environment variable's values. Use null to remove an environment (except production).
|
|
289
|
+
*
|
|
290
|
+
* @param {string} env_var_id
|
|
291
|
+
* @param {ElevenLabs.UpdateEnvironmentVariableRequest} request
|
|
292
|
+
* @param {EnvironmentVariablesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
293
|
+
*
|
|
294
|
+
* @throws {@link ElevenLabs.BadRequestError}
|
|
295
|
+
* @throws {@link ElevenLabs.NotFoundError}
|
|
296
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
297
|
+
*
|
|
298
|
+
* @example
|
|
299
|
+
* await client.environmentVariables.update("env_var_id", {
|
|
300
|
+
* values: {}
|
|
301
|
+
* })
|
|
302
|
+
*/
|
|
303
|
+
update(env_var_id, request, requestOptions) {
|
|
304
|
+
return core.HttpResponsePromise.fromPromise(this.__update(env_var_id, request, requestOptions));
|
|
305
|
+
}
|
|
306
|
+
__update(env_var_id, request, requestOptions) {
|
|
307
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
308
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
309
|
+
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);
|
|
310
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
311
|
+
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/environment-variables/${core.url.encodePathParam(env_var_id)}`),
|
|
312
|
+
method: "PATCH",
|
|
313
|
+
headers: _headers,
|
|
314
|
+
contentType: "application/json",
|
|
315
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
316
|
+
requestType: "json",
|
|
317
|
+
body: serializers.UpdateEnvironmentVariableRequest.jsonOrThrow(request, {
|
|
318
|
+
unrecognizedObjectKeys: "strip",
|
|
319
|
+
}),
|
|
320
|
+
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,
|
|
321
|
+
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,
|
|
322
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
323
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
324
|
+
logging: this._options.logging,
|
|
325
|
+
});
|
|
326
|
+
if (_response.ok) {
|
|
327
|
+
return {
|
|
328
|
+
data: serializers.EnvironmentVariableResponse.parseOrThrow(_response.body, {
|
|
329
|
+
unrecognizedObjectKeys: "passthrough",
|
|
330
|
+
allowUnrecognizedUnionMembers: true,
|
|
331
|
+
allowUnrecognizedEnumValues: true,
|
|
332
|
+
breadcrumbsPrefix: ["response"],
|
|
333
|
+
}),
|
|
334
|
+
rawResponse: _response.rawResponse,
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
if (_response.error.reason === "status-code") {
|
|
338
|
+
switch (_response.error.statusCode) {
|
|
339
|
+
case 400:
|
|
340
|
+
throw new ElevenLabs.BadRequestError(_response.error.body, _response.rawResponse);
|
|
341
|
+
case 404:
|
|
342
|
+
throw new ElevenLabs.NotFoundError(_response.error.body, _response.rawResponse);
|
|
343
|
+
case 422:
|
|
344
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
345
|
+
unrecognizedObjectKeys: "passthrough",
|
|
346
|
+
allowUnrecognizedUnionMembers: true,
|
|
347
|
+
allowUnrecognizedEnumValues: true,
|
|
348
|
+
breadcrumbsPrefix: ["response"],
|
|
349
|
+
}), _response.rawResponse);
|
|
350
|
+
default:
|
|
351
|
+
throw new errors.ElevenLabsError({
|
|
352
|
+
statusCode: _response.error.statusCode,
|
|
353
|
+
body: _response.error.body,
|
|
354
|
+
rawResponse: _response.rawResponse,
|
|
355
|
+
});
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/v1/convai/environment-variables/{env_var_id}");
|
|
359
|
+
});
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
exports.EnvironmentVariablesClient = EnvironmentVariablesClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
package/api/resources/environmentVariables/client/requests/EnvironmentVariablesListRequest.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* cursor: "cursor",
|
|
6
|
+
* pageSize: 1,
|
|
7
|
+
* label: "label",
|
|
8
|
+
* environment: "environment",
|
|
9
|
+
* type: "string"
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface EnvironmentVariablesListRequest {
|
|
13
|
+
/** Pagination cursor from previous response */
|
|
14
|
+
cursor?: string;
|
|
15
|
+
/** Number of items to return (1-100) */
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
/** Filter by exact label match */
|
|
18
|
+
label?: string;
|
|
19
|
+
/** Filter to only return variables that have this environment. When specified, the values dict in the response will only contain this environment. */
|
|
20
|
+
environment?: string;
|
|
21
|
+
/** Filter by variable type */
|
|
22
|
+
type?: ElevenLabs.EnvironmentVariablesListRequestType;
|
|
23
|
+
}
|
package/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* values: {}
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface UpdateEnvironmentVariableRequest {
|
|
9
|
+
/** Values to replace. Set to null to remove an environment (except 'production'). */
|
|
10
|
+
values: Record<string, ElevenLabs.UpdateEnvironmentVariableRequestValuesValue | undefined>;
|
|
11
|
+
}
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../index";
|
|
2
|
+
export type EnvironmentVariablesCreateRequestBody = ElevenLabs.EnvironmentVariablesCreateRequestBody.String | ElevenLabs.EnvironmentVariablesCreateRequestBody.Secret | ElevenLabs.EnvironmentVariablesCreateRequestBody.AuthConnection;
|
|
3
|
+
export declare namespace EnvironmentVariablesCreateRequestBody {
|
|
4
|
+
interface String extends ElevenLabs.CreateStringEnvironmentVariableRequest {
|
|
5
|
+
type: "string";
|
|
6
|
+
}
|
|
7
|
+
interface Secret extends ElevenLabs.CreateSecretEnvironmentVariableRequest {
|
|
8
|
+
type: "secret";
|
|
9
|
+
}
|
|
10
|
+
interface AuthConnection extends ElevenLabs.CreateAuthConnectionEnvironmentVariableRequest {
|
|
11
|
+
type: "auth_connection";
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const EnvironmentVariablesListRequestType: {
|
|
2
|
+
readonly String: "string";
|
|
3
|
+
readonly Secret: "secret";
|
|
4
|
+
readonly AuthConnection: "auth_connection";
|
|
5
|
+
};
|
|
6
|
+
export type EnvironmentVariablesListRequestType = (typeof EnvironmentVariablesListRequestType)[keyof typeof EnvironmentVariablesListRequestType];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.EnvironmentVariablesListRequestType = void 0;
|
|
5
|
+
exports.EnvironmentVariablesListRequestType = {
|
|
6
|
+
String: "string",
|
|
7
|
+
Secret: "secret",
|
|
8
|
+
AuthConnection: "auth_connection",
|
|
9
|
+
};
|