@elevenlabs/elevenlabs-js 2.47.0 → 2.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.fern/metadata.json +1 -1
- package/.fern/replay.lock +10 -0
- package/.gitattributes +1 -0
- package/BaseClient.js +2 -2
- package/Client.d.ts +3 -0
- package/Client.js +39 -34
- package/api/resources/conversationalAi/conversation/Conversation.js +1 -0
- package/api/resources/conversationalAi/conversation/ConversationConfig.d.ts +2 -0
- package/api/resources/conversationalAi/conversation/events.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.js +7 -2
- package/api/resources/conversationalAi/resources/agents/resources/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/index.js +2 -1
- package/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.d.ts +27 -0
- package/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +116 -0
- package/api/resources/conversationalAi/resources/agents/resources/versions/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/versions/client/index.js +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/versions/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/versions/index.js +17 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +18 -6
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetRequest.d.ts +9 -0
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +5 -1
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/types/ConversationsGetRequestFormat.d.ts +6 -0
- package/api/resources/conversationalAi/resources/conversations/types/ConversationsGetRequestFormat.js +9 -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/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/music/client/Client.js +3 -0
- package/api/resources/music/client/requests/BodyVideoToMusicV1MusicVideoToMusicPost.d.ts +2 -0
- package/api/resources/productions/client/Client.d.ts +12 -0
- package/api/resources/productions/client/Client.js +16 -0
- package/api/resources/productions/client/index.d.ts +1 -0
- package/api/resources/productions/client/index.js +2 -0
- package/api/resources/productions/index.d.ts +2 -0
- package/api/resources/productions/index.js +18 -0
- package/api/resources/productions/resources/index.d.ts +2 -0
- package/api/resources/productions/resources/index.js +41 -0
- package/api/resources/productions/resources/orders/client/Client.d.ts +104 -0
- package/api/resources/productions/resources/orders/client/Client.js +398 -0
- package/api/resources/productions/resources/orders/client/index.d.ts +1 -0
- package/api/resources/productions/resources/orders/client/index.js +17 -0
- package/api/resources/productions/resources/orders/client/requests/BodyUpdateOrderV1ProductionsOrdersOrderIdPatch.d.ts +12 -0
- package/api/resources/productions/resources/orders/client/requests/OrdersListRequest.d.ts +23 -0
- package/api/resources/productions/resources/orders/client/requests/index.d.ts +2 -0
- package/api/resources/productions/resources/orders/client/requests/index.js +2 -0
- package/api/resources/productions/resources/orders/index.d.ts +2 -0
- package/api/resources/productions/resources/orders/index.js +18 -0
- package/api/resources/productions/resources/orders/resources/deliverables/client/Client.d.ts +26 -0
- package/api/resources/productions/resources/orders/resources/deliverables/client/Client.js +115 -0
- package/api/resources/productions/resources/orders/resources/deliverables/client/index.d.ts +1 -0
- package/api/resources/productions/resources/orders/resources/deliverables/client/index.js +2 -0
- package/api/resources/productions/resources/orders/resources/deliverables/index.d.ts +1 -0
- package/api/resources/productions/resources/orders/resources/deliverables/index.js +17 -0
- package/api/resources/productions/resources/orders/resources/index.d.ts +6 -0
- package/api/resources/productions/resources/orders/resources/index.js +45 -0
- package/api/resources/productions/resources/orders/resources/items/client/Client.d.ts +54 -0
- package/api/resources/productions/resources/orders/resources/items/client/Client.js +188 -0
- package/api/resources/productions/resources/orders/resources/items/client/index.d.ts +1 -0
- package/api/resources/productions/resources/orders/resources/items/client/index.js +17 -0
- package/api/resources/productions/resources/orders/resources/items/client/requests/BodyUpsertOrderItemV1ProductionsOrdersOrderIdItemsPost.d.ts +21 -0
- package/api/resources/productions/resources/orders/resources/items/client/requests/index.d.ts +1 -0
- package/api/resources/productions/resources/orders/resources/items/client/requests/index.js +2 -0
- package/api/resources/productions/resources/orders/resources/items/index.d.ts +1 -0
- package/api/resources/productions/resources/orders/resources/items/index.js +17 -0
- package/api/resources/productions/resources/orders/resources/languages/client/Client.d.ts +26 -0
- package/api/resources/productions/resources/orders/resources/languages/client/Client.js +115 -0
- package/api/resources/productions/resources/orders/resources/languages/client/index.d.ts +1 -0
- package/api/resources/productions/resources/orders/resources/languages/client/index.js +2 -0
- package/api/resources/productions/resources/orders/resources/languages/index.d.ts +1 -0
- package/api/resources/productions/resources/orders/resources/languages/index.js +17 -0
- package/api/resources/productions/resources/orders/resources/media/client/Client.d.ts +44 -0
- package/api/resources/productions/resources/orders/resources/media/client/Client.js +193 -0
- package/api/resources/productions/resources/orders/resources/media/client/index.d.ts +1 -0
- package/api/resources/productions/resources/orders/resources/media/client/index.js +17 -0
- package/api/resources/productions/resources/orders/resources/media/client/requests/BodyRegisterMediaV1ProductionsOrdersOrderIdMediaPost.d.ts +19 -0
- package/api/resources/productions/resources/orders/resources/media/client/requests/index.d.ts +1 -0
- package/api/resources/productions/resources/orders/resources/media/client/requests/index.js +2 -0
- package/api/resources/productions/resources/orders/resources/media/index.d.ts +1 -0
- package/api/resources/productions/resources/orders/resources/media/index.js +17 -0
- package/api/resources/speechEngine/client/Client.d.ts +1 -1
- package/api/resources/speechEngine/client/Client.js +1 -1
- package/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +2 -0
- package/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +1 -0
- package/api/resources/usage/client/Client.d.ts +1 -1
- package/api/resources/usage/client/Client.js +1 -1
- package/api/resources/v1RealtimeTranslation/index.d.ts +1 -0
- package/api/resources/v1RealtimeTranslation/index.js +17 -0
- package/api/resources/v1RealtimeTranslation/types/ReceiveRttMessage.d.ts +5 -0
- package/api/resources/v1RealtimeTranslation/types/SendRttMessage.d.ts +5 -0
- package/api/resources/v1RealtimeTranslation/types/SendRttMessage.js +3 -0
- package/api/resources/v1RealtimeTranslation/types/index.d.ts +2 -0
- package/api/resources/v1RealtimeTranslation/types/index.js +18 -0
- package/api/resources/voices/client/Client.d.ts +0 -3
- package/api/resources/voices/client/Client.js +0 -3
- package/api/resources/workspace/resources/authConnections/client/Client.d.ts +16 -0
- package/api/resources/workspace/resources/authConnections/client/Client.js +63 -0
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +4 -1
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +16 -0
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +3 -0
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +40 -0
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +3 -0
- package/api/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
- package/api/resources/workspace/resources/authConnections/types/index.js +2 -0
- package/api/resources/workspace/resources/usage/client/requests/BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePost.d.ts +1 -0
- package/api/types/AgentAlertingMonitorConfig.d.ts +2 -0
- package/api/types/AgentAlertingSettings.d.ts +4 -0
- package/api/types/AgentAlertingWebhookNotifier.d.ts +7 -0
- package/api/types/AgentAlertingWebhookNotifier.js +3 -0
- package/api/types/AsrConversationalConfigOverride.d.ts +4 -0
- package/api/types/AsrConversationalConfigOverride.js +3 -0
- package/api/types/AsrConversationalConfigOverrideConfig.d.ts +4 -0
- package/api/types/AsrConversationalConfigOverrideConfig.js +3 -0
- package/api/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
- package/api/types/ChapterStatisticsResponse.d.ts +2 -0
- package/api/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
- package/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
- package/api/types/ConversationConfigClientOverrideInput.d.ts +2 -0
- package/api/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
- package/api/types/ConversationInitiationSource.d.ts +1 -0
- package/api/types/ConversationInitiationSource.js +1 -0
- package/api/types/CreateBearerAuthRequest.d.ts +8 -0
- package/api/types/CreateBearerAuthRequest.js +3 -0
- package/api/types/CreateOrderResponse.d.ts +5 -0
- package/api/types/CreateOrderResponse.js +3 -0
- package/api/types/CueOptionsRequest.d.ts +14 -0
- package/api/types/CueOptionsRequest.js +3 -0
- package/api/types/DeliverableInfo.d.ts +10 -0
- package/api/types/DeliverableInfo.js +3 -0
- package/api/types/DubOrderItemRequest.d.ts +17 -0
- package/api/types/DubOrderItemRequest.js +3 -0
- package/api/types/GetConversationResponseModel.d.ts +2 -0
- package/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/api/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/api/types/InboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/api/types/ItemId.d.ts +1 -0
- package/api/types/ItemId.js +3 -0
- package/api/types/LanguageInfo.d.ts +6 -0
- package/api/types/LanguageInfo.js +3 -0
- package/api/types/LanguagePairInfo.d.ts +7 -0
- package/api/types/LanguagePairInfo.js +3 -0
- package/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
- package/api/types/ListCustomerFacingAgentsParams.d.ts +11 -0
- package/api/types/ListCustomerFacingAgentsParams.js +3 -0
- package/api/types/ListOrdersResponse.d.ts +5 -0
- package/api/types/ListOrdersResponse.js +3 -0
- package/api/types/ListSpeechEnginesResponse.d.ts +1 -0
- package/api/types/Llm.d.ts +2 -0
- package/api/types/Llm.js +2 -0
- package/api/types/LoadProcedureToolConfig.d.ts +4 -0
- package/api/types/LoadProcedureToolConfig.js +3 -0
- package/api/types/LoadProcedureToolErrorStatus.d.ts +5 -0
- package/api/types/LoadProcedureToolErrorStatus.js +8 -0
- package/api/types/MediaId.d.ts +1 -0
- package/api/types/MediaId.js +3 -0
- package/api/types/OAuth2ClientCredsResponse.d.ts +2 -0
- package/api/types/OrderDeliverablesResponse.d.ts +5 -0
- package/api/types/OrderDeliverablesResponse.js +3 -0
- package/api/types/OrderId.d.ts +1 -0
- package/api/types/OrderId.js +3 -0
- package/api/types/OrderItemInfo.d.ts +9 -0
- package/api/types/OrderItemInfo.js +3 -0
- package/api/types/OrderItemKind.d.ts +5 -0
- package/api/types/OrderItemKind.js +8 -0
- package/api/types/OrderMediaResponse.d.ts +13 -0
- package/api/types/OrderMediaResponse.js +3 -0
- package/api/types/OrderRequestState.d.ts +9 -0
- package/api/types/OrderRequestState.js +12 -0
- package/api/types/OrderResponse.d.ts +23 -0
- package/api/types/OrderResponse.js +3 -0
- package/api/types/OrderState.d.ts +9 -0
- package/api/types/OrderState.js +12 -0
- package/api/types/OrderSummary.d.ts +15 -0
- package/api/types/OrderSummary.js +3 -0
- package/api/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/api/types/PairedLanguagesResponse.d.ts +5 -0
- package/api/types/PairedLanguagesResponse.js +3 -0
- package/api/types/ProcedureAtVersion.d.ts +12 -0
- package/api/types/ProcedureAtVersion.js +3 -0
- package/api/types/ProcedureCompilerMode.d.ts +5 -1
- package/api/types/ProcedureCompilerMode.js +5 -0
- 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/QuoteInfo.d.ts +4 -0
- package/api/types/QuoteInfo.js +3 -0
- package/api/types/RegisterMediaResponse.d.ts +5 -0
- package/api/types/RegisterMediaResponse.js +3 -0
- package/api/types/RemoveOrderItemResponse.d.ts +4 -0
- package/api/types/RemoveOrderItemResponse.js +3 -0
- package/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +10 -0
- package/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js +3 -0
- package/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +10 -0
- package/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js +3 -0
- package/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +10 -0
- package/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js +3 -0
- package/api/types/RttAudioPayload.d.ts +11 -0
- package/api/types/RttAudioPayload.js +3 -0
- package/api/types/RttEndOfStreamPayload.d.ts +7 -0
- package/api/types/RttEndOfStreamPayload.js +3 -0
- package/api/types/RttErrorPayload.d.ts +9 -0
- package/api/types/RttErrorPayload.js +3 -0
- package/api/types/RttFinalTranscriptPayload.d.ts +9 -0
- package/api/types/RttFinalTranscriptPayload.js +3 -0
- package/api/types/RttInputAudioChunkPayload.d.ts +9 -0
- package/api/types/RttInputAudioChunkPayload.js +3 -0
- package/api/types/RttInputFormatEnum.d.ts +11 -0
- package/api/types/RttInputFormatEnum.js +14 -0
- package/api/types/RttOutputFormatEnum.d.ts +15 -0
- package/api/types/RttOutputFormatEnum.js +18 -0
- package/api/types/RttPartialTranscriptPayload.d.ts +9 -0
- package/api/types/RttPartialTranscriptPayload.js +3 -0
- package/api/types/RttSessionStartedPayload.d.ts +11 -0
- package/api/types/RttSessionStartedPayload.js +3 -0
- package/api/types/RttStatusPayload.d.ts +9 -0
- package/api/types/RttStatusPayload.js +3 -0
- package/api/types/RttTranslationPayload.d.ts +9 -0
- package/api/types/RttTranslationPayload.js +3 -0
- package/api/types/SingleLanguagesResponse.d.ts +5 -0
- package/api/types/SingleLanguagesResponse.js +3 -0
- package/api/types/SlackBotAuthResponse.d.ts +10 -0
- package/api/types/SlackBotAuthResponse.js +3 -0
- package/api/types/SpeechEngineConversationInitiationClientDataConfig.d.ts +4 -0
- package/api/types/SpeechEngineConversationInitiationClientDataConfig.js +3 -0
- package/api/types/SpeechEngineResponse.d.ts +13 -0
- package/api/types/SpeechEngineSummaryResponse.d.ts +3 -1
- package/api/types/SubmitOrderResponse.d.ts +9 -0
- package/api/types/SubmitOrderResponse.js +3 -0
- package/api/types/SubtitleOrderItemRequest.d.ts +15 -0
- package/api/types/SubtitleOrderItemRequest.js +3 -0
- package/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/api/types/UpdateBasicAuthRequest.d.ts +5 -0
- package/api/types/UpdateBasicAuthRequest.js +3 -0
- package/api/types/UpdateOAuth2ClientCredsRequest.d.ts +9 -0
- package/api/types/UpdateOAuth2ClientCredsRequest.js +3 -0
- package/api/types/UpdateOAuth2JwtRequest.d.ts +14 -0
- package/api/types/UpdateOAuth2JwtRequest.js +3 -0
- package/api/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +9 -0
- package/api/types/UpdateOAuth2JwtRequestAlgorithm.js +12 -0
- package/api/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +5 -0
- package/api/types/UpdateOAuth2JwtRequestTokenResponseField.js +8 -0
- package/api/types/UpdateOrderRequest.d.ts +4 -0
- package/api/types/UpdateOrderRequest.js +3 -0
- package/api/types/UpdateOrderResponse.d.ts +4 -0
- package/api/types/UpdateOrderResponse.js +3 -0
- package/api/types/UpsertOrderItemRequest.d.ts +7 -0
- package/api/types/UpsertOrderItemRequest.js +3 -0
- package/api/types/UpsertOrderItemResponse.d.ts +7 -0
- package/api/types/UpsertOrderItemResponse.js +3 -0
- package/api/types/VoiceStatisticsResponseModel.d.ts +2 -0
- package/api/types/WorkspaceResourceType.d.ts +3 -0
- package/api/types/WorkspaceResourceType.js +3 -0
- package/api/types/index.d.ts +58 -3
- package/api/types/index.js +58 -3
- package/dist/BaseClient.js +2 -2
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +39 -34
- package/dist/api/resources/conversationalAi/conversation/Conversation.js +1 -0
- package/dist/api/resources/conversationalAi/conversation/ConversationConfig.d.ts +2 -0
- package/dist/api/resources/conversationalAi/conversation/events.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +7 -2
- package/dist/api/resources/conversationalAi/resources/agents/resources/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/index.js +2 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.d.ts +27 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +116 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +18 -6
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetRequest.d.ts +9 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +5 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsGetRequestFormat.d.ts +6 -0
- package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsGetRequestFormat.js +9 -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/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/music/client/Client.js +3 -0
- package/dist/api/resources/music/client/requests/BodyVideoToMusicV1MusicVideoToMusicPost.d.ts +2 -0
- package/dist/api/resources/productions/client/Client.d.ts +12 -0
- package/dist/api/resources/productions/client/Client.js +16 -0
- package/dist/api/resources/productions/client/index.d.ts +1 -0
- package/dist/api/resources/productions/client/index.js +2 -0
- package/dist/api/resources/productions/index.d.ts +2 -0
- package/dist/api/resources/productions/index.js +18 -0
- package/dist/api/resources/productions/resources/index.d.ts +2 -0
- package/dist/api/resources/productions/resources/index.js +41 -0
- package/dist/api/resources/productions/resources/orders/client/Client.d.ts +104 -0
- package/dist/api/resources/productions/resources/orders/client/Client.js +398 -0
- package/dist/api/resources/productions/resources/orders/client/index.d.ts +1 -0
- package/dist/api/resources/productions/resources/orders/client/index.js +17 -0
- package/dist/api/resources/productions/resources/orders/client/requests/BodyUpdateOrderV1ProductionsOrdersOrderIdPatch.d.ts +12 -0
- package/dist/api/resources/productions/resources/orders/client/requests/BodyUpdateOrderV1ProductionsOrdersOrderIdPatch.js +3 -0
- package/dist/api/resources/productions/resources/orders/client/requests/OrdersListRequest.d.ts +23 -0
- package/dist/api/resources/productions/resources/orders/client/requests/OrdersListRequest.js +3 -0
- package/dist/api/resources/productions/resources/orders/client/requests/index.d.ts +2 -0
- package/dist/api/resources/productions/resources/orders/client/requests/index.js +2 -0
- package/dist/api/resources/productions/resources/orders/index.d.ts +2 -0
- package/dist/api/resources/productions/resources/orders/index.js +18 -0
- package/dist/api/resources/productions/resources/orders/resources/deliverables/client/Client.d.ts +26 -0
- package/dist/api/resources/productions/resources/orders/resources/deliverables/client/Client.js +115 -0
- package/dist/api/resources/productions/resources/orders/resources/deliverables/client/index.d.ts +1 -0
- package/dist/api/resources/productions/resources/orders/resources/deliverables/client/index.js +2 -0
- package/dist/api/resources/productions/resources/orders/resources/deliverables/index.d.ts +1 -0
- package/dist/api/resources/productions/resources/orders/resources/deliverables/index.js +17 -0
- package/dist/api/resources/productions/resources/orders/resources/index.d.ts +6 -0
- package/dist/api/resources/productions/resources/orders/resources/index.js +45 -0
- package/dist/api/resources/productions/resources/orders/resources/items/client/Client.d.ts +54 -0
- package/dist/api/resources/productions/resources/orders/resources/items/client/Client.js +188 -0
- package/dist/api/resources/productions/resources/orders/resources/items/client/index.d.ts +1 -0
- package/dist/api/resources/productions/resources/orders/resources/items/client/index.js +17 -0
- package/dist/api/resources/productions/resources/orders/resources/items/client/requests/BodyUpsertOrderItemV1ProductionsOrdersOrderIdItemsPost.d.ts +21 -0
- package/dist/api/resources/productions/resources/orders/resources/items/client/requests/BodyUpsertOrderItemV1ProductionsOrdersOrderIdItemsPost.js +3 -0
- package/dist/api/resources/productions/resources/orders/resources/items/client/requests/index.d.ts +1 -0
- package/dist/api/resources/productions/resources/orders/resources/items/client/requests/index.js +2 -0
- package/dist/api/resources/productions/resources/orders/resources/items/index.d.ts +1 -0
- package/dist/api/resources/productions/resources/orders/resources/items/index.js +17 -0
- package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.d.ts +26 -0
- package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.js +115 -0
- package/dist/api/resources/productions/resources/orders/resources/languages/client/index.d.ts +1 -0
- package/dist/api/resources/productions/resources/orders/resources/languages/client/index.js +2 -0
- package/dist/api/resources/productions/resources/orders/resources/languages/index.d.ts +1 -0
- package/dist/api/resources/productions/resources/orders/resources/languages/index.js +17 -0
- package/dist/api/resources/productions/resources/orders/resources/media/client/Client.d.ts +44 -0
- package/dist/api/resources/productions/resources/orders/resources/media/client/Client.js +193 -0
- package/dist/api/resources/productions/resources/orders/resources/media/client/index.d.ts +1 -0
- package/dist/api/resources/productions/resources/orders/resources/media/client/index.js +17 -0
- package/dist/api/resources/productions/resources/orders/resources/media/client/requests/BodyRegisterMediaV1ProductionsOrdersOrderIdMediaPost.d.ts +19 -0
- package/dist/api/resources/productions/resources/orders/resources/media/client/requests/BodyRegisterMediaV1ProductionsOrdersOrderIdMediaPost.js +3 -0
- package/dist/api/resources/productions/resources/orders/resources/media/client/requests/index.d.ts +1 -0
- package/dist/api/resources/productions/resources/orders/resources/media/client/requests/index.js +2 -0
- package/dist/api/resources/productions/resources/orders/resources/media/index.d.ts +1 -0
- package/dist/api/resources/productions/resources/orders/resources/media/index.js +17 -0
- package/dist/api/resources/speechEngine/client/Client.d.ts +1 -1
- package/dist/api/resources/speechEngine/client/Client.js +1 -1
- package/dist/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +2 -0
- package/dist/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +1 -0
- package/dist/api/resources/usage/client/Client.d.ts +1 -1
- package/dist/api/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/v1RealtimeTranslation/index.d.ts +1 -0
- package/dist/api/resources/v1RealtimeTranslation/index.js +17 -0
- package/dist/api/resources/v1RealtimeTranslation/types/ReceiveRttMessage.d.ts +5 -0
- package/dist/api/resources/v1RealtimeTranslation/types/ReceiveRttMessage.js +3 -0
- package/dist/api/resources/v1RealtimeTranslation/types/SendRttMessage.d.ts +5 -0
- package/dist/api/resources/v1RealtimeTranslation/types/SendRttMessage.js +3 -0
- package/dist/api/resources/v1RealtimeTranslation/types/index.d.ts +2 -0
- package/dist/api/resources/v1RealtimeTranslation/types/index.js +18 -0
- package/dist/api/resources/voices/client/Client.d.ts +0 -3
- package/dist/api/resources/voices/client/Client.js +0 -3
- package/dist/api/resources/workspace/resources/authConnections/client/Client.d.ts +16 -0
- package/dist/api/resources/workspace/resources/authConnections/client/Client.js +63 -0
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +4 -1
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +16 -0
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +3 -0
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +40 -0
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +3 -0
- package/dist/api/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
- package/dist/api/resources/workspace/resources/authConnections/types/index.js +2 -0
- package/dist/api/resources/workspace/resources/usage/client/requests/BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePost.d.ts +1 -0
- package/dist/api/types/AgentAlertingMonitorConfig.d.ts +2 -0
- package/dist/api/types/AgentAlertingSettings.d.ts +4 -0
- package/dist/api/types/AgentAlertingWebhookNotifier.d.ts +7 -0
- package/dist/api/types/AgentAlertingWebhookNotifier.js +3 -0
- package/dist/api/types/AsrConversationalConfigOverride.d.ts +4 -0
- package/dist/api/types/AsrConversationalConfigOverride.js +3 -0
- package/dist/api/types/AsrConversationalConfigOverrideConfig.d.ts +4 -0
- package/dist/api/types/AsrConversationalConfigOverrideConfig.js +3 -0
- package/dist/api/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
- package/dist/api/types/ChapterStatisticsResponse.d.ts +2 -0
- package/dist/api/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
- package/dist/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
- package/dist/api/types/ConversationConfigClientOverrideInput.d.ts +2 -0
- package/dist/api/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
- package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
- package/dist/api/types/ConversationInitiationSource.js +1 -0
- package/dist/api/types/CreateBearerAuthRequest.d.ts +8 -0
- package/dist/api/types/CreateBearerAuthRequest.js +3 -0
- package/dist/api/types/CreateOrderResponse.d.ts +5 -0
- package/dist/api/types/CreateOrderResponse.js +3 -0
- package/dist/api/types/CueOptionsRequest.d.ts +14 -0
- package/dist/api/types/CueOptionsRequest.js +3 -0
- package/dist/api/types/DeliverableInfo.d.ts +10 -0
- package/dist/api/types/DeliverableInfo.js +3 -0
- package/dist/api/types/DubOrderItemRequest.d.ts +17 -0
- package/dist/api/types/DubOrderItemRequest.js +3 -0
- package/dist/api/types/GetConversationResponseModel.d.ts +2 -0
- package/dist/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/dist/api/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/dist/api/types/InboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/dist/api/types/ItemId.d.ts +1 -0
- package/dist/api/types/ItemId.js +3 -0
- package/dist/api/types/LanguageInfo.d.ts +6 -0
- package/dist/api/types/LanguageInfo.js +3 -0
- package/dist/api/types/LanguagePairInfo.d.ts +7 -0
- package/dist/api/types/LanguagePairInfo.js +3 -0
- package/dist/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
- package/dist/api/types/ListCustomerFacingAgentsParams.d.ts +11 -0
- package/dist/api/types/ListCustomerFacingAgentsParams.js +3 -0
- package/dist/api/types/ListOrdersResponse.d.ts +5 -0
- package/dist/api/types/ListOrdersResponse.js +3 -0
- package/dist/api/types/ListSpeechEnginesResponse.d.ts +1 -0
- package/dist/api/types/Llm.d.ts +2 -0
- package/dist/api/types/Llm.js +2 -0
- package/dist/api/types/LoadProcedureToolConfig.d.ts +4 -0
- package/dist/api/types/LoadProcedureToolConfig.js +3 -0
- package/dist/api/types/LoadProcedureToolErrorStatus.d.ts +5 -0
- package/dist/api/types/LoadProcedureToolErrorStatus.js +8 -0
- package/dist/api/types/MediaId.d.ts +1 -0
- package/dist/api/types/MediaId.js +3 -0
- package/dist/api/types/OAuth2ClientCredsResponse.d.ts +2 -0
- package/dist/api/types/OrderDeliverablesResponse.d.ts +5 -0
- package/dist/api/types/OrderDeliverablesResponse.js +3 -0
- package/dist/api/types/OrderId.d.ts +1 -0
- package/dist/api/types/OrderId.js +3 -0
- package/dist/api/types/OrderItemInfo.d.ts +9 -0
- package/dist/api/types/OrderItemInfo.js +3 -0
- package/dist/api/types/OrderItemKind.d.ts +5 -0
- package/dist/api/types/OrderItemKind.js +8 -0
- package/dist/api/types/OrderMediaResponse.d.ts +13 -0
- package/dist/api/types/OrderMediaResponse.js +3 -0
- package/dist/api/types/OrderRequestState.d.ts +9 -0
- package/dist/api/types/OrderRequestState.js +12 -0
- package/dist/api/types/OrderResponse.d.ts +23 -0
- package/dist/api/types/OrderResponse.js +3 -0
- package/dist/api/types/OrderState.d.ts +9 -0
- package/dist/api/types/OrderState.js +12 -0
- package/dist/api/types/OrderSummary.d.ts +15 -0
- package/dist/api/types/OrderSummary.js +3 -0
- package/dist/api/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/dist/api/types/PairedLanguagesResponse.d.ts +5 -0
- package/dist/api/types/PairedLanguagesResponse.js +3 -0
- package/dist/api/types/ProcedureAtVersion.d.ts +12 -0
- package/dist/api/types/ProcedureAtVersion.js +3 -0
- package/dist/api/types/ProcedureCompilerMode.d.ts +5 -1
- package/dist/api/types/ProcedureCompilerMode.js +5 -0
- 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/QuoteInfo.d.ts +4 -0
- package/dist/api/types/QuoteInfo.js +3 -0
- package/dist/api/types/RegisterMediaResponse.d.ts +5 -0
- package/dist/api/types/RegisterMediaResponse.js +3 -0
- package/dist/api/types/RemoveOrderItemResponse.d.ts +4 -0
- package/dist/api/types/RemoveOrderItemResponse.js +3 -0
- package/dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +10 -0
- package/dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js +3 -0
- package/dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +10 -0
- package/dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js +3 -0
- package/dist/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +10 -0
- package/dist/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js +3 -0
- package/dist/api/types/RttAudioPayload.d.ts +11 -0
- package/dist/api/types/RttAudioPayload.js +3 -0
- package/dist/api/types/RttEndOfStreamPayload.d.ts +7 -0
- package/dist/api/types/RttEndOfStreamPayload.js +3 -0
- package/dist/api/types/RttErrorPayload.d.ts +9 -0
- package/dist/api/types/RttErrorPayload.js +3 -0
- package/dist/api/types/RttFinalTranscriptPayload.d.ts +9 -0
- package/dist/api/types/RttFinalTranscriptPayload.js +3 -0
- package/dist/api/types/RttInputAudioChunkPayload.d.ts +9 -0
- package/dist/api/types/RttInputAudioChunkPayload.js +3 -0
- package/dist/api/types/RttInputFormatEnum.d.ts +11 -0
- package/dist/api/types/RttInputFormatEnum.js +14 -0
- package/dist/api/types/RttOutputFormatEnum.d.ts +15 -0
- package/dist/api/types/RttOutputFormatEnum.js +18 -0
- package/dist/api/types/RttPartialTranscriptPayload.d.ts +9 -0
- package/dist/api/types/RttPartialTranscriptPayload.js +3 -0
- package/dist/api/types/RttSessionStartedPayload.d.ts +11 -0
- package/dist/api/types/RttSessionStartedPayload.js +3 -0
- package/dist/api/types/RttStatusPayload.d.ts +9 -0
- package/dist/api/types/RttStatusPayload.js +3 -0
- package/dist/api/types/RttTranslationPayload.d.ts +9 -0
- package/dist/api/types/RttTranslationPayload.js +3 -0
- package/dist/api/types/SingleLanguagesResponse.d.ts +5 -0
- package/dist/api/types/SingleLanguagesResponse.js +3 -0
- package/dist/api/types/SlackBotAuthResponse.d.ts +10 -0
- package/dist/api/types/SlackBotAuthResponse.js +3 -0
- package/dist/api/types/SpeechEngineConversationInitiationClientDataConfig.d.ts +4 -0
- package/dist/api/types/SpeechEngineConversationInitiationClientDataConfig.js +3 -0
- package/dist/api/types/SpeechEngineResponse.d.ts +13 -0
- package/dist/api/types/SpeechEngineSummaryResponse.d.ts +3 -1
- package/dist/api/types/SubmitOrderResponse.d.ts +9 -0
- package/dist/api/types/SubmitOrderResponse.js +3 -0
- package/dist/api/types/SubtitleOrderItemRequest.d.ts +15 -0
- package/dist/api/types/SubtitleOrderItemRequest.js +3 -0
- package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/dist/api/types/UpdateBasicAuthRequest.d.ts +5 -0
- package/dist/api/types/UpdateBasicAuthRequest.js +3 -0
- package/dist/api/types/UpdateOAuth2ClientCredsRequest.d.ts +9 -0
- package/dist/api/types/UpdateOAuth2ClientCredsRequest.js +3 -0
- package/dist/api/types/UpdateOAuth2JwtRequest.d.ts +14 -0
- package/dist/api/types/UpdateOAuth2JwtRequest.js +3 -0
- package/dist/api/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +9 -0
- package/dist/api/types/UpdateOAuth2JwtRequestAlgorithm.js +12 -0
- package/dist/api/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +5 -0
- package/dist/api/types/UpdateOAuth2JwtRequestTokenResponseField.js +8 -0
- package/dist/api/types/UpdateOrderRequest.d.ts +4 -0
- package/dist/api/types/UpdateOrderRequest.js +3 -0
- package/dist/api/types/UpdateOrderResponse.d.ts +4 -0
- package/dist/api/types/UpdateOrderResponse.js +3 -0
- package/dist/api/types/UpsertOrderItemRequest.d.ts +7 -0
- package/dist/api/types/UpsertOrderItemRequest.js +3 -0
- package/dist/api/types/UpsertOrderItemResponse.d.ts +7 -0
- package/dist/api/types/UpsertOrderItemResponse.js +3 -0
- package/dist/api/types/VoiceStatisticsResponseModel.d.ts +2 -0
- package/dist/api/types/WorkspaceResourceType.d.ts +3 -0
- package/dist/api/types/WorkspaceResourceType.js +3 -0
- package/dist/api/types/index.d.ts +58 -3
- package/dist/api/types/index.js +58 -3
- package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsGetRequestFormat.d.ts +7 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsGetRequestFormat.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/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/resources/productions/index.d.ts +1 -0
- package/dist/serialization/resources/productions/index.js +17 -0
- package/dist/serialization/resources/productions/resources/index.d.ts +2 -0
- package/dist/serialization/resources/productions/resources/index.js +41 -0
- package/dist/serialization/resources/productions/resources/orders/client/index.d.ts +1 -0
- package/dist/serialization/resources/productions/resources/orders/client/index.js +17 -0
- package/dist/serialization/resources/productions/resources/orders/client/requests/BodyUpdateOrderV1ProductionsOrdersOrderIdPatch.d.ts +10 -0
- package/dist/serialization/resources/productions/resources/orders/client/requests/BodyUpdateOrderV1ProductionsOrdersOrderIdPatch.js +42 -0
- package/dist/serialization/resources/productions/resources/orders/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/productions/resources/orders/client/requests/index.js +5 -0
- package/dist/serialization/resources/productions/resources/orders/index.d.ts +2 -0
- package/dist/serialization/resources/productions/resources/orders/index.js +18 -0
- package/dist/serialization/resources/productions/resources/orders/resources/index.d.ts +2 -0
- package/dist/serialization/resources/productions/resources/orders/resources/index.js +41 -0
- package/dist/serialization/resources/productions/resources/orders/resources/items/client/index.d.ts +1 -0
- package/dist/serialization/resources/productions/resources/orders/resources/items/client/index.js +17 -0
- package/dist/serialization/resources/productions/resources/orders/resources/items/client/requests/BodyUpsertOrderItemV1ProductionsOrdersOrderIdItemsPost.d.ts +10 -0
- package/dist/serialization/resources/productions/resources/orders/resources/items/client/requests/BodyUpsertOrderItemV1ProductionsOrdersOrderIdItemsPost.js +42 -0
- package/dist/serialization/resources/productions/resources/orders/resources/items/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/productions/resources/orders/resources/items/client/requests/index.js +5 -0
- package/dist/serialization/resources/productions/resources/orders/resources/items/index.d.ts +1 -0
- package/dist/serialization/resources/productions/resources/orders/resources/items/index.js +17 -0
- package/dist/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +2 -0
- package/dist/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +2 -0
- package/dist/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +2 -0
- package/dist/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +2 -0
- package/dist/serialization/resources/v1RealtimeTranslation/index.d.ts +1 -0
- package/dist/serialization/resources/v1RealtimeTranslation/index.js +17 -0
- package/dist/serialization/resources/v1RealtimeTranslation/types/ReceiveRttMessage.d.ts +14 -0
- package/dist/serialization/resources/v1RealtimeTranslation/types/ReceiveRttMessage.js +54 -0
- package/dist/serialization/resources/v1RealtimeTranslation/types/SendRttMessage.d.ts +9 -0
- package/dist/serialization/resources/v1RealtimeTranslation/types/SendRttMessage.js +41 -0
- package/dist/serialization/resources/v1RealtimeTranslation/types/index.d.ts +2 -0
- package/dist/serialization/resources/v1RealtimeTranslation/types/index.js +18 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +5 -1
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.js +2 -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/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +19 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +51 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +51 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +67 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/index.js +2 -0
- package/dist/serialization/types/AgentAlertingMonitorConfig.d.ts +1 -0
- package/dist/serialization/types/AgentAlertingMonitorConfig.js +1 -0
- package/dist/serialization/types/AgentAlertingSettings.d.ts +3 -0
- package/dist/serialization/types/AgentAlertingSettings.js +3 -0
- package/dist/serialization/types/AgentAlertingWebhookNotifier.d.ts +11 -0
- package/dist/serialization/types/AgentAlertingWebhookNotifier.js +43 -0
- package/dist/serialization/types/AsrConversationalConfigOverride.d.ts +9 -0
- package/dist/serialization/types/{CreateSpeechEngineResponse.js → AsrConversationalConfigOverride.js} +3 -3
- package/dist/serialization/types/AsrConversationalConfigOverrideConfig.d.ts +9 -0
- package/{serialization/types/CreateSpeechEngineResponse.js → dist/serialization/types/AsrConversationalConfigOverrideConfig.js} +3 -3
- package/dist/serialization/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
- package/dist/serialization/types/AudioIsolationHistoryItemResponseModel.js +1 -0
- package/dist/serialization/types/ChapterStatisticsResponse.d.ts +1 -0
- package/dist/serialization/types/ChapterStatisticsResponse.js +1 -0
- package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideInput.js +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigClientOverrideOutput.js +2 -0
- package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationSource.js +1 -0
- package/dist/serialization/types/CreateBearerAuthRequest.d.ts +11 -0
- package/dist/serialization/types/{ApiIntegrationDocResponse.js → CreateBearerAuthRequest.js} +4 -4
- package/dist/serialization/types/CreateOrderResponse.d.ts +10 -0
- package/dist/serialization/types/CreateOrderResponse.js +42 -0
- package/dist/serialization/types/CueOptionsRequest.d.ts +14 -0
- package/dist/serialization/types/CueOptionsRequest.js +46 -0
- package/dist/serialization/types/DeliverableInfo.d.ts +12 -0
- package/dist/serialization/types/DeliverableInfo.js +44 -0
- package/dist/serialization/types/DubOrderItemRequest.d.ts +16 -0
- package/dist/serialization/types/DubOrderItemRequest.js +48 -0
- package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetConversationResponseModel.js +1 -0
- package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +1 -0
- package/dist/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.js +1 -0
- package/dist/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +1 -0
- package/dist/serialization/types/InboundSipTrunkConfigRequestModel.js +1 -0
- package/dist/serialization/types/ItemId.d.ts +7 -0
- package/dist/serialization/types/ItemId.js +39 -0
- package/dist/serialization/types/LanguageInfo.d.ts +10 -0
- package/dist/serialization/types/LanguageInfo.js +42 -0
- package/dist/serialization/types/LanguagePairInfo.d.ts +11 -0
- package/dist/serialization/types/LanguagePairInfo.js +43 -0
- package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
- package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
- package/dist/serialization/types/ListCustomerFacingAgentsParams.d.ts +9 -0
- package/dist/serialization/types/ListCustomerFacingAgentsParams.js +41 -0
- package/dist/serialization/types/ListOrdersResponse.d.ts +10 -0
- package/dist/serialization/types/ListOrdersResponse.js +42 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +2 -0
- package/dist/serialization/types/LoadProcedureToolConfig.d.ts +10 -0
- package/dist/serialization/types/LoadProcedureToolConfig.js +42 -0
- package/dist/serialization/types/LoadProcedureToolErrorStatus.d.ts +7 -0
- package/dist/serialization/types/LoadProcedureToolErrorStatus.js +39 -0
- package/dist/serialization/types/MediaId.d.ts +7 -0
- package/dist/serialization/types/MediaId.js +39 -0
- package/dist/serialization/types/OAuth2ClientCredsResponse.d.ts +1 -0
- package/dist/serialization/types/OAuth2ClientCredsResponse.js +1 -0
- package/dist/serialization/types/OrderDeliverablesResponse.d.ts +10 -0
- package/dist/serialization/types/OrderDeliverablesResponse.js +42 -0
- package/dist/serialization/types/OrderId.d.ts +7 -0
- package/dist/serialization/types/OrderId.js +39 -0
- package/dist/serialization/types/OrderItemInfo.d.ts +14 -0
- package/dist/serialization/types/OrderItemInfo.js +46 -0
- package/dist/serialization/types/OrderItemKind.d.ts +7 -0
- package/dist/serialization/types/OrderItemKind.js +39 -0
- package/dist/serialization/types/OrderMediaResponse.d.ts +14 -0
- package/dist/serialization/types/OrderMediaResponse.js +46 -0
- package/dist/serialization/types/OrderRequestState.d.ts +7 -0
- package/dist/serialization/types/OrderRequestState.js +39 -0
- package/dist/serialization/types/OrderResponse.d.ts +21 -0
- package/dist/serialization/types/OrderResponse.js +53 -0
- package/dist/serialization/types/OrderState.d.ts +7 -0
- package/dist/serialization/types/OrderState.js +39 -0
- package/dist/serialization/types/OrderSummary.d.ts +16 -0
- package/dist/serialization/types/OrderSummary.js +48 -0
- package/dist/serialization/types/OutboundSipTrunkConfigRequestModel.d.ts +1 -0
- package/dist/serialization/types/OutboundSipTrunkConfigRequestModel.js +1 -0
- package/dist/serialization/types/PairedLanguagesResponse.d.ts +10 -0
- package/dist/serialization/types/PairedLanguagesResponse.js +42 -0
- package/dist/serialization/types/ProcedureAtVersion.d.ts +13 -0
- package/dist/serialization/types/ProcedureAtVersion.js +45 -0
- package/dist/serialization/types/ProcedureCompilerMode.d.ts +1 -1
- package/dist/serialization/types/ProcedureCompilerMode.js +1 -1
- package/dist/serialization/types/QuoteInfo.d.ts +9 -0
- package/dist/serialization/types/QuoteInfo.js +41 -0
- package/dist/serialization/types/RegisterMediaResponse.d.ts +10 -0
- package/dist/serialization/types/RegisterMediaResponse.js +42 -0
- package/dist/serialization/types/RemoveOrderItemResponse.d.ts +9 -0
- package/dist/serialization/types/RemoveOrderItemResponse.js +41 -0
- package/dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +15 -0
- package/dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js +49 -0
- package/dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +15 -0
- package/dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js +49 -0
- package/dist/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +15 -0
- package/dist/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js +49 -0
- package/dist/serialization/types/RttAudioPayload.d.ts +11 -0
- package/dist/serialization/types/RttAudioPayload.js +43 -0
- package/dist/serialization/types/RttEndOfStreamPayload.d.ts +9 -0
- package/dist/serialization/types/RttEndOfStreamPayload.js +41 -0
- package/dist/serialization/types/RttErrorPayload.d.ts +10 -0
- package/dist/serialization/types/RttErrorPayload.js +42 -0
- package/dist/serialization/types/RttFinalTranscriptPayload.d.ts +10 -0
- package/dist/serialization/types/RttFinalTranscriptPayload.js +42 -0
- package/dist/serialization/types/RttInputAudioChunkPayload.d.ts +10 -0
- package/dist/serialization/types/RttInputAudioChunkPayload.js +42 -0
- package/dist/serialization/types/RttInputFormatEnum.d.ts +7 -0
- package/dist/serialization/types/RttInputFormatEnum.js +47 -0
- package/dist/serialization/types/RttOutputFormatEnum.d.ts +7 -0
- package/dist/serialization/types/RttOutputFormatEnum.js +51 -0
- package/dist/serialization/types/RttPartialTranscriptPayload.d.ts +10 -0
- package/dist/serialization/types/RttPartialTranscriptPayload.js +42 -0
- package/dist/serialization/types/RttSessionStartedPayload.d.ts +11 -0
- package/dist/serialization/types/{ListResponseApiIntegrationDocResponse.js → RttSessionStartedPayload.js} +5 -6
- package/dist/serialization/types/RttStatusPayload.d.ts +10 -0
- package/dist/serialization/types/RttStatusPayload.js +42 -0
- package/dist/serialization/types/RttTranslationPayload.d.ts +10 -0
- package/dist/serialization/types/RttTranslationPayload.js +42 -0
- package/dist/serialization/types/SingleLanguagesResponse.d.ts +10 -0
- package/dist/serialization/types/SingleLanguagesResponse.js +42 -0
- package/dist/serialization/types/SlackBotAuthResponse.d.ts +13 -0
- package/dist/serialization/types/SlackBotAuthResponse.js +45 -0
- package/dist/serialization/types/SpeechEngineConversationInitiationClientDataConfig.d.ts +9 -0
- package/dist/serialization/types/SpeechEngineConversationInitiationClientDataConfig.js +41 -0
- package/dist/serialization/types/SpeechEngineResponse.d.ts +2 -0
- package/dist/serialization/types/SpeechEngineResponse.js +2 -0
- package/dist/serialization/types/SubmitOrderResponse.d.ts +13 -0
- package/dist/serialization/types/SubmitOrderResponse.js +45 -0
- package/dist/serialization/types/SubtitleOrderItemRequest.d.ts +16 -0
- package/dist/serialization/types/SubtitleOrderItemRequest.js +48 -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/UpdateBasicAuthRequest.d.ts +11 -0
- package/dist/serialization/types/UpdateBasicAuthRequest.js +43 -0
- package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +15 -0
- package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.js +47 -0
- package/dist/serialization/types/UpdateOAuth2JwtRequest.d.ts +21 -0
- package/dist/serialization/types/UpdateOAuth2JwtRequest.js +53 -0
- package/dist/serialization/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +7 -0
- package/dist/serialization/types/UpdateOAuth2JwtRequestAlgorithm.js +39 -0
- package/dist/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +7 -0
- package/dist/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.js +39 -0
- package/dist/serialization/types/UpdateOrderRequest.d.ts +9 -0
- package/{serialization/types/ApiIntegrationDocResponse.js → dist/serialization/types/UpdateOrderRequest.js} +2 -4
- package/dist/serialization/types/UpdateOrderResponse.d.ts +9 -0
- package/dist/serialization/types/UpdateOrderResponse.js +41 -0
- package/dist/serialization/types/UpsertOrderItemRequest.d.ts +12 -0
- package/dist/serialization/types/UpsertOrderItemRequest.js +44 -0
- package/dist/serialization/types/UpsertOrderItemResponse.d.ts +12 -0
- package/dist/serialization/types/UpsertOrderItemResponse.js +44 -0
- package/dist/serialization/types/VoiceStatisticsResponseModel.d.ts +1 -0
- package/dist/serialization/types/VoiceStatisticsResponseModel.js +1 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +3 -0
- package/dist/serialization/types/index.d.ts +58 -3
- package/dist/serialization/types/index.js +58 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/speech-engine/SpeechEngineClientWrapper.js +1 -1
- package/package.json +1 -1
- package/reference.md +1021 -107
- package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsGetRequestFormat.d.ts +7 -0
- package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsGetRequestFormat.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/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/resources/productions/index.d.ts +1 -0
- package/serialization/resources/productions/index.js +17 -0
- package/serialization/resources/productions/resources/index.d.ts +2 -0
- package/serialization/resources/productions/resources/index.js +41 -0
- package/serialization/resources/productions/resources/orders/client/index.d.ts +1 -0
- package/serialization/resources/productions/resources/orders/client/index.js +17 -0
- package/serialization/resources/productions/resources/orders/client/requests/BodyUpdateOrderV1ProductionsOrdersOrderIdPatch.d.ts +10 -0
- package/serialization/resources/productions/resources/orders/client/requests/BodyUpdateOrderV1ProductionsOrdersOrderIdPatch.js +42 -0
- package/serialization/resources/productions/resources/orders/client/requests/index.d.ts +1 -0
- package/serialization/resources/productions/resources/orders/client/requests/index.js +5 -0
- package/serialization/resources/productions/resources/orders/index.d.ts +2 -0
- package/serialization/resources/productions/resources/orders/index.js +18 -0
- package/serialization/resources/productions/resources/orders/resources/index.d.ts +2 -0
- package/serialization/resources/productions/resources/orders/resources/index.js +41 -0
- package/serialization/resources/productions/resources/orders/resources/items/client/index.d.ts +1 -0
- package/serialization/resources/productions/resources/orders/resources/items/client/index.js +17 -0
- package/serialization/resources/productions/resources/orders/resources/items/client/requests/BodyUpsertOrderItemV1ProductionsOrdersOrderIdItemsPost.d.ts +10 -0
- package/serialization/resources/productions/resources/orders/resources/items/client/requests/BodyUpsertOrderItemV1ProductionsOrdersOrderIdItemsPost.js +42 -0
- package/serialization/resources/productions/resources/orders/resources/items/client/requests/index.d.ts +1 -0
- package/serialization/resources/productions/resources/orders/resources/items/client/requests/index.js +5 -0
- package/serialization/resources/productions/resources/orders/resources/items/index.d.ts +1 -0
- package/serialization/resources/productions/resources/orders/resources/items/index.js +17 -0
- package/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +2 -0
- package/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +2 -0
- package/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +2 -0
- package/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +2 -0
- package/serialization/resources/v1RealtimeTranslation/index.d.ts +1 -0
- package/serialization/resources/v1RealtimeTranslation/index.js +17 -0
- package/serialization/resources/v1RealtimeTranslation/types/ReceiveRttMessage.d.ts +14 -0
- package/serialization/resources/v1RealtimeTranslation/types/ReceiveRttMessage.js +54 -0
- package/serialization/resources/v1RealtimeTranslation/types/SendRttMessage.d.ts +9 -0
- package/serialization/resources/v1RealtimeTranslation/types/SendRttMessage.js +41 -0
- package/serialization/resources/v1RealtimeTranslation/types/index.d.ts +2 -0
- package/serialization/resources/v1RealtimeTranslation/types/index.js +18 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +5 -1
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.js +2 -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/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +19 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +51 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +51 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +67 -0
- package/serialization/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
- package/serialization/resources/workspace/resources/authConnections/types/index.js +2 -0
- package/serialization/types/AgentAlertingMonitorConfig.d.ts +1 -0
- package/serialization/types/AgentAlertingMonitorConfig.js +1 -0
- package/serialization/types/AgentAlertingSettings.d.ts +3 -0
- package/serialization/types/AgentAlertingSettings.js +3 -0
- package/serialization/types/AgentAlertingWebhookNotifier.d.ts +11 -0
- package/serialization/types/AgentAlertingWebhookNotifier.js +43 -0
- package/serialization/types/AsrConversationalConfigOverride.d.ts +9 -0
- package/serialization/types/AsrConversationalConfigOverride.js +41 -0
- package/serialization/types/AsrConversationalConfigOverrideConfig.d.ts +9 -0
- package/serialization/types/AsrConversationalConfigOverrideConfig.js +41 -0
- package/serialization/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
- package/serialization/types/AudioIsolationHistoryItemResponseModel.js +1 -0
- package/serialization/types/ChapterStatisticsResponse.d.ts +1 -0
- package/serialization/types/ChapterStatisticsResponse.js +1 -0
- package/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
- package/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -0
- package/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
- package/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -0
- package/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -0
- package/serialization/types/ConversationConfigClientOverrideInput.js +2 -0
- package/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
- package/serialization/types/ConversationConfigClientOverrideOutput.js +2 -0
- package/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/serialization/types/ConversationInitiationSource.js +1 -0
- package/serialization/types/CreateBearerAuthRequest.d.ts +11 -0
- package/serialization/types/CreateBearerAuthRequest.js +43 -0
- package/serialization/types/CreateOrderResponse.d.ts +10 -0
- package/serialization/types/CreateOrderResponse.js +42 -0
- package/serialization/types/CueOptionsRequest.d.ts +14 -0
- package/serialization/types/CueOptionsRequest.js +46 -0
- package/serialization/types/DeliverableInfo.d.ts +12 -0
- package/serialization/types/DeliverableInfo.js +44 -0
- package/serialization/types/DubOrderItemRequest.d.ts +16 -0
- package/serialization/types/DubOrderItemRequest.js +48 -0
- package/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/serialization/types/GetConversationResponseModel.js +1 -0
- package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +1 -0
- package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +1 -0
- package/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +1 -0
- package/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.js +1 -0
- package/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +1 -0
- package/serialization/types/InboundSipTrunkConfigRequestModel.js +1 -0
- package/serialization/types/ItemId.d.ts +7 -0
- package/serialization/types/ItemId.js +39 -0
- package/serialization/types/LanguageInfo.d.ts +10 -0
- package/serialization/types/LanguageInfo.js +42 -0
- package/serialization/types/LanguagePairInfo.d.ts +11 -0
- package/serialization/types/LanguagePairInfo.js +43 -0
- package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
- package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
- package/serialization/types/ListCustomerFacingAgentsParams.d.ts +9 -0
- package/serialization/types/ListCustomerFacingAgentsParams.js +41 -0
- package/serialization/types/ListOrdersResponse.d.ts +10 -0
- package/serialization/types/ListOrdersResponse.js +42 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +2 -0
- package/serialization/types/LoadProcedureToolConfig.d.ts +10 -0
- package/serialization/types/LoadProcedureToolConfig.js +42 -0
- package/serialization/types/LoadProcedureToolErrorStatus.d.ts +7 -0
- package/serialization/types/LoadProcedureToolErrorStatus.js +39 -0
- package/serialization/types/MediaId.d.ts +7 -0
- package/serialization/types/MediaId.js +39 -0
- package/serialization/types/OAuth2ClientCredsResponse.d.ts +1 -0
- package/serialization/types/OAuth2ClientCredsResponse.js +1 -0
- package/serialization/types/OrderDeliverablesResponse.d.ts +10 -0
- package/serialization/types/OrderDeliverablesResponse.js +42 -0
- package/serialization/types/OrderId.d.ts +7 -0
- package/serialization/types/OrderId.js +39 -0
- package/serialization/types/OrderItemInfo.d.ts +14 -0
- package/serialization/types/OrderItemInfo.js +46 -0
- package/serialization/types/OrderItemKind.d.ts +7 -0
- package/serialization/types/OrderItemKind.js +39 -0
- package/serialization/types/OrderMediaResponse.d.ts +14 -0
- package/serialization/types/OrderMediaResponse.js +46 -0
- package/serialization/types/OrderRequestState.d.ts +7 -0
- package/serialization/types/OrderRequestState.js +39 -0
- package/serialization/types/OrderResponse.d.ts +21 -0
- package/serialization/types/OrderResponse.js +53 -0
- package/serialization/types/OrderState.d.ts +7 -0
- package/serialization/types/OrderState.js +39 -0
- package/serialization/types/OrderSummary.d.ts +16 -0
- package/serialization/types/OrderSummary.js +48 -0
- package/serialization/types/OutboundSipTrunkConfigRequestModel.d.ts +1 -0
- package/serialization/types/OutboundSipTrunkConfigRequestModel.js +1 -0
- package/serialization/types/PairedLanguagesResponse.d.ts +10 -0
- package/serialization/types/PairedLanguagesResponse.js +42 -0
- package/serialization/types/ProcedureAtVersion.d.ts +13 -0
- package/serialization/types/ProcedureAtVersion.js +45 -0
- package/serialization/types/ProcedureCompilerMode.d.ts +1 -1
- package/serialization/types/ProcedureCompilerMode.js +1 -1
- package/serialization/types/QuoteInfo.d.ts +9 -0
- package/serialization/types/QuoteInfo.js +41 -0
- package/serialization/types/RegisterMediaResponse.d.ts +10 -0
- package/serialization/types/RegisterMediaResponse.js +42 -0
- package/serialization/types/RemoveOrderItemResponse.d.ts +9 -0
- package/serialization/types/RemoveOrderItemResponse.js +41 -0
- package/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +15 -0
- package/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js +49 -0
- package/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +15 -0
- package/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js +49 -0
- package/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +15 -0
- package/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js +49 -0
- package/serialization/types/RttAudioPayload.d.ts +11 -0
- package/serialization/types/RttAudioPayload.js +43 -0
- package/serialization/types/RttEndOfStreamPayload.d.ts +9 -0
- package/serialization/types/RttEndOfStreamPayload.js +41 -0
- package/serialization/types/RttErrorPayload.d.ts +10 -0
- package/serialization/types/RttErrorPayload.js +42 -0
- package/serialization/types/RttFinalTranscriptPayload.d.ts +10 -0
- package/serialization/types/RttFinalTranscriptPayload.js +42 -0
- package/serialization/types/RttInputAudioChunkPayload.d.ts +10 -0
- package/serialization/types/RttInputAudioChunkPayload.js +42 -0
- package/serialization/types/RttInputFormatEnum.d.ts +7 -0
- package/serialization/types/RttInputFormatEnum.js +47 -0
- package/serialization/types/RttOutputFormatEnum.d.ts +7 -0
- package/serialization/types/RttOutputFormatEnum.js +51 -0
- package/serialization/types/RttPartialTranscriptPayload.d.ts +10 -0
- package/serialization/types/RttPartialTranscriptPayload.js +42 -0
- package/serialization/types/RttSessionStartedPayload.d.ts +11 -0
- package/serialization/types/RttSessionStartedPayload.js +43 -0
- package/serialization/types/RttStatusPayload.d.ts +10 -0
- package/serialization/types/RttStatusPayload.js +42 -0
- package/serialization/types/RttTranslationPayload.d.ts +10 -0
- package/serialization/types/RttTranslationPayload.js +42 -0
- package/serialization/types/SingleLanguagesResponse.d.ts +10 -0
- package/serialization/types/SingleLanguagesResponse.js +42 -0
- package/serialization/types/SlackBotAuthResponse.d.ts +13 -0
- package/serialization/types/SlackBotAuthResponse.js +45 -0
- package/serialization/types/SpeechEngineConversationInitiationClientDataConfig.d.ts +9 -0
- package/serialization/types/SpeechEngineConversationInitiationClientDataConfig.js +41 -0
- package/serialization/types/SpeechEngineResponse.d.ts +2 -0
- package/serialization/types/SpeechEngineResponse.js +2 -0
- package/serialization/types/SubmitOrderResponse.d.ts +13 -0
- package/serialization/types/SubmitOrderResponse.js +45 -0
- package/serialization/types/SubtitleOrderItemRequest.d.ts +16 -0
- package/serialization/types/SubtitleOrderItemRequest.js +48 -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/UpdateBasicAuthRequest.d.ts +11 -0
- package/serialization/types/UpdateBasicAuthRequest.js +43 -0
- package/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +15 -0
- package/serialization/types/UpdateOAuth2ClientCredsRequest.js +47 -0
- package/serialization/types/UpdateOAuth2JwtRequest.d.ts +21 -0
- package/serialization/types/UpdateOAuth2JwtRequest.js +53 -0
- package/serialization/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +7 -0
- package/serialization/types/UpdateOAuth2JwtRequestAlgorithm.js +39 -0
- package/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +7 -0
- package/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.js +39 -0
- package/serialization/types/UpdateOrderRequest.d.ts +9 -0
- package/serialization/types/UpdateOrderRequest.js +41 -0
- package/serialization/types/UpdateOrderResponse.d.ts +9 -0
- package/serialization/types/UpdateOrderResponse.js +41 -0
- package/serialization/types/UpsertOrderItemRequest.d.ts +12 -0
- package/serialization/types/UpsertOrderItemRequest.js +44 -0
- package/serialization/types/UpsertOrderItemResponse.d.ts +12 -0
- package/serialization/types/UpsertOrderItemResponse.js +44 -0
- package/serialization/types/VoiceStatisticsResponseModel.d.ts +1 -0
- package/serialization/types/VoiceStatisticsResponseModel.js +1 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +3 -0
- package/serialization/types/index.d.ts +58 -3
- package/serialization/types/index.js +58 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/speech-engine/SpeechEngineClientWrapper.js +1 -1
- package/api/types/ApiIntegrationDocResponse.d.ts +0 -8
- package/api/types/CreateSpeechEngineResponse.d.ts +0 -4
- package/api/types/ListResponseApiIntegrationDocResponse.d.ts +0 -5
- package/dist/api/types/ApiIntegrationDocResponse.d.ts +0 -8
- package/dist/api/types/CreateSpeechEngineResponse.d.ts +0 -4
- package/dist/api/types/ListResponseApiIntegrationDocResponse.d.ts +0 -5
- package/dist/serialization/types/ApiIntegrationDocResponse.d.ts +0 -11
- package/dist/serialization/types/CreateSpeechEngineResponse.d.ts +0 -9
- package/dist/serialization/types/ListResponseApiIntegrationDocResponse.d.ts +0 -12
- package/serialization/types/ApiIntegrationDocResponse.d.ts +0 -11
- package/serialization/types/CreateSpeechEngineResponse.d.ts +0 -9
- package/serialization/types/ListResponseApiIntegrationDocResponse.d.ts +0 -12
- package/serialization/types/ListResponseApiIntegrationDocResponse.js +0 -44
- /package/api/{types/ApiIntegrationDocResponse.js → resources/conversationalAi/resources/conversations/client/requests/ConversationsGetRequest.js} +0 -0
- /package/api/{types/CreateSpeechEngineResponse.js → resources/productions/resources/orders/client/requests/BodyUpdateOrderV1ProductionsOrdersOrderIdPatch.js} +0 -0
- /package/api/{types/ListResponseApiIntegrationDocResponse.js → resources/productions/resources/orders/client/requests/OrdersListRequest.js} +0 -0
- /package/{dist/api/types/ApiIntegrationDocResponse.js → api/resources/productions/resources/orders/resources/items/client/requests/BodyUpsertOrderItemV1ProductionsOrdersOrderIdItemsPost.js} +0 -0
- /package/{dist/api/types/CreateSpeechEngineResponse.js → api/resources/productions/resources/orders/resources/media/client/requests/BodyRegisterMediaV1ProductionsOrdersOrderIdMediaPost.js} +0 -0
- /package/{dist/api/types/ListResponseApiIntegrationDocResponse.js → api/resources/v1RealtimeTranslation/types/ReceiveRttMessage.js} +0 -0
package/dist/Client.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { ForcedAlignmentClient } from "./api/resources/forcedAlignment/client/Cl
|
|
|
7
7
|
import { HistoryClient } from "./api/resources/history/client/Client";
|
|
8
8
|
import { ModelsClient } from "./api/resources/models/client/Client";
|
|
9
9
|
import { MusicClient } from "./api/resources/music/client/Client";
|
|
10
|
+
import { ProductionsClient } from "./api/resources/productions/client/Client";
|
|
10
11
|
import { PronunciationDictionariesClient } from "./api/resources/pronunciationDictionaries/client/Client";
|
|
11
12
|
import { SamplesClient } from "./api/resources/samples/client/Client";
|
|
12
13
|
import { ServiceAccountsClient } from "./api/resources/serviceAccounts/client/Client";
|
|
@@ -58,6 +59,7 @@ export declare class ElevenLabsClient {
|
|
|
58
59
|
protected _conversationalAi: ConversationalAiClient | undefined;
|
|
59
60
|
protected _speechEngine: SpeechEngineClient | undefined;
|
|
60
61
|
protected _environmentVariables: EnvironmentVariablesClient | undefined;
|
|
62
|
+
protected _productions: ProductionsClient | undefined;
|
|
61
63
|
protected _tokens: TokensClient | undefined;
|
|
62
64
|
protected _workspace: WorkspaceClient | undefined;
|
|
63
65
|
constructor(options?: ElevenLabsClient.Options);
|
|
@@ -85,6 +87,7 @@ export declare class ElevenLabsClient {
|
|
|
85
87
|
get conversationalAi(): ConversationalAiClient;
|
|
86
88
|
get speechEngine(): SpeechEngineClient;
|
|
87
89
|
get environmentVariables(): EnvironmentVariablesClient;
|
|
90
|
+
get productions(): ProductionsClient;
|
|
88
91
|
get tokens(): TokensClient;
|
|
89
92
|
get workspace(): WorkspaceClient;
|
|
90
93
|
/**
|
package/dist/Client.js
CHANGED
|
@@ -53,23 +53,24 @@ const Client_6 = require("./api/resources/forcedAlignment/client/Client");
|
|
|
53
53
|
const Client_7 = require("./api/resources/history/client/Client");
|
|
54
54
|
const Client_8 = require("./api/resources/models/client/Client");
|
|
55
55
|
const Client_9 = require("./api/resources/music/client/Client");
|
|
56
|
-
const Client_10 = require("./api/resources/
|
|
57
|
-
const Client_11 = require("./api/resources/
|
|
58
|
-
const Client_12 = require("./api/resources/
|
|
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/
|
|
72
|
-
const Client_26 = require("./api/resources/
|
|
56
|
+
const Client_10 = require("./api/resources/productions/client/Client");
|
|
57
|
+
const Client_11 = require("./api/resources/pronunciationDictionaries/client/Client");
|
|
58
|
+
const Client_12 = require("./api/resources/samples/client/Client");
|
|
59
|
+
const Client_13 = require("./api/resources/serviceAccounts/client/Client");
|
|
60
|
+
const Client_14 = require("./api/resources/speechEngine/client/Client");
|
|
61
|
+
const Client_15 = require("./api/resources/speechToSpeech/client/Client");
|
|
62
|
+
const Client_16 = require("./api/resources/speechToText/client/Client");
|
|
63
|
+
const Client_17 = require("./api/resources/studio/client/Client");
|
|
64
|
+
const Client_18 = require("./api/resources/textToDialogue/client/Client");
|
|
65
|
+
const Client_19 = require("./api/resources/textToSoundEffects/client/Client");
|
|
66
|
+
const Client_20 = require("./api/resources/textToSpeech/client/Client");
|
|
67
|
+
const Client_21 = require("./api/resources/textToVoice/client/Client");
|
|
68
|
+
const Client_22 = require("./api/resources/tokens/client/Client");
|
|
69
|
+
const Client_23 = require("./api/resources/usage/client/Client");
|
|
70
|
+
const Client_24 = require("./api/resources/user/client/Client");
|
|
71
|
+
const Client_25 = require("./api/resources/voices/client/Client");
|
|
72
|
+
const Client_26 = require("./api/resources/webhooks/client/Client");
|
|
73
|
+
const Client_27 = require("./api/resources/workspace/client/Client");
|
|
73
74
|
const BaseClient_1 = require("./BaseClient");
|
|
74
75
|
const core = __importStar(require("./core"));
|
|
75
76
|
const headers_1 = require("./core/headers");
|
|
@@ -86,7 +87,7 @@ class ElevenLabsClient {
|
|
|
86
87
|
}
|
|
87
88
|
get textToSoundEffects() {
|
|
88
89
|
var _a;
|
|
89
|
-
return ((_a = this._textToSoundEffects) !== null && _a !== void 0 ? _a : (this._textToSoundEffects = new
|
|
90
|
+
return ((_a = this._textToSoundEffects) !== null && _a !== void 0 ? _a : (this._textToSoundEffects = new Client_19.TextToSoundEffectsClient(this._options)));
|
|
90
91
|
}
|
|
91
92
|
get audioIsolation() {
|
|
92
93
|
var _a;
|
|
@@ -94,35 +95,35 @@ class ElevenLabsClient {
|
|
|
94
95
|
}
|
|
95
96
|
get samples() {
|
|
96
97
|
var _a;
|
|
97
|
-
return ((_a = this._samples) !== null && _a !== void 0 ? _a : (this._samples = new
|
|
98
|
+
return ((_a = this._samples) !== null && _a !== void 0 ? _a : (this._samples = new Client_12.SamplesClient(this._options)));
|
|
98
99
|
}
|
|
99
100
|
get textToSpeech() {
|
|
100
101
|
var _a;
|
|
101
|
-
return ((_a = this._textToSpeech) !== null && _a !== void 0 ? _a : (this._textToSpeech = new
|
|
102
|
+
return ((_a = this._textToSpeech) !== null && _a !== void 0 ? _a : (this._textToSpeech = new Client_20.TextToSpeechClient(this._options)));
|
|
102
103
|
}
|
|
103
104
|
get textToDialogue() {
|
|
104
105
|
var _a;
|
|
105
|
-
return ((_a = this._textToDialogue) !== null && _a !== void 0 ? _a : (this._textToDialogue = new
|
|
106
|
+
return ((_a = this._textToDialogue) !== null && _a !== void 0 ? _a : (this._textToDialogue = new Client_18.TextToDialogueClient(this._options)));
|
|
106
107
|
}
|
|
107
108
|
get speechToSpeech() {
|
|
108
109
|
var _a;
|
|
109
|
-
return ((_a = this._speechToSpeech) !== null && _a !== void 0 ? _a : (this._speechToSpeech = new
|
|
110
|
+
return ((_a = this._speechToSpeech) !== null && _a !== void 0 ? _a : (this._speechToSpeech = new Client_15.SpeechToSpeechClient(this._options)));
|
|
110
111
|
}
|
|
111
112
|
get textToVoice() {
|
|
112
113
|
var _a;
|
|
113
|
-
return ((_a = this._textToVoice) !== null && _a !== void 0 ? _a : (this._textToVoice = new
|
|
114
|
+
return ((_a = this._textToVoice) !== null && _a !== void 0 ? _a : (this._textToVoice = new Client_21.TextToVoiceClient(this._options)));
|
|
114
115
|
}
|
|
115
116
|
get user() {
|
|
116
117
|
var _a;
|
|
117
|
-
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new
|
|
118
|
+
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_24.UserClient(this._options)));
|
|
118
119
|
}
|
|
119
120
|
get voices() {
|
|
120
121
|
var _a;
|
|
121
|
-
return ((_a = this._voices) !== null && _a !== void 0 ? _a : (this._voices = new
|
|
122
|
+
return ((_a = this._voices) !== null && _a !== void 0 ? _a : (this._voices = new Client_25.VoicesClient(this._options)));
|
|
122
123
|
}
|
|
123
124
|
get studio() {
|
|
124
125
|
var _a;
|
|
125
|
-
return ((_a = this._studio) !== null && _a !== void 0 ? _a : (this._studio = new
|
|
126
|
+
return ((_a = this._studio) !== null && _a !== void 0 ? _a : (this._studio = new Client_17.StudioClient(this._options)));
|
|
126
127
|
}
|
|
127
128
|
get music() {
|
|
128
129
|
var _a;
|
|
@@ -142,23 +143,23 @@ class ElevenLabsClient {
|
|
|
142
143
|
}
|
|
143
144
|
get usage() {
|
|
144
145
|
var _a;
|
|
145
|
-
return ((_a = this._usage) !== null && _a !== void 0 ? _a : (this._usage = new
|
|
146
|
+
return ((_a = this._usage) !== null && _a !== void 0 ? _a : (this._usage = new Client_23.UsageClient(this._options)));
|
|
146
147
|
}
|
|
147
148
|
get pronunciationDictionaries() {
|
|
148
149
|
var _a;
|
|
149
|
-
return ((_a = this._pronunciationDictionaries) !== null && _a !== void 0 ? _a : (this._pronunciationDictionaries = new
|
|
150
|
+
return ((_a = this._pronunciationDictionaries) !== null && _a !== void 0 ? _a : (this._pronunciationDictionaries = new Client_11.PronunciationDictionariesClient(this._options)));
|
|
150
151
|
}
|
|
151
152
|
get serviceAccounts() {
|
|
152
153
|
var _a;
|
|
153
|
-
return ((_a = this._serviceAccounts) !== null && _a !== void 0 ? _a : (this._serviceAccounts = new
|
|
154
|
+
return ((_a = this._serviceAccounts) !== null && _a !== void 0 ? _a : (this._serviceAccounts = new Client_13.ServiceAccountsClient(this._options)));
|
|
154
155
|
}
|
|
155
156
|
get webhooks() {
|
|
156
157
|
var _a;
|
|
157
|
-
return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new
|
|
158
|
+
return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new Client_26.WebhooksClient(this._options)));
|
|
158
159
|
}
|
|
159
160
|
get speechToText() {
|
|
160
161
|
var _a;
|
|
161
|
-
return ((_a = this._speechToText) !== null && _a !== void 0 ? _a : (this._speechToText = new
|
|
162
|
+
return ((_a = this._speechToText) !== null && _a !== void 0 ? _a : (this._speechToText = new Client_16.SpeechToTextClient(this._options)));
|
|
162
163
|
}
|
|
163
164
|
get forcedAlignment() {
|
|
164
165
|
var _a;
|
|
@@ -170,19 +171,23 @@ class ElevenLabsClient {
|
|
|
170
171
|
}
|
|
171
172
|
get speechEngine() {
|
|
172
173
|
var _a;
|
|
173
|
-
return ((_a = this._speechEngine) !== null && _a !== void 0 ? _a : (this._speechEngine = new
|
|
174
|
+
return ((_a = this._speechEngine) !== null && _a !== void 0 ? _a : (this._speechEngine = new Client_14.SpeechEngineClient(this._options)));
|
|
174
175
|
}
|
|
175
176
|
get environmentVariables() {
|
|
176
177
|
var _a;
|
|
177
178
|
return ((_a = this._environmentVariables) !== null && _a !== void 0 ? _a : (this._environmentVariables = new Client_5.EnvironmentVariablesClient(this._options)));
|
|
178
179
|
}
|
|
180
|
+
get productions() {
|
|
181
|
+
var _a;
|
|
182
|
+
return ((_a = this._productions) !== null && _a !== void 0 ? _a : (this._productions = new Client_10.ProductionsClient(this._options)));
|
|
183
|
+
}
|
|
179
184
|
get tokens() {
|
|
180
185
|
var _a;
|
|
181
|
-
return ((_a = this._tokens) !== null && _a !== void 0 ? _a : (this._tokens = new
|
|
186
|
+
return ((_a = this._tokens) !== null && _a !== void 0 ? _a : (this._tokens = new Client_22.TokensClient(this._options)));
|
|
182
187
|
}
|
|
183
188
|
get workspace() {
|
|
184
189
|
var _a;
|
|
185
|
-
return ((_a = this._workspace) !== null && _a !== void 0 ? _a : (this._workspace = new
|
|
190
|
+
return ((_a = this._workspace) !== null && _a !== void 0 ? _a : (this._workspace = new Client_27.WorkspaceClient(this._options)));
|
|
186
191
|
}
|
|
187
192
|
/**
|
|
188
193
|
* Add a generated voice to the voice library.
|
|
@@ -179,6 +179,7 @@ class Conversation extends events_1.EventEmitter {
|
|
|
179
179
|
custom_llm_extra_body: this.config.extraBody,
|
|
180
180
|
conversation_config_override: this.config.conversationConfigOverride,
|
|
181
181
|
dynamic_variables: this.config.dynamicVariables,
|
|
182
|
+
environment: this.config.environment,
|
|
182
183
|
};
|
|
183
184
|
this.ws.send(JSON.stringify(initEvent));
|
|
184
185
|
// Set up audio input callback
|
|
@@ -8,6 +8,8 @@ export interface ConversationInitiationData {
|
|
|
8
8
|
conversationConfigOverride?: Record<string, any>;
|
|
9
9
|
/** Dynamic variables to use in the conversation */
|
|
10
10
|
dynamicVariables?: Record<string, any>;
|
|
11
|
+
/** The environment to use for the conversation */
|
|
12
|
+
environment?: string;
|
|
11
13
|
}
|
|
12
14
|
/**
|
|
13
15
|
* Creates a default conversation initiation data object.
|
|
@@ -49,6 +49,7 @@ export interface ConversationInitiationClientDataEvent extends BaseClientToOrche
|
|
|
49
49
|
custom_llm_extra_body?: Record<string, any>;
|
|
50
50
|
conversation_config_override?: Record<string, any>;
|
|
51
51
|
dynamic_variables?: Record<string, any>;
|
|
52
|
+
environment?: string;
|
|
52
53
|
}
|
|
53
54
|
/**
|
|
54
55
|
* Event for client tool results.
|
|
@@ -9,6 +9,7 @@ import { KnowledgeBaseClient } from "../resources/knowledgeBase/client/Client";
|
|
|
9
9
|
import { LinkClient } from "../resources/link/client/Client";
|
|
10
10
|
import { LlmUsageClient } from "../resources/llmUsage/client/Client";
|
|
11
11
|
import { SummariesClient } from "../resources/summaries/client/Client";
|
|
12
|
+
import { VersionsClient } from "../resources/versions/client/Client";
|
|
12
13
|
import { WidgetClient } from "../resources/widget/client/Client";
|
|
13
14
|
export declare namespace AgentsClient {
|
|
14
15
|
type Options = BaseClientOptions;
|
|
@@ -23,6 +24,7 @@ export declare class AgentsClient {
|
|
|
23
24
|
protected _knowledgeBase: KnowledgeBaseClient | undefined;
|
|
24
25
|
protected _llmUsage: LlmUsageClient | undefined;
|
|
25
26
|
protected _branches: BranchesClient | undefined;
|
|
27
|
+
protected _versions: VersionsClient | undefined;
|
|
26
28
|
protected _deployments: DeploymentsClient | undefined;
|
|
27
29
|
protected _drafts: DraftsClient | undefined;
|
|
28
30
|
constructor(options?: AgentsClient.Options);
|
|
@@ -32,6 +34,7 @@ export declare class AgentsClient {
|
|
|
32
34
|
get knowledgeBase(): KnowledgeBaseClient;
|
|
33
35
|
get llmUsage(): LlmUsageClient;
|
|
34
36
|
get branches(): BranchesClient;
|
|
37
|
+
get versions(): VersionsClient;
|
|
35
38
|
get deployments(): DeploymentsClient;
|
|
36
39
|
get drafts(): DraftsClient;
|
|
37
40
|
/**
|
|
@@ -70,7 +70,8 @@ const Client_4 = require("../resources/knowledgeBase/client/Client");
|
|
|
70
70
|
const Client_5 = require("../resources/link/client/Client");
|
|
71
71
|
const Client_6 = require("../resources/llmUsage/client/Client");
|
|
72
72
|
const Client_7 = require("../resources/summaries/client/Client");
|
|
73
|
-
const Client_8 = require("../resources/
|
|
73
|
+
const Client_8 = require("../resources/versions/client/Client");
|
|
74
|
+
const Client_9 = require("../resources/widget/client/Client");
|
|
74
75
|
class AgentsClient {
|
|
75
76
|
constructor(options = {}) {
|
|
76
77
|
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
@@ -81,7 +82,7 @@ class AgentsClient {
|
|
|
81
82
|
}
|
|
82
83
|
get widget() {
|
|
83
84
|
var _a;
|
|
84
|
-
return ((_a = this._widget) !== null && _a !== void 0 ? _a : (this._widget = new
|
|
85
|
+
return ((_a = this._widget) !== null && _a !== void 0 ? _a : (this._widget = new Client_9.WidgetClient(this._options)));
|
|
85
86
|
}
|
|
86
87
|
get link() {
|
|
87
88
|
var _a;
|
|
@@ -99,6 +100,10 @@ class AgentsClient {
|
|
|
99
100
|
var _a;
|
|
100
101
|
return ((_a = this._branches) !== null && _a !== void 0 ? _a : (this._branches = new Client_1.BranchesClient(this._options)));
|
|
101
102
|
}
|
|
103
|
+
get versions() {
|
|
104
|
+
var _a;
|
|
105
|
+
return ((_a = this._versions) !== null && _a !== void 0 ? _a : (this._versions = new Client_8.VersionsClient(this._options)));
|
|
106
|
+
}
|
|
102
107
|
get deployments() {
|
|
103
108
|
var _a;
|
|
104
109
|
return ((_a = this._deployments) !== null && _a !== void 0 ? _a : (this._deployments = new Client_2.DeploymentsClient(this._options)));
|
|
@@ -11,5 +11,6 @@ export * from "./llmUsage/client/requests";
|
|
|
11
11
|
export * as summaries from "./summaries";
|
|
12
12
|
export * from "./summaries/client/requests";
|
|
13
13
|
export * from "./summaries/types";
|
|
14
|
+
export * as versions from "./versions";
|
|
14
15
|
export * as widget from "./widget";
|
|
15
16
|
export * from "./widget/client/requests";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.widget = exports.summaries = exports.llmUsage = exports.link = exports.knowledgeBase = exports.drafts = exports.deployments = exports.branches = void 0;
|
|
39
|
+
exports.widget = exports.versions = exports.summaries = exports.llmUsage = exports.link = exports.knowledgeBase = exports.drafts = exports.deployments = exports.branches = void 0;
|
|
40
40
|
exports.branches = __importStar(require("./branches"));
|
|
41
41
|
__exportStar(require("./branches/client/requests"), exports);
|
|
42
42
|
exports.deployments = __importStar(require("./deployments"));
|
|
@@ -50,5 +50,6 @@ __exportStar(require("./llmUsage/client/requests"), exports);
|
|
|
50
50
|
exports.summaries = __importStar(require("./summaries"));
|
|
51
51
|
__exportStar(require("./summaries/client/requests"), exports);
|
|
52
52
|
__exportStar(require("./summaries/types"), exports);
|
|
53
|
+
exports.versions = __importStar(require("./versions"));
|
|
53
54
|
exports.widget = __importStar(require("./widget"));
|
|
54
55
|
__exportStar(require("./widget/client/requests"), exports);
|
package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient";
|
|
2
|
+
import { type NormalizedClientOptions } from "../../../../../../../../BaseClient";
|
|
3
|
+
import * as core from "../../../../../../../../core";
|
|
4
|
+
import * as ElevenLabs from "../../../../../../../index";
|
|
5
|
+
export declare namespace VersionsClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class VersionsClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptions<VersionsClient.Options>;
|
|
12
|
+
constructor(options?: VersionsClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Get metadata for a specific agent version
|
|
15
|
+
*
|
|
16
|
+
* @param {string} agent_id - The id of an agent. This is returned on agent creation.
|
|
17
|
+
* @param {string} version_id - Unique identifier for the version.
|
|
18
|
+
* @param {VersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
19
|
+
*
|
|
20
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* await client.conversationalAi.agents.versions.get("agent_3701k3ttaq12ewp8b7qv5rfyszkz", "agtvrsn_0901k4aafjxxfxt93gd841r7tv5t")
|
|
24
|
+
*/
|
|
25
|
+
get(agent_id: string, version_id: string, requestOptions?: VersionsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.AgentVersionMetadata>;
|
|
26
|
+
private __get;
|
|
27
|
+
}
|
package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.VersionsClient = void 0;
|
|
47
|
+
const BaseClient_1 = require("../../../../../../../../BaseClient");
|
|
48
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
49
|
+
const headers_1 = require("../../../../../../../../core/headers");
|
|
50
|
+
const environments = __importStar(require("../../../../../../../../environments"));
|
|
51
|
+
const handleNonStatusCodeError_1 = require("../../../../../../../../errors/handleNonStatusCodeError");
|
|
52
|
+
const errors = __importStar(require("../../../../../../../../errors/index"));
|
|
53
|
+
const serializers = __importStar(require("../../../../../../../../serialization/index"));
|
|
54
|
+
const ElevenLabs = __importStar(require("../../../../../../../index"));
|
|
55
|
+
class VersionsClient {
|
|
56
|
+
constructor(options = {}) {
|
|
57
|
+
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Get metadata for a specific agent version
|
|
61
|
+
*
|
|
62
|
+
* @param {string} agent_id - The id of an agent. This is returned on agent creation.
|
|
63
|
+
* @param {string} version_id - Unique identifier for the version.
|
|
64
|
+
* @param {VersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* await client.conversationalAi.agents.versions.get("agent_3701k3ttaq12ewp8b7qv5rfyszkz", "agtvrsn_0901k4aafjxxfxt93gd841r7tv5t")
|
|
70
|
+
*/
|
|
71
|
+
get(agent_id, version_id, requestOptions) {
|
|
72
|
+
return core.HttpResponsePromise.fromPromise(this.__get(agent_id, version_id, requestOptions));
|
|
73
|
+
}
|
|
74
|
+
__get(agent_id, version_id, requestOptions) {
|
|
75
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
76
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
77
|
+
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);
|
|
78
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
79
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/agents/${core.url.encodePathParam(agent_id)}/versions/${core.url.encodePathParam(version_id)}`),
|
|
80
|
+
method: "GET",
|
|
81
|
+
headers: _headers,
|
|
82
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
83
|
+
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,
|
|
84
|
+
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,
|
|
85
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
86
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
87
|
+
logging: this._options.logging,
|
|
88
|
+
});
|
|
89
|
+
if (_response.ok) {
|
|
90
|
+
return {
|
|
91
|
+
data: serializers.AgentVersionMetadata.parseOrThrow(_response.body, {
|
|
92
|
+
unrecognizedObjectKeys: "passthrough",
|
|
93
|
+
allowUnrecognizedUnionMembers: true,
|
|
94
|
+
allowUnrecognizedEnumValues: true,
|
|
95
|
+
breadcrumbsPrefix: ["response"],
|
|
96
|
+
}),
|
|
97
|
+
rawResponse: _response.rawResponse,
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
if (_response.error.reason === "status-code") {
|
|
101
|
+
switch (_response.error.statusCode) {
|
|
102
|
+
case 422:
|
|
103
|
+
throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
104
|
+
default:
|
|
105
|
+
throw new errors.ElevenLabsError({
|
|
106
|
+
statusCode: _response.error.statusCode,
|
|
107
|
+
body: _response.error.body,
|
|
108
|
+
rawResponse: _response.rawResponse,
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/agents/{agent_id}/versions/{version_id}");
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
exports.VersionsClient = VersionsClient;
|
package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -98,6 +98,7 @@ export declare class ConversationsClient {
|
|
|
98
98
|
* summaryMode: "exclude",
|
|
99
99
|
* search: "search",
|
|
100
100
|
* conversationInitiationSource: "unknown",
|
|
101
|
+
* textOnly: true,
|
|
101
102
|
* branchId: "branch_id",
|
|
102
103
|
* topicIds: ["topic_ids"],
|
|
103
104
|
* excludeStatuses: ["initiated"],
|
|
@@ -110,6 +111,7 @@ export declare class ConversationsClient {
|
|
|
110
111
|
* Get the details of a particular conversation
|
|
111
112
|
*
|
|
112
113
|
* @param {string} conversation_id - The id of the conversation you're taking the action on.
|
|
114
|
+
* @param {ElevenLabs.conversationalAi.ConversationsGetRequest} request
|
|
113
115
|
* @param {ConversationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
114
116
|
*
|
|
115
117
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
@@ -117,7 +119,7 @@ export declare class ConversationsClient {
|
|
|
117
119
|
* @example
|
|
118
120
|
* await client.conversationalAi.conversations.get("123")
|
|
119
121
|
*/
|
|
120
|
-
get(conversation_id: string, requestOptions?: ConversationsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetConversationResponseModel>;
|
|
122
|
+
get(conversation_id: string, request?: ElevenLabs.conversationalAi.ConversationsGetRequest, requestOptions?: ConversationsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetConversationResponseModel>;
|
|
121
123
|
private __get;
|
|
122
124
|
/**
|
|
123
125
|
* Delete a particular conversation
|
|
@@ -266,6 +266,7 @@ class ConversationsClient {
|
|
|
266
266
|
* summaryMode: "exclude",
|
|
267
267
|
* search: "search",
|
|
268
268
|
* conversationInitiationSource: "unknown",
|
|
269
|
+
* textOnly: true,
|
|
269
270
|
* branchId: "branch_id",
|
|
270
271
|
* topicIds: ["topic_ids"],
|
|
271
272
|
* excludeStatuses: ["initiated"],
|
|
@@ -278,7 +279,7 @@ class ConversationsClient {
|
|
|
278
279
|
__list() {
|
|
279
280
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
280
281
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
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;
|
|
282
|
+
const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, toolNamesSuccessful, toolNamesErrored, mainLanguages, pageSize, summaryMode, search, conversationInitiationSource, textOnly, branchId, topicIds, excludeStatuses, tagIds, } = request;
|
|
282
283
|
const _queryParams = {};
|
|
283
284
|
if (cursor != null) {
|
|
284
285
|
_queryParams.cursor = cursor;
|
|
@@ -375,6 +376,9 @@ class ConversationsClient {
|
|
|
375
376
|
if (conversationInitiationSource != null) {
|
|
376
377
|
_queryParams.conversation_initiation_source = serializers.ConversationInitiationSource.jsonOrThrow(conversationInitiationSource, { unrecognizedObjectKeys: "strip" });
|
|
377
378
|
}
|
|
379
|
+
if (textOnly != null) {
|
|
380
|
+
_queryParams.text_only = textOnly.toString();
|
|
381
|
+
}
|
|
378
382
|
if (branchId != null) {
|
|
379
383
|
_queryParams.branch_id = branchId;
|
|
380
384
|
}
|
|
@@ -447,6 +451,7 @@ class ConversationsClient {
|
|
|
447
451
|
* Get the details of a particular conversation
|
|
448
452
|
*
|
|
449
453
|
* @param {string} conversation_id - The id of the conversation you're taking the action on.
|
|
454
|
+
* @param {ElevenLabs.conversationalAi.ConversationsGetRequest} request
|
|
450
455
|
* @param {ConversationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
451
456
|
*
|
|
452
457
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
@@ -454,18 +459,25 @@ class ConversationsClient {
|
|
|
454
459
|
* @example
|
|
455
460
|
* await client.conversationalAi.conversations.get("123")
|
|
456
461
|
*/
|
|
457
|
-
get(conversation_id, requestOptions) {
|
|
458
|
-
return core.HttpResponsePromise.fromPromise(this.__get(conversation_id, requestOptions));
|
|
462
|
+
get(conversation_id, request = {}, requestOptions) {
|
|
463
|
+
return core.HttpResponsePromise.fromPromise(this.__get(conversation_id, request, requestOptions));
|
|
459
464
|
}
|
|
460
|
-
__get(
|
|
461
|
-
return __awaiter(this,
|
|
465
|
+
__get(conversation_id_1) {
|
|
466
|
+
return __awaiter(this, arguments, void 0, function* (conversation_id, request = {}, requestOptions) {
|
|
462
467
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
468
|
+
const { format } = request;
|
|
469
|
+
const _queryParams = {};
|
|
470
|
+
if (format != null) {
|
|
471
|
+
_queryParams.format = serializers.conversationalAi.ConversationsGetRequestFormat.jsonOrThrow(format, {
|
|
472
|
+
unrecognizedObjectKeys: "strip",
|
|
473
|
+
});
|
|
474
|
+
}
|
|
463
475
|
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);
|
|
464
476
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
465
477
|
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)}`),
|
|
466
478
|
method: "GET",
|
|
467
479
|
headers: _headers,
|
|
468
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
480
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
469
481
|
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,
|
|
470
482
|
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,
|
|
471
483
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {}
|
|
5
|
+
*/
|
|
6
|
+
export interface ConversationsGetRequest {
|
|
7
|
+
/** Response format. Defaults to 'json'. Set to 'opentelemetry' for an OTLP-compatible trace payload using the same structure as the post-call webhook. */
|
|
8
|
+
format?: ElevenLabs.conversationalAi.ConversationsGetRequestFormat;
|
|
9
|
+
}
|
|
@@ -23,6 +23,7 @@ import type * as ElevenLabs from "../../../../../../index";
|
|
|
23
23
|
* summaryMode: "exclude",
|
|
24
24
|
* search: "search",
|
|
25
25
|
* conversationInitiationSource: "unknown",
|
|
26
|
+
* textOnly: true,
|
|
26
27
|
* branchId: "branch_id",
|
|
27
28
|
* topicIds: ["topic_ids"],
|
|
28
29
|
* excludeStatuses: ["initiated"],
|
|
@@ -71,6 +72,7 @@ export interface ConversationsListRequest {
|
|
|
71
72
|
/** Full-text or fuzzy search over transcript messages */
|
|
72
73
|
search?: string;
|
|
73
74
|
conversationInitiationSource?: ElevenLabs.ConversationInitiationSource;
|
|
75
|
+
textOnly?: boolean;
|
|
74
76
|
/** Filter conversations by branch ID. */
|
|
75
77
|
branchId?: string;
|
|
76
78
|
/** Filter conversations by topic IDs assigned during topic discovery. */
|
package/dist/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export type { ConversationsGetRequest } from "./ConversationsGetRequest";
|
|
1
2
|
export type { ConversationsGetSignedUrlRequest } from "./ConversationsGetSignedUrlRequest";
|
|
2
3
|
export type { ConversationsGetSipMessagesRequest } from "./ConversationsGetSipMessagesRequest";
|
|
3
4
|
export type { ConversationsGetWebrtcTokenRequest } from "./ConversationsGetWebrtcTokenRequest";
|
|
@@ -86,6 +86,7 @@ class MessagesClient {
|
|
|
86
86
|
* pageSize: 1,
|
|
87
87
|
* summaryMode: "exclude",
|
|
88
88
|
* conversationInitiationSource: "unknown",
|
|
89
|
+
* textOnly: true,
|
|
89
90
|
* branchId: "branch_id",
|
|
90
91
|
* sortBy: "search_score",
|
|
91
92
|
* cursor: "cursor"
|
|
@@ -97,7 +98,7 @@ class MessagesClient {
|
|
|
97
98
|
__textSearch(request, requestOptions) {
|
|
98
99
|
return __awaiter(this, void 0, void 0, function* () {
|
|
99
100
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
100
|
-
const { textQuery, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, toolNamesSuccessful, toolNamesErrored, mainLanguages, pageSize, summaryMode, conversationInitiationSource, branchId, sortBy, cursor, } = request;
|
|
101
|
+
const { textQuery, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, toolNamesSuccessful, toolNamesErrored, mainLanguages, pageSize, summaryMode, conversationInitiationSource, textOnly, branchId, sortBy, cursor, } = request;
|
|
101
102
|
const _queryParams = {};
|
|
102
103
|
_queryParams.text_query = textQuery;
|
|
103
104
|
if (agentId != null) {
|
|
@@ -190,6 +191,9 @@ class MessagesClient {
|
|
|
190
191
|
if (conversationInitiationSource != null) {
|
|
191
192
|
_queryParams.conversation_initiation_source = serializers.ConversationInitiationSource.jsonOrThrow(conversationInitiationSource, { unrecognizedObjectKeys: "strip" });
|
|
192
193
|
}
|
|
194
|
+
if (textOnly != null) {
|
|
195
|
+
_queryParams.text_only = textOnly.toString();
|
|
196
|
+
}
|
|
193
197
|
if (branchId != null) {
|
|
194
198
|
_queryParams.branch_id = branchId;
|
|
195
199
|
}
|