@elevenlabs/elevenlabs-js 2.49.0 → 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/dist/wrapper/speech-engine/SpeechEngineClientWrapper.js +5 -5
- package/dist/wrapper/speech-engine/SpeechEngineResource.d.ts +10 -1
- package/dist/wrapper/speech-engine/SpeechEngineResource.js +16 -1
- 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/wrapper/speech-engine/SpeechEngineClientWrapper.js +5 -5
- package/wrapper/speech-engine/SpeechEngineResource.d.ts +10 -1
- package/wrapper/speech-engine/SpeechEngineResource.js +16 -1
- 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
|
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../../api/index";
|
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { ConversationHistoryTranscriptCommonModelOutput } from "./ConversationHistoryTranscriptCommonModelOutput";
|
|
5
|
+
import { ConversationInitiationSource } from "./ConversationInitiationSource";
|
|
5
6
|
import { DynamicVariableValueTypeOutput } from "./DynamicVariableValueTypeOutput";
|
|
6
7
|
import { Llm } from "./Llm";
|
|
7
8
|
import { SimulationToolMockBehaviorConfig } from "./SimulationToolMockBehaviorConfig";
|
|
@@ -12,6 +13,7 @@ export declare namespace SimulationTestModel {
|
|
|
12
13
|
from_conversation_metadata?: TestFromConversationMetadataOutput.Raw | null;
|
|
13
14
|
dynamic_variables?: Record<string, DynamicVariableValueTypeOutput.Raw | null | undefined> | null;
|
|
14
15
|
chat_history?: ConversationHistoryTranscriptCommonModelOutput.Raw[] | null;
|
|
16
|
+
conversation_initiation_source?: ConversationInitiationSource.Raw | null;
|
|
15
17
|
success_condition?: string | null;
|
|
16
18
|
simulation_scenario?: string | null;
|
|
17
19
|
simulation_max_turns?: number | null;
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.SimulationTestModel = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const ConversationHistoryTranscriptCommonModelOutput_1 = require("./ConversationHistoryTranscriptCommonModelOutput");
|
|
40
|
+
const ConversationInitiationSource_1 = require("./ConversationInitiationSource");
|
|
40
41
|
const DynamicVariableValueTypeOutput_1 = require("./DynamicVariableValueTypeOutput");
|
|
41
42
|
const Llm_1 = require("./Llm");
|
|
42
43
|
const SimulationToolMockBehaviorConfig_1 = require("./SimulationToolMockBehaviorConfig");
|
|
@@ -45,6 +46,7 @@ exports.SimulationTestModel = core.serialization.object({
|
|
|
45
46
|
fromConversationMetadata: core.serialization.property("from_conversation_metadata", TestFromConversationMetadataOutput_1.TestFromConversationMetadataOutput.optional()),
|
|
46
47
|
dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeOutput_1.DynamicVariableValueTypeOutput.optional()).optional()),
|
|
47
48
|
chatHistory: core.serialization.property("chat_history", core.serialization.list(ConversationHistoryTranscriptCommonModelOutput_1.ConversationHistoryTranscriptCommonModelOutput).optional()),
|
|
49
|
+
conversationInitiationSource: core.serialization.property("conversation_initiation_source", ConversationInitiationSource_1.ConversationInitiationSource.optional()),
|
|
48
50
|
successCondition: core.serialization.property("success_condition", core.serialization.string().optional()),
|
|
49
51
|
simulationScenario: core.serialization.property("simulation_scenario", core.serialization.string().optional()),
|
|
50
52
|
simulationMaxTurns: core.serialization.property("simulation_max_turns", core.serialization.number().optional()),
|
|
@@ -40,4 +40,5 @@ exports.SoftTimeoutConfig = core.serialization.object({
|
|
|
40
40
|
timeoutSeconds: core.serialization.property("timeout_seconds", core.serialization.number().optional()),
|
|
41
41
|
message: core.serialization.string().optional(),
|
|
42
42
|
useLlmGeneratedMessage: core.serialization.property("use_llm_generated_message", core.serialization.boolean().optional()),
|
|
43
|
+
llmGeneratedMessagePromptOverride: core.serialization.property("llm_generated_message_prompt_override", core.serialization.string().optional()),
|
|
43
44
|
});
|
|
@@ -40,4 +40,5 @@ exports.SoftTimeoutConfigWorkflowOverride = core.serialization.object({
|
|
|
40
40
|
timeoutSeconds: core.serialization.property("timeout_seconds", core.serialization.number().optional()),
|
|
41
41
|
message: core.serialization.string().optional(),
|
|
42
42
|
useLlmGeneratedMessage: core.serialization.property("use_llm_generated_message", core.serialization.boolean().optional()),
|
|
43
|
+
llmGeneratedMessagePromptOverride: core.serialization.property("llm_generated_message_prompt_override", core.serialization.string().optional()),
|
|
43
44
|
});
|
|
@@ -7,6 +7,7 @@ import { AsrConversationalConfig } from "./AsrConversationalConfig";
|
|
|
7
7
|
import { BaseTurnConfig } from "./BaseTurnConfig";
|
|
8
8
|
import { ConversationConfigOutput } from "./ConversationConfigOutput";
|
|
9
9
|
import { PrivacyConfigOutput } from "./PrivacyConfigOutput";
|
|
10
|
+
import { ResourceAccessInfo } from "./ResourceAccessInfo";
|
|
10
11
|
import { SpeechEngineConfig } from "./SpeechEngineConfig";
|
|
11
12
|
import { SpeechEngineConversationInitiationClientDataConfig } from "./SpeechEngineConversationInitiationClientDataConfig";
|
|
12
13
|
import { TtsConversationalConfigOutput } from "./TtsConversationalConfigOutput";
|
|
@@ -26,5 +27,6 @@ export declare namespace SpeechEngineResponse {
|
|
|
26
27
|
tags: string[];
|
|
27
28
|
overrides: SpeechEngineConversationInitiationClientDataConfig.Raw;
|
|
28
29
|
metadata: AgentMetadataDbModel.Raw;
|
|
30
|
+
access_info?: ResourceAccessInfo.Raw | null;
|
|
29
31
|
}
|
|
30
32
|
}
|
|
@@ -42,6 +42,7 @@ const AsrConversationalConfig_1 = require("./AsrConversationalConfig");
|
|
|
42
42
|
const BaseTurnConfig_1 = require("./BaseTurnConfig");
|
|
43
43
|
const ConversationConfigOutput_1 = require("./ConversationConfigOutput");
|
|
44
44
|
const PrivacyConfigOutput_1 = require("./PrivacyConfigOutput");
|
|
45
|
+
const ResourceAccessInfo_1 = require("./ResourceAccessInfo");
|
|
45
46
|
const SpeechEngineConfig_1 = require("./SpeechEngineConfig");
|
|
46
47
|
const SpeechEngineConversationInitiationClientDataConfig_1 = require("./SpeechEngineConversationInitiationClientDataConfig");
|
|
47
48
|
const TtsConversationalConfigOutput_1 = require("./TtsConversationalConfigOutput");
|
|
@@ -59,4 +60,5 @@ exports.SpeechEngineResponse = core.serialization.object({
|
|
|
59
60
|
tags: core.serialization.list(core.serialization.string()),
|
|
60
61
|
overrides: SpeechEngineConversationInitiationClientDataConfig_1.SpeechEngineConversationInitiationClientDataConfig,
|
|
61
62
|
metadata: AgentMetadataDbModel_1.AgentMetadataDbModel,
|
|
63
|
+
accessInfo: core.serialization.property("access_info", ResourceAccessInfo_1.ResourceAccessInfo.optional()),
|
|
62
64
|
});
|
|
@@ -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 { ResourceAccessInfo } from "./ResourceAccessInfo";
|
|
4
5
|
export declare const SpeechEngineSummaryResponse: core.serialization.ObjectSchema<serializers.SpeechEngineSummaryResponse.Raw, ElevenLabs.SpeechEngineSummaryResponse>;
|
|
5
6
|
export declare namespace SpeechEngineSummaryResponse {
|
|
6
7
|
interface Raw {
|
|
@@ -8,5 +9,6 @@ export declare namespace SpeechEngineSummaryResponse {
|
|
|
8
9
|
name: string;
|
|
9
10
|
created_at_unix_secs: number;
|
|
10
11
|
tags: string[];
|
|
12
|
+
access_info: ResourceAccessInfo.Raw;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -36,9 +36,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.SpeechEngineSummaryResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const ResourceAccessInfo_1 = require("./ResourceAccessInfo");
|
|
39
40
|
exports.SpeechEngineSummaryResponse = core.serialization.object({
|
|
40
41
|
speechEngineId: core.serialization.property("speech_engine_id", core.serialization.string()),
|
|
41
42
|
name: core.serialization.string(),
|
|
42
43
|
createdAtUnixSecs: core.serialization.property("created_at_unix_secs", core.serialization.number()),
|
|
43
44
|
tags: core.serialization.list(core.serialization.string()),
|
|
45
|
+
accessInfo: core.serialization.property("access_info", ResourceAccessInfo_1.ResourceAccessInfo),
|
|
44
46
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 SystemEvaluationCriteria: core.serialization.ObjectSchema<serializers.SystemEvaluationCriteria.Raw, ElevenLabs.SystemEvaluationCriteria>;
|
|
5
|
+
export declare namespace SystemEvaluationCriteria {
|
|
6
|
+
interface Raw {
|
|
7
|
+
user_sentiment_score: number;
|
|
8
|
+
user_frustration_score: number;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.SystemEvaluationCriteria = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.SystemEvaluationCriteria = core.serialization.object({
|
|
40
|
+
userSentimentScore: core.serialization.property("user_sentiment_score", core.serialization.number()),
|
|
41
|
+
userFrustrationScore: core.serialization.property("user_frustration_score", core.serialization.number()),
|
|
42
|
+
});
|
|
@@ -4,7 +4,7 @@ import type * as serializers from "../index";
|
|
|
4
4
|
import { EndCallToolConfig } from "./EndCallToolConfig";
|
|
5
5
|
import { KnowledgeBaseRagToolConfig } from "./KnowledgeBaseRagToolConfig";
|
|
6
6
|
import { LanguageDetectionToolConfig } from "./LanguageDetectionToolConfig";
|
|
7
|
-
import {
|
|
7
|
+
import { LoadProcedureToolConfigInput } from "./LoadProcedureToolConfigInput";
|
|
8
8
|
import { PlayDtmfToolConfig } from "./PlayDtmfToolConfig";
|
|
9
9
|
import { SkipTurnToolConfig } from "./SkipTurnToolConfig";
|
|
10
10
|
import { TransferToAgentToolConfig } from "./TransferToAgentToolConfig";
|
|
@@ -22,7 +22,7 @@ export declare namespace SystemToolConfigInputParams {
|
|
|
22
22
|
interface LanguageDetection extends LanguageDetectionToolConfig.Raw {
|
|
23
23
|
system_tool_type: "language_detection";
|
|
24
24
|
}
|
|
25
|
-
interface LoadProcedure extends
|
|
25
|
+
interface LoadProcedure extends LoadProcedureToolConfigInput.Raw {
|
|
26
26
|
system_tool_type: "load_procedure";
|
|
27
27
|
}
|
|
28
28
|
interface PlayKeypadTouchTone extends PlayDtmfToolConfig.Raw {
|
|
@@ -39,7 +39,7 @@ const core = __importStar(require("../../core"));
|
|
|
39
39
|
const EndCallToolConfig_1 = require("./EndCallToolConfig");
|
|
40
40
|
const KnowledgeBaseRagToolConfig_1 = require("./KnowledgeBaseRagToolConfig");
|
|
41
41
|
const LanguageDetectionToolConfig_1 = require("./LanguageDetectionToolConfig");
|
|
42
|
-
const
|
|
42
|
+
const LoadProcedureToolConfigInput_1 = require("./LoadProcedureToolConfigInput");
|
|
43
43
|
const PlayDtmfToolConfig_1 = require("./PlayDtmfToolConfig");
|
|
44
44
|
const SkipTurnToolConfig_1 = require("./SkipTurnToolConfig");
|
|
45
45
|
const TransferToAgentToolConfig_1 = require("./TransferToAgentToolConfig");
|
|
@@ -50,7 +50,7 @@ exports.SystemToolConfigInputParams = core.serialization
|
|
|
50
50
|
end_call: EndCallToolConfig_1.EndCallToolConfig,
|
|
51
51
|
knowledge_base_rag: KnowledgeBaseRagToolConfig_1.KnowledgeBaseRagToolConfig,
|
|
52
52
|
language_detection: LanguageDetectionToolConfig_1.LanguageDetectionToolConfig,
|
|
53
|
-
load_procedure:
|
|
53
|
+
load_procedure: LoadProcedureToolConfigInput_1.LoadProcedureToolConfigInput,
|
|
54
54
|
play_keypad_touch_tone: PlayDtmfToolConfig_1.PlayDtmfToolConfig,
|
|
55
55
|
skip_turn: SkipTurnToolConfig_1.SkipTurnToolConfig,
|
|
56
56
|
transfer_to_agent: TransferToAgentToolConfig_1.TransferToAgentToolConfig,
|
|
@@ -4,7 +4,7 @@ import type * as serializers from "../index";
|
|
|
4
4
|
import { EndCallToolConfig } from "./EndCallToolConfig";
|
|
5
5
|
import { KnowledgeBaseRagToolConfig } from "./KnowledgeBaseRagToolConfig";
|
|
6
6
|
import { LanguageDetectionToolConfig } from "./LanguageDetectionToolConfig";
|
|
7
|
-
import {
|
|
7
|
+
import { LoadProcedureToolConfigOutput } from "./LoadProcedureToolConfigOutput";
|
|
8
8
|
import { PlayDtmfToolConfig } from "./PlayDtmfToolConfig";
|
|
9
9
|
import { SkipTurnToolConfig } from "./SkipTurnToolConfig";
|
|
10
10
|
import { TransferToAgentToolConfig } from "./TransferToAgentToolConfig";
|
|
@@ -22,7 +22,7 @@ export declare namespace SystemToolConfigOutputParams {
|
|
|
22
22
|
interface LanguageDetection extends LanguageDetectionToolConfig.Raw {
|
|
23
23
|
system_tool_type: "language_detection";
|
|
24
24
|
}
|
|
25
|
-
interface LoadProcedure extends
|
|
25
|
+
interface LoadProcedure extends LoadProcedureToolConfigOutput.Raw {
|
|
26
26
|
system_tool_type: "load_procedure";
|
|
27
27
|
}
|
|
28
28
|
interface PlayKeypadTouchTone extends PlayDtmfToolConfig.Raw {
|
|
@@ -39,7 +39,7 @@ const core = __importStar(require("../../core"));
|
|
|
39
39
|
const EndCallToolConfig_1 = require("./EndCallToolConfig");
|
|
40
40
|
const KnowledgeBaseRagToolConfig_1 = require("./KnowledgeBaseRagToolConfig");
|
|
41
41
|
const LanguageDetectionToolConfig_1 = require("./LanguageDetectionToolConfig");
|
|
42
|
-
const
|
|
42
|
+
const LoadProcedureToolConfigOutput_1 = require("./LoadProcedureToolConfigOutput");
|
|
43
43
|
const PlayDtmfToolConfig_1 = require("./PlayDtmfToolConfig");
|
|
44
44
|
const SkipTurnToolConfig_1 = require("./SkipTurnToolConfig");
|
|
45
45
|
const TransferToAgentToolConfig_1 = require("./TransferToAgentToolConfig");
|
|
@@ -50,7 +50,7 @@ exports.SystemToolConfigOutputParams = core.serialization
|
|
|
50
50
|
end_call: EndCallToolConfig_1.EndCallToolConfig,
|
|
51
51
|
knowledge_base_rag: KnowledgeBaseRagToolConfig_1.KnowledgeBaseRagToolConfig,
|
|
52
52
|
language_detection: LanguageDetectionToolConfig_1.LanguageDetectionToolConfig,
|
|
53
|
-
load_procedure:
|
|
53
|
+
load_procedure: LoadProcedureToolConfigOutput_1.LoadProcedureToolConfigOutput,
|
|
54
54
|
play_keypad_touch_tone: PlayDtmfToolConfig_1.PlayDtmfToolConfig,
|
|
55
55
|
skip_turn: SkipTurnToolConfig_1.SkipTurnToolConfig,
|
|
56
56
|
transfer_to_agent: TransferToAgentToolConfig_1.TransferToAgentToolConfig,
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const TelephonyProvider: core.serialization.Schema<serializers.TelephonyProvider.Raw, ElevenLabs.TelephonyProvider>;
|
|
5
5
|
export declare namespace TelephonyProvider {
|
|
6
|
-
type Raw = "twilio" | "sip_trunk";
|
|
6
|
+
type Raw = "twilio" | "sip_trunk" | "exotel";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.TelephonyProvider = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.TelephonyProvider = core.serialization.enum_(["twilio", "sip_trunk"]);
|
|
39
|
+
exports.TelephonyProvider = core.serialization.enum_(["twilio", "sip_trunk", "exotel"]);
|
|
@@ -48,4 +48,5 @@ exports.TestInvocationSummaryResponseModel = core.serialization.object({
|
|
|
48
48
|
pendingCount: core.serialization.property("pending_count", core.serialization.number()),
|
|
49
49
|
title: core.serialization.string(),
|
|
50
50
|
accessInfo: core.serialization.property("access_info", ResourceAccessInfo_1.ResourceAccessInfo.optional()),
|
|
51
|
+
repeatCount: core.serialization.property("repeat_count", core.serialization.number().optional()),
|
|
51
52
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { TestRunStatus } from "./TestRunStatus";
|
|
5
|
+
export declare const TestRunResultBucket: core.serialization.ObjectSchema<serializers.TestRunResultBucket.Raw, ElevenLabs.TestRunResultBucket>;
|
|
6
|
+
export declare namespace TestRunResultBucket {
|
|
7
|
+
interface Raw {
|
|
8
|
+
test_run_ids: string[];
|
|
9
|
+
title: string;
|
|
10
|
+
reason: string;
|
|
11
|
+
status: TestRunStatus.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.TestRunResultBucket = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const TestRunStatus_1 = require("./TestRunStatus");
|
|
40
|
+
exports.TestRunResultBucket = core.serialization.object({
|
|
41
|
+
testRunIds: core.serialization.property("test_run_ids", core.serialization.list(core.serialization.string())),
|
|
42
|
+
title: core.serialization.string(),
|
|
43
|
+
reason: core.serialization.string(),
|
|
44
|
+
status: TestRunStatus_1.TestRunStatus,
|
|
45
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { TestRunResultBucket } from "./TestRunResultBucket";
|
|
5
|
+
export declare const TestRunResultSummary: core.serialization.ObjectSchema<serializers.TestRunResultSummary.Raw, ElevenLabs.TestRunResultSummary>;
|
|
6
|
+
export declare namespace TestRunResultSummary {
|
|
7
|
+
interface Raw {
|
|
8
|
+
test_id: string;
|
|
9
|
+
test_name: string;
|
|
10
|
+
workflow_node_id?: string | null;
|
|
11
|
+
buckets: TestRunResultBucket.Raw[];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.TestRunResultSummary = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const TestRunResultBucket_1 = require("./TestRunResultBucket");
|
|
40
|
+
exports.TestRunResultSummary = core.serialization.object({
|
|
41
|
+
testId: core.serialization.property("test_id", core.serialization.string()),
|
|
42
|
+
testName: core.serialization.property("test_name", core.serialization.string()),
|
|
43
|
+
workflowNodeId: core.serialization.property("workflow_node_id", core.serialization.string().optional()),
|
|
44
|
+
buckets: core.serialization.list(TestRunResultBucket_1.TestRunResultBucket),
|
|
45
|
+
});
|
|
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../../api/index";
|
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { ConversationHistoryTranscriptCommonModelOutput } from "./ConversationHistoryTranscriptCommonModelOutput";
|
|
5
|
+
import { ConversationInitiationSource } from "./ConversationInitiationSource";
|
|
5
6
|
import { DynamicVariableValueTypeOutput } from "./DynamicVariableValueTypeOutput";
|
|
6
7
|
import { TestFromConversationMetadataOutput } from "./TestFromConversationMetadataOutput";
|
|
7
8
|
import { UnitTestToolCallEvaluationModelOutput } from "./UnitTestToolCallEvaluationModelOutput";
|
|
@@ -11,6 +12,7 @@ export declare namespace ToolCallUnitTestModel {
|
|
|
11
12
|
from_conversation_metadata?: TestFromConversationMetadataOutput.Raw | null;
|
|
12
13
|
dynamic_variables?: Record<string, DynamicVariableValueTypeOutput.Raw | null | undefined> | null;
|
|
13
14
|
chat_history?: ConversationHistoryTranscriptCommonModelOutput.Raw[] | null;
|
|
15
|
+
conversation_initiation_source?: ConversationInitiationSource.Raw | null;
|
|
14
16
|
tool_call_parameters?: UnitTestToolCallEvaluationModelOutput.Raw | null;
|
|
15
17
|
check_any_tool_matches?: boolean | null;
|
|
16
18
|
}
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ToolCallUnitTestModel = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const ConversationHistoryTranscriptCommonModelOutput_1 = require("./ConversationHistoryTranscriptCommonModelOutput");
|
|
40
|
+
const ConversationInitiationSource_1 = require("./ConversationInitiationSource");
|
|
40
41
|
const DynamicVariableValueTypeOutput_1 = require("./DynamicVariableValueTypeOutput");
|
|
41
42
|
const TestFromConversationMetadataOutput_1 = require("./TestFromConversationMetadataOutput");
|
|
42
43
|
const UnitTestToolCallEvaluationModelOutput_1 = require("./UnitTestToolCallEvaluationModelOutput");
|
|
@@ -44,6 +45,7 @@ exports.ToolCallUnitTestModel = core.serialization.object({
|
|
|
44
45
|
fromConversationMetadata: core.serialization.property("from_conversation_metadata", TestFromConversationMetadataOutput_1.TestFromConversationMetadataOutput.optional()),
|
|
45
46
|
dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeOutput_1.DynamicVariableValueTypeOutput.optional()).optional()),
|
|
46
47
|
chatHistory: core.serialization.property("chat_history", core.serialization.list(ConversationHistoryTranscriptCommonModelOutput_1.ConversationHistoryTranscriptCommonModelOutput).optional()),
|
|
48
|
+
conversationInitiationSource: core.serialization.property("conversation_initiation_source", ConversationInitiationSource_1.ConversationInitiationSource.optional()),
|
|
47
49
|
toolCallParameters: core.serialization.property("tool_call_parameters", UnitTestToolCallEvaluationModelOutput_1.UnitTestToolCallEvaluationModelOutput.optional()),
|
|
48
50
|
checkAnyToolMatches: core.serialization.property("check_any_tool_matches", core.serialization.boolean().optional()),
|
|
49
51
|
});
|
|
@@ -41,6 +41,7 @@ exports.TransferToAgentToolResultSuccessModel = core.serialization.object({
|
|
|
41
41
|
status: core.serialization.stringLiteral("success").optional(),
|
|
42
42
|
fromAgent: core.serialization.property("from_agent", core.serialization.string()),
|
|
43
43
|
toAgent: core.serialization.property("to_agent", core.serialization.string()),
|
|
44
|
+
toNode: core.serialization.property("to_node", core.serialization.string().optional()),
|
|
44
45
|
condition: core.serialization.string(),
|
|
45
46
|
delayMs: core.serialization.property("delay_ms", core.serialization.number().optional()),
|
|
46
47
|
transferMessage: core.serialization.property("transfer_message", core.serialization.string().optional()),
|
|
@@ -0,0 +1,12 @@
|
|
|
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 TransferToNumberResultExotelSuccessModel: core.serialization.ObjectSchema<serializers.TransferToNumberResultExotelSuccessModel.Raw, ElevenLabs.TransferToNumberResultExotelSuccessModel>;
|
|
5
|
+
export declare namespace TransferToNumberResultExotelSuccessModel {
|
|
6
|
+
interface Raw {
|
|
7
|
+
status?: "success" | null;
|
|
8
|
+
transfer_number: string;
|
|
9
|
+
reason?: string | null;
|
|
10
|
+
note?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.TransferToNumberResultExotelSuccessModel = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.TransferToNumberResultExotelSuccessModel = core.serialization.object({
|
|
40
|
+
status: core.serialization.stringLiteral("success").optional(),
|
|
41
|
+
transferNumber: core.serialization.property("transfer_number", core.serialization.string()),
|
|
42
|
+
reason: core.serialization.string().optional(),
|
|
43
|
+
note: core.serialization.string().optional(),
|
|
44
|
+
});
|
|
@@ -3,6 +3,7 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { AgentTestEntityType } from "./AgentTestEntityType";
|
|
5
5
|
import { AgentTestFolderPathSegmentResponseModel } from "./AgentTestFolderPathSegmentResponseModel";
|
|
6
|
+
import { ConversationInitiationSource } from "./ConversationInitiationSource";
|
|
6
7
|
import { ResourceAccessInfo } from "./ResourceAccessInfo";
|
|
7
8
|
import { TestType } from "./TestType";
|
|
8
9
|
export declare const UnitTestSummaryResponseModel: core.serialization.ObjectSchema<serializers.UnitTestSummaryResponseModel.Raw, ElevenLabs.UnitTestSummaryResponseModel>;
|
|
@@ -18,5 +19,6 @@ export declare namespace UnitTestSummaryResponseModel {
|
|
|
18
19
|
folder_parent_id?: string | null;
|
|
19
20
|
folder_path?: AgentTestFolderPathSegmentResponseModel.Raw[] | null;
|
|
20
21
|
children_count?: number | null;
|
|
22
|
+
conversation_initiation_source?: ConversationInitiationSource.Raw | null;
|
|
21
23
|
}
|
|
22
24
|
}
|
|
@@ -38,6 +38,7 @@ exports.UnitTestSummaryResponseModel = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const AgentTestEntityType_1 = require("./AgentTestEntityType");
|
|
40
40
|
const AgentTestFolderPathSegmentResponseModel_1 = require("./AgentTestFolderPathSegmentResponseModel");
|
|
41
|
+
const ConversationInitiationSource_1 = require("./ConversationInitiationSource");
|
|
41
42
|
const ResourceAccessInfo_1 = require("./ResourceAccessInfo");
|
|
42
43
|
const TestType_1 = require("./TestType");
|
|
43
44
|
exports.UnitTestSummaryResponseModel = core.serialization.object({
|
|
@@ -51,4 +52,5 @@ exports.UnitTestSummaryResponseModel = core.serialization.object({
|
|
|
51
52
|
folderParentId: core.serialization.property("folder_parent_id", core.serialization.string().optional()),
|
|
52
53
|
folderPath: core.serialization.property("folder_path", core.serialization.list(AgentTestFolderPathSegmentResponseModel_1.AgentTestFolderPathSegmentResponseModel).optional()),
|
|
53
54
|
childrenCount: core.serialization.property("children_count", core.serialization.number().optional()),
|
|
55
|
+
conversationInitiationSource: core.serialization.property("conversation_initiation_source", ConversationInitiationSource_1.ConversationInitiationSource.optional()),
|
|
54
56
|
});
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
|
|
|
4
4
|
import { AgentFailureResponseExample } from "./AgentFailureResponseExample";
|
|
5
5
|
import { AgentSuccessfulResponseExample } from "./AgentSuccessfulResponseExample";
|
|
6
6
|
import { ConversationHistoryTranscriptCommonModelInput } from "./ConversationHistoryTranscriptCommonModelInput";
|
|
7
|
+
import { ConversationInitiationSource } from "./ConversationInitiationSource";
|
|
7
8
|
import { DynamicVariableValueTypeInput } from "./DynamicVariableValueTypeInput";
|
|
8
9
|
import { TestFromConversationMetadataInput } from "./TestFromConversationMetadataInput";
|
|
9
10
|
export declare const UpdateResponseUnitTestRequest: core.serialization.ObjectSchema<serializers.UpdateResponseUnitTestRequest.Raw, ElevenLabs.UpdateResponseUnitTestRequest>;
|
|
@@ -12,6 +13,7 @@ export declare namespace UpdateResponseUnitTestRequest {
|
|
|
12
13
|
from_conversation_metadata?: TestFromConversationMetadataInput.Raw | null;
|
|
13
14
|
dynamic_variables?: Record<string, DynamicVariableValueTypeInput.Raw | null | undefined> | null;
|
|
14
15
|
chat_history?: ConversationHistoryTranscriptCommonModelInput.Raw[] | null;
|
|
16
|
+
conversation_initiation_source?: ConversationInitiationSource.Raw | null;
|
|
15
17
|
success_condition?: string | null;
|
|
16
18
|
success_examples?: AgentSuccessfulResponseExample.Raw[] | null;
|
|
17
19
|
failure_examples?: AgentFailureResponseExample.Raw[] | null;
|
|
@@ -39,12 +39,14 @@ const core = __importStar(require("../../core"));
|
|
|
39
39
|
const AgentFailureResponseExample_1 = require("./AgentFailureResponseExample");
|
|
40
40
|
const AgentSuccessfulResponseExample_1 = require("./AgentSuccessfulResponseExample");
|
|
41
41
|
const ConversationHistoryTranscriptCommonModelInput_1 = require("./ConversationHistoryTranscriptCommonModelInput");
|
|
42
|
+
const ConversationInitiationSource_1 = require("./ConversationInitiationSource");
|
|
42
43
|
const DynamicVariableValueTypeInput_1 = require("./DynamicVariableValueTypeInput");
|
|
43
44
|
const TestFromConversationMetadataInput_1 = require("./TestFromConversationMetadataInput");
|
|
44
45
|
exports.UpdateResponseUnitTestRequest = core.serialization.object({
|
|
45
46
|
fromConversationMetadata: core.serialization.property("from_conversation_metadata", TestFromConversationMetadataInput_1.TestFromConversationMetadataInput.optional()),
|
|
46
47
|
dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeInput_1.DynamicVariableValueTypeInput.optional()).optional()),
|
|
47
48
|
chatHistory: core.serialization.property("chat_history", core.serialization.list(ConversationHistoryTranscriptCommonModelInput_1.ConversationHistoryTranscriptCommonModelInput).optional()),
|
|
49
|
+
conversationInitiationSource: core.serialization.property("conversation_initiation_source", ConversationInitiationSource_1.ConversationInitiationSource.optional()),
|
|
48
50
|
successCondition: core.serialization.property("success_condition", core.serialization.string().optional()),
|
|
49
51
|
successExamples: core.serialization.property("success_examples", core.serialization.list(AgentSuccessfulResponseExample_1.AgentSuccessfulResponseExample).optional()),
|
|
50
52
|
failureExamples: core.serialization.property("failure_examples", core.serialization.list(AgentFailureResponseExample_1.AgentFailureResponseExample).optional()),
|
|
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../../api/index";
|
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { ConversationHistoryTranscriptCommonModelInput } from "./ConversationHistoryTranscriptCommonModelInput";
|
|
5
|
+
import { ConversationInitiationSource } from "./ConversationInitiationSource";
|
|
5
6
|
import { DynamicVariableValueTypeInput } from "./DynamicVariableValueTypeInput";
|
|
6
7
|
import { Llm } from "./Llm";
|
|
7
8
|
import { SimulationToolMockBehaviorConfig } from "./SimulationToolMockBehaviorConfig";
|
|
@@ -12,6 +13,7 @@ export declare namespace UpdateSimulationTestRequest {
|
|
|
12
13
|
from_conversation_metadata?: TestFromConversationMetadataInput.Raw | null;
|
|
13
14
|
dynamic_variables?: Record<string, DynamicVariableValueTypeInput.Raw | null | undefined> | null;
|
|
14
15
|
chat_history?: ConversationHistoryTranscriptCommonModelInput.Raw[] | null;
|
|
16
|
+
conversation_initiation_source?: ConversationInitiationSource.Raw | null;
|
|
15
17
|
success_condition?: string | null;
|
|
16
18
|
simulation_scenario?: string | null;
|
|
17
19
|
simulation_max_turns?: number | null;
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.UpdateSimulationTestRequest = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const ConversationHistoryTranscriptCommonModelInput_1 = require("./ConversationHistoryTranscriptCommonModelInput");
|
|
40
|
+
const ConversationInitiationSource_1 = require("./ConversationInitiationSource");
|
|
40
41
|
const DynamicVariableValueTypeInput_1 = require("./DynamicVariableValueTypeInput");
|
|
41
42
|
const Llm_1 = require("./Llm");
|
|
42
43
|
const SimulationToolMockBehaviorConfig_1 = require("./SimulationToolMockBehaviorConfig");
|
|
@@ -45,6 +46,7 @@ exports.UpdateSimulationTestRequest = core.serialization.object({
|
|
|
45
46
|
fromConversationMetadata: core.serialization.property("from_conversation_metadata", TestFromConversationMetadataInput_1.TestFromConversationMetadataInput.optional()),
|
|
46
47
|
dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeInput_1.DynamicVariableValueTypeInput.optional()).optional()),
|
|
47
48
|
chatHistory: core.serialization.property("chat_history", core.serialization.list(ConversationHistoryTranscriptCommonModelInput_1.ConversationHistoryTranscriptCommonModelInput).optional()),
|
|
49
|
+
conversationInitiationSource: core.serialization.property("conversation_initiation_source", ConversationInitiationSource_1.ConversationInitiationSource.optional()),
|
|
48
50
|
successCondition: core.serialization.property("success_condition", core.serialization.string().optional()),
|
|
49
51
|
simulationScenario: core.serialization.property("simulation_scenario", core.serialization.string().optional()),
|
|
50
52
|
simulationMaxTurns: core.serialization.property("simulation_max_turns", core.serialization.number().optional()),
|