@elevenlabs/elevenlabs-js 2.49.1 → 2.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.fern/metadata.json +1 -1
- package/.fern/replay.lock +240 -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/phoneNumbers/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +1 -1
- 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/dubbing/client/Client.js +3 -0
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -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/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
- 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/AgentTransfer.d.ts +2 -1
- 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/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/ExotelApiSubdomain.d.ts +5 -0
- package/api/types/ExotelApiSubdomain.js +8 -0
- package/api/types/ExotelOutboundCallResponse.d.ts +7 -0
- package/api/types/GetAgentResponseModelPhoneNumbersItem.d.ts +4 -1
- package/api/types/GetPhoneNumberExotelResponseModel.d.ts +15 -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/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/Llm.d.ts +1 -0
- package/api/types/Llm.js +1 -0
- package/api/types/{LoadProcedureToolConfig.d.ts → LoadProcedureToolConfigInput.d.ts} +1 -1
- package/api/types/LoadProcedureToolConfigInput.js +3 -0
- package/api/types/LoadProcedureToolConfigOutput.d.ts +4 -0
- package/api/types/LoadProcedureToolConfigOutput.js +3 -0
- 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/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/ProcedureAtVersion.d.ts +2 -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 +2 -0
- package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
- package/api/types/SpeechEngineResponse.d.ts +2 -0
- package/api/types/SpeechEngineSummaryResponse.d.ts +3 -0
- package/api/types/SystemEvaluationCriteria.d.ts +4 -0
- package/api/types/SystemEvaluationCriteria.js +3 -0
- package/api/types/SystemToolConfigInputParams.d.ts +1 -1
- package/api/types/SystemToolConfigOutputParams.d.ts +1 -1
- 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/ToolCallUnitTestModel.d.ts +2 -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/UnitTestSummaryResponseModel.d.ts +2 -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/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/WorkflowStandaloneAgentNodeModelInput.d.ts +4 -2
- package/api/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +4 -2
- package/api/types/index.d.ts +28 -6
- package/api/types/index.js +28 -6
- 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/phoneNumbers/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +1 -1
- 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/dubbing/client/Client.js +3 -0
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -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/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
- 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/AgentTransfer.d.ts +2 -1
- 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/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/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/GetAgentResponseModelPhoneNumbersItem.d.ts +4 -1
- 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/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/Llm.d.ts +1 -0
- package/dist/api/types/Llm.js +1 -0
- package/dist/api/types/{LoadProcedureToolConfig.d.ts → LoadProcedureToolConfigInput.d.ts} +1 -1
- package/dist/api/types/LoadProcedureToolConfigInput.js +3 -0
- package/dist/api/types/LoadProcedureToolConfigOutput.d.ts +4 -0
- package/dist/api/types/LoadProcedureToolConfigOutput.js +3 -0
- 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/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/ProcedureAtVersion.d.ts +2 -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 +2 -0
- package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
- package/dist/api/types/SpeechEngineResponse.d.ts +2 -0
- package/dist/api/types/SpeechEngineSummaryResponse.d.ts +3 -0
- package/dist/api/types/SystemEvaluationCriteria.d.ts +4 -0
- package/dist/api/types/SystemEvaluationCriteria.js +3 -0
- package/dist/api/types/SystemToolConfigInputParams.d.ts +1 -1
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +1 -1
- 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/ToolCallUnitTestModel.d.ts +2 -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/UnitTestSummaryResponseModel.d.ts +2 -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/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/WorkflowStandaloneAgentNodeModelInput.d.ts +4 -2
- package/dist/api/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +4 -2
- package/dist/api/types/index.d.ts +28 -6
- package/dist/api/types/index.js +28 -6
- 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/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/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/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/AgentTransfer.d.ts +2 -1
- package/dist/serialization/types/AgentTransfer.js +2 -1
- 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/dist/serialization/types/BucketingStatus.js +39 -0
- 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/{ProcedureSettings.js → CreateOrderRequest.js} +3 -4
- 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/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/GetAgentResponseModelPhoneNumbersItem.d.ts +5 -1
- package/dist/serialization/types/GetAgentResponseModelPhoneNumbersItem.js +2 -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/InteractionBudget.d.ts +7 -0
- package/{serialization/types/ProcedureCompilerMode.js → dist/serialization/types/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/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +1 -0
- package/dist/serialization/types/{LoadProcedureToolConfig.d.ts → LoadProcedureToolConfigInput.d.ts} +2 -2
- package/dist/serialization/types/{LoadProcedureToolConfig.js → LoadProcedureToolConfigInput.js} +2 -2
- package/dist/serialization/types/LoadProcedureToolConfigOutput.d.ts +10 -0
- package/dist/serialization/types/LoadProcedureToolConfigOutput.js +42 -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/OptInSmsReminderParams.d.ts +9 -0
- package/{serialization/types/ProcedureSettings.js → dist/serialization/types/OptInSmsReminderParams.js} +3 -4
- 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/ProcedureAtVersion.d.ts +2 -0
- package/dist/serialization/types/ProcedureAtVersion.js +2 -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/{ProcedureCompilerMode.js → ProcedureType.js} +2 -2
- 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 +1 -0
- package/dist/serialization/types/SoftTimeoutConfig.js +1 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -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/SystemEvaluationCriteria.d.ts +10 -0
- package/dist/serialization/types/SystemEvaluationCriteria.js +42 -0
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +2 -2
- package/dist/serialization/types/SystemToolConfigInputParams.js +2 -2
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +2 -2
- 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/ToolCallUnitTestModel.d.ts +2 -0
- package/dist/serialization/types/ToolCallUnitTestModel.js +2 -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/UnitTestSummaryResponseModel.d.ts +2 -0
- package/dist/serialization/types/UnitTestSummaryResponseModel.js +2 -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/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/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 +28 -6
- package/dist/serialization/types/index.js +28 -6
- 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 +153 -7
- 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/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/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/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/AgentTransfer.d.ts +2 -1
- package/serialization/types/AgentTransfer.js +2 -1
- 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/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/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/GetAgentResponseModelPhoneNumbersItem.d.ts +5 -1
- package/serialization/types/GetAgentResponseModelPhoneNumbersItem.js +2 -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/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/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +1 -0
- package/serialization/types/{LoadProcedureToolConfig.d.ts → LoadProcedureToolConfigInput.d.ts} +2 -2
- package/serialization/types/{LoadProcedureToolConfig.js → LoadProcedureToolConfigInput.js} +2 -2
- package/serialization/types/LoadProcedureToolConfigOutput.d.ts +10 -0
- package/serialization/types/LoadProcedureToolConfigOutput.js +42 -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/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/ProcedureAtVersion.d.ts +2 -0
- package/serialization/types/ProcedureAtVersion.js +2 -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 +1 -0
- package/serialization/types/SoftTimeoutConfig.js +1 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -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/SystemEvaluationCriteria.d.ts +10 -0
- package/serialization/types/SystemEvaluationCriteria.js +42 -0
- package/serialization/types/SystemToolConfigInputParams.d.ts +2 -2
- package/serialization/types/SystemToolConfigInputParams.js +2 -2
- package/serialization/types/SystemToolConfigOutputParams.d.ts +2 -2
- 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/ToolCallUnitTestModel.d.ts +2 -0
- package/serialization/types/ToolCallUnitTestModel.js +2 -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/UnitTestSummaryResponseModel.d.ts +2 -0
- package/serialization/types/UnitTestSummaryResponseModel.js +2 -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/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/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 +28 -6
- package/serialization/types/index.js +28 -6
- 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/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/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/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/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/ProcedureSettings.js → resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.js} +0 -0
- /package/api/types/{RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → BehaviorOverride.js} +0 -0
- /package/api/types/{RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → ConversationHistoryExotelPhoneCallModel.js} +0 -0
- /package/api/types/{RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → ConversationSentimentAnalysis.js} +0 -0
- /package/{dist/api/types/LoadProcedureToolConfig.js → api/types/CreateExotelPhoneNumberRequest.js} +0 -0
- /package/{dist/api/types/ProcedureSettings.js → api/types/CreateOrderRequest.js} +0 -0
- /package/{dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → api/types/CustomLlmAuthConnection.js} +0 -0
- /package/{dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → api/types/ExotelOutboundCallResponse.js} +0 -0
- /package/{dist/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → api/types/GetPhoneNumberExotelResponseModel.js} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { BehaviorOverride } from "./BehaviorOverride";
|
|
4
5
|
import { DynamicVariablesConfigWorkflowOverrideOutput } from "./DynamicVariablesConfigWorkflowOverrideOutput";
|
|
5
6
|
import { PromptAgentApiModelWorkflowOverrideOutput } from "./PromptAgentApiModelWorkflowOverrideOutput";
|
|
6
7
|
export declare const AgentConfigApiModelWorkflowOverrideOutput: core.serialization.ObjectSchema<serializers.AgentConfigApiModelWorkflowOverrideOutput.Raw, ElevenLabs.AgentConfigApiModelWorkflowOverrideOutput>;
|
|
@@ -12,6 +13,7 @@ export declare namespace AgentConfigApiModelWorkflowOverrideOutput {
|
|
|
12
13
|
dynamic_variables?: DynamicVariablesConfigWorkflowOverrideOutput.Raw | null;
|
|
13
14
|
disable_first_message_interruptions?: boolean | null;
|
|
14
15
|
max_conversation_duration_message?: string | null;
|
|
16
|
+
text_behavior_overrides?: Record<string, BehaviorOverride.Raw | null | undefined> | null;
|
|
15
17
|
prompt?: PromptAgentApiModelWorkflowOverrideOutput.Raw | null;
|
|
16
18
|
}
|
|
17
19
|
}
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.AgentConfigApiModelWorkflowOverrideOutput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const BehaviorOverride_1 = require("./BehaviorOverride");
|
|
39
40
|
const DynamicVariablesConfigWorkflowOverrideOutput_1 = require("./DynamicVariablesConfigWorkflowOverrideOutput");
|
|
40
41
|
const PromptAgentApiModelWorkflowOverrideOutput_1 = require("./PromptAgentApiModelWorkflowOverrideOutput");
|
|
41
42
|
exports.AgentConfigApiModelWorkflowOverrideOutput = core.serialization.object({
|
|
@@ -45,5 +46,6 @@ exports.AgentConfigApiModelWorkflowOverrideOutput = core.serialization.object({
|
|
|
45
46
|
dynamicVariables: core.serialization.property("dynamic_variables", DynamicVariablesConfigWorkflowOverrideOutput_1.DynamicVariablesConfigWorkflowOverrideOutput.optional()),
|
|
46
47
|
disableFirstMessageInterruptions: core.serialization.property("disable_first_message_interruptions", core.serialization.boolean().optional()),
|
|
47
48
|
maxConversationDurationMessage: core.serialization.property("max_conversation_duration_message", core.serialization.string().optional()),
|
|
49
|
+
textBehaviorOverrides: core.serialization.property("text_behavior_overrides", core.serialization.record(core.serialization.string(), BehaviorOverride_1.BehaviorOverride.optional()).optional()),
|
|
48
50
|
prompt: PromptAgentApiModelWorkflowOverrideOutput_1.PromptAgentApiModelWorkflowOverrideOutput.optional(),
|
|
49
51
|
});
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
-
import { AgentAlertingSettings } from "./AgentAlertingSettings";
|
|
5
4
|
import { AgentCallLimits } from "./AgentCallLimits";
|
|
6
5
|
import { AgentTestingSettings } from "./AgentTestingSettings";
|
|
7
6
|
import { AgentTrustContext } from "./AgentTrustContext";
|
|
@@ -33,6 +32,5 @@ export declare namespace AgentPlatformSettingsRequestModel {
|
|
|
33
32
|
privacy?: PrivacyConfigInput.Raw | null;
|
|
34
33
|
trust_context?: AgentTrustContext.Raw | null;
|
|
35
34
|
analysis_llm?: Llm.Raw | null;
|
|
36
|
-
alerting?: AgentAlertingSettings.Raw | null;
|
|
37
35
|
}
|
|
38
36
|
}
|
|
@@ -36,7 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.AgentPlatformSettingsRequestModel = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
const AgentAlertingSettings_1 = require("./AgentAlertingSettings");
|
|
40
39
|
const AgentCallLimits_1 = require("./AgentCallLimits");
|
|
41
40
|
const AgentTestingSettings_1 = require("./AgentTestingSettings");
|
|
42
41
|
const AgentTrustContext_1 = require("./AgentTrustContext");
|
|
@@ -66,5 +65,4 @@ exports.AgentPlatformSettingsRequestModel = core.serialization.object({
|
|
|
66
65
|
privacy: PrivacyConfigInput_1.PrivacyConfigInput.optional(),
|
|
67
66
|
trustContext: core.serialization.property("trust_context", AgentTrustContext_1.AgentTrustContext.optional()),
|
|
68
67
|
analysisLlm: core.serialization.property("analysis_llm", Llm_1.Llm.optional()),
|
|
69
|
-
alerting: AgentAlertingSettings_1.AgentAlertingSettings.optional(),
|
|
70
68
|
});
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
-
import { AgentAlertingSettings } from "./AgentAlertingSettings";
|
|
5
4
|
import { AgentCallLimits } from "./AgentCallLimits";
|
|
6
5
|
import { AgentTestingSettings } from "./AgentTestingSettings";
|
|
7
6
|
import { AgentTrustContext } from "./AgentTrustContext";
|
|
@@ -34,7 +33,6 @@ export declare namespace AgentPlatformSettingsResponseModel {
|
|
|
34
33
|
privacy?: PrivacyConfigOutput.Raw | null;
|
|
35
34
|
trust_context?: AgentTrustContext.Raw | null;
|
|
36
35
|
analysis_llm?: Llm.Raw | null;
|
|
37
|
-
alerting?: AgentAlertingSettings.Raw | null;
|
|
38
36
|
safety?: SafetyResponseModel.Raw | null;
|
|
39
37
|
}
|
|
40
38
|
}
|
|
@@ -36,7 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.AgentPlatformSettingsResponseModel = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
const AgentAlertingSettings_1 = require("./AgentAlertingSettings");
|
|
40
39
|
const AgentCallLimits_1 = require("./AgentCallLimits");
|
|
41
40
|
const AgentTestingSettings_1 = require("./AgentTestingSettings");
|
|
42
41
|
const AgentTrustContext_1 = require("./AgentTrustContext");
|
|
@@ -67,6 +66,5 @@ exports.AgentPlatformSettingsResponseModel = core.serialization.object({
|
|
|
67
66
|
privacy: PrivacyConfigOutput_1.PrivacyConfigOutput.optional(),
|
|
68
67
|
trustContext: core.serialization.property("trust_context", AgentTrustContext_1.AgentTrustContext.optional()),
|
|
69
68
|
analysisLlm: core.serialization.property("analysis_llm", Llm_1.Llm.optional()),
|
|
70
|
-
alerting: AgentAlertingSettings_1.AgentAlertingSettings.optional(),
|
|
71
69
|
safety: SafetyResponseModel_1.SafetyResponseModel.optional(),
|
|
72
70
|
});
|
|
@@ -4,7 +4,8 @@ import type * as serializers from "../index";
|
|
|
4
4
|
export declare const AgentTransfer: core.serialization.ObjectSchema<serializers.AgentTransfer.Raw, ElevenLabs.AgentTransfer>;
|
|
5
5
|
export declare namespace AgentTransfer {
|
|
6
6
|
interface Raw {
|
|
7
|
-
agent_id
|
|
7
|
+
agent_id?: string | null;
|
|
8
|
+
node_id?: string | null;
|
|
8
9
|
condition: string;
|
|
9
10
|
delay_ms?: number | null;
|
|
10
11
|
transfer_message?: string | null;
|
|
@@ -37,7 +37,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.AgentTransfer = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
exports.AgentTransfer = core.serialization.object({
|
|
40
|
-
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
40
|
+
agentId: core.serialization.property("agent_id", core.serialization.string().optional()),
|
|
41
|
+
nodeId: core.serialization.property("node_id", core.serialization.string().optional()),
|
|
41
42
|
condition: core.serialization.string(),
|
|
42
43
|
delayMs: core.serialization.property("delay_ms", core.serialization.number().optional()),
|
|
43
44
|
transferMessage: core.serialization.property("transfer_message", core.serialization.string().optional()),
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { InteractionBudget } from "./InteractionBudget";
|
|
5
|
+
import { OutputFormat } from "./OutputFormat";
|
|
6
|
+
import { Verbosity } from "./Verbosity";
|
|
7
|
+
export declare const BehaviorOverride: core.serialization.ObjectSchema<serializers.BehaviorOverride.Raw, ElevenLabs.BehaviorOverride>;
|
|
8
|
+
export declare namespace BehaviorOverride {
|
|
9
|
+
interface Raw {
|
|
10
|
+
verbosity?: Verbosity.Raw | null;
|
|
11
|
+
output_format?: OutputFormat.Raw | null;
|
|
12
|
+
interaction_budget?: InteractionBudget.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.BehaviorOverride = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const InteractionBudget_1 = require("./InteractionBudget");
|
|
40
|
+
const OutputFormat_1 = require("./OutputFormat");
|
|
41
|
+
const Verbosity_1 = require("./Verbosity");
|
|
42
|
+
exports.BehaviorOverride = core.serialization.object({
|
|
43
|
+
verbosity: Verbosity_1.Verbosity.optional(),
|
|
44
|
+
outputFormat: core.serialization.property("output_format", OutputFormat_1.OutputFormat.optional()),
|
|
45
|
+
interactionBudget: core.serialization.property("interaction_budget", InteractionBudget_1.InteractionBudget.optional()),
|
|
46
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const BucketingStatus: core.serialization.Schema<serializers.BucketingStatus.Raw, ElevenLabs.BucketingStatus>;
|
|
5
|
+
export declare namespace BucketingStatus {
|
|
6
|
+
type Raw = "pending" | "completed" | "failed";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.BucketingStatus = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.BucketingStatus = core.serialization.enum_(["pending", "completed", "failed"]);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { TelephonyDirection } from "./TelephonyDirection";
|
|
5
|
+
export declare const ConversationHistoryExotelPhoneCallModel: core.serialization.ObjectSchema<serializers.ConversationHistoryExotelPhoneCallModel.Raw, ElevenLabs.ConversationHistoryExotelPhoneCallModel>;
|
|
6
|
+
export declare namespace ConversationHistoryExotelPhoneCallModel {
|
|
7
|
+
interface Raw {
|
|
8
|
+
direction: TelephonyDirection.Raw;
|
|
9
|
+
phone_number_id: string;
|
|
10
|
+
agent_number: string;
|
|
11
|
+
external_number: string;
|
|
12
|
+
stream_sid: string;
|
|
13
|
+
call_sid: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ConversationHistoryExotelPhoneCallModel = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const TelephonyDirection_1 = require("./TelephonyDirection");
|
|
40
|
+
exports.ConversationHistoryExotelPhoneCallModel = core.serialization.object({
|
|
41
|
+
direction: TelephonyDirection_1.TelephonyDirection,
|
|
42
|
+
phoneNumberId: core.serialization.property("phone_number_id", core.serialization.string()),
|
|
43
|
+
agentNumber: core.serialization.property("agent_number", core.serialization.string()),
|
|
44
|
+
externalNumber: core.serialization.property("external_number", core.serialization.string()),
|
|
45
|
+
streamSid: core.serialization.property("stream_sid", core.serialization.string()),
|
|
46
|
+
callSid: core.serialization.property("call_sid", core.serialization.string()),
|
|
47
|
+
});
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { ConversationHistoryExotelPhoneCallModel } from "./ConversationHistoryExotelPhoneCallModel";
|
|
4
5
|
import { ConversationHistorySipTrunkingPhoneCallModel } from "./ConversationHistorySipTrunkingPhoneCallModel";
|
|
5
6
|
import { ConversationHistoryTwilioPhoneCallModel } from "./ConversationHistoryTwilioPhoneCallModel";
|
|
6
7
|
export declare const ConversationHistoryMetadataCommonModelPhoneCall: core.serialization.Schema<serializers.ConversationHistoryMetadataCommonModelPhoneCall.Raw, ElevenLabs.ConversationHistoryMetadataCommonModelPhoneCall>;
|
|
7
8
|
export declare namespace ConversationHistoryMetadataCommonModelPhoneCall {
|
|
8
|
-
type Raw = ConversationHistoryMetadataCommonModelPhoneCall.SipTrunking | ConversationHistoryMetadataCommonModelPhoneCall.Twilio;
|
|
9
|
+
type Raw = ConversationHistoryMetadataCommonModelPhoneCall.Exotel | ConversationHistoryMetadataCommonModelPhoneCall.SipTrunking | ConversationHistoryMetadataCommonModelPhoneCall.Twilio;
|
|
10
|
+
interface Exotel extends ConversationHistoryExotelPhoneCallModel.Raw {
|
|
11
|
+
type: "exotel";
|
|
12
|
+
}
|
|
9
13
|
interface SipTrunking extends ConversationHistorySipTrunkingPhoneCallModel.Raw {
|
|
10
14
|
type: "sip_trunking";
|
|
11
15
|
}
|
|
@@ -36,10 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ConversationHistoryMetadataCommonModelPhoneCall = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const ConversationHistoryExotelPhoneCallModel_1 = require("./ConversationHistoryExotelPhoneCallModel");
|
|
39
40
|
const ConversationHistorySipTrunkingPhoneCallModel_1 = require("./ConversationHistorySipTrunkingPhoneCallModel");
|
|
40
41
|
const ConversationHistoryTwilioPhoneCallModel_1 = require("./ConversationHistoryTwilioPhoneCallModel");
|
|
41
42
|
exports.ConversationHistoryMetadataCommonModelPhoneCall = core.serialization
|
|
42
43
|
.union("type", {
|
|
44
|
+
exotel: ConversationHistoryExotelPhoneCallModel_1.ConversationHistoryExotelPhoneCallModel,
|
|
43
45
|
sip_trunking: ConversationHistorySipTrunkingPhoneCallModel_1.ConversationHistorySipTrunkingPhoneCallModel,
|
|
44
46
|
twilio: ConversationHistoryTwilioPhoneCallModel_1.ConversationHistoryTwilioPhoneCallModel,
|
|
45
47
|
})
|
package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const ConversationHistoryTranscriptOtherToolsResultCommonModelType: core.serialization.Schema<serializers.ConversationHistoryTranscriptOtherToolsResultCommonModelType.Raw, ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModelType>;
|
|
5
5
|
export declare namespace ConversationHistoryTranscriptOtherToolsResultCommonModelType {
|
|
6
|
-
type Raw = "client" | "webhook" | "mcp";
|
|
6
|
+
type Raw = "client" | "webhook" | "mcp" | "code";
|
|
7
7
|
}
|
package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js
CHANGED
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ConversationHistoryTranscriptOtherToolsResultCommonModelType = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.ConversationHistoryTranscriptOtherToolsResultCommonModelType = core.serialization.enum_(["client", "webhook", "mcp"]);
|
|
39
|
+
exports.ConversationHistoryTranscriptOtherToolsResultCommonModelType = core.serialization.enum_(["client", "webhook", "mcp", "code"]);
|
|
@@ -11,12 +11,13 @@ import { TestToolResultModel } from "./TestToolResultModel";
|
|
|
11
11
|
import { TransferToAgentToolResultErrorModel } from "./TransferToAgentToolResultErrorModel";
|
|
12
12
|
import { TransferToAgentToolResultSuccessModel } from "./TransferToAgentToolResultSuccessModel";
|
|
13
13
|
import { TransferToNumberResultErrorModel } from "./TransferToNumberResultErrorModel";
|
|
14
|
+
import { TransferToNumberResultExotelSuccessModel } from "./TransferToNumberResultExotelSuccessModel";
|
|
14
15
|
import { TransferToNumberResultSipSuccessModel } from "./TransferToNumberResultSipSuccessModel";
|
|
15
16
|
import { TransferToNumberResultTwilioSuccessModel } from "./TransferToNumberResultTwilioSuccessModel";
|
|
16
17
|
import { VoiceMailDetectionResultSuccessModel } from "./VoiceMailDetectionResultSuccessModel";
|
|
17
18
|
export declare const ConversationHistoryTranscriptSystemToolResultCommonModelInputResult: core.serialization.Schema<serializers.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.Raw, ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult>;
|
|
18
19
|
export declare namespace ConversationHistoryTranscriptSystemToolResultCommonModelInputResult {
|
|
19
|
-
type Raw = ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.EndCallSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.KnowledgeBaseRagSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.LanguageDetectionSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.PlayDtmfError | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.PlayDtmfSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.SkipTurnSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TestingToolResult | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToAgentError | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToAgentSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToNumberError | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToNumberSipSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToNumberTwilioSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.VoicemailDetectionSuccess;
|
|
20
|
+
type Raw = ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.EndCallSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.KnowledgeBaseRagSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.LanguageDetectionSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.PlayDtmfError | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.PlayDtmfSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.SkipTurnSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TestingToolResult | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToAgentError | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToAgentSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToNumberError | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToNumberExotelSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToNumberSipSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToNumberTwilioSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.VoicemailDetectionSuccess;
|
|
20
21
|
interface EndCallSuccess extends EndCallToolResultModel.Raw {
|
|
21
22
|
result_type: "end_call_success";
|
|
22
23
|
}
|
|
@@ -47,6 +48,9 @@ export declare namespace ConversationHistoryTranscriptSystemToolResultCommonMode
|
|
|
47
48
|
interface TransferToNumberError extends TransferToNumberResultErrorModel.Raw {
|
|
48
49
|
result_type: "transfer_to_number_error";
|
|
49
50
|
}
|
|
51
|
+
interface TransferToNumberExotelSuccess extends TransferToNumberResultExotelSuccessModel.Raw {
|
|
52
|
+
result_type: "transfer_to_number_exotel_success";
|
|
53
|
+
}
|
|
50
54
|
interface TransferToNumberSipSuccess extends TransferToNumberResultSipSuccessModel.Raw {
|
|
51
55
|
result_type: "transfer_to_number_sip_success";
|
|
52
56
|
}
|
|
@@ -46,6 +46,7 @@ const TestToolResultModel_1 = require("./TestToolResultModel");
|
|
|
46
46
|
const TransferToAgentToolResultErrorModel_1 = require("./TransferToAgentToolResultErrorModel");
|
|
47
47
|
const TransferToAgentToolResultSuccessModel_1 = require("./TransferToAgentToolResultSuccessModel");
|
|
48
48
|
const TransferToNumberResultErrorModel_1 = require("./TransferToNumberResultErrorModel");
|
|
49
|
+
const TransferToNumberResultExotelSuccessModel_1 = require("./TransferToNumberResultExotelSuccessModel");
|
|
49
50
|
const TransferToNumberResultSipSuccessModel_1 = require("./TransferToNumberResultSipSuccessModel");
|
|
50
51
|
const TransferToNumberResultTwilioSuccessModel_1 = require("./TransferToNumberResultTwilioSuccessModel");
|
|
51
52
|
const VoiceMailDetectionResultSuccessModel_1 = require("./VoiceMailDetectionResultSuccessModel");
|
|
@@ -61,6 +62,7 @@ exports.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult = co
|
|
|
61
62
|
transfer_to_agent_error: TransferToAgentToolResultErrorModel_1.TransferToAgentToolResultErrorModel,
|
|
62
63
|
transfer_to_agent_success: TransferToAgentToolResultSuccessModel_1.TransferToAgentToolResultSuccessModel,
|
|
63
64
|
transfer_to_number_error: TransferToNumberResultErrorModel_1.TransferToNumberResultErrorModel,
|
|
65
|
+
transfer_to_number_exotel_success: TransferToNumberResultExotelSuccessModel_1.TransferToNumberResultExotelSuccessModel,
|
|
64
66
|
transfer_to_number_sip_success: TransferToNumberResultSipSuccessModel_1.TransferToNumberResultSipSuccessModel,
|
|
65
67
|
transfer_to_number_twilio_success: TransferToNumberResultTwilioSuccessModel_1.TransferToNumberResultTwilioSuccessModel,
|
|
66
68
|
voicemail_detection_success: VoiceMailDetectionResultSuccessModel_1.VoiceMailDetectionResultSuccessModel,
|
|
@@ -11,12 +11,13 @@ import { TestToolResultModel } from "./TestToolResultModel";
|
|
|
11
11
|
import { TransferToAgentToolResultErrorModel } from "./TransferToAgentToolResultErrorModel";
|
|
12
12
|
import { TransferToAgentToolResultSuccessModel } from "./TransferToAgentToolResultSuccessModel";
|
|
13
13
|
import { TransferToNumberResultErrorModel } from "./TransferToNumberResultErrorModel";
|
|
14
|
+
import { TransferToNumberResultExotelSuccessModel } from "./TransferToNumberResultExotelSuccessModel";
|
|
14
15
|
import { TransferToNumberResultSipSuccessModel } from "./TransferToNumberResultSipSuccessModel";
|
|
15
16
|
import { TransferToNumberResultTwilioSuccessModel } from "./TransferToNumberResultTwilioSuccessModel";
|
|
16
17
|
import { VoiceMailDetectionResultSuccessModel } from "./VoiceMailDetectionResultSuccessModel";
|
|
17
18
|
export declare const ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult: core.serialization.Schema<serializers.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.Raw, ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult>;
|
|
18
19
|
export declare namespace ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult {
|
|
19
|
-
type Raw = ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.EndCallSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.KnowledgeBaseRagSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.LanguageDetectionSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.PlayDtmfError | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.PlayDtmfSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.SkipTurnSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TestingToolResult | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToAgentError | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToAgentSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToNumberError | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToNumberSipSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToNumberTwilioSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.VoicemailDetectionSuccess;
|
|
20
|
+
type Raw = ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.EndCallSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.KnowledgeBaseRagSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.LanguageDetectionSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.PlayDtmfError | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.PlayDtmfSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.SkipTurnSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TestingToolResult | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToAgentError | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToAgentSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToNumberError | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToNumberExotelSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToNumberSipSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToNumberTwilioSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.VoicemailDetectionSuccess;
|
|
20
21
|
interface EndCallSuccess extends EndCallToolResultModel.Raw {
|
|
21
22
|
result_type: "end_call_success";
|
|
22
23
|
}
|
|
@@ -47,6 +48,9 @@ export declare namespace ConversationHistoryTranscriptSystemToolResultCommonMode
|
|
|
47
48
|
interface TransferToNumberError extends TransferToNumberResultErrorModel.Raw {
|
|
48
49
|
result_type: "transfer_to_number_error";
|
|
49
50
|
}
|
|
51
|
+
interface TransferToNumberExotelSuccess extends TransferToNumberResultExotelSuccessModel.Raw {
|
|
52
|
+
result_type: "transfer_to_number_exotel_success";
|
|
53
|
+
}
|
|
50
54
|
interface TransferToNumberSipSuccess extends TransferToNumberResultSipSuccessModel.Raw {
|
|
51
55
|
result_type: "transfer_to_number_sip_success";
|
|
52
56
|
}
|
|
@@ -46,6 +46,7 @@ const TestToolResultModel_1 = require("./TestToolResultModel");
|
|
|
46
46
|
const TransferToAgentToolResultErrorModel_1 = require("./TransferToAgentToolResultErrorModel");
|
|
47
47
|
const TransferToAgentToolResultSuccessModel_1 = require("./TransferToAgentToolResultSuccessModel");
|
|
48
48
|
const TransferToNumberResultErrorModel_1 = require("./TransferToNumberResultErrorModel");
|
|
49
|
+
const TransferToNumberResultExotelSuccessModel_1 = require("./TransferToNumberResultExotelSuccessModel");
|
|
49
50
|
const TransferToNumberResultSipSuccessModel_1 = require("./TransferToNumberResultSipSuccessModel");
|
|
50
51
|
const TransferToNumberResultTwilioSuccessModel_1 = require("./TransferToNumberResultTwilioSuccessModel");
|
|
51
52
|
const VoiceMailDetectionResultSuccessModel_1 = require("./VoiceMailDetectionResultSuccessModel");
|
|
@@ -61,6 +62,7 @@ exports.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult = c
|
|
|
61
62
|
transfer_to_agent_error: TransferToAgentToolResultErrorModel_1.TransferToAgentToolResultErrorModel,
|
|
62
63
|
transfer_to_agent_success: TransferToAgentToolResultSuccessModel_1.TransferToAgentToolResultSuccessModel,
|
|
63
64
|
transfer_to_number_error: TransferToNumberResultErrorModel_1.TransferToNumberResultErrorModel,
|
|
65
|
+
transfer_to_number_exotel_success: TransferToNumberResultExotelSuccessModel_1.TransferToNumberResultExotelSuccessModel,
|
|
64
66
|
transfer_to_number_sip_success: TransferToNumberResultSipSuccessModel_1.TransferToNumberResultSipSuccessModel,
|
|
65
67
|
transfer_to_number_twilio_success: TransferToNumberResultTwilioSuccessModel_1.TransferToNumberResultTwilioSuccessModel,
|
|
66
68
|
voicemail_detection_success: VoiceMailDetectionResultSuccessModel_1.VoiceMailDetectionResultSuccessModel,
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const ConversationInitiationSource: core.serialization.Schema<serializers.ConversationInitiationSource.Raw, ElevenLabs.ConversationInitiationSource>;
|
|
5
5
|
export declare namespace ConversationInitiationSource {
|
|
6
|
-
type Raw = "unknown" | "android_sdk" | "node_js_sdk" | "react_native_sdk" | "react_sdk" | "js_sdk" | "python_sdk" | "widget" | "sip_trunk" | "twilio" | "genesys" | "swift_sdk" | "whatsapp" | "twilio_sms" | "flutter_sdk" | "zendesk_integration" | "slack_integration" | "template_preview" | "genesys_bot_connector";
|
|
6
|
+
type Raw = "unknown" | "android_sdk" | "node_js_sdk" | "react_native_sdk" | "react_sdk" | "js_sdk" | "python_sdk" | "widget" | "sip_trunk" | "twilio" | "exotel" | "genesys" | "swift_sdk" | "whatsapp" | "twilio_sms" | "flutter_sdk" | "zendesk_integration" | "slack_integration" | "telegram_integration" | "intercom_integration" | "freshdesk_integration" | "template_preview" | "genesys_bot_connector";
|
|
7
7
|
}
|
|
@@ -47,6 +47,7 @@ exports.ConversationInitiationSource = core.serialization.enum_([
|
|
|
47
47
|
"widget",
|
|
48
48
|
"sip_trunk",
|
|
49
49
|
"twilio",
|
|
50
|
+
"exotel",
|
|
50
51
|
"genesys",
|
|
51
52
|
"swift_sdk",
|
|
52
53
|
"whatsapp",
|
|
@@ -54,6 +55,9 @@ exports.ConversationInitiationSource = core.serialization.enum_([
|
|
|
54
55
|
"flutter_sdk",
|
|
55
56
|
"zendesk_integration",
|
|
56
57
|
"slack_integration",
|
|
58
|
+
"telegram_integration",
|
|
59
|
+
"intercom_integration",
|
|
60
|
+
"freshdesk_integration",
|
|
57
61
|
"template_preview",
|
|
58
62
|
"genesys_bot_connector",
|
|
59
63
|
]);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { ConversationSentimentAnalysisOverallLabel } from "./ConversationSentimentAnalysisOverallLabel";
|
|
5
|
+
export declare const ConversationSentimentAnalysis: core.serialization.ObjectSchema<serializers.ConversationSentimentAnalysis.Raw, ElevenLabs.ConversationSentimentAnalysis>;
|
|
6
|
+
export declare namespace ConversationSentimentAnalysis {
|
|
7
|
+
interface Raw {
|
|
8
|
+
overall_label: ConversationSentimentAnalysisOverallLabel.Raw;
|
|
9
|
+
overall_sentiment_score: number;
|
|
10
|
+
overall_frustration_score: number;
|
|
11
|
+
min_user_sentiment_score: number;
|
|
12
|
+
max_user_frustration_score: number;
|
|
13
|
+
num_scored_user_turns: number;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ConversationSentimentAnalysis = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const ConversationSentimentAnalysisOverallLabel_1 = require("./ConversationSentimentAnalysisOverallLabel");
|
|
40
|
+
exports.ConversationSentimentAnalysis = core.serialization.object({
|
|
41
|
+
overallLabel: core.serialization.property("overall_label", ConversationSentimentAnalysisOverallLabel_1.ConversationSentimentAnalysisOverallLabel),
|
|
42
|
+
overallSentimentScore: core.serialization.property("overall_sentiment_score", core.serialization.number()),
|
|
43
|
+
overallFrustrationScore: core.serialization.property("overall_frustration_score", core.serialization.number()),
|
|
44
|
+
minUserSentimentScore: core.serialization.property("min_user_sentiment_score", core.serialization.number()),
|
|
45
|
+
maxUserFrustrationScore: core.serialization.property("max_user_frustration_score", core.serialization.number()),
|
|
46
|
+
numScoredUserTurns: core.serialization.property("num_scored_user_turns", core.serialization.number()),
|
|
47
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const ConversationSentimentAnalysisOverallLabel: core.serialization.Schema<serializers.ConversationSentimentAnalysisOverallLabel.Raw, ElevenLabs.ConversationSentimentAnalysisOverallLabel>;
|
|
5
|
+
export declare namespace ConversationSentimentAnalysisOverallLabel {
|
|
6
|
+
type Raw = "positive" | "neutral" | "negative";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ConversationSentimentAnalysisOverallLabel = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.ConversationSentimentAnalysisOverallLabel = core.serialization.enum_(["positive", "neutral", "negative"]);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { ExotelApiSubdomain } from "./ExotelApiSubdomain";
|
|
5
|
+
export declare const CreateExotelPhoneNumberRequest: core.serialization.ObjectSchema<serializers.CreateExotelPhoneNumberRequest.Raw, ElevenLabs.CreateExotelPhoneNumberRequest>;
|
|
6
|
+
export declare namespace CreateExotelPhoneNumberRequest {
|
|
7
|
+
interface Raw {
|
|
8
|
+
phone_number: string;
|
|
9
|
+
label: string;
|
|
10
|
+
supports_inbound?: boolean | null;
|
|
11
|
+
supports_outbound?: boolean | null;
|
|
12
|
+
account_sid: string;
|
|
13
|
+
api_key: string;
|
|
14
|
+
api_token: string;
|
|
15
|
+
api_subdomain: ExotelApiSubdomain.Raw;
|
|
16
|
+
app_id: string;
|
|
17
|
+
applet_url?: string | null;
|
|
18
|
+
}
|
|
19
|
+
}
|