@elevenlabs/elevenlabs-js 2.35.0 → 2.36.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/BaseClient.js +2 -2
- package/api/resources/conversationalAi/client/Client.d.ts +3 -0
- package/api/resources/conversationalAi/client/Client.js +9 -4
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +9 -3
- package/api/resources/conversationalAi/resources/agents/client/Client.js +39 -9
- package/api/resources/conversationalAi/resources/agents/client/requests/AgentsGetRequest.d.ts +13 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +5 -1
- package/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -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/knowledgeBase/resources/documents/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +1 -1
- package/api/resources/conversationalAi/resources/tests/client/Client.d.ts +7 -31
- package/api/resources/conversationalAi/resources/tests/client/Client.js +9 -33
- package/api/resources/conversationalAi/resources/tests/client/requests/index.d.ts +0 -2
- package/api/resources/conversationalAi/resources/tests/types/TestsCreateRequestBody.d.ts +16 -0
- package/api/resources/conversationalAi/resources/tests/types/TestsGetResponse.d.ts +13 -0
- package/api/resources/conversationalAi/resources/tests/types/TestsUpdateRequestBody.d.ts +16 -0
- package/api/resources/conversationalAi/resources/tests/types/TestsUpdateResponse.d.ts +13 -0
- package/api/resources/conversationalAi/resources/tests/types/index.d.ts +4 -2
- package/api/resources/conversationalAi/resources/tests/types/index.js +4 -2
- package/api/resources/conversationalAi/resources/users/client/Client.d.ts +33 -0
- package/api/resources/conversationalAi/resources/users/client/Client.js +147 -0
- package/api/resources/conversationalAi/resources/users/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/users/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts +25 -0
- package/api/resources/conversationalAi/resources/users/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/users/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/users/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/users/index.js +17 -0
- package/api/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
- package/api/resources/pronunciationDictionaries/client/Client.js +1 -1
- package/api/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.d.ts +1 -1
- package/api/types/BuiltInToolsInput.d.ts +2 -0
- package/api/types/BuiltInToolsOutput.d.ts +2 -0
- package/api/types/BuiltInToolsWorkflowOverrideInput.d.ts +2 -0
- package/api/types/BuiltInToolsWorkflowOverrideOutput.d.ts +2 -0
- package/api/types/ContentConfig.d.ts +10 -0
- package/api/types/ContentGuardrailInput.d.ts +4 -0
- package/api/types/ContentGuardrailOutput.d.ts +4 -0
- package/api/types/ConversationSummaryResponseModel.d.ts +3 -0
- package/api/types/ConversationUserResponseModel.d.ts +8 -0
- package/api/types/CreateAgentTestResponseModel.d.ts +3 -0
- package/api/types/CreateResponseUnitTestRequest.d.ts +15 -0
- package/api/types/CreateResponseUnitTestRequestDynamicVariablesValue.d.ts +1 -0
- package/api/types/CreateSimulationTestRequest.d.ts +15 -0
- package/api/types/CreateSimulationTestRequestDynamicVariablesValue.d.ts +1 -0
- package/api/types/CreateToolCallUnitTestRequest.d.ts +13 -0
- package/api/types/CreateToolCallUnitTestRequestDynamicVariablesValue.d.ts +1 -0
- package/api/types/CustomGuardrailConfig.d.ts +13 -0
- package/api/types/CustomGuardrailConfigModel.d.ts +6 -0
- package/api/types/CustomGuardrailConfigModel.js +9 -0
- package/api/types/CustomGuardrailInput.d.ts +7 -0
- package/api/types/CustomGuardrailInput.js +3 -0
- package/api/types/CustomGuardrailOutput.d.ts +7 -0
- package/api/types/CustomGuardrailOutput.js +3 -0
- package/api/types/CustomGuardrailsConfig.d.ts +7 -0
- package/api/types/CustomGuardrailsConfig.js +3 -0
- package/api/types/DefaultSharingGroupResponseModel.d.ts +7 -0
- package/api/types/DefaultSharingGroupResponseModel.js +3 -0
- package/api/types/DefaultSharingGroupResponseModelPermissionLevel.d.ts +7 -0
- package/api/types/DefaultSharingGroupResponseModelPermissionLevel.js +10 -0
- package/api/types/DirectPublishingReadResponseModel.d.ts +1 -1
- package/api/types/GetConversationResponseModel.d.ts +1 -1
- package/api/types/GetConversationUsersPageResponseModel.d.ts +6 -0
- package/api/types/GetConversationUsersPageResponseModel.js +3 -0
- package/api/types/GetPronunciationDictionaryWithRulesResponseModel.d.ts +23 -0
- package/api/types/GetPronunciationDictionaryWithRulesResponseModel.js +3 -0
- package/api/types/GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource.d.ts +7 -0
- package/api/types/GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource.js +10 -0
- package/api/types/GetPronunciationDictionaryWithRulesResponseModelRulesItem.d.ts +10 -0
- package/api/types/GetPronunciationDictionaryWithRulesResponseModelRulesItem.js +3 -0
- package/api/types/GetResponseUnitTestResponseModel.d.ts +16 -0
- package/api/types/GetResponseUnitTestResponseModel.js +3 -0
- package/api/types/GetResponseUnitTestResponseModelDynamicVariablesValue.d.ts +1 -0
- package/api/types/GetResponseUnitTestResponseModelDynamicVariablesValue.js +3 -0
- package/api/types/GetSimulationTestResponseModel.d.ts +16 -0
- package/api/types/GetSimulationTestResponseModel.js +3 -0
- package/api/types/GetSimulationTestResponseModelDynamicVariablesValue.d.ts +1 -0
- package/api/types/GetSimulationTestResponseModelDynamicVariablesValue.js +3 -0
- package/api/types/GetToolCallUnitTestResponseModel.d.ts +14 -0
- package/api/types/GetToolCallUnitTestResponseModel.js +3 -0
- package/api/types/GetToolCallUnitTestResponseModelDynamicVariablesValue.d.ts +1 -0
- package/api/types/GetToolCallUnitTestResponseModelDynamicVariablesValue.js +3 -0
- package/api/types/GuardrailsV1Input.d.ts +2 -0
- package/api/types/GuardrailsV1Output.d.ts +2 -0
- package/api/types/MergingStrategy.d.ts +7 -0
- package/api/types/MergingStrategy.js +10 -0
- package/api/types/MultiSourceConfigJson.d.ts +22 -0
- package/api/types/MultiSourceConfigJson.js +3 -0
- package/api/types/PendingClipTask.d.ts +8 -0
- package/api/types/PendingClipTask.js +3 -0
- package/api/types/PendingClipTaskType.d.ts +6 -0
- package/api/types/PendingClipTaskType.js +9 -0
- package/api/types/PermissionType.d.ts +1 -0
- package/api/types/PermissionType.js +1 -0
- package/api/types/PhoneNumberTransfer.d.ts +2 -0
- package/api/types/PhoneNumberTransferPostDialDigits.d.ts +10 -0
- package/api/types/PhoneNumberTransferPostDialDigits.js +3 -0
- package/api/types/PostDialDigitsDynamicVariable.d.ts +4 -0
- package/api/types/PostDialDigitsDynamicVariable.js +3 -0
- package/api/types/PostDialDigitsStatic.d.ts +4 -0
- package/api/types/PostDialDigitsStatic.js +3 -0
- package/api/types/ProjectCreationMetaResponseModelType.d.ts +1 -0
- package/api/types/ProjectCreationMetaResponseModelType.js +1 -0
- package/api/types/ProjectExternalAudioResponseModel.d.ts +2 -0
- package/api/types/ProjectVideoResponseModel.d.ts +2 -0
- package/api/types/PronunciationDictionaryAliasRuleResponseModel.d.ts +4 -0
- package/api/types/PronunciationDictionaryAliasRuleResponseModel.js +3 -0
- package/api/types/PronunciationDictionaryPhonemeRuleResponseModel.d.ts +5 -0
- package/api/types/PronunciationDictionaryPhonemeRuleResponseModel.js +3 -0
- package/api/types/ReferencedToolCommonModelType.d.ts +1 -0
- package/api/types/ReferencedToolCommonModelType.js +1 -0
- package/api/types/ResourceMetadataResponseModel.d.ts +2 -0
- package/api/types/ResponseUnitTestModel.d.ts +14 -0
- package/api/types/ResponseUnitTestModel.js +3 -0
- package/api/types/ResponseUnitTestModelDynamicVariablesValue.d.ts +1 -0
- package/api/types/ResponseUnitTestModelDynamicVariablesValue.js +3 -0
- package/api/types/SearchDocumentationToolConfigInput.d.ts +39 -0
- package/api/types/SearchDocumentationToolConfigInput.js +3 -0
- package/api/types/SearchDocumentationToolConfigOutput.d.ts +37 -0
- package/api/types/SearchDocumentationToolConfigOutput.js +3 -0
- package/api/types/SimilarVoice.d.ts +1 -1
- package/api/types/SimulationTestModel.d.ts +14 -0
- package/api/types/SimulationTestModel.js +3 -0
- package/api/types/SimulationTestModelDynamicVariablesValue.d.ts +1 -0
- package/api/types/SimulationTestModelDynamicVariablesValue.js +3 -0
- package/api/types/SourceConfigJson.d.ts +32 -0
- package/api/types/SourceConfigJson.js +3 -0
- package/api/types/SourceRetrievalConfig.d.ts +17 -0
- package/api/types/SourceRetrievalConfig.js +3 -0
- package/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/api/types/TestRunMetadataTestType.d.ts +1 -0
- package/api/types/TestRunMetadataTestType.js +1 -0
- package/api/types/TestType.d.ts +6 -0
- package/api/types/{UnitTestCommonModelType.js → TestType.js} +3 -2
- package/api/types/ToolCallUnitTestModel.d.ts +12 -0
- package/api/types/ToolCallUnitTestModel.js +3 -0
- package/api/types/ToolCallUnitTestModelDynamicVariablesValue.d.ts +1 -0
- package/api/types/ToolCallUnitTestModelDynamicVariablesValue.js +3 -0
- package/api/types/ToolRequestModelToolConfig.d.ts +5 -1
- package/api/types/ToolResponseModelToolConfig.d.ts +5 -1
- package/api/types/TransferToNumberResultTwilioSuccessModel.d.ts +1 -0
- package/api/types/TtsConversationalConfigInput.d.ts +2 -0
- package/api/types/TtsConversationalConfigOutput.d.ts +2 -0
- package/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
- package/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
- package/api/types/UnitTestRunResponseModel.d.ts +1 -1
- package/api/types/UnitTestRunResponseModelTestInfo.d.ts +13 -0
- package/api/types/UnitTestRunResponseModelTestInfo.js +3 -0
- package/api/types/UnitTestSummaryResponseModel.d.ts +1 -1
- package/api/types/UpdateResponseUnitTestRequest.d.ts +15 -0
- package/api/types/UpdateResponseUnitTestRequest.js +3 -0
- package/api/types/UpdateResponseUnitTestRequestDynamicVariablesValue.d.ts +1 -0
- package/api/types/UpdateResponseUnitTestRequestDynamicVariablesValue.js +3 -0
- package/api/types/UpdateSimulationTestRequest.d.ts +15 -0
- package/api/types/UpdateSimulationTestRequest.js +3 -0
- package/api/types/UpdateSimulationTestRequestDynamicVariablesValue.d.ts +1 -0
- package/api/types/UpdateSimulationTestRequestDynamicVariablesValue.js +3 -0
- package/api/types/UpdateToolCallUnitTestRequest.d.ts +13 -0
- package/api/types/UpdateToolCallUnitTestRequest.js +3 -0
- package/api/types/UpdateToolCallUnitTestRequestDynamicVariablesValue.d.ts +1 -0
- package/api/types/UpdateToolCallUnitTestRequestDynamicVariablesValue.js +3 -0
- package/api/types/{SimilarVoiceCategory.d.ts → VoiceCategory.d.ts} +2 -2
- package/{dist/api/types/SimilarVoiceCategory.js → api/types/VoiceCategory.js} +2 -2
- package/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
- package/api/types/WorkflowPhoneNumberNodeModelInputPostDialDigits.d.ts +10 -0
- package/api/types/WorkflowPhoneNumberNodeModelInputPostDialDigits.js +3 -0
- package/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
- package/api/types/WorkflowPhoneNumberNodeModelOutputPostDialDigits.d.ts +10 -0
- package/api/types/WorkflowPhoneNumberNodeModelOutputPostDialDigits.js +3 -0
- package/api/types/WorkspaceGroupPermission.d.ts +31 -0
- package/api/types/WorkspaceGroupPermission.js +34 -0
- package/api/types/WorkspaceGroupResponseModel.d.ts +9 -0
- package/api/types/WorkspaceGroupResponseModel.js +3 -0
- package/api/types/WorkspaceGroupResponseModelGroupUsageLimit.d.ts +1 -0
- package/api/types/WorkspaceGroupResponseModelGroupUsageLimit.js +3 -0
- package/api/types/WorkspaceServiceAccountResponseModel.d.ts +1 -0
- package/api/types/index.d.ts +61 -7
- package/api/types/index.js +61 -7
- package/dist/BaseClient.js +2 -2
- package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -0
- package/dist/api/resources/conversationalAi/client/Client.js +9 -4
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +9 -3
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +39 -9
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsGetRequest.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsGetRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +5 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -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/knowledgeBase/resources/documents/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.d.ts +7 -31
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +9 -33
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/index.d.ts +0 -2
- package/dist/api/resources/conversationalAi/resources/tests/types/TestsCreateRequestBody.d.ts +16 -0
- package/dist/api/resources/conversationalAi/resources/tests/types/TestsCreateRequestBody.js +3 -0
- package/dist/api/resources/conversationalAi/resources/tests/types/TestsGetResponse.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/tests/types/TestsGetResponse.js +3 -0
- package/dist/api/resources/conversationalAi/resources/tests/types/TestsUpdateRequestBody.d.ts +16 -0
- package/dist/api/resources/conversationalAi/resources/tests/types/TestsUpdateRequestBody.js +3 -0
- package/dist/api/resources/conversationalAi/resources/tests/types/TestsUpdateResponse.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/tests/types/TestsUpdateResponse.js +3 -0
- package/dist/api/resources/conversationalAi/resources/tests/types/index.d.ts +4 -2
- package/dist/api/resources/conversationalAi/resources/tests/types/index.js +4 -2
- package/dist/api/resources/conversationalAi/resources/users/client/Client.d.ts +33 -0
- package/dist/api/resources/conversationalAi/resources/users/client/Client.js +147 -0
- package/dist/api/resources/conversationalAi/resources/users/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/users/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts +25 -0
- package/dist/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/users/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/users/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/users/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/users/index.js +17 -0
- package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +1 -1
- package/dist/api/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.d.ts +1 -1
- package/dist/api/types/BuiltInToolsInput.d.ts +2 -0
- package/dist/api/types/BuiltInToolsOutput.d.ts +2 -0
- package/dist/api/types/BuiltInToolsWorkflowOverrideInput.d.ts +2 -0
- package/dist/api/types/BuiltInToolsWorkflowOverrideOutput.d.ts +2 -0
- package/dist/api/types/ContentConfig.d.ts +10 -0
- package/dist/api/types/ContentConfig.js +3 -0
- package/dist/api/types/ContentGuardrailInput.d.ts +4 -0
- package/dist/api/types/ContentGuardrailInput.js +3 -0
- package/dist/api/types/ContentGuardrailOutput.d.ts +4 -0
- package/dist/api/types/ContentGuardrailOutput.js +3 -0
- package/dist/api/types/ConversationSummaryResponseModel.d.ts +3 -0
- package/dist/api/types/ConversationUserResponseModel.d.ts +8 -0
- package/dist/api/types/ConversationUserResponseModel.js +3 -0
- package/dist/api/types/CreateAgentTestResponseModel.d.ts +3 -0
- package/dist/api/types/CreateAgentTestResponseModel.js +3 -0
- package/dist/api/types/CreateResponseUnitTestRequest.d.ts +15 -0
- package/dist/api/types/CreateResponseUnitTestRequest.js +3 -0
- package/dist/api/types/CreateResponseUnitTestRequestDynamicVariablesValue.d.ts +1 -0
- package/dist/api/types/CreateResponseUnitTestRequestDynamicVariablesValue.js +3 -0
- package/dist/api/types/CreateSimulationTestRequest.d.ts +15 -0
- package/dist/api/types/CreateSimulationTestRequest.js +3 -0
- package/dist/api/types/CreateSimulationTestRequestDynamicVariablesValue.d.ts +1 -0
- package/dist/api/types/CreateSimulationTestRequestDynamicVariablesValue.js +3 -0
- package/dist/api/types/CreateToolCallUnitTestRequest.d.ts +13 -0
- package/dist/api/types/CreateToolCallUnitTestRequest.js +3 -0
- package/dist/api/types/CreateToolCallUnitTestRequestDynamicVariablesValue.d.ts +1 -0
- package/dist/api/types/CreateToolCallUnitTestRequestDynamicVariablesValue.js +3 -0
- package/dist/api/types/CustomGuardrailConfig.d.ts +13 -0
- package/dist/api/types/CustomGuardrailConfig.js +3 -0
- package/dist/api/types/CustomGuardrailConfigModel.d.ts +6 -0
- package/dist/api/types/CustomGuardrailConfigModel.js +9 -0
- package/dist/api/types/CustomGuardrailInput.d.ts +7 -0
- package/dist/api/types/CustomGuardrailInput.js +3 -0
- package/dist/api/types/CustomGuardrailOutput.d.ts +7 -0
- package/dist/api/types/CustomGuardrailOutput.js +3 -0
- package/dist/api/types/CustomGuardrailsConfig.d.ts +7 -0
- package/dist/api/types/CustomGuardrailsConfig.js +3 -0
- package/dist/api/types/DefaultSharingGroupResponseModel.d.ts +7 -0
- package/dist/api/types/DefaultSharingGroupResponseModel.js +3 -0
- package/dist/api/types/DefaultSharingGroupResponseModelPermissionLevel.d.ts +7 -0
- package/dist/api/types/DefaultSharingGroupResponseModelPermissionLevel.js +10 -0
- package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -1
- package/dist/api/types/GetConversationResponseModel.d.ts +1 -1
- package/dist/api/types/GetConversationUsersPageResponseModel.d.ts +6 -0
- package/dist/api/types/GetConversationUsersPageResponseModel.js +3 -0
- package/dist/api/types/GetPronunciationDictionaryWithRulesResponseModel.d.ts +23 -0
- package/dist/api/types/GetPronunciationDictionaryWithRulesResponseModel.js +3 -0
- package/dist/api/types/GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource.d.ts +7 -0
- package/dist/api/types/GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource.js +10 -0
- package/dist/api/types/GetPronunciationDictionaryWithRulesResponseModelRulesItem.d.ts +10 -0
- package/dist/api/types/GetPronunciationDictionaryWithRulesResponseModelRulesItem.js +3 -0
- package/dist/api/types/GetResponseUnitTestResponseModel.d.ts +16 -0
- package/dist/api/types/GetResponseUnitTestResponseModel.js +3 -0
- package/dist/api/types/GetResponseUnitTestResponseModelDynamicVariablesValue.d.ts +1 -0
- package/dist/api/types/GetResponseUnitTestResponseModelDynamicVariablesValue.js +3 -0
- package/dist/api/types/GetSimulationTestResponseModel.d.ts +16 -0
- package/dist/api/types/GetSimulationTestResponseModel.js +3 -0
- package/dist/api/types/GetSimulationTestResponseModelDynamicVariablesValue.d.ts +1 -0
- package/dist/api/types/GetSimulationTestResponseModelDynamicVariablesValue.js +3 -0
- package/dist/api/types/GetToolCallUnitTestResponseModel.d.ts +14 -0
- package/dist/api/types/GetToolCallUnitTestResponseModel.js +3 -0
- package/dist/api/types/GetToolCallUnitTestResponseModelDynamicVariablesValue.d.ts +1 -0
- package/dist/api/types/GetToolCallUnitTestResponseModelDynamicVariablesValue.js +3 -0
- package/dist/api/types/GuardrailsV1Input.d.ts +2 -0
- package/dist/api/types/GuardrailsV1Output.d.ts +2 -0
- package/dist/api/types/MergingStrategy.d.ts +7 -0
- package/dist/api/types/MergingStrategy.js +10 -0
- package/dist/api/types/MultiSourceConfigJson.d.ts +22 -0
- package/dist/api/types/MultiSourceConfigJson.js +3 -0
- package/dist/api/types/PendingClipTask.d.ts +8 -0
- package/dist/api/types/PendingClipTask.js +3 -0
- package/dist/api/types/PendingClipTaskType.d.ts +6 -0
- package/dist/api/types/PendingClipTaskType.js +9 -0
- package/dist/api/types/PermissionType.d.ts +1 -0
- package/dist/api/types/PermissionType.js +1 -0
- package/dist/api/types/PhoneNumberTransfer.d.ts +2 -0
- package/dist/api/types/PhoneNumberTransferPostDialDigits.d.ts +10 -0
- package/dist/api/types/PhoneNumberTransferPostDialDigits.js +3 -0
- package/dist/api/types/PostDialDigitsDynamicVariable.d.ts +4 -0
- package/dist/api/types/PostDialDigitsDynamicVariable.js +3 -0
- package/dist/api/types/PostDialDigitsStatic.d.ts +4 -0
- package/dist/api/types/PostDialDigitsStatic.js +3 -0
- package/dist/api/types/ProjectCreationMetaResponseModelType.d.ts +1 -0
- package/dist/api/types/ProjectCreationMetaResponseModelType.js +1 -0
- package/dist/api/types/ProjectExternalAudioResponseModel.d.ts +2 -0
- package/dist/api/types/ProjectVideoResponseModel.d.ts +2 -0
- package/dist/api/types/PronunciationDictionaryAliasRuleResponseModel.d.ts +4 -0
- package/dist/api/types/PronunciationDictionaryAliasRuleResponseModel.js +3 -0
- package/dist/api/types/PronunciationDictionaryPhonemeRuleResponseModel.d.ts +5 -0
- package/dist/api/types/PronunciationDictionaryPhonemeRuleResponseModel.js +3 -0
- package/dist/api/types/ReferencedToolCommonModelType.d.ts +1 -0
- package/dist/api/types/ReferencedToolCommonModelType.js +1 -0
- package/dist/api/types/ResourceMetadataResponseModel.d.ts +2 -0
- package/dist/api/types/ResponseUnitTestModel.d.ts +14 -0
- package/dist/api/types/ResponseUnitTestModel.js +3 -0
- package/dist/api/types/ResponseUnitTestModelDynamicVariablesValue.d.ts +1 -0
- package/dist/api/types/ResponseUnitTestModelDynamicVariablesValue.js +3 -0
- package/dist/api/types/SearchDocumentationToolConfigInput.d.ts +39 -0
- package/dist/api/types/SearchDocumentationToolConfigInput.js +3 -0
- package/dist/api/types/SearchDocumentationToolConfigOutput.d.ts +37 -0
- package/dist/api/types/SearchDocumentationToolConfigOutput.js +3 -0
- package/dist/api/types/SimilarVoice.d.ts +1 -1
- package/dist/api/types/SimulationTestModel.d.ts +14 -0
- package/dist/api/types/SimulationTestModel.js +3 -0
- package/dist/api/types/SimulationTestModelDynamicVariablesValue.d.ts +1 -0
- package/dist/api/types/SimulationTestModelDynamicVariablesValue.js +3 -0
- package/dist/api/types/SourceConfigJson.d.ts +32 -0
- package/dist/api/types/SourceConfigJson.js +3 -0
- package/dist/api/types/SourceRetrievalConfig.d.ts +17 -0
- package/dist/api/types/SourceRetrievalConfig.js +3 -0
- package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/dist/api/types/TestRunMetadataTestType.d.ts +1 -0
- package/dist/api/types/TestRunMetadataTestType.js +1 -0
- package/dist/api/types/TestType.d.ts +6 -0
- package/dist/api/types/{UnitTestCommonModelType.js → TestType.js} +3 -2
- package/dist/api/types/ToolCallUnitTestModel.d.ts +12 -0
- package/dist/api/types/ToolCallUnitTestModel.js +3 -0
- package/dist/api/types/ToolCallUnitTestModelDynamicVariablesValue.d.ts +1 -0
- package/dist/api/types/ToolCallUnitTestModelDynamicVariablesValue.js +3 -0
- package/dist/api/types/ToolRequestModelToolConfig.d.ts +5 -1
- package/dist/api/types/ToolResponseModelToolConfig.d.ts +5 -1
- package/dist/api/types/TransferToNumberResultTwilioSuccessModel.d.ts +1 -0
- package/dist/api/types/TtsConversationalConfigInput.d.ts +2 -0
- package/dist/api/types/TtsConversationalConfigOutput.d.ts +2 -0
- package/dist/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
- package/dist/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
- package/dist/api/types/UnitTestRunResponseModel.d.ts +1 -1
- package/dist/api/types/UnitTestRunResponseModelTestInfo.d.ts +13 -0
- package/dist/api/types/UnitTestRunResponseModelTestInfo.js +3 -0
- package/dist/api/types/UnitTestSummaryResponseModel.d.ts +1 -1
- package/dist/api/types/UpdateResponseUnitTestRequest.d.ts +15 -0
- package/dist/api/types/UpdateResponseUnitTestRequest.js +3 -0
- package/dist/api/types/UpdateResponseUnitTestRequestDynamicVariablesValue.d.ts +1 -0
- package/dist/api/types/UpdateResponseUnitTestRequestDynamicVariablesValue.js +3 -0
- package/dist/api/types/UpdateSimulationTestRequest.d.ts +15 -0
- package/dist/api/types/UpdateSimulationTestRequest.js +3 -0
- package/dist/api/types/UpdateSimulationTestRequestDynamicVariablesValue.d.ts +1 -0
- package/dist/api/types/UpdateSimulationTestRequestDynamicVariablesValue.js +3 -0
- package/dist/api/types/UpdateToolCallUnitTestRequest.d.ts +13 -0
- package/dist/api/types/UpdateToolCallUnitTestRequest.js +3 -0
- package/dist/api/types/UpdateToolCallUnitTestRequestDynamicVariablesValue.d.ts +1 -0
- package/dist/api/types/UpdateToolCallUnitTestRequestDynamicVariablesValue.js +3 -0
- package/dist/api/types/{SimilarVoiceCategory.d.ts → VoiceCategory.d.ts} +2 -2
- package/{api/types/SimilarVoiceCategory.js → dist/api/types/VoiceCategory.js} +2 -2
- package/dist/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModelInputPostDialDigits.d.ts +10 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModelInputPostDialDigits.js +3 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModelOutputPostDialDigits.d.ts +10 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModelOutputPostDialDigits.js +3 -0
- package/dist/api/types/WorkspaceGroupPermission.d.ts +31 -0
- package/dist/api/types/WorkspaceGroupPermission.js +34 -0
- package/dist/api/types/WorkspaceGroupResponseModel.d.ts +9 -0
- package/dist/api/types/WorkspaceGroupResponseModel.js +3 -0
- package/dist/api/types/WorkspaceGroupResponseModelGroupUsageLimit.d.ts +1 -0
- package/dist/api/types/WorkspaceGroupResponseModelGroupUsageLimit.js +3 -0
- package/dist/api/types/WorkspaceServiceAccountResponseModel.d.ts +1 -0
- package/dist/api/types/index.d.ts +61 -7
- package/dist/api/types/index.js +61 -7
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -1
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/index.js +1 -5
- package/dist/serialization/resources/conversationalAi/resources/tests/types/TestsCreateRequestBody.d.ts +19 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/types/{CreateUnitTestRequestDynamicVariablesValue.js → TestsCreateRequestBody.js} +14 -7
- package/dist/serialization/resources/conversationalAi/resources/tests/types/TestsGetResponse.d.ts +19 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/types/TestsGetResponse.js +51 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/types/TestsUpdateRequestBody.d.ts +19 -0
- package/{serialization/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.js → dist/serialization/resources/conversationalAi/resources/tests/types/TestsUpdateRequestBody.js} +14 -7
- package/dist/serialization/resources/conversationalAi/resources/tests/types/TestsUpdateResponse.d.ts +19 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/types/TestsUpdateResponse.js +51 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/types/index.d.ts +4 -2
- package/dist/serialization/resources/conversationalAi/resources/tests/types/index.js +4 -2
- package/dist/serialization/types/BuiltInToolsInput.d.ts +1 -0
- package/dist/serialization/types/BuiltInToolsInput.js +1 -0
- package/dist/serialization/types/BuiltInToolsOutput.d.ts +1 -0
- package/dist/serialization/types/BuiltInToolsOutput.js +1 -0
- package/dist/serialization/types/BuiltInToolsWorkflowOverrideInput.d.ts +1 -0
- package/dist/serialization/types/BuiltInToolsWorkflowOverrideInput.js +1 -0
- package/dist/serialization/types/BuiltInToolsWorkflowOverrideOutput.d.ts +1 -0
- package/dist/serialization/types/BuiltInToolsWorkflowOverrideOutput.js +1 -0
- package/dist/serialization/types/ContentConfig.d.ts +16 -0
- package/dist/serialization/types/ContentConfig.js +48 -0
- package/dist/serialization/types/ContentGuardrailInput.d.ts +10 -0
- package/dist/serialization/types/ContentGuardrailInput.js +42 -0
- package/dist/serialization/types/ContentGuardrailOutput.d.ts +10 -0
- package/dist/serialization/types/ContentGuardrailOutput.js +42 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +4 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.js +4 -0
- package/dist/serialization/types/ConversationUserResponseModel.d.ts +14 -0
- package/dist/serialization/types/ConversationUserResponseModel.js +46 -0
- package/dist/serialization/types/CreateAgentTestResponseModel.d.ts +9 -0
- package/dist/serialization/types/{CreateUnitTestResponseModel.js → CreateAgentTestResponseModel.js} +2 -2
- package/dist/serialization/types/CreateResponseUnitTestRequest.d.ts +20 -0
- package/dist/serialization/types/CreateResponseUnitTestRequest.js +54 -0
- package/dist/serialization/types/CreateResponseUnitTestRequestDynamicVariablesValue.d.ts +7 -0
- package/dist/serialization/types/CreateResponseUnitTestRequestDynamicVariablesValue.js +44 -0
- package/dist/serialization/types/CreateSimulationTestRequest.d.ts +18 -0
- package/dist/serialization/types/CreateSimulationTestRequest.js +52 -0
- package/dist/serialization/types/CreateSimulationTestRequestDynamicVariablesValue.d.ts +7 -0
- package/dist/serialization/types/CreateSimulationTestRequestDynamicVariablesValue.js +44 -0
- package/dist/serialization/types/CreateToolCallUnitTestRequest.d.ts +18 -0
- package/{serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js → dist/serialization/types/CreateToolCallUnitTestRequest.js} +12 -19
- package/dist/serialization/types/CreateToolCallUnitTestRequestDynamicVariablesValue.d.ts +7 -0
- package/dist/serialization/types/CreateToolCallUnitTestRequestDynamicVariablesValue.js +44 -0
- package/dist/serialization/types/CustomGuardrailConfig.d.ts +13 -0
- package/dist/serialization/types/CustomGuardrailConfig.js +45 -0
- package/dist/serialization/types/CustomGuardrailConfigModel.d.ts +7 -0
- package/dist/serialization/types/CustomGuardrailConfigModel.js +39 -0
- package/dist/serialization/types/CustomGuardrailInput.d.ts +10 -0
- package/dist/serialization/types/CustomGuardrailInput.js +42 -0
- package/dist/serialization/types/CustomGuardrailOutput.d.ts +10 -0
- package/dist/serialization/types/CustomGuardrailOutput.js +42 -0
- package/dist/serialization/types/CustomGuardrailsConfig.d.ts +10 -0
- package/dist/serialization/types/CustomGuardrailsConfig.js +42 -0
- package/dist/serialization/types/DefaultSharingGroupResponseModel.d.ts +12 -0
- package/dist/serialization/types/DefaultSharingGroupResponseModel.js +44 -0
- package/dist/serialization/types/DefaultSharingGroupResponseModelPermissionLevel.d.ts +7 -0
- package/dist/serialization/types/DefaultSharingGroupResponseModelPermissionLevel.js +39 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -1
- package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -1
- package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -1
- package/dist/serialization/types/GetConversationResponseModel.js +1 -1
- package/dist/serialization/types/GetConversationUsersPageResponseModel.d.ts +12 -0
- package/dist/serialization/types/GetConversationUsersPageResponseModel.js +44 -0
- package/dist/serialization/types/GetPronunciationDictionaryWithRulesResponseModel.d.ts +20 -0
- package/dist/serialization/types/GetPronunciationDictionaryWithRulesResponseModel.js +52 -0
- package/dist/serialization/types/GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource.d.ts +7 -0
- package/dist/serialization/types/GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource.js +39 -0
- package/dist/serialization/types/GetPronunciationDictionaryWithRulesResponseModelRulesItem.d.ts +15 -0
- package/dist/serialization/types/GetPronunciationDictionaryWithRulesResponseModelRulesItem.js +49 -0
- package/dist/serialization/types/GetResponseUnitTestResponseModel.d.ts +21 -0
- package/dist/serialization/types/{UnitTestCommonModel.js → GetResponseUnitTestResponseModel.js} +11 -14
- package/dist/serialization/types/GetResponseUnitTestResponseModelDynamicVariablesValue.d.ts +7 -0
- package/dist/serialization/types/GetResponseUnitTestResponseModelDynamicVariablesValue.js +44 -0
- package/dist/serialization/types/GetSimulationTestResponseModel.d.ts +19 -0
- package/dist/serialization/types/GetSimulationTestResponseModel.js +53 -0
- package/dist/serialization/types/GetSimulationTestResponseModelDynamicVariablesValue.d.ts +7 -0
- package/dist/serialization/types/GetSimulationTestResponseModelDynamicVariablesValue.js +44 -0
- package/dist/serialization/types/GetToolCallUnitTestResponseModel.d.ts +19 -0
- package/dist/serialization/types/GetToolCallUnitTestResponseModel.js +53 -0
- package/dist/serialization/types/GetToolCallUnitTestResponseModelDynamicVariablesValue.d.ts +7 -0
- package/dist/serialization/types/GetToolCallUnitTestResponseModelDynamicVariablesValue.js +44 -0
- package/dist/serialization/types/GuardrailsV1Input.d.ts +4 -0
- package/dist/serialization/types/GuardrailsV1Input.js +4 -0
- package/dist/serialization/types/GuardrailsV1Output.d.ts +4 -0
- package/dist/serialization/types/GuardrailsV1Output.js +4 -0
- package/dist/serialization/types/MergingStrategy.d.ts +7 -0
- package/dist/serialization/types/MergingStrategy.js +39 -0
- package/dist/serialization/types/MultiSourceConfigJson.d.ts +17 -0
- package/dist/serialization/types/MultiSourceConfigJson.js +49 -0
- package/dist/serialization/types/PendingClipTask.d.ts +14 -0
- package/dist/serialization/types/PendingClipTask.js +46 -0
- package/dist/serialization/types/PendingClipTaskType.d.ts +7 -0
- package/dist/serialization/types/PendingClipTaskType.js +39 -0
- package/dist/serialization/types/PermissionType.d.ts +1 -1
- package/dist/serialization/types/PermissionType.js +1 -0
- package/dist/serialization/types/PhoneNumberTransfer.d.ts +2 -0
- package/dist/serialization/types/PhoneNumberTransfer.js +2 -0
- package/dist/serialization/types/PhoneNumberTransferPostDialDigits.d.ts +15 -0
- package/dist/serialization/types/PhoneNumberTransferPostDialDigits.js +49 -0
- package/dist/serialization/types/PostDialDigitsDynamicVariable.d.ts +9 -0
- package/dist/serialization/types/{SimilarVoiceCategory.js → PostDialDigitsDynamicVariable.js} +4 -2
- package/dist/serialization/types/PostDialDigitsStatic.d.ts +9 -0
- package/dist/serialization/types/PostDialDigitsStatic.js +41 -0
- package/dist/serialization/types/ProjectCreationMetaResponseModelType.d.ts +1 -1
- package/dist/serialization/types/ProjectCreationMetaResponseModelType.js +1 -1
- package/dist/serialization/types/ProjectExternalAudioResponseModel.d.ts +2 -0
- package/dist/serialization/types/ProjectExternalAudioResponseModel.js +2 -0
- package/dist/serialization/types/ProjectVideoResponseModel.d.ts +3 -0
- package/dist/serialization/types/ProjectVideoResponseModel.js +3 -0
- package/dist/serialization/types/PronunciationDictionaryAliasRuleResponseModel.d.ts +10 -0
- package/dist/serialization/types/PronunciationDictionaryAliasRuleResponseModel.js +42 -0
- package/dist/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.d.ts +11 -0
- package/dist/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.js +43 -0
- package/dist/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
- package/dist/serialization/types/ReferencedToolCommonModelType.js +1 -1
- package/dist/serialization/types/ResourceMetadataResponseModel.d.ts +1 -0
- package/dist/serialization/types/ResourceMetadataResponseModel.js +1 -0
- package/dist/serialization/types/ResponseUnitTestModel.d.ts +19 -0
- package/{serialization/types/UnitTestCommonModel.js → dist/serialization/types/ResponseUnitTestModel.js} +9 -14
- package/dist/serialization/types/ResponseUnitTestModelDynamicVariablesValue.d.ts +7 -0
- package/dist/serialization/types/{GetUnitTestResponseModelDynamicVariablesValue.js → ResponseUnitTestModelDynamicVariablesValue.js} +2 -2
- package/dist/serialization/types/SearchDocumentationToolConfigInput.d.ts +22 -0
- package/dist/serialization/types/SearchDocumentationToolConfigInput.js +54 -0
- package/dist/serialization/types/SearchDocumentationToolConfigOutput.d.ts +20 -0
- package/dist/serialization/types/SearchDocumentationToolConfigOutput.js +52 -0
- package/dist/serialization/types/SimilarVoice.d.ts +2 -2
- package/dist/serialization/types/SimilarVoice.js +2 -2
- package/dist/serialization/types/SimulationTestModel.d.ts +17 -0
- package/dist/serialization/types/SimulationTestModel.js +51 -0
- package/dist/serialization/types/SimulationTestModelDynamicVariablesValue.d.ts +7 -0
- package/dist/serialization/types/{UnitTestCommonModelDynamicVariablesValue.js → SimulationTestModelDynamicVariablesValue.js} +2 -2
- package/dist/serialization/types/SourceConfigJson.d.ts +20 -0
- package/dist/serialization/types/SourceConfigJson.js +52 -0
- package/dist/serialization/types/SourceRetrievalConfig.d.ts +23 -0
- package/dist/serialization/types/SourceRetrievalConfig.js +57 -0
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/dist/serialization/types/TestRunMetadataTestType.d.ts +1 -1
- package/dist/serialization/types/TestRunMetadataTestType.js +1 -1
- package/dist/serialization/types/TestType.d.ts +7 -0
- package/dist/serialization/types/{UnitTestCommonModelType.js → TestType.js} +2 -2
- package/dist/serialization/types/ToolCallUnitTestModel.d.ts +17 -0
- package/dist/serialization/types/ToolCallUnitTestModel.js +51 -0
- package/dist/serialization/types/ToolCallUnitTestModelDynamicVariablesValue.d.ts +7 -0
- package/{serialization/types/GetUnitTestResponseModelDynamicVariablesValue.js → dist/serialization/types/ToolCallUnitTestModelDynamicVariablesValue.js} +2 -2
- package/dist/serialization/types/ToolRequestModelToolConfig.d.ts +5 -1
- package/dist/serialization/types/ToolRequestModelToolConfig.js +3 -0
- package/dist/serialization/types/ToolResponseModelToolConfig.d.ts +5 -1
- package/dist/serialization/types/ToolResponseModelToolConfig.js +3 -0
- package/dist/serialization/types/TransferToNumberResultTwilioSuccessModel.d.ts +1 -0
- package/dist/serialization/types/TransferToNumberResultTwilioSuccessModel.js +1 -0
- package/dist/serialization/types/TtsConversationalConfigInput.d.ts +1 -0
- package/dist/serialization/types/TtsConversationalConfigInput.js +1 -0
- package/dist/serialization/types/TtsConversationalConfigOutput.d.ts +1 -0
- package/dist/serialization/types/TtsConversationalConfigOutput.js +1 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +1 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +1 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +1 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +1 -0
- package/dist/serialization/types/UnitTestRunResponseModel.d.ts +2 -2
- package/dist/serialization/types/UnitTestRunResponseModel.js +2 -2
- package/dist/serialization/types/UnitTestRunResponseModelTestInfo.d.ts +19 -0
- package/dist/serialization/types/UnitTestRunResponseModelTestInfo.js +51 -0
- package/dist/serialization/types/UnitTestSummaryResponseModel.d.ts +2 -2
- package/dist/serialization/types/UnitTestSummaryResponseModel.js +2 -2
- package/dist/serialization/types/UpdateResponseUnitTestRequest.d.ts +20 -0
- package/dist/serialization/types/UpdateResponseUnitTestRequest.js +54 -0
- package/dist/serialization/types/UpdateResponseUnitTestRequestDynamicVariablesValue.d.ts +7 -0
- package/dist/serialization/types/UpdateResponseUnitTestRequestDynamicVariablesValue.js +44 -0
- package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +18 -0
- package/dist/serialization/types/UpdateSimulationTestRequest.js +52 -0
- package/dist/serialization/types/UpdateSimulationTestRequestDynamicVariablesValue.d.ts +7 -0
- package/dist/serialization/types/UpdateSimulationTestRequestDynamicVariablesValue.js +44 -0
- package/dist/serialization/types/UpdateToolCallUnitTestRequest.d.ts +18 -0
- package/dist/serialization/{resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js → types/UpdateToolCallUnitTestRequest.js} +12 -19
- package/dist/serialization/types/UpdateToolCallUnitTestRequestDynamicVariablesValue.d.ts +7 -0
- package/dist/serialization/types/UpdateToolCallUnitTestRequestDynamicVariablesValue.js +44 -0
- package/dist/serialization/types/{SimilarVoiceCategory.d.ts → VoiceCategory.d.ts} +2 -2
- package/dist/serialization/types/VoiceCategory.js +39 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputPostDialDigits.d.ts +15 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputPostDialDigits.js +49 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputPostDialDigits.d.ts +15 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputPostDialDigits.js +49 -0
- package/dist/serialization/types/WorkspaceGroupPermission.d.ts +7 -0
- package/dist/serialization/types/WorkspaceGroupPermission.js +68 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.js +48 -0
- package/dist/serialization/types/WorkspaceGroupResponseModelGroupUsageLimit.d.ts +7 -0
- package/dist/serialization/types/WorkspaceGroupResponseModelGroupUsageLimit.js +42 -0
- package/dist/serialization/types/WorkspaceServiceAccountResponseModel.d.ts +2 -0
- package/dist/serialization/types/WorkspaceServiceAccountResponseModel.js +2 -0
- package/dist/serialization/types/index.d.ts +61 -7
- package/dist/serialization/types/index.js +61 -7
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/speechToText.d.ts +10 -0
- package/dist/wrapper/speechToText.js +3 -0
- package/package.json +1 -1
- package/reference.md +98 -38
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -1
- package/serialization/resources/conversationalAi/resources/tests/client/requests/index.d.ts +0 -2
- package/serialization/resources/conversationalAi/resources/tests/client/requests/index.js +1 -5
- package/serialization/resources/conversationalAi/resources/tests/types/TestsCreateRequestBody.d.ts +19 -0
- package/{dist/serialization/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.js → serialization/resources/conversationalAi/resources/tests/types/TestsCreateRequestBody.js} +14 -7
- package/serialization/resources/conversationalAi/resources/tests/types/TestsGetResponse.d.ts +19 -0
- package/serialization/resources/conversationalAi/resources/tests/types/TestsGetResponse.js +51 -0
- package/serialization/resources/conversationalAi/resources/tests/types/TestsUpdateRequestBody.d.ts +19 -0
- package/serialization/resources/conversationalAi/resources/tests/types/{CreateUnitTestRequestDynamicVariablesValue.js → TestsUpdateRequestBody.js} +14 -7
- package/serialization/resources/conversationalAi/resources/tests/types/TestsUpdateResponse.d.ts +19 -0
- package/serialization/resources/conversationalAi/resources/tests/types/TestsUpdateResponse.js +51 -0
- package/serialization/resources/conversationalAi/resources/tests/types/index.d.ts +4 -2
- package/serialization/resources/conversationalAi/resources/tests/types/index.js +4 -2
- package/serialization/types/BuiltInToolsInput.d.ts +1 -0
- package/serialization/types/BuiltInToolsInput.js +1 -0
- package/serialization/types/BuiltInToolsOutput.d.ts +1 -0
- package/serialization/types/BuiltInToolsOutput.js +1 -0
- package/serialization/types/BuiltInToolsWorkflowOverrideInput.d.ts +1 -0
- package/serialization/types/BuiltInToolsWorkflowOverrideInput.js +1 -0
- package/serialization/types/BuiltInToolsWorkflowOverrideOutput.d.ts +1 -0
- package/serialization/types/BuiltInToolsWorkflowOverrideOutput.js +1 -0
- package/serialization/types/ContentConfig.d.ts +16 -0
- package/serialization/types/ContentConfig.js +48 -0
- package/serialization/types/ContentGuardrailInput.d.ts +10 -0
- package/serialization/types/ContentGuardrailInput.js +42 -0
- package/serialization/types/ContentGuardrailOutput.d.ts +10 -0
- package/serialization/types/ContentGuardrailOutput.js +42 -0
- package/serialization/types/ConversationSummaryResponseModel.d.ts +4 -0
- package/serialization/types/ConversationSummaryResponseModel.js +4 -0
- package/serialization/types/ConversationUserResponseModel.d.ts +14 -0
- package/serialization/types/ConversationUserResponseModel.js +46 -0
- package/serialization/types/CreateAgentTestResponseModel.d.ts +9 -0
- package/serialization/types/{CreateUnitTestResponseModel.js → CreateAgentTestResponseModel.js} +2 -2
- package/serialization/types/CreateResponseUnitTestRequest.d.ts +20 -0
- package/serialization/types/CreateResponseUnitTestRequest.js +54 -0
- package/serialization/types/CreateResponseUnitTestRequestDynamicVariablesValue.d.ts +7 -0
- package/serialization/types/CreateResponseUnitTestRequestDynamicVariablesValue.js +44 -0
- package/serialization/types/CreateSimulationTestRequest.d.ts +18 -0
- package/serialization/types/CreateSimulationTestRequest.js +52 -0
- package/serialization/types/CreateSimulationTestRequestDynamicVariablesValue.d.ts +7 -0
- package/serialization/types/CreateSimulationTestRequestDynamicVariablesValue.js +44 -0
- package/serialization/types/CreateToolCallUnitTestRequest.d.ts +18 -0
- package/serialization/{resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js → types/CreateToolCallUnitTestRequest.js} +12 -19
- package/serialization/types/CreateToolCallUnitTestRequestDynamicVariablesValue.d.ts +7 -0
- package/serialization/types/CreateToolCallUnitTestRequestDynamicVariablesValue.js +44 -0
- package/serialization/types/CustomGuardrailConfig.d.ts +13 -0
- package/serialization/types/CustomGuardrailConfig.js +45 -0
- package/serialization/types/CustomGuardrailConfigModel.d.ts +7 -0
- package/serialization/types/CustomGuardrailConfigModel.js +39 -0
- package/serialization/types/CustomGuardrailInput.d.ts +10 -0
- package/serialization/types/CustomGuardrailInput.js +42 -0
- package/serialization/types/CustomGuardrailOutput.d.ts +10 -0
- package/serialization/types/CustomGuardrailOutput.js +42 -0
- package/serialization/types/CustomGuardrailsConfig.d.ts +10 -0
- package/serialization/types/CustomGuardrailsConfig.js +42 -0
- package/serialization/types/DefaultSharingGroupResponseModel.d.ts +12 -0
- package/serialization/types/DefaultSharingGroupResponseModel.js +44 -0
- package/serialization/types/DefaultSharingGroupResponseModelPermissionLevel.d.ts +7 -0
- package/serialization/types/DefaultSharingGroupResponseModelPermissionLevel.js +39 -0
- package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -1
- package/serialization/types/DirectPublishingReadResponseModel.js +1 -1
- package/serialization/types/GetConversationResponseModel.d.ts +1 -1
- package/serialization/types/GetConversationResponseModel.js +1 -1
- package/serialization/types/GetConversationUsersPageResponseModel.d.ts +12 -0
- package/serialization/types/GetConversationUsersPageResponseModel.js +44 -0
- package/serialization/types/GetPronunciationDictionaryWithRulesResponseModel.d.ts +20 -0
- package/serialization/types/GetPronunciationDictionaryWithRulesResponseModel.js +52 -0
- package/serialization/types/GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource.d.ts +7 -0
- package/serialization/types/GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource.js +39 -0
- package/serialization/types/GetPronunciationDictionaryWithRulesResponseModelRulesItem.d.ts +15 -0
- package/serialization/types/GetPronunciationDictionaryWithRulesResponseModelRulesItem.js +49 -0
- package/serialization/types/GetResponseUnitTestResponseModel.d.ts +21 -0
- package/serialization/types/{GetUnitTestResponseModel.js → GetResponseUnitTestResponseModel.js} +9 -14
- package/serialization/types/GetResponseUnitTestResponseModelDynamicVariablesValue.d.ts +7 -0
- package/serialization/types/GetResponseUnitTestResponseModelDynamicVariablesValue.js +44 -0
- package/serialization/types/GetSimulationTestResponseModel.d.ts +19 -0
- package/serialization/types/GetSimulationTestResponseModel.js +53 -0
- package/serialization/types/GetSimulationTestResponseModelDynamicVariablesValue.d.ts +7 -0
- package/serialization/types/GetSimulationTestResponseModelDynamicVariablesValue.js +44 -0
- package/serialization/types/GetToolCallUnitTestResponseModel.d.ts +19 -0
- package/serialization/types/GetToolCallUnitTestResponseModel.js +53 -0
- package/serialization/types/GetToolCallUnitTestResponseModelDynamicVariablesValue.d.ts +7 -0
- package/serialization/types/GetToolCallUnitTestResponseModelDynamicVariablesValue.js +44 -0
- package/serialization/types/GuardrailsV1Input.d.ts +4 -0
- package/serialization/types/GuardrailsV1Input.js +4 -0
- package/serialization/types/GuardrailsV1Output.d.ts +4 -0
- package/serialization/types/GuardrailsV1Output.js +4 -0
- package/serialization/types/MergingStrategy.d.ts +7 -0
- package/serialization/types/MergingStrategy.js +39 -0
- package/serialization/types/MultiSourceConfigJson.d.ts +17 -0
- package/serialization/types/MultiSourceConfigJson.js +49 -0
- package/serialization/types/PendingClipTask.d.ts +14 -0
- package/serialization/types/PendingClipTask.js +46 -0
- package/serialization/types/PendingClipTaskType.d.ts +7 -0
- package/serialization/types/PendingClipTaskType.js +39 -0
- package/serialization/types/PermissionType.d.ts +1 -1
- package/serialization/types/PermissionType.js +1 -0
- package/serialization/types/PhoneNumberTransfer.d.ts +2 -0
- package/serialization/types/PhoneNumberTransfer.js +2 -0
- package/serialization/types/PhoneNumberTransferPostDialDigits.d.ts +15 -0
- package/serialization/types/PhoneNumberTransferPostDialDigits.js +49 -0
- package/serialization/types/PostDialDigitsDynamicVariable.d.ts +9 -0
- package/serialization/types/PostDialDigitsDynamicVariable.js +41 -0
- package/serialization/types/PostDialDigitsStatic.d.ts +9 -0
- package/serialization/types/PostDialDigitsStatic.js +41 -0
- package/serialization/types/ProjectCreationMetaResponseModelType.d.ts +1 -1
- package/serialization/types/ProjectCreationMetaResponseModelType.js +1 -1
- package/serialization/types/ProjectExternalAudioResponseModel.d.ts +2 -0
- package/serialization/types/ProjectExternalAudioResponseModel.js +2 -0
- package/serialization/types/ProjectVideoResponseModel.d.ts +3 -0
- package/serialization/types/ProjectVideoResponseModel.js +3 -0
- package/serialization/types/PronunciationDictionaryAliasRuleResponseModel.d.ts +10 -0
- package/serialization/types/PronunciationDictionaryAliasRuleResponseModel.js +42 -0
- package/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.d.ts +11 -0
- package/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.js +43 -0
- package/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
- package/serialization/types/ReferencedToolCommonModelType.js +1 -1
- package/serialization/types/ResourceMetadataResponseModel.d.ts +1 -0
- package/serialization/types/ResourceMetadataResponseModel.js +1 -0
- package/serialization/types/ResponseUnitTestModel.d.ts +19 -0
- package/{dist/serialization/types/GetUnitTestResponseModel.js → serialization/types/ResponseUnitTestModel.js} +9 -16
- package/serialization/types/ResponseUnitTestModelDynamicVariablesValue.d.ts +7 -0
- package/serialization/types/ResponseUnitTestModelDynamicVariablesValue.js +44 -0
- package/serialization/types/SearchDocumentationToolConfigInput.d.ts +22 -0
- package/serialization/types/SearchDocumentationToolConfigInput.js +54 -0
- package/serialization/types/SearchDocumentationToolConfigOutput.d.ts +20 -0
- package/serialization/types/SearchDocumentationToolConfigOutput.js +52 -0
- package/serialization/types/SimilarVoice.d.ts +2 -2
- package/serialization/types/SimilarVoice.js +2 -2
- package/serialization/types/SimulationTestModel.d.ts +17 -0
- package/serialization/types/SimulationTestModel.js +51 -0
- package/serialization/types/SimulationTestModelDynamicVariablesValue.d.ts +7 -0
- package/serialization/types/{UnitTestCommonModelDynamicVariablesValue.js → SimulationTestModelDynamicVariablesValue.js} +2 -2
- package/serialization/types/SourceConfigJson.d.ts +20 -0
- package/serialization/types/SourceConfigJson.js +52 -0
- package/serialization/types/SourceRetrievalConfig.d.ts +23 -0
- package/serialization/types/SourceRetrievalConfig.js +57 -0
- package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/serialization/types/TestRunMetadataTestType.d.ts +1 -1
- package/serialization/types/TestRunMetadataTestType.js +1 -1
- package/serialization/types/TestType.d.ts +7 -0
- package/serialization/types/{UnitTestCommonModelType.js → TestType.js} +2 -2
- package/serialization/types/ToolCallUnitTestModel.d.ts +17 -0
- package/serialization/types/ToolCallUnitTestModel.js +51 -0
- package/serialization/types/ToolCallUnitTestModelDynamicVariablesValue.d.ts +7 -0
- package/serialization/types/ToolCallUnitTestModelDynamicVariablesValue.js +44 -0
- package/serialization/types/ToolRequestModelToolConfig.d.ts +5 -1
- package/serialization/types/ToolRequestModelToolConfig.js +3 -0
- package/serialization/types/ToolResponseModelToolConfig.d.ts +5 -1
- package/serialization/types/ToolResponseModelToolConfig.js +3 -0
- package/serialization/types/TransferToNumberResultTwilioSuccessModel.d.ts +1 -0
- package/serialization/types/TransferToNumberResultTwilioSuccessModel.js +1 -0
- package/serialization/types/TtsConversationalConfigInput.d.ts +1 -0
- package/serialization/types/TtsConversationalConfigInput.js +1 -0
- package/serialization/types/TtsConversationalConfigOutput.d.ts +1 -0
- package/serialization/types/TtsConversationalConfigOutput.js +1 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +1 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +1 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +1 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +1 -0
- package/serialization/types/UnitTestRunResponseModel.d.ts +2 -2
- package/serialization/types/UnitTestRunResponseModel.js +2 -2
- package/serialization/types/UnitTestRunResponseModelTestInfo.d.ts +19 -0
- package/serialization/types/UnitTestRunResponseModelTestInfo.js +51 -0
- package/serialization/types/UnitTestSummaryResponseModel.d.ts +2 -2
- package/serialization/types/UnitTestSummaryResponseModel.js +2 -2
- package/serialization/types/UpdateResponseUnitTestRequest.d.ts +20 -0
- package/serialization/types/UpdateResponseUnitTestRequest.js +54 -0
- package/serialization/types/UpdateResponseUnitTestRequestDynamicVariablesValue.d.ts +7 -0
- package/serialization/types/UpdateResponseUnitTestRequestDynamicVariablesValue.js +44 -0
- package/serialization/types/UpdateSimulationTestRequest.d.ts +18 -0
- package/serialization/types/UpdateSimulationTestRequest.js +52 -0
- package/serialization/types/UpdateSimulationTestRequestDynamicVariablesValue.d.ts +7 -0
- package/serialization/types/UpdateSimulationTestRequestDynamicVariablesValue.js +44 -0
- package/serialization/types/UpdateToolCallUnitTestRequest.d.ts +18 -0
- package/{dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js → serialization/types/UpdateToolCallUnitTestRequest.js} +12 -19
- package/serialization/types/UpdateToolCallUnitTestRequestDynamicVariablesValue.d.ts +7 -0
- package/serialization/types/UpdateToolCallUnitTestRequestDynamicVariablesValue.js +44 -0
- package/serialization/types/{SimilarVoiceCategory.d.ts → VoiceCategory.d.ts} +2 -2
- package/serialization/types/VoiceCategory.js +39 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelInputPostDialDigits.d.ts +15 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelInputPostDialDigits.js +49 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelOutputPostDialDigits.d.ts +15 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelOutputPostDialDigits.js +49 -0
- package/serialization/types/WorkspaceGroupPermission.d.ts +7 -0
- package/serialization/types/WorkspaceGroupPermission.js +68 -0
- package/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
- package/serialization/types/WorkspaceGroupResponseModel.js +48 -0
- package/serialization/types/WorkspaceGroupResponseModelGroupUsageLimit.d.ts +7 -0
- package/serialization/types/WorkspaceGroupResponseModelGroupUsageLimit.js +42 -0
- package/serialization/types/WorkspaceServiceAccountResponseModel.d.ts +2 -0
- package/serialization/types/WorkspaceServiceAccountResponseModel.js +2 -0
- package/serialization/types/index.d.ts +61 -7
- package/serialization/types/index.js +61 -7
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/speechToText.d.ts +10 -0
- package/wrapper/speechToText.js +3 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +0 -39
- package/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +0 -39
- package/api/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +0 -1
- package/api/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +0 -1
- package/api/types/CreateUnitTestResponseModel.d.ts +0 -3
- package/api/types/GetUnitTestResponseModel.d.ts +0 -21
- package/api/types/GetUnitTestResponseModelDynamicVariablesValue.d.ts +0 -1
- package/api/types/UnitTestCommonModel.d.ts +0 -22
- package/api/types/UnitTestCommonModelDynamicVariablesValue.d.ts +0 -1
- package/api/types/UnitTestCommonModelType.d.ts +0 -5
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +0 -39
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +0 -39
- package/dist/api/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +0 -1
- package/dist/api/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +0 -1
- package/dist/api/types/CreateUnitTestResponseModel.d.ts +0 -3
- package/dist/api/types/GetUnitTestResponseModel.d.ts +0 -21
- package/dist/api/types/GetUnitTestResponseModelDynamicVariablesValue.d.ts +0 -1
- package/dist/api/types/UnitTestCommonModel.d.ts +0 -22
- package/dist/api/types/UnitTestCommonModelDynamicVariablesValue.d.ts +0 -1
- package/dist/api/types/UnitTestCommonModelType.d.ts +0 -5
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +0 -25
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +0 -25
- package/dist/serialization/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +0 -7
- package/dist/serialization/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +0 -7
- package/dist/serialization/types/CreateUnitTestResponseModel.d.ts +0 -9
- package/dist/serialization/types/GetUnitTestResponseModel.d.ts +0 -26
- package/dist/serialization/types/GetUnitTestResponseModelDynamicVariablesValue.d.ts +0 -7
- package/dist/serialization/types/UnitTestCommonModel.d.ts +0 -24
- package/dist/serialization/types/UnitTestCommonModelDynamicVariablesValue.d.ts +0 -7
- package/dist/serialization/types/UnitTestCommonModelType.d.ts +0 -7
- package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +0 -25
- package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +0 -25
- package/serialization/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +0 -7
- package/serialization/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +0 -7
- package/serialization/types/CreateUnitTestResponseModel.d.ts +0 -9
- package/serialization/types/GetUnitTestResponseModel.d.ts +0 -26
- package/serialization/types/GetUnitTestResponseModelDynamicVariablesValue.d.ts +0 -7
- package/serialization/types/SimilarVoiceCategory.js +0 -39
- package/serialization/types/UnitTestCommonModel.d.ts +0 -24
- package/serialization/types/UnitTestCommonModelDynamicVariablesValue.d.ts +0 -7
- package/serialization/types/UnitTestCommonModelType.d.ts +0 -7
- /package/api/resources/conversationalAi/resources/{tests/client/requests/CreateUnitTestRequest.js → agents/client/requests/AgentsGetRequest.js} +0 -0
- /package/api/resources/conversationalAi/resources/tests/{client/requests/UpdateUnitTestRequest.js → types/TestsCreateRequestBody.js} +0 -0
- /package/api/resources/conversationalAi/resources/tests/types/{CreateUnitTestRequestDynamicVariablesValue.js → TestsGetResponse.js} +0 -0
- /package/api/resources/conversationalAi/resources/tests/types/{UpdateUnitTestRequestDynamicVariablesValue.js → TestsUpdateRequestBody.js} +0 -0
- /package/api/{types/CreateUnitTestResponseModel.js → resources/conversationalAi/resources/tests/types/TestsUpdateResponse.js} +0 -0
- /package/api/{types/GetUnitTestResponseModel.js → resources/conversationalAi/resources/users/client/requests/UsersListRequest.js} +0 -0
- /package/api/types/{GetUnitTestResponseModelDynamicVariablesValue.js → ContentConfig.js} +0 -0
- /package/api/types/{UnitTestCommonModel.js → ContentGuardrailInput.js} +0 -0
- /package/api/types/{UnitTestCommonModelDynamicVariablesValue.js → ContentGuardrailOutput.js} +0 -0
- /package/{dist/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js → api/types/ConversationUserResponseModel.js} +0 -0
- /package/{dist/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js → api/types/CreateAgentTestResponseModel.js} +0 -0
- /package/{dist/api/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.js → api/types/CreateResponseUnitTestRequest.js} +0 -0
- /package/{dist/api/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.js → api/types/CreateResponseUnitTestRequestDynamicVariablesValue.js} +0 -0
- /package/{dist/api/types/CreateUnitTestResponseModel.js → api/types/CreateSimulationTestRequest.js} +0 -0
- /package/{dist/api/types/GetUnitTestResponseModel.js → api/types/CreateSimulationTestRequestDynamicVariablesValue.js} +0 -0
- /package/{dist/api/types/GetUnitTestResponseModelDynamicVariablesValue.js → api/types/CreateToolCallUnitTestRequest.js} +0 -0
- /package/{dist/api/types/UnitTestCommonModel.js → api/types/CreateToolCallUnitTestRequestDynamicVariablesValue.js} +0 -0
- /package/{dist/api/types/UnitTestCommonModelDynamicVariablesValue.js → api/types/CustomGuardrailConfig.js} +0 -0
package/BaseClient.js
CHANGED
|
@@ -41,8 +41,8 @@ function normalizeClientOptions(options) {
|
|
|
41
41
|
const headers = (0, headers_1.mergeHeaders)({
|
|
42
42
|
"X-Fern-Language": "JavaScript",
|
|
43
43
|
"X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js",
|
|
44
|
-
"X-Fern-SDK-Version": "v2.
|
|
45
|
-
"User-Agent": "@elevenlabs/elevenlabs-js/v2.
|
|
44
|
+
"X-Fern-SDK-Version": "v2.36.0",
|
|
45
|
+
"User-Agent": "@elevenlabs/elevenlabs-js/v2.36.0",
|
|
46
46
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
47
47
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
48
48
|
"xi-api-key": options === null || options === void 0 ? void 0 : options.apiKey,
|
|
@@ -17,6 +17,7 @@ import { SipTrunkClient } from "../resources/sipTrunk/client/Client";
|
|
|
17
17
|
import { TestsClient } from "../resources/tests/client/Client";
|
|
18
18
|
import { ToolsClient } from "../resources/tools/client/Client";
|
|
19
19
|
import { TwilioClient } from "../resources/twilio/client/Client";
|
|
20
|
+
import { UsersClient } from "../resources/users/client/Client";
|
|
20
21
|
import { WhatsappClient } from "../resources/whatsapp/client/Client";
|
|
21
22
|
import { WhatsappAccountsClient } from "../resources/whatsappAccounts/client/Client";
|
|
22
23
|
export declare namespace ConversationalAiClient {
|
|
@@ -31,6 +32,7 @@ export declare class ConversationalAiClient {
|
|
|
31
32
|
protected _whatsapp: WhatsappClient | undefined;
|
|
32
33
|
protected _agents: AgentsClient | undefined;
|
|
33
34
|
protected _tests: TestsClient | undefined;
|
|
35
|
+
protected _users: UsersClient | undefined;
|
|
34
36
|
protected _phoneNumbers: PhoneNumbersClient | undefined;
|
|
35
37
|
protected _llmUsage: LlmUsageClient | undefined;
|
|
36
38
|
protected _knowledgeBase: KnowledgeBaseClient | undefined;
|
|
@@ -49,6 +51,7 @@ export declare class ConversationalAiClient {
|
|
|
49
51
|
get whatsapp(): WhatsappClient;
|
|
50
52
|
get agents(): AgentsClient;
|
|
51
53
|
get tests(): TestsClient;
|
|
54
|
+
get users(): UsersClient;
|
|
52
55
|
get phoneNumbers(): PhoneNumbersClient;
|
|
53
56
|
get llmUsage(): LlmUsageClient;
|
|
54
57
|
get knowledgeBase(): KnowledgeBaseClient;
|
|
@@ -67,8 +67,9 @@ const Client_12 = require("../resources/sipTrunk/client/Client");
|
|
|
67
67
|
const Client_13 = require("../resources/tests/client/Client");
|
|
68
68
|
const Client_14 = require("../resources/tools/client/Client");
|
|
69
69
|
const Client_15 = require("../resources/twilio/client/Client");
|
|
70
|
-
const Client_16 = require("../resources/
|
|
71
|
-
const Client_17 = require("../resources/
|
|
70
|
+
const Client_16 = require("../resources/users/client/Client");
|
|
71
|
+
const Client_17 = require("../resources/whatsapp/client/Client");
|
|
72
|
+
const Client_18 = require("../resources/whatsappAccounts/client/Client");
|
|
72
73
|
class ConversationalAiClient {
|
|
73
74
|
constructor(options = {}) {
|
|
74
75
|
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
@@ -83,7 +84,7 @@ class ConversationalAiClient {
|
|
|
83
84
|
}
|
|
84
85
|
get whatsapp() {
|
|
85
86
|
var _a;
|
|
86
|
-
return ((_a = this._whatsapp) !== null && _a !== void 0 ? _a : (this._whatsapp = new
|
|
87
|
+
return ((_a = this._whatsapp) !== null && _a !== void 0 ? _a : (this._whatsapp = new Client_17.WhatsappClient(this._options)));
|
|
87
88
|
}
|
|
88
89
|
get agents() {
|
|
89
90
|
var _a;
|
|
@@ -93,6 +94,10 @@ class ConversationalAiClient {
|
|
|
93
94
|
var _a;
|
|
94
95
|
return ((_a = this._tests) !== null && _a !== void 0 ? _a : (this._tests = new Client_13.TestsClient(this._options)));
|
|
95
96
|
}
|
|
97
|
+
get users() {
|
|
98
|
+
var _a;
|
|
99
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_16.UsersClient(this._options)));
|
|
100
|
+
}
|
|
96
101
|
get phoneNumbers() {
|
|
97
102
|
var _a;
|
|
98
103
|
return ((_a = this._phoneNumbers) !== null && _a !== void 0 ? _a : (this._phoneNumbers = new Client_9.PhoneNumbersClient(this._options)));
|
|
@@ -131,7 +136,7 @@ class ConversationalAiClient {
|
|
|
131
136
|
}
|
|
132
137
|
get whatsappAccounts() {
|
|
133
138
|
var _a;
|
|
134
|
-
return ((_a = this._whatsappAccounts) !== null && _a !== void 0 ? _a : (this._whatsappAccounts = new
|
|
139
|
+
return ((_a = this._whatsappAccounts) !== null && _a !== void 0 ? _a : (this._whatsappAccounts = new Client_18.WhatsappAccountsClient(this._options)));
|
|
135
140
|
}
|
|
136
141
|
get analytics() {
|
|
137
142
|
var _a;
|
|
@@ -53,14 +53,18 @@ export declare class AgentsClient {
|
|
|
53
53
|
* Retrieve config for an agent
|
|
54
54
|
*
|
|
55
55
|
* @param {string} agent_id - The id of an agent. This is returned on agent creation.
|
|
56
|
+
* @param {ElevenLabs.conversationalAi.AgentsGetRequest} request
|
|
56
57
|
* @param {AgentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
57
58
|
*
|
|
58
59
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
59
60
|
*
|
|
60
61
|
* @example
|
|
61
|
-
* await client.conversationalAi.agents.get("agent_3701k3ttaq12ewp8b7qv5rfyszkz"
|
|
62
|
+
* await client.conversationalAi.agents.get("agent_3701k3ttaq12ewp8b7qv5rfyszkz", {
|
|
63
|
+
* versionId: "version_id",
|
|
64
|
+
* branchId: "branch_id"
|
|
65
|
+
* })
|
|
62
66
|
*/
|
|
63
|
-
get(agent_id: string, requestOptions?: AgentsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetAgentResponseModel>;
|
|
67
|
+
get(agent_id: string, request?: ElevenLabs.conversationalAi.AgentsGetRequest, requestOptions?: AgentsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetAgentResponseModel>;
|
|
64
68
|
private __get;
|
|
65
69
|
/**
|
|
66
70
|
* Delete an agent
|
|
@@ -85,7 +89,9 @@ export declare class AgentsClient {
|
|
|
85
89
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
86
90
|
*
|
|
87
91
|
* @example
|
|
88
|
-
* await client.conversationalAi.agents.update("agent_3701k3ttaq12ewp8b7qv5rfyszkz"
|
|
92
|
+
* await client.conversationalAi.agents.update("agent_3701k3ttaq12ewp8b7qv5rfyszkz", {
|
|
93
|
+
* branchId: "branch_id"
|
|
94
|
+
* })
|
|
89
95
|
*/
|
|
90
96
|
update(agent_id: string, request?: ElevenLabs.conversationalAi.UpdateAgentRequest, requestOptions?: AgentsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetAgentResponseModel>;
|
|
91
97
|
private __update;
|
|
@@ -42,6 +42,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
42
42
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
46
|
+
var t = {};
|
|
47
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
48
|
+
t[p] = s[p];
|
|
49
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
50
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
51
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
52
|
+
t[p[i]] = s[p[i]];
|
|
53
|
+
}
|
|
54
|
+
return t;
|
|
55
|
+
};
|
|
45
56
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
57
|
exports.AgentsClient = void 0;
|
|
47
58
|
const BaseClient_1 = require("../../../../../../BaseClient");
|
|
@@ -167,25 +178,37 @@ class AgentsClient {
|
|
|
167
178
|
* Retrieve config for an agent
|
|
168
179
|
*
|
|
169
180
|
* @param {string} agent_id - The id of an agent. This is returned on agent creation.
|
|
181
|
+
* @param {ElevenLabs.conversationalAi.AgentsGetRequest} request
|
|
170
182
|
* @param {AgentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
171
183
|
*
|
|
172
184
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
173
185
|
*
|
|
174
186
|
* @example
|
|
175
|
-
* await client.conversationalAi.agents.get("agent_3701k3ttaq12ewp8b7qv5rfyszkz"
|
|
187
|
+
* await client.conversationalAi.agents.get("agent_3701k3ttaq12ewp8b7qv5rfyszkz", {
|
|
188
|
+
* versionId: "version_id",
|
|
189
|
+
* branchId: "branch_id"
|
|
190
|
+
* })
|
|
176
191
|
*/
|
|
177
|
-
get(agent_id, requestOptions) {
|
|
178
|
-
return core.HttpResponsePromise.fromPromise(this.__get(agent_id, requestOptions));
|
|
192
|
+
get(agent_id, request = {}, requestOptions) {
|
|
193
|
+
return core.HttpResponsePromise.fromPromise(this.__get(agent_id, request, requestOptions));
|
|
179
194
|
}
|
|
180
|
-
__get(
|
|
181
|
-
return __awaiter(this,
|
|
195
|
+
__get(agent_id_1) {
|
|
196
|
+
return __awaiter(this, arguments, void 0, function* (agent_id, request = {}, requestOptions) {
|
|
182
197
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
198
|
+
const { versionId, branchId } = request;
|
|
199
|
+
const _queryParams = {};
|
|
200
|
+
if (versionId != null) {
|
|
201
|
+
_queryParams.version_id = versionId;
|
|
202
|
+
}
|
|
203
|
+
if (branchId != null) {
|
|
204
|
+
_queryParams.branch_id = branchId;
|
|
205
|
+
}
|
|
183
206
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
184
207
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
185
208
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/agents/${core.url.encodePathParam(agent_id)}`),
|
|
186
209
|
method: "GET",
|
|
187
210
|
headers: _headers,
|
|
188
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
211
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
189
212
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
190
213
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
191
214
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -285,7 +308,9 @@ class AgentsClient {
|
|
|
285
308
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
286
309
|
*
|
|
287
310
|
* @example
|
|
288
|
-
* await client.conversationalAi.agents.update("agent_3701k3ttaq12ewp8b7qv5rfyszkz"
|
|
311
|
+
* await client.conversationalAi.agents.update("agent_3701k3ttaq12ewp8b7qv5rfyszkz", {
|
|
312
|
+
* branchId: "branch_id"
|
|
313
|
+
* })
|
|
289
314
|
*/
|
|
290
315
|
update(agent_id, request = {}, requestOptions) {
|
|
291
316
|
return core.HttpResponsePromise.fromPromise(this.__update(agent_id, request, requestOptions));
|
|
@@ -293,15 +318,20 @@ class AgentsClient {
|
|
|
293
318
|
__update(agent_id_1) {
|
|
294
319
|
return __awaiter(this, arguments, void 0, function* (agent_id, request = {}, requestOptions) {
|
|
295
320
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
321
|
+
const { branchId } = request, _body = __rest(request, ["branchId"]);
|
|
322
|
+
const _queryParams = {};
|
|
323
|
+
if (branchId != null) {
|
|
324
|
+
_queryParams.branch_id = branchId;
|
|
325
|
+
}
|
|
296
326
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
297
327
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
298
328
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/agents/${core.url.encodePathParam(agent_id)}`),
|
|
299
329
|
method: "PATCH",
|
|
300
330
|
headers: _headers,
|
|
301
331
|
contentType: "application/json",
|
|
302
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
332
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
303
333
|
requestType: "json",
|
|
304
|
-
body: serializers.conversationalAi.UpdateAgentRequest.jsonOrThrow(
|
|
334
|
+
body: serializers.conversationalAi.UpdateAgentRequest.jsonOrThrow(_body, {
|
|
305
335
|
unrecognizedObjectKeys: "strip",
|
|
306
336
|
}),
|
|
307
337
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* versionId: "version_id",
|
|
5
|
+
* branchId: "branch_id"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface AgentsGetRequest {
|
|
9
|
+
/** The ID of the agent version to use */
|
|
10
|
+
versionId?: string;
|
|
11
|
+
/** The ID of the branch to use */
|
|
12
|
+
branchId?: string;
|
|
13
|
+
}
|
package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../../../../../index";
|
|
2
2
|
/**
|
|
3
3
|
* @example
|
|
4
|
-
* {
|
|
4
|
+
* {
|
|
5
|
+
* branchId: "branch_id"
|
|
6
|
+
* }
|
|
5
7
|
*/
|
|
6
8
|
export interface UpdateAgentRequest {
|
|
9
|
+
/** The ID of the branch to use */
|
|
10
|
+
branchId?: string;
|
|
7
11
|
/** Conversation configuration for an agent */
|
|
8
12
|
conversationConfig?: ElevenLabs.ConversationalConfig;
|
|
9
13
|
/** Platform settings for the agent are all settings that aren't related to the conversation orchestration and content. */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export type { AgentsGetRequest } from "./AgentsGetRequest";
|
|
1
2
|
export type { AgentsListRequest } from "./AgentsListRequest";
|
|
2
3
|
export type { BodyCreateAgentV1ConvaiAgentsCreatePost } from "./BodyCreateAgentV1ConvaiAgentsCreatePost";
|
|
3
4
|
export type { BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost } from "./BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost";
|
|
@@ -33,6 +33,8 @@ export * from "./tools/client/requests";
|
|
|
33
33
|
export * as twilio from "./twilio";
|
|
34
34
|
export * from "./twilio/client/requests";
|
|
35
35
|
export * from "./twilio/types";
|
|
36
|
+
export * as users from "./users";
|
|
37
|
+
export * from "./users/client/requests";
|
|
36
38
|
export * as whatsapp from "./whatsapp";
|
|
37
39
|
export * from "./whatsapp/client/requests";
|
|
38
40
|
export * from "./whatsapp/types";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.whatsappAccounts = exports.whatsapp = exports.twilio = exports.tools = exports.tests = exports.sipTrunk = exports.settings = exports.secrets = exports.phoneNumbers = exports.mcpServers = exports.llmUsage = exports.knowledgeBase = exports.dashboard = exports.conversations = exports.batchCalls = exports.analytics = exports.agents = void 0;
|
|
39
|
+
exports.whatsappAccounts = exports.whatsapp = exports.users = exports.twilio = exports.tools = exports.tests = exports.sipTrunk = exports.settings = exports.secrets = exports.phoneNumbers = exports.mcpServers = exports.llmUsage = exports.knowledgeBase = exports.dashboard = exports.conversations = exports.batchCalls = exports.analytics = exports.agents = void 0;
|
|
40
40
|
exports.agents = __importStar(require("./agents"));
|
|
41
41
|
__exportStar(require("./agents/client/requests"), exports);
|
|
42
42
|
__exportStar(require("./agents/types"), exports);
|
|
@@ -72,6 +72,8 @@ __exportStar(require("./tools/client/requests"), exports);
|
|
|
72
72
|
exports.twilio = __importStar(require("./twilio"));
|
|
73
73
|
__exportStar(require("./twilio/client/requests"), exports);
|
|
74
74
|
__exportStar(require("./twilio/types"), exports);
|
|
75
|
+
exports.users = __importStar(require("./users"));
|
|
76
|
+
__exportStar(require("./users/client/requests"), exports);
|
|
75
77
|
exports.whatsapp = __importStar(require("./whatsapp"));
|
|
76
78
|
__exportStar(require("./whatsapp/client/requests"), exports);
|
|
77
79
|
__exportStar(require("./whatsapp/types"), exports);
|
|
@@ -94,7 +94,7 @@ export declare class DocumentsClient {
|
|
|
94
94
|
get(documentation_id: string, request?: ElevenLabs.conversationalAi.knowledgeBase.DocumentsGetRequest, requestOptions?: DocumentsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.conversationalAi.knowledgeBase.DocumentsGetResponse>;
|
|
95
95
|
private __get;
|
|
96
96
|
/**
|
|
97
|
-
* Delete a document from the knowledge base
|
|
97
|
+
* Delete a document or folder from the knowledge base.
|
|
98
98
|
*
|
|
99
99
|
* @param {string} documentation_id - The id of a document from the knowledge base. This is returned on document addition.
|
|
100
100
|
* @param {ElevenLabs.conversationalAi.knowledgeBase.DocumentsDeleteRequest} request
|
package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js
CHANGED
|
@@ -405,7 +405,7 @@ class DocumentsClient {
|
|
|
405
405
|
});
|
|
406
406
|
}
|
|
407
407
|
/**
|
|
408
|
-
* Delete a document from the knowledge base
|
|
408
|
+
* Delete a document or folder from the knowledge base.
|
|
409
409
|
*
|
|
410
410
|
* @param {string} documentation_id - The id of a document from the knowledge base. This is returned on document addition.
|
|
411
411
|
* @param {ElevenLabs.conversationalAi.knowledgeBase.DocumentsDeleteRequest} request
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* }
|
|
6
6
|
*/
|
|
7
7
|
export interface DocumentsDeleteRequest {
|
|
8
|
-
/** If set to true, the document will be deleted regardless of whether it is used by any agents and it will be
|
|
8
|
+
/** If set to true, the document or folder will be deleted regardless of whether it is used by any agents and it will be removed from the dependent agents. For non-empty folders, this will also delete all child documents and folders. */
|
|
9
9
|
force?: boolean;
|
|
10
10
|
}
|
|
@@ -16,30 +16,18 @@ export declare class TestsClient {
|
|
|
16
16
|
/**
|
|
17
17
|
* Creates a new agent response test.
|
|
18
18
|
*
|
|
19
|
-
* @param {ElevenLabs.conversationalAi.
|
|
19
|
+
* @param {ElevenLabs.conversationalAi.TestsCreateRequestBody} request
|
|
20
20
|
* @param {TestsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
21
21
|
*
|
|
22
22
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* await client.conversationalAi.tests.create({
|
|
26
|
-
*
|
|
27
|
-
* role: "user",
|
|
28
|
-
* timeInCallSecs: 1
|
|
29
|
-
* }],
|
|
30
|
-
* successCondition: "success_condition",
|
|
31
|
-
* successExamples: [{
|
|
32
|
-
* response: "response",
|
|
33
|
-
* type: "success"
|
|
34
|
-
* }],
|
|
35
|
-
* failureExamples: [{
|
|
36
|
-
* response: "response",
|
|
37
|
-
* type: "failure"
|
|
38
|
-
* }],
|
|
26
|
+
* type: "llm",
|
|
39
27
|
* name: "name"
|
|
40
28
|
* })
|
|
41
29
|
*/
|
|
42
|
-
create(request: ElevenLabs.conversationalAi.
|
|
30
|
+
create(request: ElevenLabs.conversationalAi.TestsCreateRequestBody, requestOptions?: TestsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.CreateAgentTestResponseModel>;
|
|
43
31
|
private __create;
|
|
44
32
|
/**
|
|
45
33
|
* Gets an agent response test by ID.
|
|
@@ -52,36 +40,24 @@ export declare class TestsClient {
|
|
|
52
40
|
* @example
|
|
53
41
|
* await client.conversationalAi.tests.get("TeaqRRdTcIfIu2i7BYfT")
|
|
54
42
|
*/
|
|
55
|
-
get(test_id: string, requestOptions?: TestsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.
|
|
43
|
+
get(test_id: string, requestOptions?: TestsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.conversationalAi.TestsGetResponse>;
|
|
56
44
|
private __get;
|
|
57
45
|
/**
|
|
58
46
|
* Updates an agent response test by ID.
|
|
59
47
|
*
|
|
60
48
|
* @param {string} test_id - The id of a chat response test. This is returned on test creation.
|
|
61
|
-
* @param {ElevenLabs.conversationalAi.
|
|
49
|
+
* @param {ElevenLabs.conversationalAi.TestsUpdateRequestBody} request
|
|
62
50
|
* @param {TestsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
51
|
*
|
|
64
52
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
65
53
|
*
|
|
66
54
|
* @example
|
|
67
55
|
* await client.conversationalAi.tests.update("TeaqRRdTcIfIu2i7BYfT", {
|
|
68
|
-
*
|
|
69
|
-
* role: "user",
|
|
70
|
-
* timeInCallSecs: 1
|
|
71
|
-
* }],
|
|
72
|
-
* successCondition: "success_condition",
|
|
73
|
-
* successExamples: [{
|
|
74
|
-
* response: "response",
|
|
75
|
-
* type: "success"
|
|
76
|
-
* }],
|
|
77
|
-
* failureExamples: [{
|
|
78
|
-
* response: "response",
|
|
79
|
-
* type: "failure"
|
|
80
|
-
* }],
|
|
56
|
+
* type: "llm",
|
|
81
57
|
* name: "name"
|
|
82
58
|
* })
|
|
83
59
|
*/
|
|
84
|
-
update(test_id: string, request: ElevenLabs.conversationalAi.
|
|
60
|
+
update(test_id: string, request: ElevenLabs.conversationalAi.TestsUpdateRequestBody, requestOptions?: TestsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.conversationalAi.TestsUpdateResponse>;
|
|
85
61
|
private __update;
|
|
86
62
|
/**
|
|
87
63
|
* Deletes an agent response test by ID.
|
|
@@ -64,26 +64,14 @@ class TestsClient {
|
|
|
64
64
|
/**
|
|
65
65
|
* Creates a new agent response test.
|
|
66
66
|
*
|
|
67
|
-
* @param {ElevenLabs.conversationalAi.
|
|
67
|
+
* @param {ElevenLabs.conversationalAi.TestsCreateRequestBody} request
|
|
68
68
|
* @param {TestsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
73
|
* await client.conversationalAi.tests.create({
|
|
74
|
-
*
|
|
75
|
-
* role: "user",
|
|
76
|
-
* timeInCallSecs: 1
|
|
77
|
-
* }],
|
|
78
|
-
* successCondition: "success_condition",
|
|
79
|
-
* successExamples: [{
|
|
80
|
-
* response: "response",
|
|
81
|
-
* type: "success"
|
|
82
|
-
* }],
|
|
83
|
-
* failureExamples: [{
|
|
84
|
-
* response: "response",
|
|
85
|
-
* type: "failure"
|
|
86
|
-
* }],
|
|
74
|
+
* type: "llm",
|
|
87
75
|
* name: "name"
|
|
88
76
|
* })
|
|
89
77
|
*/
|
|
@@ -101,7 +89,7 @@ class TestsClient {
|
|
|
101
89
|
contentType: "application/json",
|
|
102
90
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
103
91
|
requestType: "json",
|
|
104
|
-
body: serializers.conversationalAi.
|
|
92
|
+
body: serializers.conversationalAi.TestsCreateRequestBody.jsonOrThrow(request, {
|
|
105
93
|
unrecognizedObjectKeys: "strip",
|
|
106
94
|
}),
|
|
107
95
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
@@ -112,7 +100,7 @@ class TestsClient {
|
|
|
112
100
|
});
|
|
113
101
|
if (_response.ok) {
|
|
114
102
|
return {
|
|
115
|
-
data: serializers.
|
|
103
|
+
data: serializers.CreateAgentTestResponseModel.parseOrThrow(_response.body, {
|
|
116
104
|
unrecognizedObjectKeys: "passthrough",
|
|
117
105
|
allowUnrecognizedUnionMembers: true,
|
|
118
106
|
allowUnrecognizedEnumValues: true,
|
|
@@ -172,7 +160,7 @@ class TestsClient {
|
|
|
172
160
|
});
|
|
173
161
|
if (_response.ok) {
|
|
174
162
|
return {
|
|
175
|
-
data: serializers.
|
|
163
|
+
data: serializers.conversationalAi.TestsGetResponse.parseOrThrow(_response.body, {
|
|
176
164
|
unrecognizedObjectKeys: "passthrough",
|
|
177
165
|
allowUnrecognizedUnionMembers: true,
|
|
178
166
|
allowUnrecognizedEnumValues: true,
|
|
@@ -205,26 +193,14 @@ class TestsClient {
|
|
|
205
193
|
* Updates an agent response test by ID.
|
|
206
194
|
*
|
|
207
195
|
* @param {string} test_id - The id of a chat response test. This is returned on test creation.
|
|
208
|
-
* @param {ElevenLabs.conversationalAi.
|
|
196
|
+
* @param {ElevenLabs.conversationalAi.TestsUpdateRequestBody} request
|
|
209
197
|
* @param {TestsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
210
198
|
*
|
|
211
199
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
212
200
|
*
|
|
213
201
|
* @example
|
|
214
202
|
* await client.conversationalAi.tests.update("TeaqRRdTcIfIu2i7BYfT", {
|
|
215
|
-
*
|
|
216
|
-
* role: "user",
|
|
217
|
-
* timeInCallSecs: 1
|
|
218
|
-
* }],
|
|
219
|
-
* successCondition: "success_condition",
|
|
220
|
-
* successExamples: [{
|
|
221
|
-
* response: "response",
|
|
222
|
-
* type: "success"
|
|
223
|
-
* }],
|
|
224
|
-
* failureExamples: [{
|
|
225
|
-
* response: "response",
|
|
226
|
-
* type: "failure"
|
|
227
|
-
* }],
|
|
203
|
+
* type: "llm",
|
|
228
204
|
* name: "name"
|
|
229
205
|
* })
|
|
230
206
|
*/
|
|
@@ -242,7 +218,7 @@ class TestsClient {
|
|
|
242
218
|
contentType: "application/json",
|
|
243
219
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
244
220
|
requestType: "json",
|
|
245
|
-
body: serializers.conversationalAi.
|
|
221
|
+
body: serializers.conversationalAi.TestsUpdateRequestBody.jsonOrThrow(request, {
|
|
246
222
|
unrecognizedObjectKeys: "strip",
|
|
247
223
|
}),
|
|
248
224
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
@@ -253,7 +229,7 @@ class TestsClient {
|
|
|
253
229
|
});
|
|
254
230
|
if (_response.ok) {
|
|
255
231
|
return {
|
|
256
|
-
data: serializers.
|
|
232
|
+
data: serializers.conversationalAi.TestsUpdateResponse.parseOrThrow(_response.body, {
|
|
257
233
|
unrecognizedObjectKeys: "passthrough",
|
|
258
234
|
allowUnrecognizedUnionMembers: true,
|
|
259
235
|
allowUnrecognizedEnumValues: true,
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
export type { CreateUnitTestRequest } from "./CreateUnitTestRequest";
|
|
2
1
|
export type { ListTestsByIdsRequestModel } from "./ListTestsByIdsRequestModel";
|
|
3
2
|
export type { TestsListRequest } from "./TestsListRequest";
|
|
4
|
-
export type { UpdateUnitTestRequest } from "./UpdateUnitTestRequest";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Create Chat Response Test Request Information
|
|
4
|
+
*/
|
|
5
|
+
export type TestsCreateRequestBody = ElevenLabs.conversationalAi.TestsCreateRequestBody.Llm | ElevenLabs.conversationalAi.TestsCreateRequestBody.Tool | ElevenLabs.conversationalAi.TestsCreateRequestBody.Simulation;
|
|
6
|
+
export declare namespace TestsCreateRequestBody {
|
|
7
|
+
interface Llm extends ElevenLabs.CreateResponseUnitTestRequest {
|
|
8
|
+
type: "llm";
|
|
9
|
+
}
|
|
10
|
+
interface Tool extends ElevenLabs.CreateToolCallUnitTestRequest {
|
|
11
|
+
type: "tool";
|
|
12
|
+
}
|
|
13
|
+
interface Simulation extends ElevenLabs.CreateSimulationTestRequest {
|
|
14
|
+
type: "simulation";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../index";
|
|
2
|
+
export type TestsGetResponse = ElevenLabs.conversationalAi.TestsGetResponse.Llm | ElevenLabs.conversationalAi.TestsGetResponse.Tool | ElevenLabs.conversationalAi.TestsGetResponse.Simulation;
|
|
3
|
+
export declare namespace TestsGetResponse {
|
|
4
|
+
interface Llm extends ElevenLabs.GetResponseUnitTestResponseModel {
|
|
5
|
+
type: "llm";
|
|
6
|
+
}
|
|
7
|
+
interface Tool extends ElevenLabs.GetToolCallUnitTestResponseModel {
|
|
8
|
+
type: "tool";
|
|
9
|
+
}
|
|
10
|
+
interface Simulation extends ElevenLabs.GetSimulationTestResponseModel {
|
|
11
|
+
type: "simulation";
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Agent test to update
|
|
4
|
+
*/
|
|
5
|
+
export type TestsUpdateRequestBody = ElevenLabs.conversationalAi.TestsUpdateRequestBody.Llm | ElevenLabs.conversationalAi.TestsUpdateRequestBody.Tool | ElevenLabs.conversationalAi.TestsUpdateRequestBody.Simulation;
|
|
6
|
+
export declare namespace TestsUpdateRequestBody {
|
|
7
|
+
interface Llm extends ElevenLabs.UpdateResponseUnitTestRequest {
|
|
8
|
+
type: "llm";
|
|
9
|
+
}
|
|
10
|
+
interface Tool extends ElevenLabs.UpdateToolCallUnitTestRequest {
|
|
11
|
+
type: "tool";
|
|
12
|
+
}
|
|
13
|
+
interface Simulation extends ElevenLabs.UpdateSimulationTestRequest {
|
|
14
|
+
type: "simulation";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../index";
|
|
2
|
+
export type TestsUpdateResponse = ElevenLabs.conversationalAi.TestsUpdateResponse.Llm | ElevenLabs.conversationalAi.TestsUpdateResponse.Tool | ElevenLabs.conversationalAi.TestsUpdateResponse.Simulation;
|
|
3
|
+
export declare namespace TestsUpdateResponse {
|
|
4
|
+
interface Llm extends ElevenLabs.GetResponseUnitTestResponseModel {
|
|
5
|
+
type: "llm";
|
|
6
|
+
}
|
|
7
|
+
interface Tool extends ElevenLabs.GetToolCallUnitTestResponseModel {
|
|
8
|
+
type: "tool";
|
|
9
|
+
}
|
|
10
|
+
interface Simulation extends ElevenLabs.GetSimulationTestResponseModel {
|
|
11
|
+
type: "simulation";
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
1
|
+
export * from "./TestsCreateRequestBody";
|
|
2
|
+
export * from "./TestsGetResponse";
|
|
3
|
+
export * from "./TestsUpdateRequestBody";
|
|
4
|
+
export * from "./TestsUpdateResponse";
|
|
@@ -14,5 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
18
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./TestsCreateRequestBody"), exports);
|
|
18
|
+
__exportStar(require("./TestsGetResponse"), exports);
|
|
19
|
+
__exportStar(require("./TestsUpdateRequestBody"), exports);
|
|
20
|
+
__exportStar(require("./TestsUpdateResponse"), exports);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient";
|
|
2
|
+
import { type NormalizedClientOptions } from "../../../../../../BaseClient";
|
|
3
|
+
import * as core from "../../../../../../core";
|
|
4
|
+
import * as ElevenLabs from "../../../../../index";
|
|
5
|
+
export declare namespace UsersClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class UsersClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptions<UsersClient.Options>;
|
|
12
|
+
constructor(options?: UsersClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Get distinct users from conversations with pagination.
|
|
15
|
+
*
|
|
16
|
+
* @param {ElevenLabs.conversationalAi.UsersListRequest} request
|
|
17
|
+
* @param {UsersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
18
|
+
*
|
|
19
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* await client.conversationalAi.users.list({
|
|
23
|
+
* agentId: "agent_id",
|
|
24
|
+
* callStartBeforeUnix: 1,
|
|
25
|
+
* callStartAfterUnix: 1,
|
|
26
|
+
* search: "search",
|
|
27
|
+
* pageSize: 1,
|
|
28
|
+
* cursor: "cursor"
|
|
29
|
+
* })
|
|
30
|
+
*/
|
|
31
|
+
list(request?: ElevenLabs.conversationalAi.UsersListRequest, requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetConversationUsersPageResponseModel>;
|
|
32
|
+
private __list;
|
|
33
|
+
}
|