@elevenlabs/elevenlabs-js 2.45.0 → 2.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.fern/metadata.json +2 -2
- package/BaseClient.js +2 -2
- package/Client.d.ts +3 -0
- package/Client.js +31 -26
- package/README.md +92 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +3 -1
- package/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.d.ts +3 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +2 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +6 -2
- package/api/resources/conversationalAi/resources/batchCalls/client/requests/BatchCallsListRequest.d.ts +4 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +32 -3
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +106 -6
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +2 -2
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSipMessagesRequest.d.ts +12 -0
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +2 -2
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +15 -2
- package/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +6 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +6 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.d.ts +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +7 -1
- package/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.d.ts +114 -0
- package/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +454 -0
- package/api/resources/conversationalAi/resources/conversations/resources/tags/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/tags/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.d.ts +10 -0
- package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.d.ts +12 -0
- package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.d.ts +10 -0
- package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/TagsListRequest.d.ts +13 -0
- package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.d.ts +4 -0
- package/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/tags/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/tags/index.js +17 -0
- package/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.d.ts +8 -0
- package/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.js +11 -0
- package/api/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/types/index.js +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseSearchRequest.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +17 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +65 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/BodyUpdateFileDocumentV1ConvaiKnowledgeBaseDocumentationIdUpdateFilePatch.d.ts +11 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +16 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.js +3 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +6 -5
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +12 -9
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.d.ts +4 -4
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.d.ts +31 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +131 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/ChunksListRequest.d.ts +17 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/ChunksListRequest.js +3 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/index.js +17 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/SummariesGetRequest.d.ts +3 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +17 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +67 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersGetSipMessagesRequest.d.ts +12 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersGetSipMessagesRequest.js +3 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +5 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tests/client/Client.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tests/client/Client.js +1 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +6 -4
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/InvocationsListRequest.d.ts +1 -1
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.js +1 -0
- package/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +1 -0
- package/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts +1 -1
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.d.ts +4 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.js +3 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
- package/api/resources/speechEngine/client/Client.d.ts +89 -0
- package/api/resources/speechEngine/client/Client.js +363 -0
- package/api/resources/speechEngine/client/index.d.ts +1 -0
- package/api/resources/speechEngine/client/index.js +17 -0
- package/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +31 -0
- package/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +3 -0
- package/api/resources/speechEngine/client/requests/SpeechEngineListRequest.d.ts +23 -0
- package/api/resources/speechEngine/client/requests/SpeechEngineListRequest.js +3 -0
- package/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +17 -0
- package/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +3 -0
- package/api/resources/speechEngine/client/requests/index.d.ts +3 -0
- package/api/resources/speechEngine/client/requests/index.js +2 -0
- package/api/resources/speechEngine/index.d.ts +1 -0
- package/api/resources/speechEngine/index.js +17 -0
- package/api/resources/speechToSpeech/client/requests/BodySpeechToSpeechV1SpeechToSpeechVoiceIdPost.d.ts +1 -1
- package/api/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.d.ts +17 -10
- package/api/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.js +17 -10
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -2
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -2
- package/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
- package/api/resources/voices/client/Client.d.ts +5 -2
- package/api/resources/voices/client/Client.js +8 -2
- package/api/resources/voices/client/requests/BodyEditVoiceV1VoicesVoiceIdEditPost.d.ts +2 -0
- package/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +2 -0
- package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +2 -1
- package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +2 -0
- package/api/resources/workspace/client/Client.d.ts +6 -0
- package/api/resources/workspace/client/Client.js +22 -12
- package/api/resources/workspace/resources/analytics/client/Client.d.ts +12 -0
- package/api/resources/workspace/resources/analytics/client/Client.js +16 -0
- package/api/resources/workspace/resources/analytics/client/index.d.ts +1 -0
- package/api/resources/workspace/resources/analytics/client/index.js +2 -0
- package/api/resources/workspace/resources/analytics/index.d.ts +2 -0
- package/api/resources/workspace/resources/analytics/index.js +18 -0
- package/api/resources/workspace/resources/analytics/resources/index.d.ts +3 -0
- package/api/resources/workspace/resources/analytics/resources/index.js +42 -0
- package/api/resources/workspace/resources/analytics/resources/requests/client/Client.d.ts +26 -0
- package/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +118 -0
- package/api/resources/workspace/resources/analytics/resources/requests/client/index.d.ts +1 -0
- package/api/resources/workspace/resources/analytics/resources/requests/client/index.js +17 -0
- package/api/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.d.ts +16 -0
- package/api/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.js +3 -0
- package/api/resources/workspace/resources/analytics/resources/requests/client/requests/index.d.ts +1 -0
- package/api/resources/workspace/resources/analytics/resources/requests/client/requests/index.js +2 -0
- package/api/resources/workspace/resources/analytics/resources/requests/index.d.ts +2 -0
- package/api/resources/workspace/resources/analytics/resources/requests/index.js +18 -0
- package/api/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.d.ts +5 -0
- package/api/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.js +8 -0
- package/api/resources/workspace/resources/analytics/resources/requests/types/index.d.ts +1 -0
- package/api/resources/workspace/resources/analytics/resources/requests/types/index.js +17 -0
- package/api/resources/workspace/resources/auditLogs/client/Client.d.ts +34 -0
- package/api/resources/workspace/resources/auditLogs/client/Client.js +146 -0
- package/api/resources/workspace/resources/auditLogs/client/index.d.ts +1 -0
- package/api/resources/workspace/resources/auditLogs/client/index.js +17 -0
- package/api/resources/workspace/resources/auditLogs/client/requests/AuditLogsListRequest.d.ts +28 -0
- package/api/resources/workspace/resources/auditLogs/client/requests/AuditLogsListRequest.js +3 -0
- package/api/resources/workspace/resources/auditLogs/client/requests/index.d.ts +1 -0
- package/api/resources/workspace/resources/auditLogs/client/requests/index.js +2 -0
- package/api/resources/workspace/resources/auditLogs/index.d.ts +1 -0
- package/api/resources/workspace/resources/auditLogs/index.js +17 -0
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
- package/api/resources/workspace/resources/index.d.ts +3 -0
- package/api/resources/workspace/resources/index.js +4 -1
- package/api/types/AccountChangeActivityId.d.ts +6 -0
- package/api/types/AccountChangeActivityId.js +3 -0
- package/api/types/ActorModel.d.ts +16 -0
- package/api/types/ActorModel.js +3 -0
- package/api/types/AgentAlertingMonitorConfig.d.ts +4 -0
- package/api/types/AgentAlertingMonitorConfig.js +3 -0
- package/api/types/AgentAlertingSettings.d.ts +5 -0
- package/api/types/AgentAlertingSettings.js +3 -0
- package/api/types/AgentMetadataDbModel.d.ts +7 -0
- package/api/types/AgentMetadataDbModel.js +3 -0
- package/api/types/AgentPlatformSettingsRequestModel.d.ts +1 -0
- package/api/types/AgentPlatformSettingsResponseModel.d.ts +1 -0
- package/api/types/AgentTopicResponseModel.d.ts +3 -0
- package/api/types/ApiIntegrationDocResponse.d.ts +8 -0
- package/api/types/ApiIntegrationDocResponse.js +3 -0
- package/api/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +26 -0
- package/api/types/ApiIntegrationOAuth2CustomAppResponse.js +3 -0
- package/api/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.d.ts +6 -0
- package/api/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.js +9 -0
- package/api/types/AuthenticationActivityId.d.ts +6 -0
- package/api/types/AuthenticationActivityId.js +3 -0
- package/api/types/AuthorizationMethod.d.ts +1 -0
- package/api/types/AuthorizationMethod.js +1 -0
- package/api/types/BackgroundMusicConfig.d.ts +11 -0
- package/api/types/BackgroundMusicConfig.js +3 -0
- package/api/types/BackgroundMusicConfigWorkflowOverride.d.ts +11 -0
- package/api/types/BackgroundMusicConfigWorkflowOverride.js +3 -0
- package/api/types/BackgroundMusicPresetId.d.ts +13 -0
- package/api/types/BackgroundMusicPresetId.js +16 -0
- package/api/types/BackgroundMusicSourceType.d.ts +4 -0
- package/api/types/BackgroundMusicSourceType.js +3 -0
- package/api/types/BaseTurnConfig.d.ts +17 -0
- package/api/types/BaseTurnConfig.js +3 -0
- package/api/types/CancelCalendarEventParams.d.ts +3 -0
- package/api/types/CancelCalendarEventParams.js +3 -0
- package/api/types/CancelGroupSessionForAllParams.d.ts +8 -0
- package/api/types/CancelGroupSessionForAllParams.js +3 -0
- package/api/types/CancelGroupSessionRegistrationParams.d.ts +6 -0
- package/api/types/CancelGroupSessionRegistrationParams.js +3 -0
- package/api/types/ClientEvent.d.ts +1 -0
- package/api/types/ClientEvent.js +1 -0
- package/api/types/CodeToolAllowedDomain.d.ts +6 -0
- package/api/types/CodeToolAllowedDomain.js +3 -0
- package/api/types/ColumnUnit.d.ts +1 -0
- package/api/types/ColumnUnit.js +1 -0
- package/api/types/ContextualUpdateInfo.d.ts +6 -0
- package/api/types/ContextualUpdateInfo.js +3 -0
- package/api/types/ConvAiWebhooks.d.ts +2 -0
- package/api/types/ConversationAsrUsageModel.d.ts +8 -0
- package/api/types/ConversationAsrUsageModel.js +3 -0
- package/api/types/ConversationChargingCommonModel.d.ts +2 -0
- package/api/types/{ConversationConfig.d.ts → ConversationConfigInput.d.ts} +1 -1
- package/api/types/ConversationConfigInput.js +3 -0
- package/api/types/ConversationConfigOutput.d.ts +17 -0
- package/api/types/ConversationConfigOutput.js +3 -0
- package/{dist/api/types/ConversationConfigWorkflowOverride.d.ts → api/types/ConversationConfigWorkflowOverrideInput.d.ts} +1 -1
- package/api/types/ConversationConfigWorkflowOverrideInput.js +3 -0
- package/api/types/ConversationConfigWorkflowOverrideOutput.d.ts +17 -0
- package/api/types/ConversationConfigWorkflowOverrideOutput.js +3 -0
- package/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
- package/api/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +4 -1
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +4 -1
- package/api/types/ConversationInitiationSource.d.ts +1 -0
- package/api/types/ConversationInitiationSource.js +1 -0
- package/api/types/ConversationTagResponseModel.d.ts +8 -0
- package/api/types/ConversationTagResponseModel.js +3 -0
- package/api/types/{ConversationTokenDbModel.d.ts → ConversationTokenResponseModel.d.ts} +2 -2
- package/api/types/ConversationTokenResponseModel.js +3 -0
- package/api/types/ConversationTtsUsageModel.d.ts +10 -0
- package/api/types/ConversationTtsUsageModel.js +3 -0
- package/api/types/ConversationVoiceRewardModel.d.ts +4 -0
- package/api/types/ConversationVoiceRewardModel.js +3 -0
- package/api/types/ConversationVoiceUsageModel.d.ts +4 -0
- package/api/types/ConversationVoiceUsageModel.js +3 -0
- package/api/types/ConversationalConfig.d.ts +1 -1
- package/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/api/types/CreateOAuth2JwtRequest.d.ts +2 -0
- package/api/types/CreateOAuth2JwtRequestTokenResponseField.d.ts +6 -0
- package/api/types/CreateOAuth2JwtRequestTokenResponseField.js +9 -0
- package/api/types/CreateServiceParams.d.ts +1 -1
- package/api/types/CreateSimulationTestRequest.d.ts +4 -0
- package/api/types/CreateSpeechEngineResponse.d.ts +4 -0
- package/api/types/CreateSpeechEngineResponse.js +3 -0
- package/api/types/Currency.d.ts +1 -0
- package/api/types/Currency.js +1 -0
- package/api/types/DeleteCalendarEventParams.d.ts +7 -0
- package/api/types/DeleteGroupSessionParams.d.ts +13 -0
- package/api/types/DeleteGroupSessionParams.js +3 -0
- package/api/types/DeviceModel.d.ts +13 -0
- package/api/types/DeviceModel.js +3 -0
- package/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/api/types/EntityManagementActivityId.d.ts +6 -0
- package/api/types/EntityManagementActivityId.js +3 -0
- package/api/types/GenerationSourceContext.d.ts +0 -2
- package/api/types/GetAgentLinkResponseModel.d.ts +1 -1
- package/api/types/GetClientAppointmentsParams.d.ts +1 -0
- package/api/types/GetConversationResponseModel.d.ts +2 -0
- package/api/types/GetConversationTagsPageResponseModel.d.ts +6 -0
- package/api/types/GetConversationTagsPageResponseModel.js +3 -0
- package/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
- package/api/types/GetSimulationTestResponseModel.d.ts +4 -0
- package/api/types/GetSipLogMessagesResponse.d.ts +6 -0
- package/api/types/GetSipLogMessagesResponse.js +3 -0
- package/api/types/GroupManagementActivityId.d.ts +6 -0
- package/api/types/GroupManagementActivityId.js +3 -0
- package/api/types/HttpRequestModel.d.ts +16 -0
- package/api/types/HttpRequestModel.js +3 -0
- package/api/types/ImageAnalysis.d.ts +6 -0
- package/api/types/ImageAnalysis.js +3 -0
- package/api/types/ImageAnalysisResult.d.ts +11 -0
- package/api/types/ImageAnalysisResult.js +3 -0
- package/api/types/ImageAnalysisStatus.d.ts +6 -0
- package/api/types/ImageAnalysisStatus.js +9 -0
- package/api/types/ImageSubject.d.ts +4 -0
- package/api/types/ImageSubject.js +3 -0
- package/api/types/KnowledgeBaseDocumentChunksResponseModel.d.ts +5 -0
- package/api/types/KnowledgeBaseDocumentChunksResponseModel.js +3 -0
- package/api/types/KnowledgeBaseRagToolConfig.d.ts +1 -0
- package/api/types/KnowledgeBaseRagToolConfig.js +3 -0
- package/api/types/KnowledgeBaseRagToolResultModel.d.ts +8 -0
- package/api/types/KnowledgeBaseRagToolResultModel.js +3 -0
- package/api/types/KnowledgeBaseRagToolStatus.d.ts +6 -0
- package/api/types/KnowledgeBaseRagToolStatus.js +9 -0
- package/api/types/LeaveMessageParams.d.ts +3 -0
- package/api/types/LeaveMessageParams.js +3 -0
- package/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
- package/api/types/ListCalendarEventsParams.d.ts +1 -0
- package/api/types/ListGroupSessionsParams.d.ts +10 -0
- package/api/types/ListGroupSessionsParams.js +3 -0
- package/api/types/ListResponseApiIntegrationDocResponse.d.ts +5 -0
- package/api/types/ListResponseApiIntegrationDocResponse.js +3 -0
- package/api/types/ListSpeechEnginesResponse.d.ts +8 -0
- package/api/types/ListSpeechEnginesResponse.js +3 -0
- package/api/types/Llm.d.ts +10 -0
- package/api/types/Llm.js +10 -0
- package/api/types/LlmInfoModelInput.d.ts +2 -0
- package/api/types/LlmInfoModelOutput.d.ts +2 -0
- package/api/types/McpServerConfigInput.d.ts +1 -1
- package/api/types/McpServerConfigOutput.d.ts +1 -1
- package/api/types/Monitor.d.ts +5 -0
- package/api/types/Monitor.js +8 -0
- package/api/types/OAuth2JwtResponse.d.ts +2 -0
- package/api/types/OAuth2JwtResponseTokenResponseField.d.ts +6 -0
- package/api/types/OAuth2JwtResponseTokenResponseField.js +9 -0
- package/api/types/PhoneNumberAgentInfo.d.ts +4 -0
- package/api/types/Price.d.ts +8 -0
- package/api/types/Price.js +3 -0
- package/api/types/ProcedureCompilerMode.d.ts +1 -5
- package/api/types/ProcedureCompilerMode.js +0 -5
- package/api/types/ProjectExternalAudioResponseModel.d.ts +2 -3
- package/api/types/ProjectImageResponseModel.d.ts +6 -2
- package/api/types/ProjectVideoResponseModel.d.ts +2 -3
- package/api/types/PromptAgentApiModelInput.d.ts +1 -1
- package/api/types/PromptAgentApiModelOutput.d.ts +1 -1
- package/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -1
- package/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/api/types/ReadMetadataChapterDbModel.d.ts +1 -0
- package/api/types/RegionalProcessingSurchargeInfo.d.ts +4 -0
- package/api/types/RegionalProcessingSurchargeInfo.js +3 -0
- package/api/types/RegisterForGroupSessionParams.d.ts +6 -0
- package/api/types/RegisterForGroupSessionParams.js +3 -0
- package/api/types/ReportKnowledgeGapParams.d.ts +3 -0
- package/api/types/ReportKnowledgeGapParams.js +3 -0
- package/api/types/ResourceAccessInfo.d.ts +2 -0
- package/api/types/ResourceAccessInfoAnonymousAccessLevelOverride.d.ts +7 -0
- package/api/types/ResourceAccessInfoAnonymousAccessLevelOverride.js +10 -0
- package/api/types/ReviewResponseModel.d.ts +1 -0
- package/api/types/ScheduleGroupSessionParams.d.ts +11 -0
- package/api/types/ScheduleGroupSessionParams.js +3 -0
- package/api/types/SeverityId.d.ts +6 -0
- package/api/types/SeverityId.js +3 -0
- package/api/types/SimulationTestModel.d.ts +4 -0
- package/api/types/SipLogMessage.d.ts +12 -0
- package/api/types/SipLogMessage.js +3 -0
- package/api/types/SipLogMessageDirection.d.ts +5 -0
- package/api/types/SipLogMessageDirection.js +8 -0
- package/api/types/SmsConversationInfo.d.ts +7 -0
- package/api/types/SmsConversationInfo.js +3 -0
- package/api/types/SmsConversationInfoDirection.d.ts +5 -0
- package/api/types/SmsConversationInfoDirection.js +8 -0
- package/api/types/SpeechEngineConfig.d.ts +7 -0
- package/api/types/SpeechEngineConfig.js +3 -0
- package/api/types/SpeechEngineConfigRequestHeadersValue.d.ts +2 -0
- package/api/types/SpeechEngineConfigRequestHeadersValue.js +3 -0
- package/api/types/SpeechEngineResponse.d.ts +16 -0
- package/api/types/SpeechEngineResponse.js +3 -0
- package/api/types/SpeechEngineSummaryResponse.d.ts +8 -0
- package/api/types/SpeechEngineSummaryResponse.js +3 -0
- package/api/types/StatusId.d.ts +6 -0
- package/api/types/StatusId.js +3 -0
- package/api/types/Subscription.d.ts +2 -0
- package/api/types/SubscriptionResponse.d.ts +2 -0
- package/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/api/types/TurnConfig.d.ts +2 -2
- package/api/types/TurnConfigWorkflowOverride.d.ts +2 -2
- package/api/types/UpdateGroupSessionSeatsParams.d.ts +6 -0
- package/api/types/UpdateGroupSessionSeatsParams.js +3 -0
- package/api/types/UpdateSimulationTestRequest.d.ts +4 -0
- package/api/types/UrlModel.d.ts +19 -0
- package/api/types/UrlModel.js +3 -0
- package/api/types/UserAccessManagementActivityId.d.ts +6 -0
- package/api/types/UserAccessManagementActivityId.js +3 -0
- package/api/types/UserModel.d.ts +22 -0
- package/api/types/UserModel.js +3 -0
- package/api/types/UserTypeId.d.ts +6 -0
- package/api/types/UserTypeId.js +3 -0
- package/api/types/WebhookHmacSettings.d.ts +2 -0
- package/api/types/WebhookTranscriptFormat.d.ts +5 -0
- package/api/types/WebhookTranscriptFormat.js +8 -0
- package/api/types/WidgetConfigResponse.d.ts +2 -0
- package/api/types/WorkspaceApiKeyResponseModel.d.ts +1 -0
- package/api/types/WorkspaceAuditLogEntryResponse.d.ts +44 -0
- package/api/types/WorkspaceAuditLogEntryResponse.js +3 -0
- package/api/types/WorkspaceAuditLogEntryResponseActivityId.d.ts +5 -0
- package/api/types/WorkspaceAuditLogEntryResponseActivityId.js +3 -0
- package/api/types/WorkspaceAuditLogsPageResponse.d.ts +9 -0
- package/api/types/WorkspaceAuditLogsPageResponse.js +3 -0
- package/api/types/WorkspaceGroupPermission.d.ts +2 -0
- package/api/types/WorkspaceGroupPermission.js +2 -0
- package/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/api/types/WorkspaceResourceType.d.ts +1 -0
- package/api/types/WorkspaceResourceType.js +1 -0
- package/api/types/index.d.ts +77 -4
- package/api/types/index.js +77 -4
- package/dist/BaseClient.js +2 -2
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +31 -26
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +2 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +6 -2
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BatchCallsListRequest.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +32 -3
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +106 -6
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSipMessagesRequest.d.ts +12 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSipMessagesRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +15 -2
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +6 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +6 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +7 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.d.ts +114 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +454 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.js +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.d.ts +12 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.js +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.js +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/TagsListRequest.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/TagsListRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.d.ts +4 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.d.ts +8 -0
- package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.js +11 -0
- package/dist/api/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/types/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseSearchRequest.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +17 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +65 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/BodyUpdateFileDocumentV1ConvaiKnowledgeBaseDocumentationIdUpdateFilePatch.d.ts +11 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/BodyUpdateFileDocumentV1ConvaiKnowledgeBaseDocumentationIdUpdateFilePatch.js +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +16 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.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 +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +6 -5
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +12 -9
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.d.ts +4 -4
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.d.ts +31 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +131 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/ChunksListRequest.d.ts +17 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/ChunksListRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/SummariesGetRequest.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +17 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +67 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersGetSipMessagesRequest.d.ts +12 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersGetSipMessagesRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +5 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +1 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +6 -4
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/InvocationsListRequest.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +1 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts +1 -1
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.d.ts +4 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.js +3 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
- package/dist/api/resources/speechEngine/client/Client.d.ts +89 -0
- package/dist/api/resources/speechEngine/client/Client.js +363 -0
- package/dist/api/resources/speechEngine/client/index.d.ts +1 -0
- package/dist/api/resources/speechEngine/client/index.js +17 -0
- package/dist/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +31 -0
- package/dist/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +3 -0
- package/dist/api/resources/speechEngine/client/requests/SpeechEngineListRequest.d.ts +23 -0
- package/dist/api/resources/speechEngine/client/requests/SpeechEngineListRequest.js +3 -0
- package/dist/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +17 -0
- package/dist/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +3 -0
- package/dist/api/resources/speechEngine/client/requests/index.d.ts +3 -0
- package/dist/api/resources/speechEngine/client/requests/index.js +2 -0
- package/dist/api/resources/speechEngine/index.d.ts +1 -0
- package/dist/api/resources/speechEngine/index.js +17 -0
- package/dist/api/resources/speechToSpeech/client/requests/BodySpeechToSpeechV1SpeechToSpeechVoiceIdPost.d.ts +1 -1
- package/dist/api/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.d.ts +17 -10
- package/dist/api/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.js +17 -10
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -2
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -2
- package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
- package/dist/api/resources/voices/client/Client.d.ts +5 -2
- package/dist/api/resources/voices/client/Client.js +8 -2
- package/dist/api/resources/voices/client/requests/BodyEditVoiceV1VoicesVoiceIdEditPost.d.ts +2 -0
- package/dist/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +2 -0
- package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +2 -1
- package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +2 -0
- package/dist/api/resources/workspace/client/Client.d.ts +6 -0
- package/dist/api/resources/workspace/client/Client.js +22 -12
- package/dist/api/resources/workspace/resources/analytics/client/Client.d.ts +12 -0
- package/dist/api/resources/workspace/resources/analytics/client/Client.js +16 -0
- package/dist/api/resources/workspace/resources/analytics/client/index.d.ts +1 -0
- package/dist/api/resources/workspace/resources/analytics/client/index.js +2 -0
- package/dist/api/resources/workspace/resources/analytics/index.d.ts +2 -0
- package/dist/api/resources/workspace/resources/analytics/index.js +18 -0
- package/dist/api/resources/workspace/resources/analytics/resources/index.d.ts +3 -0
- package/dist/api/resources/workspace/resources/analytics/resources/index.js +42 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/client/Client.d.ts +26 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +118 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/client/index.d.ts +1 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/client/index.js +17 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.d.ts +16 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.js +3 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/client/requests/index.js +2 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/index.d.ts +2 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/index.js +18 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.d.ts +5 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.js +8 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/types/index.d.ts +1 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/types/index.js +17 -0
- package/dist/api/resources/workspace/resources/auditLogs/client/Client.d.ts +34 -0
- package/dist/api/resources/workspace/resources/auditLogs/client/Client.js +146 -0
- package/dist/api/resources/workspace/resources/auditLogs/client/index.d.ts +1 -0
- package/dist/api/resources/workspace/resources/auditLogs/client/index.js +17 -0
- package/dist/api/resources/workspace/resources/auditLogs/client/requests/AuditLogsListRequest.d.ts +28 -0
- package/dist/api/resources/workspace/resources/auditLogs/client/requests/AuditLogsListRequest.js +3 -0
- package/dist/api/resources/workspace/resources/auditLogs/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workspace/resources/auditLogs/client/requests/index.js +2 -0
- package/dist/api/resources/workspace/resources/auditLogs/index.d.ts +1 -0
- package/dist/api/resources/workspace/resources/auditLogs/index.js +17 -0
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
- package/dist/api/resources/workspace/resources/index.d.ts +3 -0
- package/dist/api/resources/workspace/resources/index.js +4 -1
- package/dist/api/types/AccountChangeActivityId.d.ts +6 -0
- package/dist/api/types/AccountChangeActivityId.js +3 -0
- package/dist/api/types/ActorModel.d.ts +16 -0
- package/dist/api/types/ActorModel.js +3 -0
- package/dist/api/types/AgentAlertingMonitorConfig.d.ts +4 -0
- package/dist/api/types/AgentAlertingMonitorConfig.js +3 -0
- package/dist/api/types/AgentAlertingSettings.d.ts +5 -0
- package/dist/api/types/AgentAlertingSettings.js +3 -0
- package/dist/api/types/AgentMetadataDbModel.d.ts +7 -0
- package/dist/api/types/AgentMetadataDbModel.js +3 -0
- package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +1 -0
- package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +1 -0
- package/dist/api/types/AgentTopicResponseModel.d.ts +3 -0
- package/dist/api/types/ApiIntegrationDocResponse.d.ts +8 -0
- package/dist/api/types/ApiIntegrationDocResponse.js +3 -0
- package/dist/api/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +26 -0
- package/dist/api/types/ApiIntegrationOAuth2CustomAppResponse.js +3 -0
- package/dist/api/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.d.ts +6 -0
- package/dist/api/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.js +9 -0
- package/dist/api/types/AuthenticationActivityId.d.ts +6 -0
- package/dist/api/types/AuthenticationActivityId.js +3 -0
- package/dist/api/types/AuthorizationMethod.d.ts +1 -0
- package/dist/api/types/AuthorizationMethod.js +1 -0
- package/dist/api/types/BackgroundMusicConfig.d.ts +11 -0
- package/dist/api/types/BackgroundMusicConfig.js +3 -0
- package/dist/api/types/BackgroundMusicConfigWorkflowOverride.d.ts +11 -0
- package/dist/api/types/BackgroundMusicConfigWorkflowOverride.js +3 -0
- package/dist/api/types/BackgroundMusicPresetId.d.ts +13 -0
- package/dist/api/types/BackgroundMusicPresetId.js +16 -0
- package/dist/api/types/BackgroundMusicSourceType.d.ts +4 -0
- package/dist/api/types/BackgroundMusicSourceType.js +3 -0
- package/dist/api/types/BaseTurnConfig.d.ts +17 -0
- package/dist/api/types/BaseTurnConfig.js +3 -0
- package/dist/api/types/CancelCalendarEventParams.d.ts +3 -0
- package/dist/api/types/CancelCalendarEventParams.js +3 -0
- package/dist/api/types/CancelGroupSessionForAllParams.d.ts +8 -0
- package/dist/api/types/CancelGroupSessionForAllParams.js +3 -0
- package/dist/api/types/CancelGroupSessionRegistrationParams.d.ts +6 -0
- package/dist/api/types/CancelGroupSessionRegistrationParams.js +3 -0
- package/dist/api/types/ClientEvent.d.ts +1 -0
- package/dist/api/types/ClientEvent.js +1 -0
- package/dist/api/types/CodeToolAllowedDomain.d.ts +6 -0
- package/dist/api/types/CodeToolAllowedDomain.js +3 -0
- package/dist/api/types/ColumnUnit.d.ts +1 -0
- package/dist/api/types/ColumnUnit.js +1 -0
- package/dist/api/types/ContextualUpdateInfo.d.ts +6 -0
- package/dist/api/types/ContextualUpdateInfo.js +3 -0
- package/dist/api/types/ConvAiWebhooks.d.ts +2 -0
- package/dist/api/types/ConversationAsrUsageModel.d.ts +8 -0
- package/dist/api/types/ConversationAsrUsageModel.js +3 -0
- package/dist/api/types/ConversationChargingCommonModel.d.ts +2 -0
- package/dist/api/types/{ConversationConfig.d.ts → ConversationConfigInput.d.ts} +1 -1
- package/dist/api/types/ConversationConfigInput.js +3 -0
- package/dist/api/types/ConversationConfigOutput.d.ts +17 -0
- package/dist/api/types/ConversationConfigOutput.js +3 -0
- package/{api/types/ConversationConfigWorkflowOverride.d.ts → dist/api/types/ConversationConfigWorkflowOverrideInput.d.ts} +1 -1
- package/dist/api/types/ConversationConfigWorkflowOverrideInput.js +3 -0
- package/dist/api/types/ConversationConfigWorkflowOverrideOutput.d.ts +17 -0
- package/dist/api/types/ConversationConfigWorkflowOverrideOutput.js +3 -0
- package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
- package/dist/api/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +4 -1
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +4 -1
- package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
- package/dist/api/types/ConversationInitiationSource.js +1 -0
- package/dist/api/types/ConversationTagResponseModel.d.ts +8 -0
- package/dist/api/types/ConversationTagResponseModel.js +3 -0
- package/dist/api/types/{ConversationTokenDbModel.d.ts → ConversationTokenResponseModel.d.ts} +2 -2
- package/dist/api/types/ConversationTokenResponseModel.js +3 -0
- package/dist/api/types/ConversationTtsUsageModel.d.ts +10 -0
- package/dist/api/types/ConversationTtsUsageModel.js +3 -0
- package/dist/api/types/ConversationVoiceRewardModel.d.ts +4 -0
- package/dist/api/types/ConversationVoiceRewardModel.js +3 -0
- package/dist/api/types/ConversationVoiceUsageModel.d.ts +4 -0
- package/dist/api/types/ConversationVoiceUsageModel.js +3 -0
- package/dist/api/types/ConversationalConfig.d.ts +1 -1
- package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/dist/api/types/CreateOAuth2JwtRequest.d.ts +2 -0
- package/dist/api/types/CreateOAuth2JwtRequestTokenResponseField.d.ts +6 -0
- package/dist/api/types/CreateOAuth2JwtRequestTokenResponseField.js +9 -0
- package/dist/api/types/CreateServiceParams.d.ts +1 -1
- package/dist/api/types/CreateSimulationTestRequest.d.ts +4 -0
- package/dist/api/types/CreateSpeechEngineResponse.d.ts +4 -0
- package/dist/api/types/CreateSpeechEngineResponse.js +3 -0
- package/dist/api/types/Currency.d.ts +1 -0
- package/dist/api/types/Currency.js +1 -0
- package/dist/api/types/DeleteCalendarEventParams.d.ts +7 -0
- package/dist/api/types/DeleteGroupSessionParams.d.ts +13 -0
- package/dist/api/types/DeleteGroupSessionParams.js +3 -0
- package/dist/api/types/DeviceModel.d.ts +13 -0
- package/dist/api/types/DeviceModel.js +3 -0
- package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/dist/api/types/EntityManagementActivityId.d.ts +6 -0
- package/dist/api/types/EntityManagementActivityId.js +3 -0
- package/dist/api/types/GenerationSourceContext.d.ts +0 -2
- package/dist/api/types/GetAgentLinkResponseModel.d.ts +1 -1
- package/dist/api/types/GetClientAppointmentsParams.d.ts +1 -0
- package/dist/api/types/GetConversationResponseModel.d.ts +2 -0
- package/dist/api/types/GetConversationTagsPageResponseModel.d.ts +6 -0
- package/dist/api/types/GetConversationTagsPageResponseModel.js +3 -0
- package/dist/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
- package/dist/api/types/GetSimulationTestResponseModel.d.ts +4 -0
- package/dist/api/types/GetSipLogMessagesResponse.d.ts +6 -0
- package/dist/api/types/GetSipLogMessagesResponse.js +3 -0
- package/dist/api/types/GroupManagementActivityId.d.ts +6 -0
- package/dist/api/types/GroupManagementActivityId.js +3 -0
- package/dist/api/types/HttpRequestModel.d.ts +16 -0
- package/dist/api/types/HttpRequestModel.js +3 -0
- package/dist/api/types/ImageAnalysis.d.ts +6 -0
- package/dist/api/types/ImageAnalysis.js +3 -0
- package/dist/api/types/ImageAnalysisResult.d.ts +11 -0
- package/dist/api/types/ImageAnalysisResult.js +3 -0
- package/dist/api/types/ImageAnalysisStatus.d.ts +6 -0
- package/dist/api/types/ImageAnalysisStatus.js +9 -0
- package/dist/api/types/ImageSubject.d.ts +4 -0
- package/dist/api/types/ImageSubject.js +3 -0
- package/dist/api/types/KnowledgeBaseDocumentChunksResponseModel.d.ts +5 -0
- package/dist/api/types/KnowledgeBaseDocumentChunksResponseModel.js +3 -0
- package/dist/api/types/KnowledgeBaseRagToolConfig.d.ts +1 -0
- package/dist/api/types/KnowledgeBaseRagToolConfig.js +3 -0
- package/dist/api/types/KnowledgeBaseRagToolResultModel.d.ts +8 -0
- package/dist/api/types/KnowledgeBaseRagToolResultModel.js +3 -0
- package/dist/api/types/KnowledgeBaseRagToolStatus.d.ts +6 -0
- package/dist/api/types/KnowledgeBaseRagToolStatus.js +9 -0
- package/dist/api/types/LeaveMessageParams.d.ts +3 -0
- package/dist/api/types/LeaveMessageParams.js +3 -0
- package/dist/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
- package/dist/api/types/ListCalendarEventsParams.d.ts +1 -0
- package/dist/api/types/ListGroupSessionsParams.d.ts +10 -0
- package/dist/api/types/ListGroupSessionsParams.js +3 -0
- package/dist/api/types/ListResponseApiIntegrationDocResponse.d.ts +5 -0
- package/dist/api/types/ListResponseApiIntegrationDocResponse.js +3 -0
- package/dist/api/types/ListSpeechEnginesResponse.d.ts +8 -0
- package/dist/api/types/ListSpeechEnginesResponse.js +3 -0
- package/dist/api/types/Llm.d.ts +10 -0
- package/dist/api/types/Llm.js +10 -0
- package/dist/api/types/LlmInfoModelInput.d.ts +2 -0
- package/dist/api/types/LlmInfoModelOutput.d.ts +2 -0
- package/dist/api/types/McpServerConfigInput.d.ts +1 -1
- package/dist/api/types/McpServerConfigOutput.d.ts +1 -1
- package/dist/api/types/Monitor.d.ts +5 -0
- package/dist/api/types/Monitor.js +8 -0
- package/dist/api/types/OAuth2JwtResponse.d.ts +2 -0
- package/dist/api/types/OAuth2JwtResponseTokenResponseField.d.ts +6 -0
- package/dist/api/types/OAuth2JwtResponseTokenResponseField.js +9 -0
- package/dist/api/types/PhoneNumberAgentInfo.d.ts +4 -0
- package/dist/api/types/Price.d.ts +8 -0
- package/dist/api/types/Price.js +3 -0
- package/dist/api/types/ProcedureCompilerMode.d.ts +1 -5
- package/dist/api/types/ProcedureCompilerMode.js +0 -5
- package/dist/api/types/ProjectExternalAudioResponseModel.d.ts +2 -3
- package/dist/api/types/ProjectImageResponseModel.d.ts +6 -2
- package/dist/api/types/ProjectVideoResponseModel.d.ts +2 -3
- package/dist/api/types/PromptAgentApiModelInput.d.ts +1 -1
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +1 -1
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -1
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/dist/api/types/ReadMetadataChapterDbModel.d.ts +1 -0
- package/dist/api/types/RegionalProcessingSurchargeInfo.d.ts +4 -0
- package/dist/api/types/RegionalProcessingSurchargeInfo.js +3 -0
- package/dist/api/types/RegisterForGroupSessionParams.d.ts +6 -0
- package/dist/api/types/RegisterForGroupSessionParams.js +3 -0
- package/dist/api/types/ReportKnowledgeGapParams.d.ts +3 -0
- package/dist/api/types/ReportKnowledgeGapParams.js +3 -0
- package/dist/api/types/ResourceAccessInfo.d.ts +2 -0
- package/dist/api/types/ResourceAccessInfoAnonymousAccessLevelOverride.d.ts +7 -0
- package/dist/api/types/ResourceAccessInfoAnonymousAccessLevelOverride.js +10 -0
- package/dist/api/types/ReviewResponseModel.d.ts +1 -0
- package/dist/api/types/ScheduleGroupSessionParams.d.ts +11 -0
- package/dist/api/types/ScheduleGroupSessionParams.js +3 -0
- package/dist/api/types/SeverityId.d.ts +6 -0
- package/dist/api/types/SeverityId.js +3 -0
- package/dist/api/types/SimulationTestModel.d.ts +4 -0
- package/dist/api/types/SipLogMessage.d.ts +12 -0
- package/dist/api/types/SipLogMessage.js +3 -0
- package/dist/api/types/SipLogMessageDirection.d.ts +5 -0
- package/dist/api/types/SipLogMessageDirection.js +8 -0
- package/dist/api/types/SmsConversationInfo.d.ts +7 -0
- package/dist/api/types/SmsConversationInfo.js +3 -0
- package/dist/api/types/SmsConversationInfoDirection.d.ts +5 -0
- package/dist/api/types/SmsConversationInfoDirection.js +8 -0
- package/dist/api/types/SpeechEngineConfig.d.ts +7 -0
- package/dist/api/types/SpeechEngineConfig.js +3 -0
- package/dist/api/types/SpeechEngineConfigRequestHeadersValue.d.ts +2 -0
- package/dist/api/types/SpeechEngineConfigRequestHeadersValue.js +3 -0
- package/dist/api/types/SpeechEngineResponse.d.ts +16 -0
- package/dist/api/types/SpeechEngineResponse.js +3 -0
- package/dist/api/types/SpeechEngineSummaryResponse.d.ts +8 -0
- package/dist/api/types/SpeechEngineSummaryResponse.js +3 -0
- package/dist/api/types/StatusId.d.ts +6 -0
- package/dist/api/types/StatusId.js +3 -0
- package/dist/api/types/Subscription.d.ts +2 -0
- package/dist/api/types/SubscriptionResponse.d.ts +2 -0
- package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/dist/api/types/TurnConfig.d.ts +2 -2
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -2
- package/dist/api/types/UpdateGroupSessionSeatsParams.d.ts +6 -0
- package/dist/api/types/UpdateGroupSessionSeatsParams.js +3 -0
- package/dist/api/types/UpdateSimulationTestRequest.d.ts +4 -0
- package/dist/api/types/UrlModel.d.ts +19 -0
- package/dist/api/types/UrlModel.js +3 -0
- package/dist/api/types/UserAccessManagementActivityId.d.ts +6 -0
- package/dist/api/types/UserAccessManagementActivityId.js +3 -0
- package/dist/api/types/UserModel.d.ts +22 -0
- package/dist/api/types/UserModel.js +3 -0
- package/dist/api/types/UserTypeId.d.ts +6 -0
- package/dist/api/types/UserTypeId.js +3 -0
- package/dist/api/types/WebhookHmacSettings.d.ts +2 -0
- package/dist/api/types/WebhookTranscriptFormat.d.ts +5 -0
- package/dist/api/types/WebhookTranscriptFormat.js +8 -0
- package/dist/api/types/WidgetConfigResponse.d.ts +2 -0
- package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +1 -0
- package/dist/api/types/WorkspaceAuditLogEntryResponse.d.ts +44 -0
- package/dist/api/types/WorkspaceAuditLogEntryResponse.js +3 -0
- package/dist/api/types/WorkspaceAuditLogEntryResponseActivityId.d.ts +5 -0
- package/dist/api/types/WorkspaceAuditLogEntryResponseActivityId.js +3 -0
- package/dist/api/types/WorkspaceAuditLogsPageResponse.d.ts +9 -0
- package/dist/api/types/WorkspaceAuditLogsPageResponse.js +3 -0
- package/dist/api/types/WorkspaceGroupPermission.d.ts +2 -0
- package/dist/api/types/WorkspaceGroupPermission.js +2 -0
- package/dist/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/dist/api/types/WorkspaceResourceType.d.ts +1 -0
- package/dist/api/types/WorkspaceResourceType.js +1 -0
- package/dist/api/types/index.d.ts +77 -4
- package/dist/api/types/index.js +77 -4
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.d.ts +9 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.d.ts +10 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.js +42 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.d.ts +10 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.js +42 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.js +9 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/tags/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.d.ts +7 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.js +39 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/types/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +23 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.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 +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.d.ts +2 -1
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.js +2 -1
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +3 -0
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +3 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.d.ts +7 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.js +43 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
- package/dist/serialization/resources/speechEngine/client/index.d.ts +1 -0
- package/dist/serialization/resources/speechEngine/client/index.js +17 -0
- package/dist/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +25 -0
- package/dist/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +57 -0
- package/dist/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +25 -0
- package/dist/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +57 -0
- package/dist/serialization/resources/speechEngine/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/speechEngine/client/requests/index.js +7 -0
- package/dist/serialization/resources/speechEngine/index.d.ts +1 -0
- package/dist/serialization/resources/speechEngine/index.js +17 -0
- package/dist/serialization/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.d.ts +1 -1
- package/dist/serialization/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.js +16 -9
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -0
- package/dist/serialization/resources/workspace/resources/analytics/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/resources/analytics/index.js +17 -0
- package/dist/serialization/resources/workspace/resources/analytics/resources/index.d.ts +3 -0
- package/dist/serialization/resources/workspace/resources/analytics/resources/index.js +42 -0
- package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/index.js +17 -0
- package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.d.ts +16 -0
- package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.js +48 -0
- package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/index.js +5 -0
- package/dist/serialization/resources/workspace/resources/analytics/resources/requests/index.d.ts +2 -0
- package/dist/serialization/resources/workspace/resources/analytics/resources/requests/index.js +18 -0
- package/dist/serialization/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.d.ts +7 -0
- package/dist/serialization/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.js +39 -0
- package/dist/serialization/resources/workspace/resources/analytics/resources/requests/types/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/resources/analytics/resources/requests/types/index.js +17 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
- package/dist/serialization/resources/workspace/resources/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/resources/index.js +2 -1
- package/dist/serialization/types/AccountChangeActivityId.d.ts +7 -0
- package/dist/serialization/types/{DubbingModel.js → AccountChangeActivityId.js} +2 -2
- package/dist/serialization/types/ActorModel.d.ts +13 -0
- package/dist/serialization/types/ActorModel.js +45 -0
- package/dist/serialization/types/AgentAlertingMonitorConfig.d.ts +9 -0
- package/dist/serialization/types/AgentAlertingMonitorConfig.js +41 -0
- package/dist/serialization/types/AgentAlertingSettings.d.ts +10 -0
- package/dist/serialization/types/AgentAlertingSettings.js +42 -0
- package/dist/serialization/types/AgentMetadataDbModel.d.ts +13 -0
- package/dist/serialization/types/AgentMetadataDbModel.js +45 -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/AgentTopicResponseModel.d.ts +3 -0
- package/dist/serialization/types/AgentTopicResponseModel.js +3 -0
- package/dist/serialization/types/ApiIntegrationDocResponse.d.ts +11 -0
- package/dist/serialization/types/ApiIntegrationDocResponse.js +43 -0
- package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +25 -0
- package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponse.js +57 -0
- package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.d.ts +7 -0
- package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.js +39 -0
- package/dist/serialization/types/AuthenticationActivityId.d.ts +7 -0
- package/{serialization/types/DubbingModel.js → dist/serialization/types/AuthenticationActivityId.js} +2 -2
- package/dist/serialization/types/AuthorizationMethod.d.ts +1 -1
- package/dist/serialization/types/AuthorizationMethod.js +1 -0
- package/dist/serialization/types/BackgroundMusicConfig.d.ts +14 -0
- package/dist/serialization/types/BackgroundMusicConfig.js +46 -0
- package/dist/serialization/types/BackgroundMusicConfigWorkflowOverride.d.ts +14 -0
- package/dist/serialization/types/BackgroundMusicConfigWorkflowOverride.js +46 -0
- package/dist/serialization/types/BackgroundMusicPresetId.d.ts +7 -0
- package/dist/serialization/types/BackgroundMusicPresetId.js +49 -0
- package/dist/serialization/types/BackgroundMusicSourceType.d.ts +7 -0
- package/dist/serialization/types/BackgroundMusicSourceType.js +39 -0
- package/dist/serialization/types/BaseTurnConfig.d.ts +17 -0
- package/dist/serialization/types/BaseTurnConfig.js +49 -0
- package/dist/serialization/types/CancelCalendarEventParams.d.ts +9 -0
- package/dist/serialization/types/CancelCalendarEventParams.js +41 -0
- package/dist/serialization/types/CancelGroupSessionForAllParams.d.ts +9 -0
- package/dist/serialization/types/CancelGroupSessionForAllParams.js +41 -0
- package/dist/serialization/types/CancelGroupSessionRegistrationParams.d.ts +9 -0
- package/dist/serialization/types/CancelGroupSessionRegistrationParams.js +41 -0
- package/dist/serialization/types/ClientEvent.d.ts +1 -1
- package/dist/serialization/types/ClientEvent.js +1 -0
- package/dist/serialization/types/CodeToolAllowedDomain.d.ts +10 -0
- package/dist/serialization/types/CodeToolAllowedDomain.js +42 -0
- package/dist/serialization/types/ColumnUnit.d.ts +1 -1
- package/dist/serialization/types/ColumnUnit.js +1 -1
- package/dist/serialization/types/ContextualUpdateInfo.d.ts +10 -0
- package/dist/serialization/types/ContextualUpdateInfo.js +42 -0
- package/dist/serialization/types/ConvAiWebhooks.d.ts +2 -0
- package/dist/serialization/types/ConvAiWebhooks.js +2 -0
- package/dist/serialization/types/ConversationAsrUsageModel.d.ts +11 -0
- package/dist/serialization/types/ConversationAsrUsageModel.js +43 -0
- package/dist/serialization/types/ConversationChargingCommonModel.d.ts +4 -0
- package/dist/serialization/types/ConversationChargingCommonModel.js +4 -0
- package/dist/serialization/types/{ConversationConfig.d.ts → ConversationConfigInput.d.ts} +2 -2
- package/dist/serialization/types/{ConversationConfig.js → ConversationConfigInput.js} +2 -2
- package/dist/serialization/types/ConversationConfigOutput.d.ts +17 -0
- package/dist/serialization/types/ConversationConfigOutput.js +49 -0
- package/dist/serialization/types/{ConversationConfigWorkflowOverride.d.ts → ConversationConfigWorkflowOverrideInput.d.ts} +2 -2
- package/dist/serialization/types/{ConversationConfigWorkflowOverride.js → ConversationConfigWorkflowOverrideInput.js} +2 -2
- package/dist/serialization/types/ConversationConfigWorkflowOverrideOutput.d.ts +17 -0
- package/dist/serialization/types/ConversationConfigWorkflowOverrideOutput.js +49 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +4 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +4 -0
- package/dist/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +5 -1
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +5 -1
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +2 -0
- package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationSource.js +1 -0
- package/dist/serialization/types/ConversationTagResponseModel.d.ts +14 -0
- package/dist/serialization/types/ConversationTagResponseModel.js +46 -0
- package/dist/serialization/types/{ConversationTokenDbModel.d.ts → ConversationTokenResponseModel.d.ts} +3 -3
- package/{serialization/types/ConversationTokenDbModel.js → dist/serialization/types/ConversationTokenResponseModel.js} +3 -3
- package/dist/serialization/types/ConversationTtsUsageModel.d.ts +13 -0
- package/dist/serialization/types/ConversationTtsUsageModel.js +45 -0
- package/dist/serialization/types/ConversationVoiceRewardModel.d.ts +10 -0
- package/dist/serialization/types/ConversationVoiceRewardModel.js +42 -0
- package/dist/serialization/types/ConversationVoiceUsageModel.d.ts +10 -0
- package/dist/serialization/types/ConversationVoiceUsageModel.js +42 -0
- package/dist/serialization/types/ConversationalConfig.d.ts +2 -2
- package/dist/serialization/types/ConversationalConfig.js +2 -2
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +2 -2
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +2 -2
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +2 -2
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +2 -2
- package/dist/serialization/types/CreateOAuth2JwtRequest.d.ts +2 -0
- package/dist/serialization/types/CreateOAuth2JwtRequest.js +2 -0
- package/dist/serialization/types/CreateOAuth2JwtRequestTokenResponseField.d.ts +7 -0
- package/dist/serialization/types/CreateOAuth2JwtRequestTokenResponseField.js +39 -0
- package/dist/serialization/types/CreateSimulationTestRequest.d.ts +3 -0
- package/dist/serialization/types/CreateSimulationTestRequest.js +3 -0
- package/dist/serialization/types/CreateSpeechEngineResponse.d.ts +9 -0
- package/dist/serialization/types/CreateSpeechEngineResponse.js +41 -0
- package/dist/serialization/types/Currency.d.ts +1 -1
- package/dist/serialization/types/Currency.js +1 -1
- package/dist/serialization/types/DeleteGroupSessionParams.d.ts +9 -0
- package/dist/serialization/types/DeleteGroupSessionParams.js +41 -0
- package/dist/serialization/types/DeviceModel.d.ts +11 -0
- package/dist/serialization/types/DeviceModel.js +43 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -0
- package/dist/serialization/types/EntityManagementActivityId.d.ts +7 -0
- package/dist/serialization/types/EntityManagementActivityId.js +39 -0
- package/dist/serialization/types/GenerationSourceContext.d.ts +0 -1
- package/dist/serialization/types/GenerationSourceContext.js +0 -1
- package/dist/serialization/types/GetAgentLinkResponseModel.d.ts +2 -2
- package/dist/serialization/types/GetAgentLinkResponseModel.js +2 -2
- package/dist/serialization/types/GetClientAppointmentsParams.d.ts +1 -0
- package/dist/serialization/types/GetClientAppointmentsParams.js +1 -0
- package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetConversationResponseModel.js +1 -0
- package/dist/serialization/types/GetConversationTagsPageResponseModel.d.ts +12 -0
- package/dist/serialization/types/GetConversationTagsPageResponseModel.js +44 -0
- package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +1 -0
- package/dist/serialization/types/GetSimulationTestResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetSimulationTestResponseModel.js +3 -0
- package/dist/serialization/types/GetSipLogMessagesResponse.d.ts +12 -0
- package/dist/serialization/types/GetSipLogMessagesResponse.js +44 -0
- package/dist/serialization/types/GroupManagementActivityId.d.ts +7 -0
- package/dist/serialization/types/GroupManagementActivityId.js +39 -0
- package/dist/serialization/types/HttpRequestModel.d.ts +13 -0
- package/dist/serialization/types/HttpRequestModel.js +45 -0
- package/dist/serialization/types/ImageAnalysis.d.ts +13 -0
- package/dist/serialization/types/ImageAnalysis.js +45 -0
- package/dist/serialization/types/ImageAnalysisResult.d.ts +16 -0
- package/dist/serialization/types/ImageAnalysisResult.js +48 -0
- package/dist/serialization/types/ImageAnalysisStatus.d.ts +7 -0
- package/dist/serialization/types/ImageAnalysisStatus.js +39 -0
- package/dist/serialization/types/ImageSubject.d.ts +10 -0
- package/dist/serialization/types/ImageSubject.js +42 -0
- package/dist/serialization/types/KnowledgeBaseDocumentChunksResponseModel.d.ts +11 -0
- package/dist/serialization/types/KnowledgeBaseDocumentChunksResponseModel.js +43 -0
- package/dist/serialization/types/KnowledgeBaseRagToolConfig.d.ts +7 -0
- package/dist/serialization/types/KnowledgeBaseRagToolConfig.js +39 -0
- package/dist/serialization/types/KnowledgeBaseRagToolResultModel.d.ts +12 -0
- package/dist/serialization/types/KnowledgeBaseRagToolResultModel.js +44 -0
- package/dist/serialization/types/KnowledgeBaseRagToolStatus.d.ts +7 -0
- package/dist/serialization/types/KnowledgeBaseRagToolStatus.js +39 -0
- package/dist/serialization/types/LeaveMessageParams.d.ts +9 -0
- package/dist/serialization/types/LeaveMessageParams.js +41 -0
- package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
- package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
- package/dist/serialization/types/ListCalendarEventsParams.d.ts +1 -0
- package/dist/serialization/types/ListCalendarEventsParams.js +1 -0
- package/dist/serialization/types/ListGroupSessionsParams.d.ts +9 -0
- package/dist/serialization/types/ListGroupSessionsParams.js +41 -0
- package/dist/serialization/types/ListResponseApiIntegrationDocResponse.d.ts +12 -0
- package/dist/serialization/types/ListResponseApiIntegrationDocResponse.js +44 -0
- package/dist/serialization/types/ListSpeechEnginesResponse.d.ts +12 -0
- package/dist/serialization/types/ListSpeechEnginesResponse.js +44 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +10 -0
- package/dist/serialization/types/LlmInfoModelInput.d.ts +2 -0
- package/dist/serialization/types/LlmInfoModelInput.js +2 -0
- package/dist/serialization/types/LlmInfoModelOutput.d.ts +2 -0
- package/dist/serialization/types/LlmInfoModelOutput.js +2 -0
- package/dist/serialization/types/Monitor.d.ts +7 -0
- package/dist/serialization/types/Monitor.js +39 -0
- package/dist/serialization/types/OAuth2JwtResponse.d.ts +2 -0
- package/dist/serialization/types/OAuth2JwtResponse.js +2 -0
- package/dist/serialization/types/OAuth2JwtResponseTokenResponseField.d.ts +7 -0
- package/dist/serialization/types/OAuth2JwtResponseTokenResponseField.js +39 -0
- package/dist/serialization/types/PhoneNumberAgentInfo.d.ts +2 -0
- package/dist/serialization/types/PhoneNumberAgentInfo.js +2 -0
- package/dist/serialization/types/Price.d.ts +11 -0
- package/dist/serialization/types/Price.js +43 -0
- package/dist/serialization/types/ProcedureCompilerMode.d.ts +1 -1
- package/dist/serialization/types/ProcedureCompilerMode.js +1 -1
- package/dist/serialization/types/ProjectExternalAudioResponseModel.d.ts +2 -3
- package/dist/serialization/types/ProjectExternalAudioResponseModel.js +2 -3
- package/dist/serialization/types/ProjectImageResponseModel.d.ts +8 -2
- package/dist/serialization/types/ProjectImageResponseModel.js +8 -2
- package/dist/serialization/types/ProjectVideoResponseModel.d.ts +2 -3
- package/dist/serialization/types/ProjectVideoResponseModel.js +2 -3
- package/dist/serialization/types/ReadMetadataChapterDbModel.d.ts +1 -0
- package/dist/serialization/types/ReadMetadataChapterDbModel.js +1 -0
- package/dist/serialization/types/RegionalProcessingSurchargeInfo.d.ts +9 -0
- package/dist/serialization/types/RegionalProcessingSurchargeInfo.js +41 -0
- package/dist/serialization/types/RegisterForGroupSessionParams.d.ts +9 -0
- package/dist/serialization/types/RegisterForGroupSessionParams.js +41 -0
- package/dist/serialization/types/ReportKnowledgeGapParams.d.ts +9 -0
- package/dist/serialization/types/ReportKnowledgeGapParams.js +41 -0
- package/dist/serialization/types/ResourceAccessInfo.d.ts +2 -0
- package/dist/serialization/types/ResourceAccessInfo.js +2 -0
- package/dist/serialization/types/ResourceAccessInfoAnonymousAccessLevelOverride.d.ts +7 -0
- package/dist/serialization/types/ResourceAccessInfoAnonymousAccessLevelOverride.js +39 -0
- package/dist/serialization/types/ReviewResponseModel.d.ts +1 -0
- package/dist/serialization/types/ReviewResponseModel.js +1 -0
- package/dist/serialization/types/ScheduleGroupSessionParams.d.ts +9 -0
- package/dist/serialization/types/ScheduleGroupSessionParams.js +41 -0
- package/dist/serialization/types/SeverityId.d.ts +7 -0
- package/dist/serialization/types/SeverityId.js +39 -0
- package/dist/serialization/types/SimulationTestModel.d.ts +3 -0
- package/dist/serialization/types/SimulationTestModel.js +3 -0
- package/dist/serialization/types/SipLogMessage.d.ts +18 -0
- package/dist/serialization/types/SipLogMessage.js +50 -0
- package/dist/serialization/types/SipLogMessageDirection.d.ts +7 -0
- package/dist/serialization/types/SipLogMessageDirection.js +39 -0
- package/dist/serialization/types/SmsConversationInfo.d.ts +13 -0
- package/dist/serialization/types/SmsConversationInfo.js +45 -0
- package/dist/serialization/types/SmsConversationInfoDirection.d.ts +7 -0
- package/dist/serialization/types/SmsConversationInfoDirection.js +39 -0
- package/dist/serialization/types/SpeechEngineConfig.d.ts +11 -0
- package/dist/serialization/types/SpeechEngineConfig.js +43 -0
- package/dist/serialization/types/SpeechEngineConfigRequestHeadersValue.d.ts +9 -0
- package/dist/serialization/types/SpeechEngineConfigRequestHeadersValue.js +41 -0
- package/dist/serialization/types/SpeechEngineResponse.d.ts +28 -0
- package/dist/serialization/types/SpeechEngineResponse.js +60 -0
- package/dist/serialization/types/SpeechEngineSummaryResponse.d.ts +12 -0
- package/dist/serialization/types/SpeechEngineSummaryResponse.js +44 -0
- package/dist/serialization/types/StatusId.d.ts +7 -0
- package/dist/serialization/types/StatusId.js +39 -0
- package/dist/serialization/types/Subscription.d.ts +2 -0
- package/dist/serialization/types/Subscription.js +2 -0
- package/dist/serialization/types/SubscriptionResponse.d.ts +2 -0
- package/dist/serialization/types/SubscriptionResponse.js +2 -0
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/dist/serialization/types/TurnConfig.d.ts +1 -1
- package/dist/serialization/types/TurnConfig.js +1 -1
- package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -1
- package/dist/serialization/types/TurnConfigWorkflowOverride.js +1 -1
- package/dist/serialization/types/UpdateGroupSessionSeatsParams.d.ts +9 -0
- package/dist/serialization/types/UpdateGroupSessionSeatsParams.js +41 -0
- package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +3 -0
- package/dist/serialization/types/UpdateSimulationTestRequest.js +3 -0
- package/dist/serialization/types/UrlModel.d.ts +14 -0
- package/dist/serialization/types/UrlModel.js +46 -0
- package/dist/serialization/types/UserAccessManagementActivityId.d.ts +7 -0
- package/dist/serialization/types/UserAccessManagementActivityId.js +39 -0
- package/dist/serialization/types/UserModel.d.ts +16 -0
- package/dist/serialization/types/UserModel.js +48 -0
- package/dist/serialization/types/UserTypeId.d.ts +7 -0
- package/dist/serialization/types/UserTypeId.js +39 -0
- package/dist/serialization/types/WebhookHmacSettings.d.ts +1 -0
- package/dist/serialization/types/WebhookHmacSettings.js +1 -0
- package/dist/serialization/types/WebhookTranscriptFormat.d.ts +7 -0
- package/dist/serialization/types/WebhookTranscriptFormat.js +39 -0
- package/dist/serialization/types/WidgetConfigResponse.d.ts +2 -0
- package/dist/serialization/types/WidgetConfigResponse.js +2 -0
- package/dist/serialization/types/WorkspaceApiKeyResponseModel.d.ts +1 -0
- package/dist/serialization/types/WorkspaceApiKeyResponseModel.js +1 -0
- package/dist/serialization/types/WorkspaceAuditLogEntryResponse.d.ts +33 -0
- package/dist/serialization/types/WorkspaceAuditLogEntryResponse.js +65 -0
- package/dist/serialization/types/WorkspaceAuditLogEntryResponseActivityId.d.ts +12 -0
- package/dist/serialization/types/WorkspaceAuditLogEntryResponseActivityId.js +50 -0
- package/dist/serialization/types/WorkspaceAuditLogsPageResponse.d.ts +12 -0
- package/dist/serialization/types/WorkspaceAuditLogsPageResponse.js +44 -0
- package/dist/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
- package/dist/serialization/types/WorkspaceGroupPermission.js +2 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.js +1 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +1 -0
- package/dist/serialization/types/index.d.ts +77 -4
- package/dist/serialization/types/index.js +77 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/ElevenLabsClient.d.ts +5 -2
- package/dist/wrapper/ElevenLabsClient.js +9 -1
- package/dist/wrapper/index.d.ts +1 -0
- package/dist/wrapper/index.js +8 -1
- package/dist/wrapper/speech-engine/SpeechEngineAttachment.d.ts +21 -0
- package/dist/wrapper/speech-engine/SpeechEngineAttachment.js +34 -0
- package/dist/wrapper/speech-engine/SpeechEngineClientWrapper.d.ts +103 -0
- package/dist/wrapper/speech-engine/SpeechEngineClientWrapper.js +140 -0
- package/dist/wrapper/speech-engine/SpeechEngineResource.d.ts +78 -0
- package/dist/wrapper/speech-engine/SpeechEngineResource.js +261 -0
- package/dist/wrapper/speech-engine/SpeechEngineServer.d.ts +54 -0
- package/dist/wrapper/speech-engine/SpeechEngineServer.js +135 -0
- package/dist/wrapper/speech-engine/SpeechEngineSession.d.ts +79 -0
- package/dist/wrapper/speech-engine/SpeechEngineSession.js +300 -0
- package/dist/wrapper/speech-engine/index.d.ts +7 -0
- package/dist/wrapper/speech-engine/index.js +47 -0
- package/dist/wrapper/speech-engine/namespace.d.ts +27 -0
- package/dist/wrapper/speech-engine/namespace.js +37 -0
- package/dist/wrapper/speech-engine/types.d.ts +67 -0
- package/dist/wrapper/speech-engine/types.js +15 -0
- package/package.json +1 -1
- package/reference.md +2258 -993
- package/serialization/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.d.ts +9 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.js +41 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.d.ts +10 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.js +42 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.d.ts +10 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.js +42 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.d.ts +3 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/tags/client/requests/index.js +9 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/tags/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/tags/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.d.ts +7 -0
- package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestExcludeStatusesItem.js +39 -0
- package/serialization/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/types/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +23 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.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 +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.d.ts +2 -1
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.js +2 -1
- package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +3 -0
- package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +3 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.d.ts +7 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchAllowedIps.js +43 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
- package/serialization/resources/speechEngine/client/index.d.ts +1 -0
- package/serialization/resources/speechEngine/client/index.js +17 -0
- package/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +25 -0
- package/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +57 -0
- package/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +25 -0
- package/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +57 -0
- package/serialization/resources/speechEngine/client/requests/index.d.ts +2 -0
- package/serialization/resources/speechEngine/client/requests/index.js +7 -0
- package/serialization/resources/speechEngine/index.d.ts +1 -0
- package/serialization/resources/speechEngine/index.js +17 -0
- package/serialization/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.d.ts +1 -1
- package/serialization/resources/speechToSpeech/types/SpeechToSpeechConvertRequestOutputFormat.js +16 -9
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -0
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -0
- package/serialization/resources/workspace/resources/analytics/index.d.ts +1 -0
- package/serialization/resources/workspace/resources/analytics/index.js +17 -0
- package/serialization/resources/workspace/resources/analytics/resources/index.d.ts +3 -0
- package/serialization/resources/workspace/resources/analytics/resources/index.js +42 -0
- package/serialization/resources/workspace/resources/analytics/resources/requests/client/index.d.ts +1 -0
- package/serialization/resources/workspace/resources/analytics/resources/requests/client/index.js +17 -0
- package/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.d.ts +16 -0
- package/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPost.js +48 -0
- package/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/index.d.ts +1 -0
- package/serialization/resources/workspace/resources/analytics/resources/requests/client/requests/index.js +5 -0
- package/serialization/resources/workspace/resources/analytics/resources/requests/index.d.ts +2 -0
- package/serialization/resources/workspace/resources/analytics/resources/requests/index.js +18 -0
- package/serialization/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.d.ts +7 -0
- package/serialization/resources/workspace/resources/analytics/resources/requests/types/BodyListApiRequestsV1WorkspaceAnalyticsRequestsPostSort.js +39 -0
- package/serialization/resources/workspace/resources/analytics/resources/requests/types/index.d.ts +1 -0
- package/serialization/resources/workspace/resources/analytics/resources/requests/types/index.js +17 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
- package/serialization/resources/workspace/resources/index.d.ts +1 -0
- package/serialization/resources/workspace/resources/index.js +2 -1
- package/serialization/types/AccountChangeActivityId.d.ts +7 -0
- package/serialization/types/AccountChangeActivityId.js +39 -0
- package/serialization/types/ActorModel.d.ts +13 -0
- package/serialization/types/ActorModel.js +45 -0
- package/serialization/types/AgentAlertingMonitorConfig.d.ts +9 -0
- package/serialization/types/AgentAlertingMonitorConfig.js +41 -0
- package/serialization/types/AgentAlertingSettings.d.ts +10 -0
- package/serialization/types/AgentAlertingSettings.js +42 -0
- package/serialization/types/AgentMetadataDbModel.d.ts +13 -0
- package/serialization/types/AgentMetadataDbModel.js +45 -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/AgentTopicResponseModel.d.ts +3 -0
- package/serialization/types/AgentTopicResponseModel.js +3 -0
- package/serialization/types/ApiIntegrationDocResponse.d.ts +11 -0
- package/serialization/types/ApiIntegrationDocResponse.js +43 -0
- package/serialization/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +25 -0
- package/serialization/types/ApiIntegrationOAuth2CustomAppResponse.js +57 -0
- package/serialization/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.d.ts +7 -0
- package/serialization/types/ApiIntegrationOAuth2CustomAppResponseScopeSeparator.js +39 -0
- package/serialization/types/AuthenticationActivityId.d.ts +7 -0
- package/serialization/types/AuthenticationActivityId.js +39 -0
- package/serialization/types/AuthorizationMethod.d.ts +1 -1
- package/serialization/types/AuthorizationMethod.js +1 -0
- package/serialization/types/BackgroundMusicConfig.d.ts +14 -0
- package/serialization/types/BackgroundMusicConfig.js +46 -0
- package/serialization/types/BackgroundMusicConfigWorkflowOverride.d.ts +14 -0
- package/serialization/types/BackgroundMusicConfigWorkflowOverride.js +46 -0
- package/serialization/types/BackgroundMusicPresetId.d.ts +7 -0
- package/serialization/types/BackgroundMusicPresetId.js +49 -0
- package/serialization/types/BackgroundMusicSourceType.d.ts +7 -0
- package/serialization/types/BackgroundMusicSourceType.js +39 -0
- package/serialization/types/BaseTurnConfig.d.ts +17 -0
- package/serialization/types/BaseTurnConfig.js +49 -0
- package/serialization/types/CancelCalendarEventParams.d.ts +9 -0
- package/serialization/types/CancelCalendarEventParams.js +41 -0
- package/serialization/types/CancelGroupSessionForAllParams.d.ts +9 -0
- package/serialization/types/CancelGroupSessionForAllParams.js +41 -0
- package/serialization/types/CancelGroupSessionRegistrationParams.d.ts +9 -0
- package/serialization/types/CancelGroupSessionRegistrationParams.js +41 -0
- package/serialization/types/ClientEvent.d.ts +1 -1
- package/serialization/types/ClientEvent.js +1 -0
- package/serialization/types/CodeToolAllowedDomain.d.ts +10 -0
- package/serialization/types/CodeToolAllowedDomain.js +42 -0
- package/serialization/types/ColumnUnit.d.ts +1 -1
- package/serialization/types/ColumnUnit.js +1 -1
- package/serialization/types/ContextualUpdateInfo.d.ts +10 -0
- package/serialization/types/ContextualUpdateInfo.js +42 -0
- package/serialization/types/ConvAiWebhooks.d.ts +2 -0
- package/serialization/types/ConvAiWebhooks.js +2 -0
- package/serialization/types/ConversationAsrUsageModel.d.ts +11 -0
- package/serialization/types/ConversationAsrUsageModel.js +43 -0
- package/serialization/types/ConversationChargingCommonModel.d.ts +4 -0
- package/serialization/types/ConversationChargingCommonModel.js +4 -0
- package/serialization/types/{ConversationConfig.d.ts → ConversationConfigInput.d.ts} +2 -2
- package/serialization/types/{ConversationConfig.js → ConversationConfigInput.js} +2 -2
- package/serialization/types/ConversationConfigOutput.d.ts +17 -0
- package/serialization/types/ConversationConfigOutput.js +49 -0
- package/serialization/types/{ConversationConfigWorkflowOverride.d.ts → ConversationConfigWorkflowOverrideInput.d.ts} +2 -2
- package/serialization/types/{ConversationConfigWorkflowOverride.js → ConversationConfigWorkflowOverrideInput.js} +2 -2
- package/serialization/types/ConversationConfigWorkflowOverrideOutput.d.ts +17 -0
- package/serialization/types/ConversationConfigWorkflowOverrideOutput.js +49 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +4 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.js +4 -0
- package/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -0
- package/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +2 -0
- package/serialization/types/ConversationHistoryTranscriptResponseModel.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +5 -1
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +5 -1
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +2 -0
- package/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/serialization/types/ConversationInitiationSource.js +1 -0
- package/serialization/types/ConversationTagResponseModel.d.ts +14 -0
- package/serialization/types/ConversationTagResponseModel.js +46 -0
- package/serialization/types/{ConversationTokenDbModel.d.ts → ConversationTokenResponseModel.d.ts} +3 -3
- package/{dist/serialization/types/ConversationTokenDbModel.js → serialization/types/ConversationTokenResponseModel.js} +3 -3
- package/serialization/types/ConversationTtsUsageModel.d.ts +13 -0
- package/serialization/types/ConversationTtsUsageModel.js +45 -0
- package/serialization/types/ConversationVoiceRewardModel.d.ts +10 -0
- package/serialization/types/ConversationVoiceRewardModel.js +42 -0
- package/serialization/types/ConversationVoiceUsageModel.d.ts +10 -0
- package/serialization/types/ConversationVoiceUsageModel.js +42 -0
- package/serialization/types/ConversationalConfig.d.ts +2 -2
- package/serialization/types/ConversationalConfig.js +2 -2
- package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +2 -2
- package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +2 -2
- package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +2 -2
- package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +2 -2
- package/serialization/types/CreateOAuth2JwtRequest.d.ts +2 -0
- package/serialization/types/CreateOAuth2JwtRequest.js +2 -0
- package/serialization/types/CreateOAuth2JwtRequestTokenResponseField.d.ts +7 -0
- package/serialization/types/CreateOAuth2JwtRequestTokenResponseField.js +39 -0
- package/serialization/types/CreateSimulationTestRequest.d.ts +3 -0
- package/serialization/types/CreateSimulationTestRequest.js +3 -0
- package/serialization/types/CreateSpeechEngineResponse.d.ts +9 -0
- package/serialization/types/CreateSpeechEngineResponse.js +41 -0
- package/serialization/types/Currency.d.ts +1 -1
- package/serialization/types/Currency.js +1 -1
- package/serialization/types/DeleteGroupSessionParams.d.ts +9 -0
- package/serialization/types/DeleteGroupSessionParams.js +41 -0
- package/serialization/types/DeviceModel.d.ts +11 -0
- package/serialization/types/DeviceModel.js +43 -0
- package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/serialization/types/DirectPublishingReadResponseModel.js +1 -0
- package/serialization/types/EntityManagementActivityId.d.ts +7 -0
- package/serialization/types/EntityManagementActivityId.js +39 -0
- package/serialization/types/GenerationSourceContext.d.ts +0 -1
- package/serialization/types/GenerationSourceContext.js +0 -1
- package/serialization/types/GetAgentLinkResponseModel.d.ts +2 -2
- package/serialization/types/GetAgentLinkResponseModel.js +2 -2
- package/serialization/types/GetClientAppointmentsParams.d.ts +1 -0
- package/serialization/types/GetClientAppointmentsParams.js +1 -0
- package/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/serialization/types/GetConversationResponseModel.js +1 -0
- package/serialization/types/GetConversationTagsPageResponseModel.d.ts +12 -0
- package/serialization/types/GetConversationTagsPageResponseModel.js +44 -0
- package/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +1 -0
- package/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +1 -0
- package/serialization/types/GetSimulationTestResponseModel.d.ts +3 -0
- package/serialization/types/GetSimulationTestResponseModel.js +3 -0
- package/serialization/types/GetSipLogMessagesResponse.d.ts +12 -0
- package/serialization/types/GetSipLogMessagesResponse.js +44 -0
- package/serialization/types/GroupManagementActivityId.d.ts +7 -0
- package/serialization/types/GroupManagementActivityId.js +39 -0
- package/serialization/types/HttpRequestModel.d.ts +13 -0
- package/serialization/types/HttpRequestModel.js +45 -0
- package/serialization/types/ImageAnalysis.d.ts +13 -0
- package/serialization/types/ImageAnalysis.js +45 -0
- package/serialization/types/ImageAnalysisResult.d.ts +16 -0
- package/serialization/types/ImageAnalysisResult.js +48 -0
- package/serialization/types/ImageAnalysisStatus.d.ts +7 -0
- package/serialization/types/ImageAnalysisStatus.js +39 -0
- package/serialization/types/ImageSubject.d.ts +10 -0
- package/serialization/types/ImageSubject.js +42 -0
- package/serialization/types/KnowledgeBaseDocumentChunksResponseModel.d.ts +11 -0
- package/serialization/types/KnowledgeBaseDocumentChunksResponseModel.js +43 -0
- package/serialization/types/KnowledgeBaseRagToolConfig.d.ts +7 -0
- package/serialization/types/KnowledgeBaseRagToolConfig.js +39 -0
- package/serialization/types/KnowledgeBaseRagToolResultModel.d.ts +12 -0
- package/serialization/types/KnowledgeBaseRagToolResultModel.js +44 -0
- package/serialization/types/KnowledgeBaseRagToolStatus.d.ts +7 -0
- package/serialization/types/KnowledgeBaseRagToolStatus.js +39 -0
- package/serialization/types/LeaveMessageParams.d.ts +9 -0
- package/serialization/types/LeaveMessageParams.js +41 -0
- package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
- package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
- package/serialization/types/ListCalendarEventsParams.d.ts +1 -0
- package/serialization/types/ListCalendarEventsParams.js +1 -0
- package/serialization/types/ListGroupSessionsParams.d.ts +9 -0
- package/serialization/types/ListGroupSessionsParams.js +41 -0
- package/serialization/types/ListResponseApiIntegrationDocResponse.d.ts +12 -0
- package/serialization/types/ListResponseApiIntegrationDocResponse.js +44 -0
- package/serialization/types/ListSpeechEnginesResponse.d.ts +12 -0
- package/serialization/types/ListSpeechEnginesResponse.js +44 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +10 -0
- package/serialization/types/LlmInfoModelInput.d.ts +2 -0
- package/serialization/types/LlmInfoModelInput.js +2 -0
- package/serialization/types/LlmInfoModelOutput.d.ts +2 -0
- package/serialization/types/LlmInfoModelOutput.js +2 -0
- package/serialization/types/Monitor.d.ts +7 -0
- package/serialization/types/Monitor.js +39 -0
- package/serialization/types/OAuth2JwtResponse.d.ts +2 -0
- package/serialization/types/OAuth2JwtResponse.js +2 -0
- package/serialization/types/OAuth2JwtResponseTokenResponseField.d.ts +7 -0
- package/serialization/types/OAuth2JwtResponseTokenResponseField.js +39 -0
- package/serialization/types/PhoneNumberAgentInfo.d.ts +2 -0
- package/serialization/types/PhoneNumberAgentInfo.js +2 -0
- package/serialization/types/Price.d.ts +11 -0
- package/serialization/types/Price.js +43 -0
- package/serialization/types/ProcedureCompilerMode.d.ts +1 -1
- package/serialization/types/ProcedureCompilerMode.js +1 -1
- package/serialization/types/ProjectExternalAudioResponseModel.d.ts +2 -3
- package/serialization/types/ProjectExternalAudioResponseModel.js +2 -3
- package/serialization/types/ProjectImageResponseModel.d.ts +8 -2
- package/serialization/types/ProjectImageResponseModel.js +8 -2
- package/serialization/types/ProjectVideoResponseModel.d.ts +2 -3
- package/serialization/types/ProjectVideoResponseModel.js +2 -3
- package/serialization/types/ReadMetadataChapterDbModel.d.ts +1 -0
- package/serialization/types/ReadMetadataChapterDbModel.js +1 -0
- package/serialization/types/RegionalProcessingSurchargeInfo.d.ts +9 -0
- package/serialization/types/RegionalProcessingSurchargeInfo.js +41 -0
- package/serialization/types/RegisterForGroupSessionParams.d.ts +9 -0
- package/serialization/types/RegisterForGroupSessionParams.js +41 -0
- package/serialization/types/ReportKnowledgeGapParams.d.ts +9 -0
- package/serialization/types/ReportKnowledgeGapParams.js +41 -0
- package/serialization/types/ResourceAccessInfo.d.ts +2 -0
- package/serialization/types/ResourceAccessInfo.js +2 -0
- package/serialization/types/ResourceAccessInfoAnonymousAccessLevelOverride.d.ts +7 -0
- package/serialization/types/ResourceAccessInfoAnonymousAccessLevelOverride.js +39 -0
- package/serialization/types/ReviewResponseModel.d.ts +1 -0
- package/serialization/types/ReviewResponseModel.js +1 -0
- package/serialization/types/ScheduleGroupSessionParams.d.ts +9 -0
- package/serialization/types/ScheduleGroupSessionParams.js +41 -0
- package/serialization/types/SeverityId.d.ts +7 -0
- package/serialization/types/SeverityId.js +39 -0
- package/serialization/types/SimulationTestModel.d.ts +3 -0
- package/serialization/types/SimulationTestModel.js +3 -0
- package/serialization/types/SipLogMessage.d.ts +18 -0
- package/serialization/types/SipLogMessage.js +50 -0
- package/serialization/types/SipLogMessageDirection.d.ts +7 -0
- package/serialization/types/SipLogMessageDirection.js +39 -0
- package/serialization/types/SmsConversationInfo.d.ts +13 -0
- package/serialization/types/SmsConversationInfo.js +45 -0
- package/serialization/types/SmsConversationInfoDirection.d.ts +7 -0
- package/serialization/types/SmsConversationInfoDirection.js +39 -0
- package/serialization/types/SpeechEngineConfig.d.ts +11 -0
- package/serialization/types/SpeechEngineConfig.js +43 -0
- package/serialization/types/SpeechEngineConfigRequestHeadersValue.d.ts +9 -0
- package/serialization/types/SpeechEngineConfigRequestHeadersValue.js +41 -0
- package/serialization/types/SpeechEngineResponse.d.ts +28 -0
- package/serialization/types/SpeechEngineResponse.js +60 -0
- package/serialization/types/SpeechEngineSummaryResponse.d.ts +12 -0
- package/serialization/types/SpeechEngineSummaryResponse.js +44 -0
- package/serialization/types/StatusId.d.ts +7 -0
- package/serialization/types/StatusId.js +39 -0
- package/serialization/types/Subscription.d.ts +2 -0
- package/serialization/types/Subscription.js +2 -0
- package/serialization/types/SubscriptionResponse.d.ts +2 -0
- package/serialization/types/SubscriptionResponse.js +2 -0
- package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/serialization/types/TurnConfig.d.ts +1 -1
- package/serialization/types/TurnConfig.js +1 -1
- package/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -1
- package/serialization/types/TurnConfigWorkflowOverride.js +1 -1
- package/serialization/types/UpdateGroupSessionSeatsParams.d.ts +9 -0
- package/serialization/types/UpdateGroupSessionSeatsParams.js +41 -0
- package/serialization/types/UpdateSimulationTestRequest.d.ts +3 -0
- package/serialization/types/UpdateSimulationTestRequest.js +3 -0
- package/serialization/types/UrlModel.d.ts +14 -0
- package/serialization/types/UrlModel.js +46 -0
- package/serialization/types/UserAccessManagementActivityId.d.ts +7 -0
- package/serialization/types/UserAccessManagementActivityId.js +39 -0
- package/serialization/types/UserModel.d.ts +16 -0
- package/serialization/types/UserModel.js +48 -0
- package/serialization/types/UserTypeId.d.ts +7 -0
- package/serialization/types/UserTypeId.js +39 -0
- package/serialization/types/WebhookHmacSettings.d.ts +1 -0
- package/serialization/types/WebhookHmacSettings.js +1 -0
- package/serialization/types/WebhookTranscriptFormat.d.ts +7 -0
- package/serialization/types/WebhookTranscriptFormat.js +39 -0
- package/serialization/types/WidgetConfigResponse.d.ts +2 -0
- package/serialization/types/WidgetConfigResponse.js +2 -0
- package/serialization/types/WorkspaceApiKeyResponseModel.d.ts +1 -0
- package/serialization/types/WorkspaceApiKeyResponseModel.js +1 -0
- package/serialization/types/WorkspaceAuditLogEntryResponse.d.ts +33 -0
- package/serialization/types/WorkspaceAuditLogEntryResponse.js +65 -0
- package/serialization/types/WorkspaceAuditLogEntryResponseActivityId.d.ts +12 -0
- package/serialization/types/WorkspaceAuditLogEntryResponseActivityId.js +50 -0
- package/serialization/types/WorkspaceAuditLogsPageResponse.d.ts +12 -0
- package/serialization/types/WorkspaceAuditLogsPageResponse.js +44 -0
- package/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
- package/serialization/types/WorkspaceGroupPermission.js +2 -0
- package/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/serialization/types/WorkspaceGroupResponseModel.js +1 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +1 -0
- package/serialization/types/index.d.ts +77 -4
- package/serialization/types/index.js +77 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/ElevenLabsClient.d.ts +5 -2
- package/wrapper/ElevenLabsClient.js +9 -1
- package/wrapper/index.d.ts +1 -0
- package/wrapper/index.js +8 -1
- package/wrapper/speech-engine/SpeechEngineAttachment.d.ts +21 -0
- package/wrapper/speech-engine/SpeechEngineAttachment.js +34 -0
- package/wrapper/speech-engine/SpeechEngineClientWrapper.d.ts +103 -0
- package/wrapper/speech-engine/SpeechEngineClientWrapper.js +140 -0
- package/wrapper/speech-engine/SpeechEngineResource.d.ts +78 -0
- package/wrapper/speech-engine/SpeechEngineResource.js +261 -0
- package/wrapper/speech-engine/SpeechEngineServer.d.ts +54 -0
- package/wrapper/speech-engine/SpeechEngineServer.js +135 -0
- package/wrapper/speech-engine/SpeechEngineSession.d.ts +79 -0
- package/wrapper/speech-engine/SpeechEngineSession.js +300 -0
- package/wrapper/speech-engine/index.d.ts +7 -0
- package/wrapper/speech-engine/index.js +47 -0
- package/wrapper/speech-engine/namespace.d.ts +27 -0
- package/wrapper/speech-engine/namespace.js +37 -0
- package/wrapper/speech-engine/types.d.ts +67 -0
- package/wrapper/speech-engine/types.js +15 -0
- package/api/types/DubbingModel.d.ts +0 -7
- package/api/types/DubbingModel.js +0 -10
- package/dist/api/types/DubbingModel.d.ts +0 -7
- package/dist/api/types/DubbingModel.js +0 -10
- package/dist/serialization/types/DubbingModel.d.ts +0 -7
- package/serialization/types/DubbingModel.d.ts +0 -7
- /package/api/{types/ConversationConfig.js → resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSipMessagesRequest.js} +0 -0
- /package/api/{types/ConversationConfigWorkflowOverride.js → resources/conversationalAi/resources/conversations/resources/tags/client/requests/AssignConversationTagsRequestModel.js} +0 -0
- /package/api/{types/ConversationTokenDbModel.js → resources/conversationalAi/resources/conversations/resources/tags/client/requests/CreateConversationTagRequestModel.js} +0 -0
- /package/{dist/api/types/ConversationConfig.js → api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/PatchConversationTagRequestModel.js} +0 -0
- /package/{dist/api/types/ConversationConfigWorkflowOverride.js → api/resources/conversationalAi/resources/conversations/resources/tags/client/requests/TagsListRequest.js} +0 -0
- /package/{dist/api/types/ConversationTokenDbModel.js → api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/requests/BodyUpdateFileDocumentV1ConvaiKnowledgeBaseDocumentationIdUpdateFilePatch.js} +0 -0
package/.fern/metadata.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"cliVersion": "4.
|
|
2
|
+
"cliVersion": "4.107.0",
|
|
3
3
|
"generatorName": "fernapi/fern-typescript-sdk",
|
|
4
4
|
"generatorVersion": "3.36.0",
|
|
5
5
|
"generatorConfig": {
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
|
-
"originGitCommit": "
|
|
39
|
+
"originGitCommit": "085495d2c98acb98352c8413534b07ef7d52e7e4"
|
|
40
40
|
}
|
package/BaseClient.js
CHANGED
|
@@ -41,8 +41,8 @@ function normalizeClientOptions(options) {
|
|
|
41
41
|
const headers = (0, headers_1.mergeHeaders)({
|
|
42
42
|
"X-Fern-Language": "JavaScript",
|
|
43
43
|
"X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js",
|
|
44
|
-
"X-Fern-SDK-Version": "2.
|
|
45
|
-
"User-Agent": "@elevenlabs/elevenlabs-js/2.
|
|
44
|
+
"X-Fern-SDK-Version": "2.47.0",
|
|
45
|
+
"User-Agent": "@elevenlabs/elevenlabs-js/2.47.0",
|
|
46
46
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
47
47
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
48
48
|
"xi-api-key": options === null || options === void 0 ? void 0 : options.apiKey,
|
package/Client.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { MusicClient } from "./api/resources/music/client/Client";
|
|
|
10
10
|
import { PronunciationDictionariesClient } from "./api/resources/pronunciationDictionaries/client/Client";
|
|
11
11
|
import { SamplesClient } from "./api/resources/samples/client/Client";
|
|
12
12
|
import { ServiceAccountsClient } from "./api/resources/serviceAccounts/client/Client";
|
|
13
|
+
import { SpeechEngineClient } from "./api/resources/speechEngine/client/Client";
|
|
13
14
|
import { SpeechToSpeechClient } from "./api/resources/speechToSpeech/client/Client";
|
|
14
15
|
import { SpeechToTextClient } from "./api/resources/speechToText/client/Client";
|
|
15
16
|
import { StudioClient } from "./api/resources/studio/client/Client";
|
|
@@ -55,6 +56,7 @@ export declare class ElevenLabsClient {
|
|
|
55
56
|
protected _speechToText: SpeechToTextClient | undefined;
|
|
56
57
|
protected _forcedAlignment: ForcedAlignmentClient | undefined;
|
|
57
58
|
protected _conversationalAi: ConversationalAiClient | undefined;
|
|
59
|
+
protected _speechEngine: SpeechEngineClient | undefined;
|
|
58
60
|
protected _environmentVariables: EnvironmentVariablesClient | undefined;
|
|
59
61
|
protected _tokens: TokensClient | undefined;
|
|
60
62
|
protected _workspace: WorkspaceClient | undefined;
|
|
@@ -81,6 +83,7 @@ export declare class ElevenLabsClient {
|
|
|
81
83
|
get speechToText(): SpeechToTextClient;
|
|
82
84
|
get forcedAlignment(): ForcedAlignmentClient;
|
|
83
85
|
get conversationalAi(): ConversationalAiClient;
|
|
86
|
+
get speechEngine(): SpeechEngineClient;
|
|
84
87
|
get environmentVariables(): EnvironmentVariablesClient;
|
|
85
88
|
get tokens(): TokensClient;
|
|
86
89
|
get workspace(): WorkspaceClient;
|
package/Client.js
CHANGED
|
@@ -56,19 +56,20 @@ const Client_9 = require("./api/resources/music/client/Client");
|
|
|
56
56
|
const Client_10 = require("./api/resources/pronunciationDictionaries/client/Client");
|
|
57
57
|
const Client_11 = require("./api/resources/samples/client/Client");
|
|
58
58
|
const Client_12 = require("./api/resources/serviceAccounts/client/Client");
|
|
59
|
-
const Client_13 = require("./api/resources/
|
|
60
|
-
const Client_14 = require("./api/resources/
|
|
61
|
-
const Client_15 = require("./api/resources/
|
|
62
|
-
const Client_16 = require("./api/resources/
|
|
63
|
-
const Client_17 = require("./api/resources/
|
|
64
|
-
const Client_18 = require("./api/resources/
|
|
65
|
-
const Client_19 = require("./api/resources/
|
|
66
|
-
const Client_20 = require("./api/resources/
|
|
67
|
-
const Client_21 = require("./api/resources/
|
|
68
|
-
const Client_22 = require("./api/resources/
|
|
69
|
-
const Client_23 = require("./api/resources/
|
|
70
|
-
const Client_24 = require("./api/resources/
|
|
71
|
-
const Client_25 = require("./api/resources/
|
|
59
|
+
const Client_13 = require("./api/resources/speechEngine/client/Client");
|
|
60
|
+
const Client_14 = require("./api/resources/speechToSpeech/client/Client");
|
|
61
|
+
const Client_15 = require("./api/resources/speechToText/client/Client");
|
|
62
|
+
const Client_16 = require("./api/resources/studio/client/Client");
|
|
63
|
+
const Client_17 = require("./api/resources/textToDialogue/client/Client");
|
|
64
|
+
const Client_18 = require("./api/resources/textToSoundEffects/client/Client");
|
|
65
|
+
const Client_19 = require("./api/resources/textToSpeech/client/Client");
|
|
66
|
+
const Client_20 = require("./api/resources/textToVoice/client/Client");
|
|
67
|
+
const Client_21 = require("./api/resources/tokens/client/Client");
|
|
68
|
+
const Client_22 = require("./api/resources/usage/client/Client");
|
|
69
|
+
const Client_23 = require("./api/resources/user/client/Client");
|
|
70
|
+
const Client_24 = require("./api/resources/voices/client/Client");
|
|
71
|
+
const Client_25 = require("./api/resources/webhooks/client/Client");
|
|
72
|
+
const Client_26 = require("./api/resources/workspace/client/Client");
|
|
72
73
|
const BaseClient_1 = require("./BaseClient");
|
|
73
74
|
const core = __importStar(require("./core"));
|
|
74
75
|
const headers_1 = require("./core/headers");
|
|
@@ -85,7 +86,7 @@ class ElevenLabsClient {
|
|
|
85
86
|
}
|
|
86
87
|
get textToSoundEffects() {
|
|
87
88
|
var _a;
|
|
88
|
-
return ((_a = this._textToSoundEffects) !== null && _a !== void 0 ? _a : (this._textToSoundEffects = new
|
|
89
|
+
return ((_a = this._textToSoundEffects) !== null && _a !== void 0 ? _a : (this._textToSoundEffects = new Client_18.TextToSoundEffectsClient(this._options)));
|
|
89
90
|
}
|
|
90
91
|
get audioIsolation() {
|
|
91
92
|
var _a;
|
|
@@ -97,31 +98,31 @@ class ElevenLabsClient {
|
|
|
97
98
|
}
|
|
98
99
|
get textToSpeech() {
|
|
99
100
|
var _a;
|
|
100
|
-
return ((_a = this._textToSpeech) !== null && _a !== void 0 ? _a : (this._textToSpeech = new
|
|
101
|
+
return ((_a = this._textToSpeech) !== null && _a !== void 0 ? _a : (this._textToSpeech = new Client_19.TextToSpeechClient(this._options)));
|
|
101
102
|
}
|
|
102
103
|
get textToDialogue() {
|
|
103
104
|
var _a;
|
|
104
|
-
return ((_a = this._textToDialogue) !== null && _a !== void 0 ? _a : (this._textToDialogue = new
|
|
105
|
+
return ((_a = this._textToDialogue) !== null && _a !== void 0 ? _a : (this._textToDialogue = new Client_17.TextToDialogueClient(this._options)));
|
|
105
106
|
}
|
|
106
107
|
get speechToSpeech() {
|
|
107
108
|
var _a;
|
|
108
|
-
return ((_a = this._speechToSpeech) !== null && _a !== void 0 ? _a : (this._speechToSpeech = new
|
|
109
|
+
return ((_a = this._speechToSpeech) !== null && _a !== void 0 ? _a : (this._speechToSpeech = new Client_14.SpeechToSpeechClient(this._options)));
|
|
109
110
|
}
|
|
110
111
|
get textToVoice() {
|
|
111
112
|
var _a;
|
|
112
|
-
return ((_a = this._textToVoice) !== null && _a !== void 0 ? _a : (this._textToVoice = new
|
|
113
|
+
return ((_a = this._textToVoice) !== null && _a !== void 0 ? _a : (this._textToVoice = new Client_20.TextToVoiceClient(this._options)));
|
|
113
114
|
}
|
|
114
115
|
get user() {
|
|
115
116
|
var _a;
|
|
116
|
-
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new
|
|
117
|
+
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_23.UserClient(this._options)));
|
|
117
118
|
}
|
|
118
119
|
get voices() {
|
|
119
120
|
var _a;
|
|
120
|
-
return ((_a = this._voices) !== null && _a !== void 0 ? _a : (this._voices = new
|
|
121
|
+
return ((_a = this._voices) !== null && _a !== void 0 ? _a : (this._voices = new Client_24.VoicesClient(this._options)));
|
|
121
122
|
}
|
|
122
123
|
get studio() {
|
|
123
124
|
var _a;
|
|
124
|
-
return ((_a = this._studio) !== null && _a !== void 0 ? _a : (this._studio = new
|
|
125
|
+
return ((_a = this._studio) !== null && _a !== void 0 ? _a : (this._studio = new Client_16.StudioClient(this._options)));
|
|
125
126
|
}
|
|
126
127
|
get music() {
|
|
127
128
|
var _a;
|
|
@@ -141,7 +142,7 @@ class ElevenLabsClient {
|
|
|
141
142
|
}
|
|
142
143
|
get usage() {
|
|
143
144
|
var _a;
|
|
144
|
-
return ((_a = this._usage) !== null && _a !== void 0 ? _a : (this._usage = new
|
|
145
|
+
return ((_a = this._usage) !== null && _a !== void 0 ? _a : (this._usage = new Client_22.UsageClient(this._options)));
|
|
145
146
|
}
|
|
146
147
|
get pronunciationDictionaries() {
|
|
147
148
|
var _a;
|
|
@@ -153,11 +154,11 @@ class ElevenLabsClient {
|
|
|
153
154
|
}
|
|
154
155
|
get webhooks() {
|
|
155
156
|
var _a;
|
|
156
|
-
return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new
|
|
157
|
+
return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new Client_25.WebhooksClient(this._options)));
|
|
157
158
|
}
|
|
158
159
|
get speechToText() {
|
|
159
160
|
var _a;
|
|
160
|
-
return ((_a = this._speechToText) !== null && _a !== void 0 ? _a : (this._speechToText = new
|
|
161
|
+
return ((_a = this._speechToText) !== null && _a !== void 0 ? _a : (this._speechToText = new Client_15.SpeechToTextClient(this._options)));
|
|
161
162
|
}
|
|
162
163
|
get forcedAlignment() {
|
|
163
164
|
var _a;
|
|
@@ -167,17 +168,21 @@ class ElevenLabsClient {
|
|
|
167
168
|
var _a;
|
|
168
169
|
return ((_a = this._conversationalAi) !== null && _a !== void 0 ? _a : (this._conversationalAi = new Client_3.ConversationalAiClient(this._options)));
|
|
169
170
|
}
|
|
171
|
+
get speechEngine() {
|
|
172
|
+
var _a;
|
|
173
|
+
return ((_a = this._speechEngine) !== null && _a !== void 0 ? _a : (this._speechEngine = new Client_13.SpeechEngineClient(this._options)));
|
|
174
|
+
}
|
|
170
175
|
get environmentVariables() {
|
|
171
176
|
var _a;
|
|
172
177
|
return ((_a = this._environmentVariables) !== null && _a !== void 0 ? _a : (this._environmentVariables = new Client_5.EnvironmentVariablesClient(this._options)));
|
|
173
178
|
}
|
|
174
179
|
get tokens() {
|
|
175
180
|
var _a;
|
|
176
|
-
return ((_a = this._tokens) !== null && _a !== void 0 ? _a : (this._tokens = new
|
|
181
|
+
return ((_a = this._tokens) !== null && _a !== void 0 ? _a : (this._tokens = new Client_21.TokensClient(this._options)));
|
|
177
182
|
}
|
|
178
183
|
get workspace() {
|
|
179
184
|
var _a;
|
|
180
|
-
return ((_a = this._workspace) !== null && _a !== void 0 ? _a : (this._workspace = new
|
|
185
|
+
return ((_a = this._workspace) !== null && _a !== void 0 ? _a : (this._workspace = new Client_26.WorkspaceClient(this._options)));
|
|
181
186
|
}
|
|
182
187
|
/**
|
|
183
188
|
* Add a generated voice to the voice library.
|
package/README.md
CHANGED
|
@@ -96,6 +96,98 @@ const audioStream = await elevenlabs.textToSpeech.stream("JBFqnCBsd6RMkjVDRZzb",
|
|
|
96
96
|
stream(audioStream);
|
|
97
97
|
```
|
|
98
98
|
|
|
99
|
+
## Speech Engine
|
|
100
|
+
|
|
101
|
+
Speech Engine lets you build voice-powered AI agents with a custom LLM or add voice to your existing chat agent. The ElevenLabs API connects to your server via WebSocket — each connection represents one conversation. You provide the LLM responses, ElevenLabs handles the speech.
|
|
102
|
+
|
|
103
|
+
There are two ways to set up a Speech Engine server:
|
|
104
|
+
|
|
105
|
+
### Attach to an existing HTTP server
|
|
106
|
+
|
|
107
|
+
Use this when you already have a web server (Express, Next.js, Fastify, etc.) and want to handle Speech Engine connections on a specific path alongside your existing routes. Configure your speech engine's server URL to point to the path you choose, e.g. `https://myapp.com/api/speech-engine/ws`.
|
|
108
|
+
|
|
109
|
+
```ts
|
|
110
|
+
import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";
|
|
111
|
+
import OpenAI from "openai";
|
|
112
|
+
|
|
113
|
+
const elevenlabs = new ElevenLabsClient({
|
|
114
|
+
apiKey: process.env.ELEVENLABS_API_KEY,
|
|
115
|
+
});
|
|
116
|
+
const openai = new OpenAI({
|
|
117
|
+
apiKey: process.env.OPENAI_API_KEY,
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
// Attach Speech Engine to existing server
|
|
121
|
+
await elevenlabs.speechEngine.attach("seng_123", httpServer, "/api/speech-engine/ws", {
|
|
122
|
+
debug: true,
|
|
123
|
+
|
|
124
|
+
onInit(conversationId) {
|
|
125
|
+
console.log("session started:", conversationId);
|
|
126
|
+
},
|
|
127
|
+
|
|
128
|
+
async onTranscript(transcript, signal, session) {
|
|
129
|
+
// Pass the transcript to your LLM — signal auto-aborts if the user interrupts
|
|
130
|
+
const response = await openai.responses.create(
|
|
131
|
+
{
|
|
132
|
+
model: "gpt-4o",
|
|
133
|
+
instructions: "You are a helpful agent that assists developers in testing SDKs. Help users explore SDK features, debug integration issues, and validate that SDK methods work as expected.",
|
|
134
|
+
input: transcript.map((m) => ({ role: m.role === "agent" ? "assistant" : m.role, content: m.content })),
|
|
135
|
+
stream: true,
|
|
136
|
+
},
|
|
137
|
+
{ signal },
|
|
138
|
+
);
|
|
139
|
+
|
|
140
|
+
// Stream the LLM response directly — the SDK extracts text from
|
|
141
|
+
// OpenAI, Anthropic, and Gemini stream formats automatically
|
|
142
|
+
session.sendResponse(response);
|
|
143
|
+
},
|
|
144
|
+
|
|
145
|
+
onClose(session) {
|
|
146
|
+
console.log("session ended:", session.conversationId);
|
|
147
|
+
},
|
|
148
|
+
|
|
149
|
+
onDisconnect(session) {
|
|
150
|
+
console.log("session disconnected:", session.conversationId);
|
|
151
|
+
},
|
|
152
|
+
|
|
153
|
+
onError(err) {
|
|
154
|
+
console.error("error:", err);
|
|
155
|
+
},
|
|
156
|
+
});
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### Standalone server
|
|
160
|
+
|
|
161
|
+
Use this when you want a dedicated server just for Speech Engine — no existing HTTP server needed. It starts a WebSocket server on the given port and every connection is treated as a speech engine session. Configure your speech engine's server URL to point to the host and port directly, e.g. `wss://myserver.com:3001`.
|
|
162
|
+
|
|
163
|
+
```ts
|
|
164
|
+
import { SpeechEngine } from "@elevenlabs/elevenlabs-js";
|
|
165
|
+
|
|
166
|
+
const server = new SpeechEngine.Server({
|
|
167
|
+
port: 3001,
|
|
168
|
+
engineId: "seng_123",
|
|
169
|
+
apiKey: process.env.ELEVENLABS_API_KEY,
|
|
170
|
+
async onTranscript(transcript, signal, session) {
|
|
171
|
+
const reply = await generateLLMResponse(transcript, { signal });
|
|
172
|
+
session.sendResponse(reply);
|
|
173
|
+
},
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
server.start();
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
Both `SpeechEngine.Server` and `speechEngine.attach()` automatically verify the `X-Elevenlabs-Speech-Engine-Authorization` header on every incoming connection, rejecting any requests that were not signed by ElevenLabs. The API key is read from `apiKey` in the options or the `ELEVENLABS_API_KEY` environment variable.
|
|
180
|
+
|
|
181
|
+
### Session events
|
|
182
|
+
|
|
183
|
+
| Event | Method | Description |
|
|
184
|
+
|---|---|---|
|
|
185
|
+
| `user_transcript` | `onTranscript` | User speech transcribed — includes full conversation history and an abort signal |
|
|
186
|
+
| `init` | `onInit` | Session initialized with a conversation ID |
|
|
187
|
+
| `close` | `onClose` | Clean disconnect from ElevenLabs |
|
|
188
|
+
| `disconnected` | `onDisconnect` | WebSocket dropped unexpectedly |
|
|
189
|
+
| `error` | `onError` | Protocol or WebSocket error |
|
|
190
|
+
|
|
99
191
|
## Retries
|
|
100
192
|
|
|
101
193
|
This Node SDK is instrumented with automatic retries with exponential backoff. A request will be
|
package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.d.ts
CHANGED
|
@@ -19,7 +19,9 @@ export declare class SummariesClient {
|
|
|
19
19
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
|
-
* await client.conversationalAi.agents.summaries.get(
|
|
22
|
+
* await client.conversationalAi.agents.summaries.get({
|
|
23
|
+
* agentIds: ["agent_ids"]
|
|
24
|
+
* })
|
|
23
25
|
*/
|
|
24
26
|
get(request?: ElevenLabs.conversationalAi.agents.SummariesGetRequest, requestOptions?: SummariesClient.RequestOptions): core.HttpResponsePromise<Record<string, ElevenLabs.conversationalAi.agents.SummariesGetResponseValue>>;
|
|
25
27
|
private __get;
|
package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js
CHANGED
|
@@ -65,7 +65,9 @@ class SummariesClient {
|
|
|
65
65
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
|
-
* await client.conversationalAi.agents.summaries.get(
|
|
68
|
+
* await client.conversationalAi.agents.summaries.get({
|
|
69
|
+
* agentIds: ["agent_ids"]
|
|
70
|
+
* })
|
|
69
71
|
*/
|
|
70
72
|
get(request = {}, requestOptions) {
|
|
71
73
|
return core.HttpResponsePromise.fromPromise(this.__get(request, requestOptions));
|
|
@@ -38,7 +38,8 @@ export declare class BatchCallsClient {
|
|
|
38
38
|
* @example
|
|
39
39
|
* await client.conversationalAi.batchCalls.list({
|
|
40
40
|
* limit: 1,
|
|
41
|
-
* lastDoc: "last_doc"
|
|
41
|
+
* lastDoc: "last_doc",
|
|
42
|
+
* agentId: "agent_id"
|
|
42
43
|
* })
|
|
43
44
|
*/
|
|
44
45
|
list(request?: ElevenLabs.conversationalAi.BatchCallsListRequest, requestOptions?: BatchCallsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.WorkspaceBatchCallsResponse>;
|
|
@@ -129,7 +129,8 @@ class BatchCallsClient {
|
|
|
129
129
|
* @example
|
|
130
130
|
* await client.conversationalAi.batchCalls.list({
|
|
131
131
|
* limit: 1,
|
|
132
|
-
* lastDoc: "last_doc"
|
|
132
|
+
* lastDoc: "last_doc",
|
|
133
|
+
* agentId: "agent_id"
|
|
133
134
|
* })
|
|
134
135
|
*/
|
|
135
136
|
list(request = {}, requestOptions) {
|
|
@@ -138,7 +139,7 @@ class BatchCallsClient {
|
|
|
138
139
|
__list() {
|
|
139
140
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
140
141
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
141
|
-
const { limit, lastDoc } = request;
|
|
142
|
+
const { limit, lastDoc, agentId } = request;
|
|
142
143
|
const _queryParams = {};
|
|
143
144
|
if (limit != null) {
|
|
144
145
|
_queryParams.limit = limit.toString();
|
|
@@ -146,6 +147,9 @@ class BatchCallsClient {
|
|
|
146
147
|
if (lastDoc != null) {
|
|
147
148
|
_queryParams.last_doc = lastDoc;
|
|
148
149
|
}
|
|
150
|
+
if (agentId != null) {
|
|
151
|
+
_queryParams.agent_id = agentId;
|
|
152
|
+
}
|
|
149
153
|
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);
|
|
150
154
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
151
155
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/batch-calling/workspace"),
|
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
4
|
* limit: 1,
|
|
5
|
-
* lastDoc: "last_doc"
|
|
5
|
+
* lastDoc: "last_doc",
|
|
6
|
+
* agentId: "agent_id"
|
|
6
7
|
* }
|
|
7
8
|
*/
|
|
8
9
|
export interface BatchCallsListRequest {
|
|
9
10
|
limit?: number;
|
|
10
11
|
lastDoc?: string;
|
|
12
|
+
/** Filter batch calls to a single agent. */
|
|
13
|
+
agentId?: string;
|
|
11
14
|
}
|
|
@@ -7,6 +7,7 @@ import { AudioClient } from "../resources/audio/client/Client";
|
|
|
7
7
|
import { FeedbackClient } from "../resources/feedback/client/Client";
|
|
8
8
|
import { FilesClient } from "../resources/files/client/Client";
|
|
9
9
|
import { MessagesClient } from "../resources/messages/client/Client";
|
|
10
|
+
import { TagsClient } from "../resources/tags/client/Client";
|
|
10
11
|
import { TopicsClient } from "../resources/topics/client/Client";
|
|
11
12
|
export declare namespace ConversationsClient {
|
|
12
13
|
type Options = BaseClientOptions;
|
|
@@ -18,6 +19,7 @@ export declare class ConversationsClient {
|
|
|
18
19
|
protected _audio: AudioClient | undefined;
|
|
19
20
|
protected _feedback: FeedbackClient | undefined;
|
|
20
21
|
protected _messages: MessagesClient | undefined;
|
|
22
|
+
protected _tags: TagsClient | undefined;
|
|
21
23
|
protected _files: FilesClient | undefined;
|
|
22
24
|
protected _topics: TopicsClient | undefined;
|
|
23
25
|
protected _analysis: AnalysisClient | undefined;
|
|
@@ -25,6 +27,7 @@ export declare class ConversationsClient {
|
|
|
25
27
|
get audio(): AudioClient;
|
|
26
28
|
get feedback(): FeedbackClient;
|
|
27
29
|
get messages(): MessagesClient;
|
|
30
|
+
get tags(): TagsClient;
|
|
28
31
|
get files(): FilesClient;
|
|
29
32
|
get topics(): TopicsClient;
|
|
30
33
|
get analysis(): AnalysisClient;
|
|
@@ -38,7 +41,7 @@ export declare class ConversationsClient {
|
|
|
38
41
|
*
|
|
39
42
|
* @example
|
|
40
43
|
* await client.conversationalAi.conversations.getSignedUrl({
|
|
41
|
-
* agentId: "
|
|
44
|
+
* agentId: "agent_3701k3ttaq12ewp8b7qv5rfyszkz",
|
|
42
45
|
* includeConversationId: true,
|
|
43
46
|
* branchId: "branch_id",
|
|
44
47
|
* environment: "environment"
|
|
@@ -56,7 +59,7 @@ export declare class ConversationsClient {
|
|
|
56
59
|
*
|
|
57
60
|
* @example
|
|
58
61
|
* await client.conversationalAi.conversations.getWebrtcToken({
|
|
59
|
-
* agentId: "
|
|
62
|
+
* agentId: "agent_3701k3ttaq12ewp8b7qv5rfyszkz",
|
|
60
63
|
* participantName: "participant_name",
|
|
61
64
|
* branchId: "branch_id",
|
|
62
65
|
* environment: "environment"
|
|
@@ -85,11 +88,20 @@ export declare class ConversationsClient {
|
|
|
85
88
|
* ratingMin: 1,
|
|
86
89
|
* hasFeedbackComment: true,
|
|
87
90
|
* userId: "user_id",
|
|
91
|
+
* evaluationParams: ["evaluation_params"],
|
|
92
|
+
* dataCollectionParams: ["data_collection_params"],
|
|
93
|
+
* toolNames: ["tool_names"],
|
|
94
|
+
* toolNamesSuccessful: ["tool_names_successful"],
|
|
95
|
+
* toolNamesErrored: ["tool_names_errored"],
|
|
96
|
+
* mainLanguages: ["main_languages"],
|
|
88
97
|
* pageSize: 1,
|
|
89
98
|
* summaryMode: "exclude",
|
|
90
99
|
* search: "search",
|
|
91
100
|
* conversationInitiationSource: "unknown",
|
|
92
|
-
* branchId: "branch_id"
|
|
101
|
+
* branchId: "branch_id",
|
|
102
|
+
* topicIds: ["topic_ids"],
|
|
103
|
+
* excludeStatuses: ["initiated"],
|
|
104
|
+
* tagIds: ["tag_ids"]
|
|
93
105
|
* })
|
|
94
106
|
*/
|
|
95
107
|
list(request?: ElevenLabs.conversationalAi.ConversationsListRequest, requestOptions?: ConversationsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetConversationsPageResponseModel>;
|
|
@@ -120,4 +132,21 @@ export declare class ConversationsClient {
|
|
|
120
132
|
*/
|
|
121
133
|
delete(conversation_id: string, requestOptions?: ConversationsClient.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
122
134
|
private __delete;
|
|
135
|
+
/**
|
|
136
|
+
* Get SIP messages associated with a conversation's phone call
|
|
137
|
+
*
|
|
138
|
+
* @param {string} conversation_id - The id of the conversation you're taking the action on.
|
|
139
|
+
* @param {ElevenLabs.conversationalAi.ConversationsGetSipMessagesRequest} request
|
|
140
|
+
* @param {ConversationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
141
|
+
*
|
|
142
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* await client.conversationalAi.conversations.getSipMessages("21m00Tcm4TlvDq8ikWAM", {
|
|
146
|
+
* pageSize: 1,
|
|
147
|
+
* cursor: "cursor"
|
|
148
|
+
* })
|
|
149
|
+
*/
|
|
150
|
+
getSipMessages(conversation_id: string, request?: ElevenLabs.conversationalAi.ConversationsGetSipMessagesRequest, requestOptions?: ConversationsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetSipLogMessagesResponse>;
|
|
151
|
+
private __getSipMessages;
|
|
123
152
|
}
|
|
@@ -57,7 +57,8 @@ const Client_2 = require("../resources/audio/client/Client");
|
|
|
57
57
|
const Client_3 = require("../resources/feedback/client/Client");
|
|
58
58
|
const Client_4 = require("../resources/files/client/Client");
|
|
59
59
|
const Client_5 = require("../resources/messages/client/Client");
|
|
60
|
-
const Client_6 = require("../resources/
|
|
60
|
+
const Client_6 = require("../resources/tags/client/Client");
|
|
61
|
+
const Client_7 = require("../resources/topics/client/Client");
|
|
61
62
|
class ConversationsClient {
|
|
62
63
|
constructor(options = {}) {
|
|
63
64
|
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
@@ -74,13 +75,17 @@ class ConversationsClient {
|
|
|
74
75
|
var _a;
|
|
75
76
|
return ((_a = this._messages) !== null && _a !== void 0 ? _a : (this._messages = new Client_5.MessagesClient(this._options)));
|
|
76
77
|
}
|
|
78
|
+
get tags() {
|
|
79
|
+
var _a;
|
|
80
|
+
return ((_a = this._tags) !== null && _a !== void 0 ? _a : (this._tags = new Client_6.TagsClient(this._options)));
|
|
81
|
+
}
|
|
77
82
|
get files() {
|
|
78
83
|
var _a;
|
|
79
84
|
return ((_a = this._files) !== null && _a !== void 0 ? _a : (this._files = new Client_4.FilesClient(this._options)));
|
|
80
85
|
}
|
|
81
86
|
get topics() {
|
|
82
87
|
var _a;
|
|
83
|
-
return ((_a = this._topics) !== null && _a !== void 0 ? _a : (this._topics = new
|
|
88
|
+
return ((_a = this._topics) !== null && _a !== void 0 ? _a : (this._topics = new Client_7.TopicsClient(this._options)));
|
|
84
89
|
}
|
|
85
90
|
get analysis() {
|
|
86
91
|
var _a;
|
|
@@ -96,7 +101,7 @@ class ConversationsClient {
|
|
|
96
101
|
*
|
|
97
102
|
* @example
|
|
98
103
|
* await client.conversationalAi.conversations.getSignedUrl({
|
|
99
|
-
* agentId: "
|
|
104
|
+
* agentId: "agent_3701k3ttaq12ewp8b7qv5rfyszkz",
|
|
100
105
|
* includeConversationId: true,
|
|
101
106
|
* branchId: "branch_id",
|
|
102
107
|
* environment: "environment"
|
|
@@ -168,7 +173,7 @@ class ConversationsClient {
|
|
|
168
173
|
*
|
|
169
174
|
* @example
|
|
170
175
|
* await client.conversationalAi.conversations.getWebrtcToken({
|
|
171
|
-
* agentId: "
|
|
176
|
+
* agentId: "agent_3701k3ttaq12ewp8b7qv5rfyszkz",
|
|
172
177
|
* participantName: "participant_name",
|
|
173
178
|
* branchId: "branch_id",
|
|
174
179
|
* environment: "environment"
|
|
@@ -251,11 +256,20 @@ class ConversationsClient {
|
|
|
251
256
|
* ratingMin: 1,
|
|
252
257
|
* hasFeedbackComment: true,
|
|
253
258
|
* userId: "user_id",
|
|
259
|
+
* evaluationParams: ["evaluation_params"],
|
|
260
|
+
* dataCollectionParams: ["data_collection_params"],
|
|
261
|
+
* toolNames: ["tool_names"],
|
|
262
|
+
* toolNamesSuccessful: ["tool_names_successful"],
|
|
263
|
+
* toolNamesErrored: ["tool_names_errored"],
|
|
264
|
+
* mainLanguages: ["main_languages"],
|
|
254
265
|
* pageSize: 1,
|
|
255
266
|
* summaryMode: "exclude",
|
|
256
267
|
* search: "search",
|
|
257
268
|
* conversationInitiationSource: "unknown",
|
|
258
|
-
* branchId: "branch_id"
|
|
269
|
+
* branchId: "branch_id",
|
|
270
|
+
* topicIds: ["topic_ids"],
|
|
271
|
+
* excludeStatuses: ["initiated"],
|
|
272
|
+
* tagIds: ["tag_ids"]
|
|
259
273
|
* })
|
|
260
274
|
*/
|
|
261
275
|
list(request = {}, requestOptions) {
|
|
@@ -264,7 +278,7 @@ class ConversationsClient {
|
|
|
264
278
|
__list() {
|
|
265
279
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
266
280
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
267
|
-
const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, toolNamesSuccessful, toolNamesErrored, mainLanguages, pageSize, summaryMode, search, conversationInitiationSource, branchId, topicIds, } = request;
|
|
281
|
+
const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, toolNamesSuccessful, toolNamesErrored, mainLanguages, pageSize, summaryMode, search, conversationInitiationSource, branchId, topicIds, excludeStatuses, tagIds, } = request;
|
|
268
282
|
const _queryParams = {};
|
|
269
283
|
if (cursor != null) {
|
|
270
284
|
_queryParams.cursor = cursor;
|
|
@@ -372,6 +386,25 @@ class ConversationsClient {
|
|
|
372
386
|
_queryParams.topic_ids = topicIds;
|
|
373
387
|
}
|
|
374
388
|
}
|
|
389
|
+
if (excludeStatuses != null) {
|
|
390
|
+
if (Array.isArray(excludeStatuses)) {
|
|
391
|
+
_queryParams.exclude_statuses = excludeStatuses.map((item) => serializers.conversationalAi.ConversationsListRequestExcludeStatusesItem.jsonOrThrow(item, {
|
|
392
|
+
unrecognizedObjectKeys: "strip",
|
|
393
|
+
}));
|
|
394
|
+
}
|
|
395
|
+
else {
|
|
396
|
+
_queryParams.exclude_statuses =
|
|
397
|
+
serializers.conversationalAi.ConversationsListRequestExcludeStatusesItem.jsonOrThrow(excludeStatuses, { unrecognizedObjectKeys: "strip" });
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
if (tagIds != null) {
|
|
401
|
+
if (Array.isArray(tagIds)) {
|
|
402
|
+
_queryParams.tag_ids = tagIds.map((item) => item);
|
|
403
|
+
}
|
|
404
|
+
else {
|
|
405
|
+
_queryParams.tag_ids = tagIds;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
375
408
|
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);
|
|
376
409
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
377
410
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/conversations"),
|
|
@@ -512,5 +545,72 @@ class ConversationsClient {
|
|
|
512
545
|
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/convai/conversations/{conversation_id}");
|
|
513
546
|
});
|
|
514
547
|
}
|
|
548
|
+
/**
|
|
549
|
+
* Get SIP messages associated with a conversation's phone call
|
|
550
|
+
*
|
|
551
|
+
* @param {string} conversation_id - The id of the conversation you're taking the action on.
|
|
552
|
+
* @param {ElevenLabs.conversationalAi.ConversationsGetSipMessagesRequest} request
|
|
553
|
+
* @param {ConversationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
554
|
+
*
|
|
555
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
556
|
+
*
|
|
557
|
+
* @example
|
|
558
|
+
* await client.conversationalAi.conversations.getSipMessages("21m00Tcm4TlvDq8ikWAM", {
|
|
559
|
+
* pageSize: 1,
|
|
560
|
+
* cursor: "cursor"
|
|
561
|
+
* })
|
|
562
|
+
*/
|
|
563
|
+
getSipMessages(conversation_id, request = {}, requestOptions) {
|
|
564
|
+
return core.HttpResponsePromise.fromPromise(this.__getSipMessages(conversation_id, request, requestOptions));
|
|
565
|
+
}
|
|
566
|
+
__getSipMessages(conversation_id_1) {
|
|
567
|
+
return __awaiter(this, arguments, void 0, function* (conversation_id, request = {}, requestOptions) {
|
|
568
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
569
|
+
const { pageSize, cursor } = request;
|
|
570
|
+
const _queryParams = {};
|
|
571
|
+
if (pageSize != null) {
|
|
572
|
+
_queryParams.page_size = pageSize.toString();
|
|
573
|
+
}
|
|
574
|
+
if (cursor != null) {
|
|
575
|
+
_queryParams.cursor = cursor;
|
|
576
|
+
}
|
|
577
|
+
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);
|
|
578
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
579
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/conversations/${core.url.encodePathParam(conversation_id)}/sip-messages`),
|
|
580
|
+
method: "GET",
|
|
581
|
+
headers: _headers,
|
|
582
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
583
|
+
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,
|
|
584
|
+
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,
|
|
585
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
586
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
587
|
+
logging: this._options.logging,
|
|
588
|
+
});
|
|
589
|
+
if (_response.ok) {
|
|
590
|
+
return {
|
|
591
|
+
data: serializers.GetSipLogMessagesResponse.parseOrThrow(_response.body, {
|
|
592
|
+
unrecognizedObjectKeys: "passthrough",
|
|
593
|
+
allowUnrecognizedUnionMembers: true,
|
|
594
|
+
allowUnrecognizedEnumValues: true,
|
|
595
|
+
breadcrumbsPrefix: ["response"],
|
|
596
|
+
}),
|
|
597
|
+
rawResponse: _response.rawResponse,
|
|
598
|
+
};
|
|
599
|
+
}
|
|
600
|
+
if (_response.error.reason === "status-code") {
|
|
601
|
+
switch (_response.error.statusCode) {
|
|
602
|
+
case 422:
|
|
603
|
+
throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
604
|
+
default:
|
|
605
|
+
throw new errors.ElevenLabsError({
|
|
606
|
+
statusCode: _response.error.statusCode,
|
|
607
|
+
body: _response.error.body,
|
|
608
|
+
rawResponse: _response.rawResponse,
|
|
609
|
+
});
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/conversations/{conversation_id}/sip-messages");
|
|
613
|
+
});
|
|
614
|
+
}
|
|
515
615
|
}
|
|
516
616
|
exports.ConversationsClient = ConversationsClient;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
|
-
* agentId: "
|
|
4
|
+
* agentId: "agent_3701k3ttaq12ewp8b7qv5rfyszkz",
|
|
5
5
|
* includeConversationId: true,
|
|
6
6
|
* branchId: "branch_id",
|
|
7
7
|
* environment: "environment"
|
|
8
8
|
* }
|
|
9
9
|
*/
|
|
10
10
|
export interface ConversationsGetSignedUrlRequest {
|
|
11
|
-
/**
|
|
11
|
+
/** Agent id (agent_…) or speech engine external id (seng_), resolved to the same underlying resource. */
|
|
12
12
|
agentId: string;
|
|
13
13
|
/** Whether to include a conversation_id with the response. If included, the conversation_signature cannot be used again. */
|
|
14
14
|
includeConversationId?: boolean;
|