@elevenlabs/elevenlabs-js 2.49.1 → 2.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.fern/metadata.json +2 -2
- package/.fern/replay.lock +246 -2
- package/BaseClient.js +2 -2
- package/Client.d.ts +3 -0
- package/Client.js +5 -0
- package/api/resources/conversationalAi/client/Client.d.ts +3 -0
- package/api/resources/conversationalAi/client/Client.js +33 -28
- package/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -1
- 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 +10 -1
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -0
- package/api/resources/conversationalAi/resources/exotel/client/Client.d.ts +30 -0
- package/api/resources/conversationalAi/resources/exotel/client/Client.js +122 -0
- package/api/resources/conversationalAi/resources/exotel/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/exotel/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.d.ts +16 -0
- package/api/resources/conversationalAi/resources/exotel/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/exotel/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/exotel/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/exotel/index.js +17 -0
- package/api/resources/conversationalAi/resources/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/index.js +3 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +4 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +4 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +5 -5
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +5 -5
- package/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.d.ts +4 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +4 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.d.ts +4 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.d.ts +4 -1
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/productions/resources/orders/client/Client.d.ts +5 -2
- package/api/resources/productions/resources/orders/client/Client.js +14 -4
- package/api/resources/productions/resources/orders/resources/languages/client/Client.d.ts +1 -1
- package/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
- package/api/resources/speechEngineUpstream/index.d.ts +1 -0
- package/api/resources/speechEngineUpstream/index.js +17 -0
- package/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +5 -0
- package/api/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +5 -0
- package/api/resources/speechEngineUpstream/types/index.d.ts +2 -0
- package/api/resources/speechEngineUpstream/types/index.js +18 -0
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
- package/api/resources/textToDialogue/client/Client.d.ts +1 -0
- package/api/resources/textToDialogue/client/Client.js +17 -4
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +3 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +3 -0
- package/api/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +1 -1
- package/api/resources/voices/client/Client.d.ts +29 -29
- package/api/resources/voices/client/Client.js +105 -105
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +4 -1
- package/api/resources/workspace/resources/resources/client/Client.d.ts +2 -2
- package/api/resources/workspace/resources/resources/client/Client.js +2 -2
- package/api/resources/workspace/resources/resources/client/requests/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost.d.ts +3 -3
- package/api/resources/workspace/resources/resources/client/requests/BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost.d.ts +2 -2
- package/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.d.ts +1 -1
- package/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.js +1 -1
- package/api/resources/workspaces/client/Client.d.ts +12 -0
- package/api/resources/workspaces/client/Client.js +16 -0
- package/api/resources/workspaces/client/index.d.ts +1 -0
- package/api/resources/workspaces/client/index.js +2 -0
- package/api/resources/workspaces/index.d.ts +2 -0
- package/api/resources/workspaces/index.js +18 -0
- package/api/resources/workspaces/resources/apiKeys/client/Client.d.ts +28 -0
- package/api/resources/workspaces/resources/apiKeys/client/Client.js +111 -0
- package/api/resources/workspaces/resources/apiKeys/client/index.d.ts +1 -0
- package/api/resources/workspaces/resources/apiKeys/client/index.js +17 -0
- package/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.d.ts +10 -0
- package/api/resources/workspaces/resources/apiKeys/client/requests/index.d.ts +1 -0
- package/api/resources/workspaces/resources/apiKeys/client/requests/index.js +2 -0
- package/api/resources/workspaces/resources/apiKeys/index.d.ts +1 -0
- package/api/resources/workspaces/resources/apiKeys/index.js +17 -0
- package/api/resources/workspaces/resources/index.d.ts +2 -0
- package/api/resources/workspaces/resources/index.js +41 -0
- package/api/types/AgentConfig.d.ts +2 -0
- package/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
- package/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -0
- package/api/types/AgentPlatformSettingsRequestModel.d.ts +0 -1
- package/api/types/AgentPlatformSettingsResponseModel.d.ts +0 -1
- package/api/types/AgentResponsePayload.d.ts +25 -0
- package/api/types/AgentTransfer.d.ts +2 -1
- package/api/types/AnalysisProperty.d.ts +6 -4
- package/api/types/AnalysisPropertyConstantValue.d.ts +1 -1
- package/api/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +4 -1
- package/api/types/AsrProvider.d.ts +2 -0
- package/api/types/AsrProvider.js +2 -0
- package/api/types/BaseTurnConfig.d.ts +1 -0
- package/api/types/BehaviorOverride.d.ts +9 -0
- package/api/types/BucketingStatus.d.ts +6 -0
- package/api/types/BucketingStatus.js +9 -0
- package/api/types/ClosePayload.d.ts +7 -0
- package/api/types/ConversationHistoryExotelPhoneCallModel.d.ts +9 -0
- package/api/types/ConversationHistoryMetadataCommonModelPhoneCall.d.ts +4 -1
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +4 -1
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +4 -1
- package/api/types/ConversationInitiationSource.d.ts +4 -0
- package/api/types/ConversationInitiationSource.js +4 -0
- package/api/types/ConversationSentimentAnalysis.d.ts +9 -0
- package/api/types/ConversationSentimentAnalysisOverallLabel.d.ts +6 -0
- package/api/types/ConversationSentimentAnalysisOverallLabel.js +9 -0
- package/api/types/CreateExotelPhoneNumberRequest.d.ts +23 -0
- package/api/types/CreateOrderRequest.d.ts +4 -0
- package/api/types/CreateOrderResponse.d.ts +2 -0
- package/api/types/CreateResponseUnitTestRequest.d.ts +2 -0
- package/api/types/CreateSimulationTestRequest.d.ts +2 -0
- package/api/types/CreateToolCallUnitTestRequest.d.ts +2 -0
- package/api/types/CustomLlm.d.ts +2 -0
- package/api/types/CustomLlmAuthConnection.d.ts +5 -0
- package/api/types/DeleteClientParams.d.ts +1 -1
- package/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/api/types/ErrorPayload.d.ts +9 -0
- package/api/types/ErrorPayload.js +3 -0
- package/api/types/ExotelApiSubdomain.d.ts +5 -0
- package/api/types/ExotelApiSubdomain.js +8 -0
- package/api/types/ExotelOutboundCallResponse.d.ts +7 -0
- package/api/types/ExotelOutboundCallResponse.js +3 -0
- package/api/types/ExternalFileSyncInfo.d.ts +20 -0
- package/api/types/ExternalFileSyncInfo.js +3 -0
- package/api/types/ExternalFolderSyncInfo.d.ts +18 -0
- package/api/types/ExternalFolderSyncInfo.js +3 -0
- package/api/types/ExternalSyncType.d.ts +1 -0
- package/api/types/ExternalSyncType.js +3 -0
- package/api/types/GetAgentResponseModelPhoneNumbersItem.d.ts +4 -1
- package/api/types/GetConversationResponseModel.d.ts +1 -0
- package/api/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
- package/api/types/GetPhoneNumberExotelResponseModel.d.ts +15 -0
- package/api/types/GetPhoneNumberExotelResponseModel.js +3 -0
- package/api/types/GetResponseUnitTestResponseModel.d.ts +2 -0
- package/api/types/GetSimulationTestResponseModel.d.ts +2 -0
- package/api/types/GetTestSuiteInvocationResponseModel.d.ts +4 -0
- package/api/types/GetToolCallUnitTestResponseModel.d.ts +2 -0
- package/api/types/InitPayload.d.ts +9 -0
- package/api/types/InitPayload.js +3 -0
- package/api/types/InteractionBudget.d.ts +5 -0
- package/api/types/InteractionBudget.js +8 -0
- package/api/types/LanguagesResponse.d.ts +10 -0
- package/api/types/LanguagesResponse.js +3 -0
- package/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
- package/api/types/LiteralJsonSchemaProperty.d.ts +7 -5
- package/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
- package/api/types/Llm.d.ts +1 -0
- package/api/types/Llm.js +1 -0
- package/api/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +4 -1
- package/api/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +4 -1
- package/api/types/MessagesSearchResult.d.ts +4 -0
- package/api/types/Monitor.d.ts +1 -0
- package/api/types/Monitor.js +1 -0
- package/api/types/MusicGenerationMode.d.ts +7 -0
- package/api/types/MusicGenerationMode.js +10 -0
- package/api/types/OmitSchemaOverride.d.ts +1 -0
- package/api/types/OmitSchemaOverride.js +3 -0
- package/api/types/OptInSmsReminderParams.d.ts +3 -0
- package/api/types/OptInSmsReminderParams.js +3 -0
- package/api/types/OptOutSmsReminderParams.d.ts +3 -0
- package/api/types/OptOutSmsReminderParams.js +3 -0
- package/api/types/OrderItemInfo.d.ts +1 -1
- package/api/types/OrderItemRequestInput.d.ts +10 -0
- package/api/types/OrderItemRequestInput.js +3 -0
- package/api/types/OrderItemRequestOutput.d.ts +10 -0
- package/api/types/OrderItemRequestOutput.js +3 -0
- package/api/types/OrderResponse.d.ts +2 -0
- package/api/types/OrderSummary.d.ts +2 -0
- package/api/types/PingPayload.d.ts +7 -0
- package/api/types/PingPayload.js +3 -0
- package/api/types/PongPayload.d.ts +7 -0
- package/api/types/PongPayload.js +3 -0
- package/api/types/{ProcedureAtVersion.d.ts → ProcedureAtVersionInput.d.ts} +4 -1
- package/api/types/ProcedureAtVersionInput.js +3 -0
- package/api/types/ProcedureAtVersionOutput.d.ts +15 -0
- package/api/types/ProcedureAtVersionOutput.js +3 -0
- package/api/types/ProcedureRefResponseModel.d.ts +3 -0
- package/api/types/ProcedureType.d.ts +5 -0
- package/api/types/ProcedureType.js +8 -0
- package/api/types/ReferencedToolCommonModelType.d.ts +1 -0
- package/api/types/ReferencedToolCommonModelType.js +1 -0
- package/api/types/RenderType.d.ts +1 -0
- package/api/types/RenderType.js +1 -0
- package/api/types/ResourceAccessInfo.d.ts +2 -0
- package/api/types/ResourceAccessInfoAccessSource.d.ts +7 -0
- package/api/types/ResourceAccessInfoAccessSource.js +10 -0
- package/api/types/ResponseUnitTestModel.d.ts +2 -0
- package/api/types/RestoreCalendarEventParams.d.ts +3 -0
- package/api/types/RestoreCalendarEventParams.js +3 -0
- package/api/types/SimulationTestModel.d.ts +2 -0
- package/api/types/SoftTimeoutConfig.d.ts +7 -1
- package/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
- package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +7 -1
- package/api/types/SpeechEngineResponse.d.ts +2 -0
- package/api/types/SpeechEngineSummaryResponse.d.ts +3 -0
- package/api/types/StartProcedureToolConfigInput.d.ts +4 -0
- package/api/types/StartProcedureToolConfigInput.js +3 -0
- package/api/types/StartProcedureToolConfigOutput.d.ts +4 -0
- package/api/types/StartProcedureToolConfigOutput.js +3 -0
- package/api/types/StartProcedureToolErrorStatus.d.ts +5 -0
- package/{dist/api/types/LoadProcedureToolErrorStatus.js → api/types/StartProcedureToolErrorStatus.js} +2 -2
- package/api/types/SystemEvaluationCriteria.d.ts +4 -0
- package/api/types/SystemEvaluationCriteria.js +3 -0
- package/api/types/SystemToolConfigInputParams.d.ts +4 -4
- package/api/types/SystemToolConfigOutputParams.d.ts +4 -4
- package/api/types/TelephonyProvider.d.ts +1 -0
- package/api/types/TelephonyProvider.js +1 -0
- package/api/types/TestInvocationSummaryResponseModel.d.ts +2 -0
- package/api/types/TestRunResultBucket.d.ts +9 -0
- package/api/types/TestRunResultBucket.js +3 -0
- package/api/types/TestRunResultSummary.d.ts +7 -0
- package/api/types/TestRunResultSummary.js +3 -0
- package/api/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +4 -0
- package/api/types/TextToDialogueWebsocketFinalAudioForTurn.js +3 -0
- package/api/types/ToolCallUnitTestModel.d.ts +2 -0
- package/api/types/TranscriptMessage.d.ts +10 -0
- package/api/types/TranscriptMessage.js +3 -0
- package/api/types/TranscriptMessageRole.d.ts +6 -0
- package/api/types/TranscriptMessageRole.js +9 -0
- package/api/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
- package/api/types/TransferToNumberResultExotelSuccessModel.d.ts +6 -0
- package/api/types/TransferToNumberResultExotelSuccessModel.js +3 -0
- package/api/types/TurnConfig.d.ts +1 -0
- package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/api/types/UnitTestSummaryResponseModel.d.ts +2 -0
- package/api/types/UpdateBookingPageAppearanceParams.d.ts +3 -0
- package/api/types/UpdateBookingPageAppearanceParams.js +3 -0
- package/api/types/UpdateResponseUnitTestRequest.d.ts +2 -0
- package/api/types/UpdateSimulationTestRequest.d.ts +2 -0
- package/api/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
- package/api/types/UpsertOrderItemRequest.d.ts +1 -1
- package/api/types/UrlSecretAuthResponse.d.ts +7 -0
- package/api/types/UrlSecretAuthResponse.js +3 -0
- package/api/types/UserTranscriptPayload.d.ts +20 -0
- package/api/types/UserTranscriptPayload.js +3 -0
- package/api/types/Verbosity.d.ts +6 -0
- package/{dist/api/types/ProcedureCompilerMode.js → api/types/Verbosity.js} +5 -4
- package/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/api/types/WebhookUsageType.d.ts +1 -0
- package/api/types/WebhookUsageType.js +1 -0
- package/api/types/WorkflowStandaloneAgentNodeModelInput.d.ts +4 -2
- package/api/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +4 -2
- package/api/types/index.d.ts +47 -8
- package/api/types/index.js +47 -8
- package/dist/BaseClient.js +2 -2
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +5 -0
- package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -0
- package/dist/api/resources/conversationalAi/client/Client.js +33 -28
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -1
- 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 +10 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/exotel/client/Client.d.ts +30 -0
- package/dist/api/resources/conversationalAi/resources/exotel/client/Client.js +122 -0
- package/dist/api/resources/conversationalAi/resources/exotel/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/exotel/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.d.ts +16 -0
- package/dist/api/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/exotel/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/exotel/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/exotel/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/exotel/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/index.js +3 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +5 -5
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +5 -5
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.d.ts +4 -1
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/productions/resources/orders/client/Client.d.ts +5 -2
- package/dist/api/resources/productions/resources/orders/client/Client.js +14 -4
- package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.d.ts +1 -1
- package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
- package/dist/api/resources/speechEngineUpstream/index.d.ts +1 -0
- package/dist/api/resources/speechEngineUpstream/index.js +17 -0
- package/dist/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +5 -0
- package/dist/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +3 -0
- package/dist/api/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +5 -0
- package/dist/api/resources/speechEngineUpstream/types/SendUpstreamMessage.js +3 -0
- package/dist/api/resources/speechEngineUpstream/types/index.d.ts +2 -0
- package/dist/api/resources/speechEngineUpstream/types/index.js +18 -0
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
- package/dist/api/resources/textToDialogue/client/Client.d.ts +1 -0
- package/dist/api/resources/textToDialogue/client/Client.js +17 -4
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +3 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +3 -0
- package/dist/api/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +1 -1
- package/dist/api/resources/voices/client/Client.d.ts +29 -29
- package/dist/api/resources/voices/client/Client.js +105 -105
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +4 -1
- package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +2 -2
- package/dist/api/resources/workspace/resources/resources/client/Client.js +2 -2
- package/dist/api/resources/workspace/resources/resources/client/requests/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost.d.ts +3 -3
- package/dist/api/resources/workspace/resources/resources/client/requests/BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost.d.ts +2 -2
- package/dist/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.d.ts +1 -1
- package/dist/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.js +1 -1
- package/dist/api/resources/workspaces/client/Client.d.ts +12 -0
- package/dist/api/resources/workspaces/client/Client.js +16 -0
- package/dist/api/resources/workspaces/client/index.d.ts +1 -0
- package/dist/api/resources/workspaces/client/index.js +2 -0
- package/dist/api/resources/workspaces/index.d.ts +2 -0
- package/dist/api/resources/workspaces/index.js +18 -0
- package/dist/api/resources/workspaces/resources/apiKeys/client/Client.d.ts +28 -0
- package/dist/api/resources/workspaces/resources/apiKeys/client/Client.js +111 -0
- package/dist/api/resources/workspaces/resources/apiKeys/client/index.d.ts +1 -0
- package/dist/api/resources/workspaces/resources/apiKeys/client/index.js +17 -0
- package/dist/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.d.ts +10 -0
- package/dist/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.js +3 -0
- package/dist/api/resources/workspaces/resources/apiKeys/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workspaces/resources/apiKeys/client/requests/index.js +2 -0
- package/dist/api/resources/workspaces/resources/apiKeys/index.d.ts +1 -0
- package/dist/api/resources/workspaces/resources/apiKeys/index.js +17 -0
- package/dist/api/resources/workspaces/resources/index.d.ts +2 -0
- package/dist/api/resources/workspaces/resources/index.js +41 -0
- package/dist/api/types/AgentConfig.d.ts +2 -0
- package/dist/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
- package/dist/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -0
- package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +0 -1
- package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +0 -1
- package/dist/api/types/AgentResponsePayload.d.ts +25 -0
- package/dist/api/types/AgentResponsePayload.js +3 -0
- package/dist/api/types/AgentTransfer.d.ts +2 -1
- package/dist/api/types/AnalysisProperty.d.ts +6 -4
- package/dist/api/types/AnalysisPropertyConstantValue.d.ts +1 -1
- package/dist/api/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +4 -1
- package/dist/api/types/AsrProvider.d.ts +2 -0
- package/dist/api/types/AsrProvider.js +2 -0
- package/dist/api/types/BaseTurnConfig.d.ts +1 -0
- package/dist/api/types/BehaviorOverride.d.ts +9 -0
- package/dist/api/types/BehaviorOverride.js +3 -0
- package/dist/api/types/BucketingStatus.d.ts +6 -0
- package/dist/api/types/BucketingStatus.js +9 -0
- package/dist/api/types/ClosePayload.d.ts +7 -0
- package/dist/api/types/ClosePayload.js +3 -0
- package/dist/api/types/ConversationHistoryExotelPhoneCallModel.d.ts +9 -0
- package/dist/api/types/ConversationHistoryExotelPhoneCallModel.js +3 -0
- package/dist/api/types/ConversationHistoryMetadataCommonModelPhoneCall.d.ts +4 -1
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +4 -1
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +4 -1
- package/dist/api/types/ConversationInitiationSource.d.ts +4 -0
- package/dist/api/types/ConversationInitiationSource.js +4 -0
- package/dist/api/types/ConversationSentimentAnalysis.d.ts +9 -0
- package/dist/api/types/ConversationSentimentAnalysis.js +3 -0
- package/dist/api/types/ConversationSentimentAnalysisOverallLabel.d.ts +6 -0
- package/dist/api/types/ConversationSentimentAnalysisOverallLabel.js +9 -0
- package/dist/api/types/CreateExotelPhoneNumberRequest.d.ts +23 -0
- package/dist/api/types/CreateExotelPhoneNumberRequest.js +3 -0
- package/dist/api/types/CreateOrderRequest.d.ts +4 -0
- package/dist/api/types/CreateOrderRequest.js +3 -0
- package/dist/api/types/CreateOrderResponse.d.ts +2 -0
- package/dist/api/types/CreateResponseUnitTestRequest.d.ts +2 -0
- package/dist/api/types/CreateSimulationTestRequest.d.ts +2 -0
- package/dist/api/types/CreateToolCallUnitTestRequest.d.ts +2 -0
- package/dist/api/types/CustomLlm.d.ts +2 -0
- package/dist/api/types/CustomLlmAuthConnection.d.ts +5 -0
- package/dist/api/types/CustomLlmAuthConnection.js +3 -0
- package/dist/api/types/DeleteClientParams.d.ts +1 -1
- package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/dist/api/types/ErrorPayload.d.ts +9 -0
- package/dist/api/types/ErrorPayload.js +3 -0
- package/dist/api/types/ExotelApiSubdomain.d.ts +5 -0
- package/dist/api/types/ExotelApiSubdomain.js +8 -0
- package/dist/api/types/ExotelOutboundCallResponse.d.ts +7 -0
- package/dist/api/types/ExotelOutboundCallResponse.js +3 -0
- package/dist/api/types/ExternalFileSyncInfo.d.ts +20 -0
- package/dist/api/types/ExternalFileSyncInfo.js +3 -0
- package/dist/api/types/ExternalFolderSyncInfo.d.ts +18 -0
- package/dist/api/types/ExternalFolderSyncInfo.js +3 -0
- package/dist/api/types/ExternalSyncType.d.ts +1 -0
- package/dist/api/types/ExternalSyncType.js +3 -0
- package/dist/api/types/GetAgentResponseModelPhoneNumbersItem.d.ts +4 -1
- package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/api/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
- package/dist/api/types/GetPhoneNumberExotelResponseModel.d.ts +15 -0
- package/dist/api/types/GetPhoneNumberExotelResponseModel.js +3 -0
- package/dist/api/types/GetResponseUnitTestResponseModel.d.ts +2 -0
- package/dist/api/types/GetSimulationTestResponseModel.d.ts +2 -0
- package/dist/api/types/GetTestSuiteInvocationResponseModel.d.ts +4 -0
- package/dist/api/types/GetToolCallUnitTestResponseModel.d.ts +2 -0
- package/dist/api/types/InitPayload.d.ts +9 -0
- package/dist/api/types/InitPayload.js +3 -0
- package/dist/api/types/InteractionBudget.d.ts +5 -0
- package/dist/api/types/InteractionBudget.js +8 -0
- package/dist/api/types/LanguagesResponse.d.ts +10 -0
- package/dist/api/types/LanguagesResponse.js +3 -0
- package/dist/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
- package/dist/api/types/LiteralJsonSchemaProperty.d.ts +7 -5
- package/dist/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
- package/dist/api/types/Llm.d.ts +1 -0
- package/dist/api/types/Llm.js +1 -0
- package/dist/api/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +4 -1
- package/dist/api/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +4 -1
- package/dist/api/types/MessagesSearchResult.d.ts +4 -0
- package/dist/api/types/Monitor.d.ts +1 -0
- package/dist/api/types/Monitor.js +1 -0
- package/dist/api/types/MusicGenerationMode.d.ts +7 -0
- package/dist/api/types/MusicGenerationMode.js +10 -0
- package/dist/api/types/OmitSchemaOverride.d.ts +1 -0
- package/dist/api/types/OmitSchemaOverride.js +3 -0
- package/dist/api/types/OptInSmsReminderParams.d.ts +3 -0
- package/dist/api/types/OptInSmsReminderParams.js +3 -0
- package/dist/api/types/OptOutSmsReminderParams.d.ts +3 -0
- package/dist/api/types/OptOutSmsReminderParams.js +3 -0
- package/dist/api/types/OrderItemInfo.d.ts +1 -1
- package/dist/api/types/OrderItemRequestInput.d.ts +10 -0
- package/dist/api/types/OrderItemRequestInput.js +3 -0
- package/dist/api/types/OrderItemRequestOutput.d.ts +10 -0
- package/dist/api/types/OrderItemRequestOutput.js +3 -0
- package/dist/api/types/OrderResponse.d.ts +2 -0
- package/dist/api/types/OrderSummary.d.ts +2 -0
- package/dist/api/types/PingPayload.d.ts +7 -0
- package/dist/api/types/PingPayload.js +3 -0
- package/dist/api/types/PongPayload.d.ts +7 -0
- package/dist/api/types/PongPayload.js +3 -0
- package/dist/api/types/{ProcedureAtVersion.d.ts → ProcedureAtVersionInput.d.ts} +4 -1
- package/dist/api/types/ProcedureAtVersionInput.js +3 -0
- package/dist/api/types/ProcedureAtVersionOutput.d.ts +15 -0
- package/dist/api/types/ProcedureAtVersionOutput.js +3 -0
- package/dist/api/types/ProcedureRefResponseModel.d.ts +3 -0
- package/dist/api/types/ProcedureType.d.ts +5 -0
- package/dist/api/types/ProcedureType.js +8 -0
- package/dist/api/types/ReferencedToolCommonModelType.d.ts +1 -0
- package/dist/api/types/ReferencedToolCommonModelType.js +1 -0
- package/dist/api/types/RenderType.d.ts +1 -0
- package/dist/api/types/RenderType.js +1 -0
- package/dist/api/types/ResourceAccessInfo.d.ts +2 -0
- package/dist/api/types/ResourceAccessInfoAccessSource.d.ts +7 -0
- package/dist/api/types/ResourceAccessInfoAccessSource.js +10 -0
- package/dist/api/types/ResponseUnitTestModel.d.ts +2 -0
- package/dist/api/types/RestoreCalendarEventParams.d.ts +3 -0
- package/dist/api/types/RestoreCalendarEventParams.js +3 -0
- package/dist/api/types/SimulationTestModel.d.ts +2 -0
- package/dist/api/types/SoftTimeoutConfig.d.ts +7 -1
- package/dist/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
- package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +7 -1
- package/dist/api/types/SpeechEngineResponse.d.ts +2 -0
- package/dist/api/types/SpeechEngineSummaryResponse.d.ts +3 -0
- package/dist/api/types/StartProcedureToolConfigInput.d.ts +4 -0
- package/dist/api/types/StartProcedureToolConfigInput.js +3 -0
- package/dist/api/types/StartProcedureToolConfigOutput.d.ts +4 -0
- package/dist/api/types/StartProcedureToolConfigOutput.js +3 -0
- package/dist/api/types/StartProcedureToolErrorStatus.d.ts +5 -0
- package/{api/types/LoadProcedureToolErrorStatus.js → dist/api/types/StartProcedureToolErrorStatus.js} +2 -2
- package/dist/api/types/SystemEvaluationCriteria.d.ts +4 -0
- package/dist/api/types/SystemEvaluationCriteria.js +3 -0
- package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -4
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -4
- package/dist/api/types/TelephonyProvider.d.ts +1 -0
- package/dist/api/types/TelephonyProvider.js +1 -0
- package/dist/api/types/TestInvocationSummaryResponseModel.d.ts +2 -0
- package/dist/api/types/TestRunResultBucket.d.ts +9 -0
- package/dist/api/types/TestRunResultBucket.js +3 -0
- package/dist/api/types/TestRunResultSummary.d.ts +7 -0
- package/dist/api/types/TestRunResultSummary.js +3 -0
- package/dist/api/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +4 -0
- package/dist/api/types/TextToDialogueWebsocketFinalAudioForTurn.js +3 -0
- package/dist/api/types/ToolCallUnitTestModel.d.ts +2 -0
- package/dist/api/types/TranscriptMessage.d.ts +10 -0
- package/dist/api/types/TranscriptMessage.js +3 -0
- package/dist/api/types/TranscriptMessageRole.d.ts +6 -0
- package/dist/api/types/TranscriptMessageRole.js +9 -0
- package/dist/api/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
- package/dist/api/types/TransferToNumberResultExotelSuccessModel.d.ts +6 -0
- package/dist/api/types/TransferToNumberResultExotelSuccessModel.js +3 -0
- package/dist/api/types/TurnConfig.d.ts +1 -0
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/dist/api/types/UnitTestSummaryResponseModel.d.ts +2 -0
- package/dist/api/types/UpdateBookingPageAppearanceParams.d.ts +3 -0
- package/dist/api/types/UpdateBookingPageAppearanceParams.js +3 -0
- package/dist/api/types/UpdateResponseUnitTestRequest.d.ts +2 -0
- package/dist/api/types/UpdateSimulationTestRequest.d.ts +2 -0
- package/dist/api/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
- package/dist/api/types/UpsertOrderItemRequest.d.ts +1 -1
- package/dist/api/types/UrlSecretAuthResponse.d.ts +7 -0
- package/dist/api/types/UrlSecretAuthResponse.js +3 -0
- package/dist/api/types/UserTranscriptPayload.d.ts +20 -0
- package/dist/api/types/UserTranscriptPayload.js +3 -0
- package/dist/api/types/Verbosity.d.ts +6 -0
- package/{api/types/ProcedureCompilerMode.js → dist/api/types/Verbosity.js} +5 -4
- package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/dist/api/types/WebhookUsageType.d.ts +1 -0
- package/dist/api/types/WebhookUsageType.js +1 -0
- package/dist/api/types/WorkflowStandaloneAgentNodeModelInput.d.ts +4 -2
- package/dist/api/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +4 -2
- package/dist/api/types/index.d.ts +47 -8
- package/dist/api/types/index.js +47 -8
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/exotel/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/exotel/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.d.ts +15 -0
- package/dist/serialization/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.js +47 -0
- package/dist/serialization/resources/conversationalAi/resources/exotel/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/exotel/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/exotel/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/exotel/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +5 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +5 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.d.ts +5 -1
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +5 -1
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.d.ts +5 -1
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.d.ts +5 -1
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.js +2 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/productions/resources/orders/client/create.d.ts +8 -0
- package/dist/serialization/resources/productions/resources/orders/client/create.js +6 -0
- package/dist/serialization/resources/productions/resources/orders/client/index.d.ts +1 -0
- package/dist/serialization/resources/productions/resources/orders/client/index.js +24 -0
- package/dist/serialization/resources/speechEngineUpstream/index.d.ts +1 -0
- package/dist/serialization/resources/speechEngineUpstream/index.js +17 -0
- package/dist/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +12 -0
- package/dist/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +50 -0
- package/dist/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +9 -0
- package/dist/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.js +41 -0
- package/dist/serialization/resources/speechEngineUpstream/types/index.d.ts +2 -0
- package/dist/serialization/resources/speechEngineUpstream/types/index.js +18 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/dist/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +2 -1
- package/dist/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.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/AuthConnectionsUpdateResponse.d.ts +5 -1
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +2 -0
- package/dist/serialization/types/AgentConfig.d.ts +2 -0
- package/dist/serialization/types/AgentConfig.js +2 -0
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +2 -0
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -0
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +2 -0
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +0 -2
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +0 -2
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +0 -2
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +0 -2
- package/dist/serialization/types/AgentResponsePayload.d.ts +12 -0
- package/dist/serialization/types/AgentResponsePayload.js +44 -0
- package/dist/serialization/types/AgentTransfer.d.ts +2 -1
- package/dist/serialization/types/AgentTransfer.js +2 -1
- package/dist/serialization/types/AnalysisProperty.d.ts +1 -0
- package/dist/serialization/types/AnalysisProperty.js +1 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +5 -1
- package/dist/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.js +2 -0
- package/dist/serialization/types/BaseTurnConfig.d.ts +2 -0
- package/dist/serialization/types/BaseTurnConfig.js +2 -0
- package/dist/serialization/types/BehaviorOverride.d.ts +14 -0
- package/dist/serialization/types/BehaviorOverride.js +46 -0
- package/dist/serialization/types/BucketingStatus.d.ts +7 -0
- package/{serialization/types/LoadProcedureToolErrorStatus.js → dist/serialization/types/BucketingStatus.js} +2 -2
- package/dist/serialization/types/ClosePayload.d.ts +9 -0
- package/dist/serialization/types/{LoadProcedureToolErrorStatus.js → ClosePayload.js} +4 -2
- package/dist/serialization/types/ConversationHistoryExotelPhoneCallModel.d.ts +15 -0
- package/dist/serialization/types/ConversationHistoryExotelPhoneCallModel.js +47 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModelPhoneCall.d.ts +5 -1
- package/dist/serialization/types/ConversationHistoryMetadataCommonModelPhoneCall.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +5 -1
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +5 -1
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +2 -0
- package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationSource.js +4 -0
- package/dist/serialization/types/ConversationSentimentAnalysis.d.ts +15 -0
- package/dist/serialization/types/ConversationSentimentAnalysis.js +47 -0
- package/dist/serialization/types/ConversationSentimentAnalysisOverallLabel.d.ts +7 -0
- package/dist/serialization/types/ConversationSentimentAnalysisOverallLabel.js +39 -0
- package/dist/serialization/types/CreateExotelPhoneNumberRequest.d.ts +19 -0
- package/dist/serialization/types/CreateExotelPhoneNumberRequest.js +51 -0
- package/dist/serialization/types/CreateOrderRequest.d.ts +9 -0
- package/dist/serialization/types/CreateOrderRequest.js +41 -0
- package/dist/serialization/types/CreateOrderResponse.d.ts +1 -0
- package/dist/serialization/types/CreateOrderResponse.js +1 -0
- package/dist/serialization/types/CreateResponseUnitTestRequest.d.ts +2 -0
- package/dist/serialization/types/CreateResponseUnitTestRequest.js +2 -0
- package/dist/serialization/types/CreateSimulationTestRequest.d.ts +2 -0
- package/dist/serialization/types/CreateSimulationTestRequest.js +2 -0
- package/dist/serialization/types/CreateToolCallUnitTestRequest.d.ts +2 -0
- package/dist/serialization/types/CreateToolCallUnitTestRequest.js +2 -0
- package/dist/serialization/types/CustomLlm.d.ts +2 -0
- package/dist/serialization/types/CustomLlm.js +2 -0
- package/dist/serialization/types/CustomLlmAuthConnection.d.ts +9 -0
- package/dist/serialization/types/CustomLlmAuthConnection.js +41 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -0
- package/dist/serialization/types/ErrorPayload.d.ts +10 -0
- package/dist/serialization/types/ErrorPayload.js +42 -0
- package/dist/serialization/types/ExotelApiSubdomain.d.ts +7 -0
- package/dist/serialization/types/ExotelApiSubdomain.js +39 -0
- package/dist/serialization/types/ExotelOutboundCallResponse.d.ts +12 -0
- package/dist/serialization/types/ExotelOutboundCallResponse.js +44 -0
- package/dist/serialization/types/ExternalFileSyncInfo.d.ts +16 -0
- package/dist/serialization/types/ExternalFileSyncInfo.js +48 -0
- package/dist/serialization/types/ExternalFolderSyncInfo.d.ts +15 -0
- package/dist/serialization/types/ExternalFolderSyncInfo.js +47 -0
- package/dist/serialization/types/ExternalSyncType.d.ts +7 -0
- package/{serialization/types/ProcedureCompilerMode.js → dist/serialization/types/ExternalSyncType.js} +2 -2
- package/dist/serialization/types/GetAgentResponseModelPhoneNumbersItem.d.ts +5 -1
- package/dist/serialization/types/GetAgentResponseModelPhoneNumbersItem.js +2 -0
- package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetConversationResponseModel.js +1 -0
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.js +3 -0
- package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.js +3 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +3 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +3 -0
- package/dist/serialization/types/GetPhoneNumberExotelResponseModel.d.ts +15 -0
- package/dist/serialization/types/GetPhoneNumberExotelResponseModel.js +47 -0
- package/dist/serialization/types/GetResponseUnitTestResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetResponseUnitTestResponseModel.js +2 -0
- package/dist/serialization/types/GetSimulationTestResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetSimulationTestResponseModel.js +2 -0
- package/dist/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +5 -0
- package/dist/serialization/types/GetTestSuiteInvocationResponseModel.js +5 -0
- package/dist/serialization/types/GetToolCallUnitTestResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetToolCallUnitTestResponseModel.js +2 -0
- package/dist/serialization/types/InitPayload.d.ts +10 -0
- package/dist/serialization/types/InitPayload.js +42 -0
- package/dist/serialization/types/InteractionBudget.d.ts +7 -0
- package/dist/serialization/types/{ProcedureCompilerMode.js → InteractionBudget.js} +2 -2
- package/dist/serialization/types/LanguagesResponse.d.ts +15 -0
- package/{serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → dist/serialization/types/LanguagesResponse.js} +2 -2
- package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
- package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +1 -0
- package/dist/serialization/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +5 -1
- package/dist/serialization/types/McpToolConfigOverrideInputInputOverridesValue.js +2 -0
- package/dist/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +5 -1
- package/dist/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.js +2 -0
- package/dist/serialization/types/MessagesSearchResult.d.ts +2 -0
- package/dist/serialization/types/MessagesSearchResult.js +2 -0
- package/dist/serialization/types/Monitor.d.ts +1 -1
- package/dist/serialization/types/Monitor.js +1 -1
- package/dist/serialization/types/MusicGenerationMode.d.ts +7 -0
- package/dist/serialization/types/MusicGenerationMode.js +39 -0
- package/dist/serialization/types/OmitSchemaOverride.d.ts +7 -0
- package/dist/serialization/types/OmitSchemaOverride.js +39 -0
- package/dist/serialization/types/OptInSmsReminderParams.d.ts +9 -0
- package/dist/serialization/types/OptInSmsReminderParams.js +41 -0
- package/dist/serialization/types/OptOutSmsReminderParams.d.ts +9 -0
- package/dist/serialization/types/OptOutSmsReminderParams.js +41 -0
- package/dist/serialization/types/OrderItemInfo.d.ts +2 -2
- package/dist/serialization/types/OrderItemInfo.js +2 -2
- package/dist/serialization/types/OrderItemRequestInput.d.ts +15 -0
- package/{serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → dist/serialization/types/OrderItemRequestInput.js} +2 -2
- package/dist/serialization/types/OrderItemRequestOutput.d.ts +15 -0
- package/dist/serialization/types/{RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → OrderItemRequestOutput.js} +2 -2
- package/dist/serialization/types/OrderResponse.d.ts +1 -0
- package/dist/serialization/types/OrderResponse.js +1 -0
- package/dist/serialization/types/OrderSummary.d.ts +1 -0
- package/dist/serialization/types/OrderSummary.js +1 -0
- package/dist/serialization/types/PingPayload.d.ts +9 -0
- package/dist/serialization/types/PingPayload.js +41 -0
- package/dist/serialization/types/PongPayload.d.ts +9 -0
- package/dist/serialization/types/PongPayload.js +41 -0
- package/dist/serialization/types/ProcedureAtVersionInput.d.ts +17 -0
- package/{serialization/types/ProcedureAtVersion.js → dist/serialization/types/ProcedureAtVersionInput.js} +6 -2
- package/dist/serialization/types/ProcedureAtVersionOutput.d.ts +17 -0
- package/dist/serialization/types/ProcedureAtVersionOutput.js +49 -0
- package/dist/serialization/types/ProcedureRefResponseModel.d.ts +2 -0
- package/dist/serialization/types/ProcedureRefResponseModel.js +2 -0
- package/dist/serialization/types/ProcedureType.d.ts +7 -0
- package/dist/serialization/types/ProcedureType.js +39 -0
- package/dist/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
- package/dist/serialization/types/ReferencedToolCommonModelType.js +1 -1
- package/dist/serialization/types/RenderType.d.ts +1 -1
- package/dist/serialization/types/RenderType.js +1 -1
- package/dist/serialization/types/ResourceAccessInfo.d.ts +2 -0
- package/dist/serialization/types/ResourceAccessInfo.js +2 -0
- package/dist/serialization/types/ResourceAccessInfoAccessSource.d.ts +7 -0
- package/dist/serialization/types/ResourceAccessInfoAccessSource.js +39 -0
- package/dist/serialization/types/ResponseUnitTestModel.d.ts +2 -0
- package/dist/serialization/types/ResponseUnitTestModel.js +2 -0
- package/dist/serialization/types/RestoreCalendarEventParams.d.ts +9 -0
- package/dist/serialization/types/RestoreCalendarEventParams.js +41 -0
- package/dist/serialization/types/SimulationTestModel.d.ts +2 -0
- package/dist/serialization/types/SimulationTestModel.js +2 -0
- package/dist/serialization/types/SoftTimeoutConfig.d.ts +3 -0
- package/dist/serialization/types/SoftTimeoutConfig.js +3 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +3 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +3 -0
- package/dist/serialization/types/SpeechEngineResponse.d.ts +2 -0
- package/dist/serialization/types/SpeechEngineResponse.js +2 -0
- package/dist/serialization/types/SpeechEngineSummaryResponse.d.ts +2 -0
- package/dist/serialization/types/SpeechEngineSummaryResponse.js +2 -0
- package/dist/serialization/types/StartProcedureToolConfigInput.d.ts +10 -0
- package/dist/serialization/types/{LoadProcedureToolConfig.js → StartProcedureToolConfigInput.js} +4 -4
- package/dist/serialization/types/StartProcedureToolConfigOutput.d.ts +10 -0
- package/dist/serialization/types/StartProcedureToolConfigOutput.js +42 -0
- package/dist/serialization/types/StartProcedureToolErrorStatus.d.ts +7 -0
- package/dist/serialization/types/StartProcedureToolErrorStatus.js +39 -0
- package/dist/serialization/types/SystemEvaluationCriteria.d.ts +10 -0
- package/dist/serialization/types/{ProcedureSettings.js → SystemEvaluationCriteria.js} +4 -4
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -5
- package/dist/serialization/types/SystemToolConfigInputParams.js +2 -2
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -5
- package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -2
- package/dist/serialization/types/TelephonyProvider.d.ts +1 -1
- package/dist/serialization/types/TelephonyProvider.js +1 -1
- package/dist/serialization/types/TestInvocationSummaryResponseModel.d.ts +1 -0
- package/dist/serialization/types/TestInvocationSummaryResponseModel.js +1 -0
- package/dist/serialization/types/TestRunResultBucket.d.ts +13 -0
- package/dist/serialization/types/TestRunResultBucket.js +45 -0
- package/dist/serialization/types/TestRunResultSummary.d.ts +13 -0
- package/dist/serialization/types/TestRunResultSummary.js +45 -0
- package/dist/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +9 -0
- package/dist/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.js +41 -0
- package/dist/serialization/types/ToolCallUnitTestModel.d.ts +2 -0
- package/dist/serialization/types/ToolCallUnitTestModel.js +2 -0
- package/dist/serialization/types/TranscriptMessage.d.ts +11 -0
- package/dist/serialization/types/TranscriptMessage.js +43 -0
- package/dist/serialization/types/TranscriptMessageRole.d.ts +7 -0
- package/dist/serialization/types/TranscriptMessageRole.js +39 -0
- package/dist/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
- package/dist/serialization/types/TransferToAgentToolResultSuccessModel.js +1 -0
- package/dist/serialization/types/TransferToNumberResultExotelSuccessModel.d.ts +12 -0
- package/dist/serialization/types/TransferToNumberResultExotelSuccessModel.js +44 -0
- package/dist/serialization/types/TurnConfig.d.ts +2 -0
- package/dist/serialization/types/TurnConfig.js +2 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.js +2 -0
- package/dist/serialization/types/UnitTestSummaryResponseModel.d.ts +2 -0
- package/dist/serialization/types/UnitTestSummaryResponseModel.js +2 -0
- package/dist/serialization/types/UpdateBookingPageAppearanceParams.d.ts +9 -0
- package/dist/serialization/types/UpdateBookingPageAppearanceParams.js +41 -0
- package/dist/serialization/types/UpdateResponseUnitTestRequest.d.ts +2 -0
- package/dist/serialization/types/UpdateResponseUnitTestRequest.js +2 -0
- package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +2 -0
- package/dist/serialization/types/UpdateSimulationTestRequest.js +2 -0
- package/dist/serialization/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
- package/dist/serialization/types/UpdateToolCallUnitTestRequest.js +2 -0
- package/dist/serialization/types/UpsertOrderItemRequest.d.ts +2 -2
- package/dist/serialization/types/UpsertOrderItemRequest.js +2 -2
- package/dist/serialization/types/UrlSecretAuthResponse.d.ts +13 -0
- package/dist/serialization/types/UrlSecretAuthResponse.js +45 -0
- package/dist/serialization/types/UserTranscriptPayload.d.ts +12 -0
- package/dist/serialization/types/UserTranscriptPayload.js +44 -0
- package/dist/serialization/types/Verbosity.d.ts +7 -0
- package/dist/serialization/types/Verbosity.js +39 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +1 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +1 -0
- package/dist/serialization/types/WebhookUsageType.d.ts +1 -1
- package/dist/serialization/types/WebhookUsageType.js +1 -0
- package/dist/serialization/types/WorkflowStandaloneAgentNodeModelInput.d.ts +2 -1
- package/dist/serialization/types/WorkflowStandaloneAgentNodeModelInput.js +2 -1
- package/dist/serialization/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +2 -1
- package/dist/serialization/types/WorkflowStandaloneAgentNodeModelOutput.js +2 -1
- package/dist/serialization/types/index.d.ts +47 -8
- package/dist/serialization/types/index.js +47 -8
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/music.d.ts +11 -0
- package/dist/wrapper/music.js +15 -0
- package/package.json +1 -1
- package/reference.md +197 -49
- package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
- package/serialization/resources/conversationalAi/resources/exotel/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/exotel/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.d.ts +15 -0
- package/serialization/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.js +47 -0
- package/serialization/resources/conversationalAi/resources/exotel/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/exotel/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/exotel/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/exotel/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +5 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +2 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +5 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +2 -0
- package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.d.ts +5 -1
- package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.js +2 -0
- package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +5 -1
- package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.js +2 -0
- package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.d.ts +5 -1
- package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.js +2 -0
- package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.d.ts +5 -1
- package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.js +2 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/productions/resources/orders/client/create.d.ts +8 -0
- package/serialization/resources/productions/resources/orders/client/create.js +6 -0
- package/serialization/resources/productions/resources/orders/client/index.d.ts +1 -0
- package/serialization/resources/productions/resources/orders/client/index.js +24 -0
- package/serialization/resources/speechEngineUpstream/index.d.ts +1 -0
- package/serialization/resources/speechEngineUpstream/index.js +17 -0
- package/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +12 -0
- package/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +50 -0
- package/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +9 -0
- package/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.js +41 -0
- package/serialization/resources/speechEngineUpstream/types/index.d.ts +2 -0
- package/serialization/resources/speechEngineUpstream/types/index.js +18 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +2 -1
- package/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.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/AuthConnectionsUpdateResponse.d.ts +5 -1
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +2 -0
- package/serialization/types/AgentConfig.d.ts +2 -0
- package/serialization/types/AgentConfig.js +2 -0
- package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
- package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +2 -0
- package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -0
- package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +2 -0
- package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +0 -2
- package/serialization/types/AgentPlatformSettingsRequestModel.js +0 -2
- package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +0 -2
- package/serialization/types/AgentPlatformSettingsResponseModel.js +0 -2
- package/serialization/types/AgentResponsePayload.d.ts +12 -0
- package/serialization/types/AgentResponsePayload.js +44 -0
- package/serialization/types/AgentTransfer.d.ts +2 -1
- package/serialization/types/AgentTransfer.js +2 -1
- package/serialization/types/AnalysisProperty.d.ts +1 -0
- package/serialization/types/AnalysisProperty.js +1 -0
- package/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +5 -1
- package/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.js +2 -0
- package/serialization/types/BaseTurnConfig.d.ts +2 -0
- package/serialization/types/BaseTurnConfig.js +2 -0
- package/serialization/types/BehaviorOverride.d.ts +14 -0
- package/serialization/types/BehaviorOverride.js +46 -0
- package/serialization/types/BucketingStatus.d.ts +7 -0
- package/serialization/types/BucketingStatus.js +39 -0
- package/serialization/types/ClosePayload.d.ts +9 -0
- package/serialization/types/ClosePayload.js +41 -0
- package/serialization/types/ConversationHistoryExotelPhoneCallModel.d.ts +15 -0
- package/serialization/types/ConversationHistoryExotelPhoneCallModel.js +47 -0
- package/serialization/types/ConversationHistoryMetadataCommonModelPhoneCall.d.ts +5 -1
- package/serialization/types/ConversationHistoryMetadataCommonModelPhoneCall.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +5 -1
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +5 -1
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +2 -0
- package/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/serialization/types/ConversationInitiationSource.js +4 -0
- package/serialization/types/ConversationSentimentAnalysis.d.ts +15 -0
- package/serialization/types/ConversationSentimentAnalysis.js +47 -0
- package/serialization/types/ConversationSentimentAnalysisOverallLabel.d.ts +7 -0
- package/serialization/types/ConversationSentimentAnalysisOverallLabel.js +39 -0
- package/serialization/types/CreateExotelPhoneNumberRequest.d.ts +19 -0
- package/serialization/types/CreateExotelPhoneNumberRequest.js +51 -0
- package/serialization/types/CreateOrderRequest.d.ts +9 -0
- package/serialization/types/CreateOrderRequest.js +41 -0
- package/serialization/types/CreateOrderResponse.d.ts +1 -0
- package/serialization/types/CreateOrderResponse.js +1 -0
- package/serialization/types/CreateResponseUnitTestRequest.d.ts +2 -0
- package/serialization/types/CreateResponseUnitTestRequest.js +2 -0
- package/serialization/types/CreateSimulationTestRequest.d.ts +2 -0
- package/serialization/types/CreateSimulationTestRequest.js +2 -0
- package/serialization/types/CreateToolCallUnitTestRequest.d.ts +2 -0
- package/serialization/types/CreateToolCallUnitTestRequest.js +2 -0
- package/serialization/types/CustomLlm.d.ts +2 -0
- package/serialization/types/CustomLlm.js +2 -0
- package/serialization/types/CustomLlmAuthConnection.d.ts +9 -0
- package/serialization/types/CustomLlmAuthConnection.js +41 -0
- package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/serialization/types/DirectPublishingReadResponseModel.js +1 -0
- package/serialization/types/ErrorPayload.d.ts +10 -0
- package/serialization/types/ErrorPayload.js +42 -0
- package/serialization/types/ExotelApiSubdomain.d.ts +7 -0
- package/serialization/types/ExotelApiSubdomain.js +39 -0
- package/serialization/types/ExotelOutboundCallResponse.d.ts +12 -0
- package/serialization/types/ExotelOutboundCallResponse.js +44 -0
- package/serialization/types/ExternalFileSyncInfo.d.ts +16 -0
- package/serialization/types/ExternalFileSyncInfo.js +48 -0
- package/serialization/types/ExternalFolderSyncInfo.d.ts +15 -0
- package/serialization/types/ExternalFolderSyncInfo.js +47 -0
- package/serialization/types/ExternalSyncType.d.ts +7 -0
- package/serialization/types/ExternalSyncType.js +39 -0
- package/serialization/types/GetAgentResponseModelPhoneNumbersItem.d.ts +5 -1
- package/serialization/types/GetAgentResponseModelPhoneNumbersItem.js +2 -0
- package/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/serialization/types/GetConversationResponseModel.js +1 -0
- package/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +3 -0
- package/serialization/types/GetKnowledgeBaseFileResponseModel.js +3 -0
- package/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +3 -0
- package/serialization/types/GetKnowledgeBaseFolderResponseModel.js +3 -0
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +3 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +3 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +3 -0
- package/serialization/types/GetPhoneNumberExotelResponseModel.d.ts +15 -0
- package/serialization/types/GetPhoneNumberExotelResponseModel.js +47 -0
- package/serialization/types/GetResponseUnitTestResponseModel.d.ts +2 -0
- package/serialization/types/GetResponseUnitTestResponseModel.js +2 -0
- package/serialization/types/GetSimulationTestResponseModel.d.ts +2 -0
- package/serialization/types/GetSimulationTestResponseModel.js +2 -0
- package/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +5 -0
- package/serialization/types/GetTestSuiteInvocationResponseModel.js +5 -0
- package/serialization/types/GetToolCallUnitTestResponseModel.d.ts +2 -0
- package/serialization/types/GetToolCallUnitTestResponseModel.js +2 -0
- package/serialization/types/InitPayload.d.ts +10 -0
- package/serialization/types/InitPayload.js +42 -0
- package/serialization/types/InteractionBudget.d.ts +7 -0
- package/serialization/types/InteractionBudget.js +39 -0
- package/serialization/types/LanguagesResponse.d.ts +15 -0
- package/{dist/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → serialization/types/LanguagesResponse.js} +2 -2
- package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
- package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
- package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +1 -0
- package/serialization/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +5 -1
- package/serialization/types/McpToolConfigOverrideInputInputOverridesValue.js +2 -0
- package/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +5 -1
- package/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.js +2 -0
- package/serialization/types/MessagesSearchResult.d.ts +2 -0
- package/serialization/types/MessagesSearchResult.js +2 -0
- package/serialization/types/Monitor.d.ts +1 -1
- package/serialization/types/Monitor.js +1 -1
- package/serialization/types/MusicGenerationMode.d.ts +7 -0
- package/serialization/types/MusicGenerationMode.js +39 -0
- package/serialization/types/OmitSchemaOverride.d.ts +7 -0
- package/serialization/types/OmitSchemaOverride.js +39 -0
- package/serialization/types/OptInSmsReminderParams.d.ts +9 -0
- package/serialization/types/OptInSmsReminderParams.js +41 -0
- package/serialization/types/OptOutSmsReminderParams.d.ts +9 -0
- package/serialization/types/OptOutSmsReminderParams.js +41 -0
- package/serialization/types/OrderItemInfo.d.ts +2 -2
- package/serialization/types/OrderItemInfo.js +2 -2
- package/serialization/types/OrderItemRequestInput.d.ts +15 -0
- package/{dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → serialization/types/OrderItemRequestInput.js} +2 -2
- package/serialization/types/OrderItemRequestOutput.d.ts +15 -0
- package/serialization/types/{RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → OrderItemRequestOutput.js} +2 -2
- package/serialization/types/OrderResponse.d.ts +1 -0
- package/serialization/types/OrderResponse.js +1 -0
- package/serialization/types/OrderSummary.d.ts +1 -0
- package/serialization/types/OrderSummary.js +1 -0
- package/serialization/types/PingPayload.d.ts +9 -0
- package/serialization/types/PingPayload.js +41 -0
- package/serialization/types/PongPayload.d.ts +9 -0
- package/serialization/types/PongPayload.js +41 -0
- package/serialization/types/ProcedureAtVersionInput.d.ts +17 -0
- package/{dist/serialization/types/ProcedureAtVersion.js → serialization/types/ProcedureAtVersionInput.js} +6 -2
- package/serialization/types/ProcedureAtVersionOutput.d.ts +17 -0
- package/serialization/types/ProcedureAtVersionOutput.js +49 -0
- package/serialization/types/ProcedureRefResponseModel.d.ts +2 -0
- package/serialization/types/ProcedureRefResponseModel.js +2 -0
- package/serialization/types/ProcedureType.d.ts +7 -0
- package/serialization/types/ProcedureType.js +39 -0
- package/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
- package/serialization/types/ReferencedToolCommonModelType.js +1 -1
- package/serialization/types/RenderType.d.ts +1 -1
- package/serialization/types/RenderType.js +1 -1
- package/serialization/types/ResourceAccessInfo.d.ts +2 -0
- package/serialization/types/ResourceAccessInfo.js +2 -0
- package/serialization/types/ResourceAccessInfoAccessSource.d.ts +7 -0
- package/serialization/types/ResourceAccessInfoAccessSource.js +39 -0
- package/serialization/types/ResponseUnitTestModel.d.ts +2 -0
- package/serialization/types/ResponseUnitTestModel.js +2 -0
- package/serialization/types/RestoreCalendarEventParams.d.ts +9 -0
- package/serialization/types/RestoreCalendarEventParams.js +41 -0
- package/serialization/types/SimulationTestModel.d.ts +2 -0
- package/serialization/types/SimulationTestModel.js +2 -0
- package/serialization/types/SoftTimeoutConfig.d.ts +3 -0
- package/serialization/types/SoftTimeoutConfig.js +3 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +3 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +3 -0
- package/serialization/types/SpeechEngineResponse.d.ts +2 -0
- package/serialization/types/SpeechEngineResponse.js +2 -0
- package/serialization/types/SpeechEngineSummaryResponse.d.ts +2 -0
- package/serialization/types/SpeechEngineSummaryResponse.js +2 -0
- package/serialization/types/StartProcedureToolConfigInput.d.ts +10 -0
- package/serialization/types/{LoadProcedureToolConfig.js → StartProcedureToolConfigInput.js} +4 -4
- package/serialization/types/StartProcedureToolConfigOutput.d.ts +10 -0
- package/serialization/types/StartProcedureToolConfigOutput.js +42 -0
- package/serialization/types/StartProcedureToolErrorStatus.d.ts +7 -0
- package/serialization/types/StartProcedureToolErrorStatus.js +39 -0
- package/serialization/types/SystemEvaluationCriteria.d.ts +10 -0
- package/serialization/types/{ProcedureSettings.js → SystemEvaluationCriteria.js} +4 -4
- package/serialization/types/SystemToolConfigInputParams.d.ts +5 -5
- package/serialization/types/SystemToolConfigInputParams.js +2 -2
- package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -5
- package/serialization/types/SystemToolConfigOutputParams.js +2 -2
- package/serialization/types/TelephonyProvider.d.ts +1 -1
- package/serialization/types/TelephonyProvider.js +1 -1
- package/serialization/types/TestInvocationSummaryResponseModel.d.ts +1 -0
- package/serialization/types/TestInvocationSummaryResponseModel.js +1 -0
- package/serialization/types/TestRunResultBucket.d.ts +13 -0
- package/serialization/types/TestRunResultBucket.js +45 -0
- package/serialization/types/TestRunResultSummary.d.ts +13 -0
- package/serialization/types/TestRunResultSummary.js +45 -0
- package/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +9 -0
- package/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.js +41 -0
- package/serialization/types/ToolCallUnitTestModel.d.ts +2 -0
- package/serialization/types/ToolCallUnitTestModel.js +2 -0
- package/serialization/types/TranscriptMessage.d.ts +11 -0
- package/serialization/types/TranscriptMessage.js +43 -0
- package/serialization/types/TranscriptMessageRole.d.ts +7 -0
- package/serialization/types/TranscriptMessageRole.js +39 -0
- package/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
- package/serialization/types/TransferToAgentToolResultSuccessModel.js +1 -0
- package/serialization/types/TransferToNumberResultExotelSuccessModel.d.ts +12 -0
- package/serialization/types/TransferToNumberResultExotelSuccessModel.js +44 -0
- package/serialization/types/TurnConfig.d.ts +2 -0
- package/serialization/types/TurnConfig.js +2 -0
- package/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/serialization/types/TurnConfigWorkflowOverride.js +2 -0
- package/serialization/types/UnitTestSummaryResponseModel.d.ts +2 -0
- package/serialization/types/UnitTestSummaryResponseModel.js +2 -0
- package/serialization/types/UpdateBookingPageAppearanceParams.d.ts +9 -0
- package/serialization/types/UpdateBookingPageAppearanceParams.js +41 -0
- package/serialization/types/UpdateResponseUnitTestRequest.d.ts +2 -0
- package/serialization/types/UpdateResponseUnitTestRequest.js +2 -0
- package/serialization/types/UpdateSimulationTestRequest.d.ts +2 -0
- package/serialization/types/UpdateSimulationTestRequest.js +2 -0
- package/serialization/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
- package/serialization/types/UpdateToolCallUnitTestRequest.js +2 -0
- package/serialization/types/UpsertOrderItemRequest.d.ts +2 -2
- package/serialization/types/UpsertOrderItemRequest.js +2 -2
- package/serialization/types/UrlSecretAuthResponse.d.ts +13 -0
- package/serialization/types/UrlSecretAuthResponse.js +45 -0
- package/serialization/types/UserTranscriptPayload.d.ts +12 -0
- package/serialization/types/UserTranscriptPayload.js +44 -0
- package/serialization/types/Verbosity.d.ts +7 -0
- package/serialization/types/Verbosity.js +39 -0
- package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -0
- package/serialization/types/WebhookToolApiSchemaConfigInput.js +1 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutput.js +1 -0
- package/serialization/types/WebhookUsageType.d.ts +1 -1
- package/serialization/types/WebhookUsageType.js +1 -0
- package/serialization/types/WorkflowStandaloneAgentNodeModelInput.d.ts +2 -1
- package/serialization/types/WorkflowStandaloneAgentNodeModelInput.js +2 -1
- package/serialization/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +2 -1
- package/serialization/types/WorkflowStandaloneAgentNodeModelOutput.js +2 -1
- package/serialization/types/index.d.ts +47 -8
- package/serialization/types/index.js +47 -8
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/music.d.ts +11 -0
- package/wrapper/music.js +15 -0
- package/api/types/LoadProcedureToolConfig.d.ts +0 -4
- package/api/types/LoadProcedureToolErrorStatus.d.ts +0 -5
- package/api/types/ProcedureCompilerMode.d.ts +0 -5
- package/api/types/ProcedureSettings.d.ts +0 -4
- package/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +0 -10
- package/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +0 -10
- package/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +0 -10
- package/dist/api/types/LoadProcedureToolConfig.d.ts +0 -4
- package/dist/api/types/LoadProcedureToolErrorStatus.d.ts +0 -5
- package/dist/api/types/ProcedureCompilerMode.d.ts +0 -5
- package/dist/api/types/ProcedureSettings.d.ts +0 -4
- package/dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +0 -10
- package/dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +0 -10
- package/dist/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +0 -10
- package/dist/serialization/types/LoadProcedureToolConfig.d.ts +0 -10
- package/dist/serialization/types/LoadProcedureToolErrorStatus.d.ts +0 -7
- package/dist/serialization/types/ProcedureAtVersion.d.ts +0 -13
- package/dist/serialization/types/ProcedureCompilerMode.d.ts +0 -7
- package/dist/serialization/types/ProcedureSettings.d.ts +0 -10
- package/dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +0 -15
- package/dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +0 -15
- package/dist/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +0 -15
- package/serialization/types/LoadProcedureToolConfig.d.ts +0 -10
- package/serialization/types/LoadProcedureToolErrorStatus.d.ts +0 -7
- package/serialization/types/ProcedureAtVersion.d.ts +0 -13
- package/serialization/types/ProcedureCompilerMode.d.ts +0 -7
- package/serialization/types/ProcedureSettings.d.ts +0 -10
- package/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +0 -15
- package/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +0 -15
- package/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +0 -15
- /package/api/{types/LoadProcedureToolConfig.js → resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.js} +0 -0
- /package/api/{types/ProcedureAtVersion.js → resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js} +0 -0
- /package/api/{types/ProcedureSettings.js → resources/speechEngineUpstream/types/SendUpstreamMessage.js} +0 -0
- /package/api/{types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.js} +0 -0
- /package/api/types/{RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → AgentResponsePayload.js} +0 -0
- /package/api/types/{RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → BehaviorOverride.js} +0 -0
- /package/{dist/api/types/LoadProcedureToolConfig.js → api/types/ClosePayload.js} +0 -0
- /package/{dist/api/types/ProcedureAtVersion.js → api/types/ConversationHistoryExotelPhoneCallModel.js} +0 -0
- /package/{dist/api/types/ProcedureSettings.js → api/types/ConversationSentimentAnalysis.js} +0 -0
- /package/{dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → api/types/CreateExotelPhoneNumberRequest.js} +0 -0
- /package/{dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → api/types/CreateOrderRequest.js} +0 -0
- /package/{dist/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → api/types/CustomLlmAuthConnection.js} +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
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("./ReceiveUpstreamMessage"), exports);
|
|
18
|
+
__exportStar(require("./SendUpstreamMessage"), exports);
|
package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export interface BodySpeechToTextV1SpeechToTextPost {
|
|
|
18
18
|
enableLogging?: boolean;
|
|
19
19
|
/** The ID of the model to use for transcription. */
|
|
20
20
|
modelId: ElevenLabs.SpeechToTextConvertRequestModelId;
|
|
21
|
-
/** The file to transcribe (100ms minimum audio length). All major audio and video formats are supported. Exactly one of the file or cloud_storage_url parameters must be provided. The file size must be less than
|
|
21
|
+
/** The file to transcribe (100ms minimum audio length). All major audio and video formats are supported. Exactly one of the file or cloud_storage_url parameters must be provided. The file size must be less than 5.0GB. */
|
|
22
22
|
file?: core.file.Uploadable | undefined;
|
|
23
23
|
/** An ISO-639-1 or ISO-639-3 language_code corresponding to the language of the audio file. Can sometimes improve transcription performance if known beforehand. Defaults to null, in this case the language is predicted automatically. */
|
|
24
24
|
languageCode?: string;
|
|
@@ -36,7 +36,7 @@ export interface BodySpeechToTextV1SpeechToTextPost {
|
|
|
36
36
|
additionalFormats?: ElevenLabs.AdditionalFormats;
|
|
37
37
|
/** The format of input audio. Options are 'pcm_s16le_16' or 'other' For `pcm_s16le_16`, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte order. Latency will be lower than with passing an encoded waveform. */
|
|
38
38
|
fileFormat?: ElevenLabs.SpeechToTextConvertRequestFileFormat;
|
|
39
|
-
/** The HTTPS URL of the file to transcribe. Exactly one of the file or cloud_storage_url parameters must be provided. The file must be accessible via HTTPS and the file size must be less than 2GB. Any valid HTTPS URL is accepted, including URLs from cloud storage providers (AWS S3, Google Cloud Storage, Cloudflare R2, etc.), CDNs, or any other HTTPS source. URLs can be pre-signed or include authentication tokens in query parameters. */
|
|
39
|
+
/** [Deprecated] This parameter is deprecated and will be removed in the future. Use 'source_url' instead.The HTTPS URL of the file to transcribe. Exactly one of the file or cloud_storage_url parameters must be provided. The file must be accessible via HTTPS and the file size must be less than 2GB. Any valid HTTPS URL is accepted, including URLs from cloud storage providers (AWS S3, Google Cloud Storage, Cloudflare R2, etc.), CDNs, or any other HTTPS source. URLs can be pre-signed or include authentication tokens in query parameters. */
|
|
40
40
|
cloudStorageUrl?: string;
|
|
41
41
|
/** The URL of an audio or video file to transcribe. Supports hosted video or audio files, YouTube video URLs, TikTok video URLs, and other video hosting services. */
|
|
42
42
|
sourceUrl?: string;
|
|
@@ -77,11 +77,14 @@ class TextToDialogueClient {
|
|
|
77
77
|
__convert(request, requestOptions) {
|
|
78
78
|
return __awaiter(this, void 0, void 0, function* () {
|
|
79
79
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
80
|
-
const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
|
|
80
|
+
const { outputFormat, enableLogging } = request, _body = __rest(request, ["outputFormat", "enableLogging"]);
|
|
81
81
|
const _queryParams = {};
|
|
82
82
|
if (outputFormat != null) {
|
|
83
83
|
_queryParams.output_format = serializers.TextToDialogueConvertRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
|
|
84
84
|
}
|
|
85
|
+
if (enableLogging != null) {
|
|
86
|
+
_queryParams.enable_logging = enableLogging.toString();
|
|
87
|
+
}
|
|
85
88
|
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);
|
|
86
89
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
87
90
|
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/text-to-dialogue"),
|
|
@@ -128,13 +131,16 @@ class TextToDialogueClient {
|
|
|
128
131
|
__stream(request, requestOptions) {
|
|
129
132
|
return __awaiter(this, void 0, void 0, function* () {
|
|
130
133
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
131
|
-
const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
|
|
134
|
+
const { outputFormat, enableLogging } = request, _body = __rest(request, ["outputFormat", "enableLogging"]);
|
|
132
135
|
const _queryParams = {};
|
|
133
136
|
if (outputFormat != null) {
|
|
134
137
|
_queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
|
|
135
138
|
unrecognizedObjectKeys: "strip",
|
|
136
139
|
});
|
|
137
140
|
}
|
|
141
|
+
if (enableLogging != null) {
|
|
142
|
+
_queryParams.enable_logging = enableLogging.toString();
|
|
143
|
+
}
|
|
138
144
|
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);
|
|
139
145
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
140
146
|
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/text-to-dialogue/stream"),
|
|
@@ -180,13 +186,16 @@ class TextToDialogueClient {
|
|
|
180
186
|
__streamWithTimestamps(request, requestOptions) {
|
|
181
187
|
return __awaiter(this, void 0, void 0, function* () {
|
|
182
188
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
183
|
-
const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
|
|
189
|
+
const { outputFormat, enableLogging } = request, _body = __rest(request, ["outputFormat", "enableLogging"]);
|
|
184
190
|
const _queryParams = {};
|
|
185
191
|
if (outputFormat != null) {
|
|
186
192
|
_queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
|
|
187
193
|
unrecognizedObjectKeys: "strip",
|
|
188
194
|
});
|
|
189
195
|
}
|
|
196
|
+
if (enableLogging != null) {
|
|
197
|
+
_queryParams.enable_logging = enableLogging.toString();
|
|
198
|
+
}
|
|
190
199
|
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);
|
|
191
200
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
192
201
|
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/text-to-dialogue/stream/with-timestamps"),
|
|
@@ -252,6 +261,7 @@ class TextToDialogueClient {
|
|
|
252
261
|
* @example
|
|
253
262
|
* await client.textToDialogue.convertWithTimestamps({
|
|
254
263
|
* outputFormat: "alaw_8000",
|
|
264
|
+
* enableLogging: true,
|
|
255
265
|
* inputs: [{
|
|
256
266
|
* text: "Hello, how are you?",
|
|
257
267
|
* voiceId: "bYTqZQo3Jz7LQtmGTgwi"
|
|
@@ -267,11 +277,14 @@ class TextToDialogueClient {
|
|
|
267
277
|
__convertWithTimestamps(request, requestOptions) {
|
|
268
278
|
return __awaiter(this, void 0, void 0, function* () {
|
|
269
279
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
270
|
-
const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
|
|
280
|
+
const { outputFormat, enableLogging } = request, _body = __rest(request, ["outputFormat", "enableLogging"]);
|
|
271
281
|
const _queryParams = {};
|
|
272
282
|
if (outputFormat != null) {
|
|
273
283
|
_queryParams.output_format = serializers.TextToDialogueConvertWithTimestampsRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
|
|
274
284
|
}
|
|
285
|
+
if (enableLogging != null) {
|
|
286
|
+
_queryParams.enable_logging = enableLogging.toString();
|
|
287
|
+
}
|
|
275
288
|
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);
|
|
276
289
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
277
290
|
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/text-to-dialogue/with-timestamps"),
|
package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
5
|
* outputFormat: "alaw_8000",
|
|
6
|
+
* enableLogging: true,
|
|
6
7
|
* inputs: [{
|
|
7
8
|
* text: "Hello, how are you?",
|
|
8
9
|
* voiceId: "bYTqZQo3Jz7LQtmGTgwi"
|
|
@@ -15,6 +16,8 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
15
16
|
export interface BodyTextToDialogueFullWithTimestamps {
|
|
16
17
|
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
17
18
|
outputFormat?: ElevenLabs.TextToDialogueConvertWithTimestampsRequestOutputFormat;
|
|
19
|
+
/** When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers. */
|
|
20
|
+
enableLogging?: boolean;
|
|
18
21
|
/** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. For reliable generation, keep the total character count across all `inputs[].text` values at or below 2,000 characters per request. Longer requests can terminate early in streaming responses or return a validation error. */
|
|
19
22
|
inputs: ElevenLabs.DialogueInput[];
|
|
20
23
|
/** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
|
|
@@ -14,6 +14,8 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
14
14
|
export interface BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost {
|
|
15
15
|
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
16
16
|
outputFormat?: ElevenLabs.AllowedOutputFormats;
|
|
17
|
+
/** When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers. */
|
|
18
|
+
enableLogging?: boolean;
|
|
17
19
|
/** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. For reliable generation, keep the total character count across all `inputs[].text` values at or below 2,000 characters per request. Longer requests can terminate early in streaming responses or return a validation error. */
|
|
18
20
|
inputs: ElevenLabs.DialogueInput[];
|
|
19
21
|
/** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
|
|
@@ -14,6 +14,8 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
14
14
|
export interface BodyTextToDialogueMultiVoiceV1TextToDialoguePost {
|
|
15
15
|
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
16
16
|
outputFormat?: ElevenLabs.TextToDialogueConvertRequestOutputFormat;
|
|
17
|
+
/** When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers. */
|
|
18
|
+
enableLogging?: boolean;
|
|
17
19
|
/** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. For reliable generation, keep the total character count across all `inputs[].text` values at or below 2,000 characters per request. Longer requests can terminate early in streaming responses or return a validation error. */
|
|
18
20
|
inputs: ElevenLabs.DialogueInput[];
|
|
19
21
|
/** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
|
|
@@ -3,6 +3,7 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
5
|
* outputFormat: "mp3_22050_32",
|
|
6
|
+
* enableLogging: true,
|
|
6
7
|
* inputs: [{
|
|
7
8
|
* text: "Hello, how are you?",
|
|
8
9
|
* voiceId: "bYTqZQo3Jz7LQtmGTgwi"
|
|
@@ -15,6 +16,8 @@ import type * as ElevenLabs from "../../../../index";
|
|
|
15
16
|
export interface BodyTextToDialogueStreamWithTimestamps {
|
|
16
17
|
/** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
|
|
17
18
|
outputFormat?: ElevenLabs.AllowedOutputFormats;
|
|
19
|
+
/** When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers. */
|
|
20
|
+
enableLogging?: boolean;
|
|
18
21
|
/** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. For reliable generation, keep the total character count across all `inputs[].text` values at or below 2,000 characters per request. Longer requests can terminate early in streaming responses or return a validation error. */
|
|
19
22
|
inputs: ElevenLabs.DialogueInput[];
|
|
20
23
|
/** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
|
|
@@ -2,4 +2,4 @@ import type * as ElevenLabs from "../../../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* Receive JSON audio chunks, a final marker, or an error payload from the Text to Dialogue WebSocket.
|
|
4
4
|
*/
|
|
5
|
-
export type ReceiveTextToDialogueWebsocketMessage = ElevenLabs.TextToDialogueWebsocketAudioChunk | ElevenLabs.TextToDialogueWebsocketFinal | ElevenLabs.TextToDialogueWebsocketError;
|
|
5
|
+
export type ReceiveTextToDialogueWebsocketMessage = ElevenLabs.TextToDialogueWebsocketAudioChunk | ElevenLabs.TextToDialogueWebsocketFinalAudioForTurn | ElevenLabs.TextToDialogueWebsocketFinal | ElevenLabs.TextToDialogueWebsocketError;
|
|
@@ -22,6 +22,35 @@ export declare class VoicesClient {
|
|
|
22
22
|
get ivc(): IvcClient;
|
|
23
23
|
get pvc(): PvcClient;
|
|
24
24
|
get samples(): SamplesClient;
|
|
25
|
+
/**
|
|
26
|
+
* Returns metadata about a specific voice.
|
|
27
|
+
*
|
|
28
|
+
* @param {string} voice_id - ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
|
|
29
|
+
* @param {ElevenLabs.VoicesGetRequest} request
|
|
30
|
+
* @param {VoicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
31
|
+
*
|
|
32
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* await client.voices.get("21m00Tcm4TlvDq8ikWAM", {
|
|
36
|
+
* withSettings: true
|
|
37
|
+
* })
|
|
38
|
+
*/
|
|
39
|
+
get(voice_id: string, request?: ElevenLabs.VoicesGetRequest, requestOptions?: VoicesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.Voice>;
|
|
40
|
+
private __get;
|
|
41
|
+
/**
|
|
42
|
+
* Deletes a voice by its ID.
|
|
43
|
+
*
|
|
44
|
+
* @param {string} voice_id - ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
|
|
45
|
+
* @param {VoicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* await client.voices.delete("21m00Tcm4TlvDq8ikWAM")
|
|
51
|
+
*/
|
|
52
|
+
delete(voice_id: string, requestOptions?: VoicesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.DeleteVoiceResponseModel>;
|
|
53
|
+
private __delete;
|
|
25
54
|
/**
|
|
26
55
|
* Returns a list of all available voices for a user. Stops working once the user's workspace exceeds 500 voices.
|
|
27
56
|
*
|
|
@@ -62,35 +91,6 @@ export declare class VoicesClient {
|
|
|
62
91
|
*/
|
|
63
92
|
search(request?: ElevenLabs.VoicesSearchRequest, requestOptions?: VoicesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetVoicesV2Response>;
|
|
64
93
|
private __search;
|
|
65
|
-
/**
|
|
66
|
-
* Returns metadata about a specific voice.
|
|
67
|
-
*
|
|
68
|
-
* @param {string} voice_id - ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
|
|
69
|
-
* @param {ElevenLabs.VoicesGetRequest} request
|
|
70
|
-
* @param {VoicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
71
|
-
*
|
|
72
|
-
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
73
|
-
*
|
|
74
|
-
* @example
|
|
75
|
-
* await client.voices.get("21m00Tcm4TlvDq8ikWAM", {
|
|
76
|
-
* withSettings: true
|
|
77
|
-
* })
|
|
78
|
-
*/
|
|
79
|
-
get(voice_id: string, request?: ElevenLabs.VoicesGetRequest, requestOptions?: VoicesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.Voice>;
|
|
80
|
-
private __get;
|
|
81
|
-
/**
|
|
82
|
-
* Deletes a voice by its ID.
|
|
83
|
-
*
|
|
84
|
-
* @param {string} voice_id - ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
|
|
85
|
-
* @param {VoicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
86
|
-
*
|
|
87
|
-
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
88
|
-
*
|
|
89
|
-
* @example
|
|
90
|
-
* await client.voices.delete("21m00Tcm4TlvDq8ikWAM")
|
|
91
|
-
*/
|
|
92
|
-
delete(voice_id: string, requestOptions?: VoicesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.DeleteVoiceResponseModel>;
|
|
93
|
-
private __delete;
|
|
94
94
|
/**
|
|
95
95
|
* Edit a voice created by you.
|
|
96
96
|
*
|
|
@@ -78,32 +78,33 @@ class VoicesClient {
|
|
|
78
78
|
return ((_a = this._samples) !== null && _a !== void 0 ? _a : (this._samples = new Client_3.SamplesClient(this._options)));
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
|
-
* Returns
|
|
81
|
+
* Returns metadata about a specific voice.
|
|
82
82
|
*
|
|
83
|
-
* @param {
|
|
83
|
+
* @param {string} voice_id - ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
|
|
84
|
+
* @param {ElevenLabs.VoicesGetRequest} request
|
|
84
85
|
* @param {VoicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
85
86
|
*
|
|
86
87
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
87
88
|
*
|
|
88
89
|
* @example
|
|
89
|
-
* await client.voices.
|
|
90
|
-
*
|
|
90
|
+
* await client.voices.get("21m00Tcm4TlvDq8ikWAM", {
|
|
91
|
+
* withSettings: true
|
|
91
92
|
* })
|
|
92
93
|
*/
|
|
93
|
-
|
|
94
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
94
|
+
get(voice_id, request = {}, requestOptions) {
|
|
95
|
+
return core.HttpResponsePromise.fromPromise(this.__get(voice_id, request, requestOptions));
|
|
95
96
|
}
|
|
96
|
-
|
|
97
|
-
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
97
|
+
__get(voice_id_1) {
|
|
98
|
+
return __awaiter(this, arguments, void 0, function* (voice_id, request = {}, requestOptions) {
|
|
98
99
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
99
|
-
const {
|
|
100
|
+
const { withSettings } = request;
|
|
100
101
|
const _queryParams = {};
|
|
101
|
-
if (
|
|
102
|
-
_queryParams.
|
|
102
|
+
if (withSettings != null) {
|
|
103
|
+
_queryParams.with_settings = withSettings.toString();
|
|
103
104
|
}
|
|
104
105
|
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);
|
|
105
106
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
106
|
-
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,
|
|
107
|
+
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/voices/${core.url.encodePathParam(voice_id)}`),
|
|
107
108
|
method: "GET",
|
|
108
109
|
headers: _headers,
|
|
109
110
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
@@ -115,7 +116,7 @@ class VoicesClient {
|
|
|
115
116
|
});
|
|
116
117
|
if (_response.ok) {
|
|
117
118
|
return {
|
|
118
|
-
data: serializers.
|
|
119
|
+
data: serializers.Voice.parseOrThrow(_response.body, {
|
|
119
120
|
unrecognizedObjectKeys: "passthrough",
|
|
120
121
|
allowUnrecognizedUnionMembers: true,
|
|
121
122
|
allowUnrecognizedEnumValues: true,
|
|
@@ -136,84 +137,32 @@ class VoicesClient {
|
|
|
136
137
|
});
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
|
-
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/voices");
|
|
140
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/voices/{voice_id}");
|
|
140
141
|
});
|
|
141
142
|
}
|
|
142
143
|
/**
|
|
143
|
-
*
|
|
144
|
+
* Deletes a voice by its ID.
|
|
144
145
|
*
|
|
145
|
-
* @param {
|
|
146
|
+
* @param {string} voice_id - ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
|
|
146
147
|
* @param {VoicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
147
148
|
*
|
|
148
149
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
149
150
|
*
|
|
150
151
|
* @example
|
|
151
|
-
* await client.voices.
|
|
152
|
-
* nextPageToken: "next_page_token",
|
|
153
|
-
* pageSize: 1,
|
|
154
|
-
* search: "search",
|
|
155
|
-
* sort: "sort",
|
|
156
|
-
* sortDirection: "sort_direction",
|
|
157
|
-
* voiceType: "voice_type",
|
|
158
|
-
* category: "category",
|
|
159
|
-
* fineTuningState: "fine_tuning_state",
|
|
160
|
-
* collectionId: "collection_id",
|
|
161
|
-
* includeTotalCount: true,
|
|
162
|
-
* voiceIds: ["voice_ids"]
|
|
163
|
-
* })
|
|
152
|
+
* await client.voices.delete("21m00Tcm4TlvDq8ikWAM")
|
|
164
153
|
*/
|
|
165
|
-
|
|
166
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
154
|
+
delete(voice_id, requestOptions) {
|
|
155
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(voice_id, requestOptions));
|
|
167
156
|
}
|
|
168
|
-
|
|
169
|
-
return __awaiter(this,
|
|
157
|
+
__delete(voice_id, requestOptions) {
|
|
158
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
170
159
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
171
|
-
const { nextPageToken, pageSize, search, sort, sortDirection, voiceType, category, fineTuningState, collectionId, includeTotalCount, voiceIds, } = request;
|
|
172
|
-
const _queryParams = {};
|
|
173
|
-
if (nextPageToken != null) {
|
|
174
|
-
_queryParams.next_page_token = nextPageToken;
|
|
175
|
-
}
|
|
176
|
-
if (pageSize != null) {
|
|
177
|
-
_queryParams.page_size = pageSize.toString();
|
|
178
|
-
}
|
|
179
|
-
if (search != null) {
|
|
180
|
-
_queryParams.search = search;
|
|
181
|
-
}
|
|
182
|
-
if (sort != null) {
|
|
183
|
-
_queryParams.sort = sort;
|
|
184
|
-
}
|
|
185
|
-
if (sortDirection != null) {
|
|
186
|
-
_queryParams.sort_direction = sortDirection;
|
|
187
|
-
}
|
|
188
|
-
if (voiceType != null) {
|
|
189
|
-
_queryParams.voice_type = voiceType;
|
|
190
|
-
}
|
|
191
|
-
if (category != null) {
|
|
192
|
-
_queryParams.category = category;
|
|
193
|
-
}
|
|
194
|
-
if (fineTuningState != null) {
|
|
195
|
-
_queryParams.fine_tuning_state = fineTuningState;
|
|
196
|
-
}
|
|
197
|
-
if (collectionId != null) {
|
|
198
|
-
_queryParams.collection_id = collectionId;
|
|
199
|
-
}
|
|
200
|
-
if (includeTotalCount != null) {
|
|
201
|
-
_queryParams.include_total_count = includeTotalCount.toString();
|
|
202
|
-
}
|
|
203
|
-
if (voiceIds != null) {
|
|
204
|
-
if (Array.isArray(voiceIds)) {
|
|
205
|
-
_queryParams.voice_ids = voiceIds.map((item) => item);
|
|
206
|
-
}
|
|
207
|
-
else {
|
|
208
|
-
_queryParams.voice_ids = voiceIds;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
160
|
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);
|
|
212
161
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
213
|
-
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,
|
|
214
|
-
method: "
|
|
162
|
+
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/voices/${core.url.encodePathParam(voice_id)}`),
|
|
163
|
+
method: "DELETE",
|
|
215
164
|
headers: _headers,
|
|
216
|
-
queryParameters:
|
|
165
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
217
166
|
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,
|
|
218
167
|
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,
|
|
219
168
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -222,7 +171,7 @@ class VoicesClient {
|
|
|
222
171
|
});
|
|
223
172
|
if (_response.ok) {
|
|
224
173
|
return {
|
|
225
|
-
data: serializers.
|
|
174
|
+
data: serializers.DeleteVoiceResponseModel.parseOrThrow(_response.body, {
|
|
226
175
|
unrecognizedObjectKeys: "passthrough",
|
|
227
176
|
allowUnrecognizedUnionMembers: true,
|
|
228
177
|
allowUnrecognizedEnumValues: true,
|
|
@@ -243,37 +192,36 @@ class VoicesClient {
|
|
|
243
192
|
});
|
|
244
193
|
}
|
|
245
194
|
}
|
|
246
|
-
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "
|
|
195
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/voices/{voice_id}");
|
|
247
196
|
});
|
|
248
197
|
}
|
|
249
198
|
/**
|
|
250
|
-
* Returns
|
|
199
|
+
* Returns a list of all available voices for a user. Stops working once the user's workspace exceeds 500 voices.
|
|
251
200
|
*
|
|
252
|
-
* @param {
|
|
253
|
-
* @param {ElevenLabs.VoicesGetRequest} request
|
|
201
|
+
* @param {ElevenLabs.VoicesGetAllRequest} request
|
|
254
202
|
* @param {VoicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
255
203
|
*
|
|
256
204
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
257
205
|
*
|
|
258
206
|
* @example
|
|
259
|
-
* await client.voices.
|
|
260
|
-
*
|
|
207
|
+
* await client.voices.getAll({
|
|
208
|
+
* showLegacy: true
|
|
261
209
|
* })
|
|
262
210
|
*/
|
|
263
|
-
|
|
264
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
211
|
+
getAll(request = {}, requestOptions) {
|
|
212
|
+
return core.HttpResponsePromise.fromPromise(this.__getAll(request, requestOptions));
|
|
265
213
|
}
|
|
266
|
-
|
|
267
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
214
|
+
__getAll() {
|
|
215
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
268
216
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
269
|
-
const {
|
|
217
|
+
const { showLegacy } = request;
|
|
270
218
|
const _queryParams = {};
|
|
271
|
-
if (
|
|
272
|
-
_queryParams.
|
|
219
|
+
if (showLegacy != null) {
|
|
220
|
+
_queryParams.show_legacy = showLegacy.toString();
|
|
273
221
|
}
|
|
274
222
|
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);
|
|
275
223
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
276
|
-
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,
|
|
224
|
+
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/voices"),
|
|
277
225
|
method: "GET",
|
|
278
226
|
headers: _headers,
|
|
279
227
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
@@ -285,7 +233,7 @@ class VoicesClient {
|
|
|
285
233
|
});
|
|
286
234
|
if (_response.ok) {
|
|
287
235
|
return {
|
|
288
|
-
data: serializers.
|
|
236
|
+
data: serializers.GetVoicesResponse.parseOrThrow(_response.body, {
|
|
289
237
|
unrecognizedObjectKeys: "passthrough",
|
|
290
238
|
allowUnrecognizedUnionMembers: true,
|
|
291
239
|
allowUnrecognizedEnumValues: true,
|
|
@@ -306,32 +254,84 @@ class VoicesClient {
|
|
|
306
254
|
});
|
|
307
255
|
}
|
|
308
256
|
}
|
|
309
|
-
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/voices
|
|
257
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/voices");
|
|
310
258
|
});
|
|
311
259
|
}
|
|
312
260
|
/**
|
|
313
|
-
*
|
|
261
|
+
* Gets a list of all available voices for a user with search, filtering and pagination.
|
|
314
262
|
*
|
|
315
|
-
* @param {
|
|
263
|
+
* @param {ElevenLabs.VoicesSearchRequest} request
|
|
316
264
|
* @param {VoicesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
317
265
|
*
|
|
318
266
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
319
267
|
*
|
|
320
268
|
* @example
|
|
321
|
-
* await client.voices.
|
|
269
|
+
* await client.voices.search({
|
|
270
|
+
* nextPageToken: "next_page_token",
|
|
271
|
+
* pageSize: 1,
|
|
272
|
+
* search: "search",
|
|
273
|
+
* sort: "sort",
|
|
274
|
+
* sortDirection: "sort_direction",
|
|
275
|
+
* voiceType: "voice_type",
|
|
276
|
+
* category: "category",
|
|
277
|
+
* fineTuningState: "fine_tuning_state",
|
|
278
|
+
* collectionId: "collection_id",
|
|
279
|
+
* includeTotalCount: true,
|
|
280
|
+
* voiceIds: ["voice_ids"]
|
|
281
|
+
* })
|
|
322
282
|
*/
|
|
323
|
-
|
|
324
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
283
|
+
search(request = {}, requestOptions) {
|
|
284
|
+
return core.HttpResponsePromise.fromPromise(this.__search(request, requestOptions));
|
|
325
285
|
}
|
|
326
|
-
|
|
327
|
-
return __awaiter(this,
|
|
286
|
+
__search() {
|
|
287
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
328
288
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
289
|
+
const { nextPageToken, pageSize, search, sort, sortDirection, voiceType, category, fineTuningState, collectionId, includeTotalCount, voiceIds, } = request;
|
|
290
|
+
const _queryParams = {};
|
|
291
|
+
if (nextPageToken != null) {
|
|
292
|
+
_queryParams.next_page_token = nextPageToken;
|
|
293
|
+
}
|
|
294
|
+
if (pageSize != null) {
|
|
295
|
+
_queryParams.page_size = pageSize.toString();
|
|
296
|
+
}
|
|
297
|
+
if (search != null) {
|
|
298
|
+
_queryParams.search = search;
|
|
299
|
+
}
|
|
300
|
+
if (sort != null) {
|
|
301
|
+
_queryParams.sort = sort;
|
|
302
|
+
}
|
|
303
|
+
if (sortDirection != null) {
|
|
304
|
+
_queryParams.sort_direction = sortDirection;
|
|
305
|
+
}
|
|
306
|
+
if (voiceType != null) {
|
|
307
|
+
_queryParams.voice_type = voiceType;
|
|
308
|
+
}
|
|
309
|
+
if (category != null) {
|
|
310
|
+
_queryParams.category = category;
|
|
311
|
+
}
|
|
312
|
+
if (fineTuningState != null) {
|
|
313
|
+
_queryParams.fine_tuning_state = fineTuningState;
|
|
314
|
+
}
|
|
315
|
+
if (collectionId != null) {
|
|
316
|
+
_queryParams.collection_id = collectionId;
|
|
317
|
+
}
|
|
318
|
+
if (includeTotalCount != null) {
|
|
319
|
+
_queryParams.include_total_count = includeTotalCount.toString();
|
|
320
|
+
}
|
|
321
|
+
if (voiceIds != null) {
|
|
322
|
+
if (Array.isArray(voiceIds)) {
|
|
323
|
+
_queryParams.voice_ids = voiceIds.map((item) => item);
|
|
324
|
+
}
|
|
325
|
+
else {
|
|
326
|
+
_queryParams.voice_ids = voiceIds;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
329
|
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);
|
|
330
330
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
331
|
-
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,
|
|
332
|
-
method: "
|
|
331
|
+
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, "v2/voices"),
|
|
332
|
+
method: "GET",
|
|
333
333
|
headers: _headers,
|
|
334
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
334
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
335
335
|
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,
|
|
336
336
|
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,
|
|
337
337
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -340,7 +340,7 @@ class VoicesClient {
|
|
|
340
340
|
});
|
|
341
341
|
if (_response.ok) {
|
|
342
342
|
return {
|
|
343
|
-
data: serializers.
|
|
343
|
+
data: serializers.GetVoicesV2Response.parseOrThrow(_response.body, {
|
|
344
344
|
unrecognizedObjectKeys: "passthrough",
|
|
345
345
|
allowUnrecognizedUnionMembers: true,
|
|
346
346
|
allowUnrecognizedEnumValues: true,
|
|
@@ -361,7 +361,7 @@ class VoicesClient {
|
|
|
361
361
|
});
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "
|
|
364
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v2/voices");
|
|
365
365
|
});
|
|
366
366
|
}
|
|
367
367
|
/**
|