@elevenlabs/elevenlabs-js 2.33.0 → 2.34.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/Client.d.ts +8 -0
- package/Client.js +37 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/index.js +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/types/index.js +17 -0
- package/api/resources/conversationalAi/resources/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/index.js +1 -0
- package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +6 -2
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +18 -6
- package/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts +13 -0
- package/api/resources/conversationalAi/resources/secrets/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +12 -29
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +49 -118
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
- package/api/resources/textToDialogue/client/Client.d.ts +1 -1
- package/api/resources/textToDialogue/client/Client.js +3 -7
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +4 -4
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -3
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +32 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +35 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +32 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +35 -0
- package/api/resources/textToDialogue/types/index.d.ts +2 -0
- package/api/resources/textToDialogue/types/index.js +2 -0
- package/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +2 -2
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/api/resources/workspace/resources/invites/client/Client.d.ts +3 -3
- package/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/api/types/AlignmentGuardrail.d.ts +3 -0
- package/api/types/ApiIntegrationWebhookOverridesInput.d.ts +2 -0
- package/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +2 -0
- package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/api/types/ConversationTurnMetrics.d.ts +1 -0
- package/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/api/types/GetUnitTestResponseModel.d.ts +2 -0
- package/api/types/GetWorkspaceSecretsResponseModel.d.ts +4 -0
- package/api/types/GuardrailsV1Input.d.ts +1 -0
- package/api/types/GuardrailsV1Output.d.ts +1 -0
- package/api/types/InvoiceResponse.d.ts +1 -1
- package/api/types/NonStreamingOutputFormats.d.ts +10 -0
- package/api/types/NonStreamingOutputFormats.js +13 -0
- package/api/types/PermissionType.d.ts +6 -0
- package/api/types/PermissionType.js +6 -0
- package/api/types/ProcedureDraftRef.d.ts +4 -0
- package/api/types/ProcedureVersionRef.d.ts +6 -0
- package/api/types/ProcedureVersionRef.js +3 -0
- package/api/types/ResponseFilterMode.d.ts +6 -0
- package/api/types/ResponseFilterMode.js +9 -0
- package/api/types/SongMetadata.d.ts +0 -4
- package/api/types/TurnConfig.d.ts +2 -0
- package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/api/types/UnitTestCommonModel.d.ts +2 -0
- package/api/types/User.d.ts +2 -0
- package/api/types/index.d.ts +5 -1
- package/api/types/index.js +5 -1
- package/dist/BaseClient.js +2 -2
- package/dist/Client.d.ts +8 -0
- package/dist/Client.js +37 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/types/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +6 -2
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +18 -6
- package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/secrets/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +12 -29
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +49 -118
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
- package/dist/api/resources/textToDialogue/client/Client.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/Client.js +3 -7
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +4 -4
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -3
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +32 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +35 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +32 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +35 -0
- package/dist/api/resources/textToDialogue/types/index.d.ts +2 -0
- package/dist/api/resources/textToDialogue/types/index.js +2 -0
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +2 -2
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/dist/api/resources/workspace/resources/invites/client/Client.d.ts +3 -3
- package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/dist/api/types/AlignmentGuardrail.d.ts +3 -0
- package/dist/api/types/AlignmentGuardrail.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesInput.d.ts +2 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +2 -0
- package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/dist/api/types/ConversationTurnMetrics.d.ts +1 -0
- package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/dist/api/types/GetUnitTestResponseModel.d.ts +2 -0
- package/dist/api/types/GetWorkspaceSecretsResponseModel.d.ts +4 -0
- package/dist/api/types/GuardrailsV1Input.d.ts +1 -0
- package/dist/api/types/GuardrailsV1Output.d.ts +1 -0
- package/dist/api/types/InvoiceResponse.d.ts +1 -1
- package/dist/api/types/NonStreamingOutputFormats.d.ts +10 -0
- package/dist/api/types/NonStreamingOutputFormats.js +13 -0
- package/dist/api/types/PermissionType.d.ts +6 -0
- package/dist/api/types/PermissionType.js +6 -0
- package/dist/api/types/ProcedureDraftRef.d.ts +4 -0
- package/dist/api/types/ProcedureDraftRef.js +3 -0
- package/dist/api/types/ProcedureVersionRef.d.ts +6 -0
- package/dist/api/types/ProcedureVersionRef.js +3 -0
- package/dist/api/types/ResponseFilterMode.d.ts +6 -0
- package/dist/api/types/ResponseFilterMode.js +9 -0
- package/dist/api/types/SongMetadata.d.ts +0 -4
- package/dist/api/types/TurnConfig.d.ts +2 -0
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/dist/api/types/UnitTestCommonModel.d.ts +2 -0
- package/dist/api/types/User.d.ts +2 -0
- package/dist/api/types/index.d.ts +5 -1
- package/dist/api/types/index.js +5 -1
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +9 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/types/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +1 -3
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +7 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +68 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +68 -0
- package/dist/serialization/resources/textToDialogue/types/index.d.ts +2 -0
- package/dist/serialization/resources/textToDialogue/types/index.js +2 -0
- package/dist/serialization/types/AlignmentGuardrail.d.ts +9 -0
- package/dist/serialization/types/{ImportWhatsAppAccountResponse.js → AlignmentGuardrail.js} +3 -3
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +3 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.js +3 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +3 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
- package/dist/serialization/types/ConversationTurnMetrics.d.ts +1 -0
- package/dist/serialization/types/ConversationTurnMetrics.js +1 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -0
- package/dist/serialization/types/GetUnitTestResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetUnitTestResponseModel.js +1 -0
- package/dist/serialization/types/GetWorkspaceSecretsResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetWorkspaceSecretsResponseModel.js +2 -0
- package/dist/serialization/types/GuardrailsV1Input.d.ts +2 -0
- package/dist/serialization/types/GuardrailsV1Input.js +2 -0
- package/dist/serialization/types/GuardrailsV1Output.d.ts +2 -0
- package/dist/serialization/types/GuardrailsV1Output.js +2 -0
- package/dist/serialization/types/NonStreamingOutputFormats.d.ts +7 -0
- package/dist/serialization/types/NonStreamingOutputFormats.js +47 -0
- package/dist/serialization/types/PermissionType.d.ts +1 -1
- package/dist/serialization/types/PermissionType.js +6 -0
- package/dist/serialization/types/ProcedureDraftRef.d.ts +9 -0
- package/{serialization/types/ImportWhatsAppAccountResponse.js → dist/serialization/types/ProcedureDraftRef.js} +3 -3
- package/dist/serialization/types/ProcedureVersionRef.d.ts +10 -0
- package/dist/serialization/{resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → types/ProcedureVersionRef.js} +5 -6
- package/dist/serialization/types/ResponseFilterMode.d.ts +7 -0
- package/dist/serialization/types/ResponseFilterMode.js +39 -0
- package/dist/serialization/types/SongMetadata.d.ts +0 -2
- package/dist/serialization/types/SongMetadata.js +0 -2
- package/dist/serialization/types/TurnConfig.d.ts +1 -0
- package/dist/serialization/types/TurnConfig.js +1 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.js +1 -0
- package/dist/serialization/types/UnitTestCommonModel.d.ts +1 -0
- package/dist/serialization/types/UnitTestCommonModel.js +1 -0
- package/dist/serialization/types/User.d.ts +1 -0
- package/dist/serialization/types/User.js +1 -0
- package/dist/serialization/types/index.d.ts +5 -1
- package/dist/serialization/types/index.js +5 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +40 -96
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +2 -0
- package/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +1 -0
- package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +9 -0
- package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +41 -0
- package/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/types/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +1 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +1 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +1 -3
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +7 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +68 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +68 -0
- package/serialization/resources/textToDialogue/types/index.d.ts +2 -0
- package/serialization/resources/textToDialogue/types/index.js +2 -0
- package/serialization/types/AlignmentGuardrail.d.ts +9 -0
- package/serialization/types/AlignmentGuardrail.js +41 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +3 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInput.js +3 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +3 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
- package/serialization/types/ConversationTurnMetrics.d.ts +1 -0
- package/serialization/types/ConversationTurnMetrics.js +1 -0
- package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/serialization/types/DirectPublishingReadResponseModel.js +1 -0
- package/serialization/types/GetUnitTestResponseModel.d.ts +1 -0
- package/serialization/types/GetUnitTestResponseModel.js +1 -0
- package/serialization/types/GetWorkspaceSecretsResponseModel.d.ts +2 -0
- package/serialization/types/GetWorkspaceSecretsResponseModel.js +2 -0
- package/serialization/types/GuardrailsV1Input.d.ts +2 -0
- package/serialization/types/GuardrailsV1Input.js +2 -0
- package/serialization/types/GuardrailsV1Output.d.ts +2 -0
- package/serialization/types/GuardrailsV1Output.js +2 -0
- package/serialization/types/NonStreamingOutputFormats.d.ts +7 -0
- package/serialization/types/NonStreamingOutputFormats.js +47 -0
- package/serialization/types/PermissionType.d.ts +1 -1
- package/serialization/types/PermissionType.js +6 -0
- package/serialization/types/ProcedureDraftRef.d.ts +9 -0
- package/serialization/types/ProcedureDraftRef.js +41 -0
- package/serialization/types/ProcedureVersionRef.d.ts +10 -0
- package/serialization/{resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → types/ProcedureVersionRef.js} +5 -6
- package/serialization/types/ResponseFilterMode.d.ts +7 -0
- package/serialization/types/ResponseFilterMode.js +39 -0
- package/serialization/types/SongMetadata.d.ts +0 -2
- package/serialization/types/SongMetadata.js +0 -2
- package/serialization/types/TurnConfig.d.ts +1 -0
- package/serialization/types/TurnConfig.js +1 -0
- package/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
- package/serialization/types/TurnConfigWorkflowOverride.js +1 -0
- package/serialization/types/UnitTestCommonModel.d.ts +1 -0
- package/serialization/types/UnitTestCommonModel.js +1 -0
- package/serialization/types/User.d.ts +1 -0
- package/serialization/types/User.js +1 -0
- package/serialization/types/index.d.ts +5 -1
- package/serialization/types/index.js +5 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -13
- package/api/types/ImportWhatsAppAccountResponse.d.ts +0 -3
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -13
- package/dist/api/types/ImportWhatsAppAccountResponse.d.ts +0 -3
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -11
- package/dist/serialization/types/ImportWhatsAppAccountResponse.d.ts +0 -9
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -11
- package/serialization/types/ImportWhatsAppAccountResponse.d.ts +0 -9
- /package/api/resources/conversationalAi/resources/{whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js} +0 -0
- /package/api/{types/ImportWhatsAppAccountResponse.js → resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.js} +0 -0
- /package/{dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → api/types/AlignmentGuardrail.js} +0 -0
- /package/{dist/api/types/ImportWhatsAppAccountResponse.js → api/types/ProcedureDraftRef.js} +0 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.TextToDialogueConvertRequestOutputFormat = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.TextToDialogueConvertRequestOutputFormat = core.serialization.enum_([
|
|
40
|
+
"alaw_8000",
|
|
41
|
+
"mp3_22050_32",
|
|
42
|
+
"mp3_24000_48",
|
|
43
|
+
"mp3_44100_128",
|
|
44
|
+
"mp3_44100_192",
|
|
45
|
+
"mp3_44100_32",
|
|
46
|
+
"mp3_44100_64",
|
|
47
|
+
"mp3_44100_96",
|
|
48
|
+
"opus_48000_128",
|
|
49
|
+
"opus_48000_192",
|
|
50
|
+
"opus_48000_32",
|
|
51
|
+
"opus_48000_64",
|
|
52
|
+
"opus_48000_96",
|
|
53
|
+
"pcm_16000",
|
|
54
|
+
"pcm_22050",
|
|
55
|
+
"pcm_24000",
|
|
56
|
+
"pcm_32000",
|
|
57
|
+
"pcm_44100",
|
|
58
|
+
"pcm_48000",
|
|
59
|
+
"pcm_8000",
|
|
60
|
+
"ulaw_8000",
|
|
61
|
+
"wav_16000",
|
|
62
|
+
"wav_22050",
|
|
63
|
+
"wav_24000",
|
|
64
|
+
"wav_32000",
|
|
65
|
+
"wav_44100",
|
|
66
|
+
"wav_48000",
|
|
67
|
+
"wav_8000",
|
|
68
|
+
]);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const TextToDialogueConvertWithTimestampsRequestOutputFormat: core.serialization.Schema<serializers.TextToDialogueConvertWithTimestampsRequestOutputFormat.Raw, ElevenLabs.TextToDialogueConvertWithTimestampsRequestOutputFormat>;
|
|
5
|
+
export declare namespace TextToDialogueConvertWithTimestampsRequestOutputFormat {
|
|
6
|
+
type Raw = "alaw_8000" | "mp3_22050_32" | "mp3_24000_48" | "mp3_44100_128" | "mp3_44100_192" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "opus_48000_128" | "opus_48000_192" | "opus_48000_32" | "opus_48000_64" | "opus_48000_96" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_32000" | "pcm_44100" | "pcm_48000" | "pcm_8000" | "ulaw_8000" | "wav_16000" | "wav_22050" | "wav_24000" | "wav_32000" | "wav_44100" | "wav_48000" | "wav_8000";
|
|
7
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.TextToDialogueConvertWithTimestampsRequestOutputFormat = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.TextToDialogueConvertWithTimestampsRequestOutputFormat = core.serialization.enum_([
|
|
40
|
+
"alaw_8000",
|
|
41
|
+
"mp3_22050_32",
|
|
42
|
+
"mp3_24000_48",
|
|
43
|
+
"mp3_44100_128",
|
|
44
|
+
"mp3_44100_192",
|
|
45
|
+
"mp3_44100_32",
|
|
46
|
+
"mp3_44100_64",
|
|
47
|
+
"mp3_44100_96",
|
|
48
|
+
"opus_48000_128",
|
|
49
|
+
"opus_48000_192",
|
|
50
|
+
"opus_48000_32",
|
|
51
|
+
"opus_48000_64",
|
|
52
|
+
"opus_48000_96",
|
|
53
|
+
"pcm_16000",
|
|
54
|
+
"pcm_22050",
|
|
55
|
+
"pcm_24000",
|
|
56
|
+
"pcm_32000",
|
|
57
|
+
"pcm_44100",
|
|
58
|
+
"pcm_48000",
|
|
59
|
+
"pcm_8000",
|
|
60
|
+
"ulaw_8000",
|
|
61
|
+
"wav_16000",
|
|
62
|
+
"wav_22050",
|
|
63
|
+
"wav_24000",
|
|
64
|
+
"wav_32000",
|
|
65
|
+
"wav_44100",
|
|
66
|
+
"wav_48000",
|
|
67
|
+
"wav_8000",
|
|
68
|
+
]);
|
|
@@ -2,3 +2,5 @@ export * from "./BodyTextToDialogueFullWithTimestampsApplyTextNormalization";
|
|
|
2
2
|
export * from "./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization";
|
|
3
3
|
export * from "./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization";
|
|
4
4
|
export * from "./BodyTextToDialogueStreamWithTimestampsApplyTextNormalization";
|
|
5
|
+
export * from "./TextToDialogueConvertRequestOutputFormat";
|
|
6
|
+
export * from "./TextToDialogueConvertWithTimestampsRequestOutputFormat";
|
|
@@ -18,3 +18,5 @@ __exportStar(require("./BodyTextToDialogueFullWithTimestampsApplyTextNormalizati
|
|
|
18
18
|
__exportStar(require("./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization"), exports);
|
|
19
19
|
__exportStar(require("./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization"), exports);
|
|
20
20
|
__exportStar(require("./BodyTextToDialogueStreamWithTimestampsApplyTextNormalization"), exports);
|
|
21
|
+
__exportStar(require("./TextToDialogueConvertRequestOutputFormat"), exports);
|
|
22
|
+
__exportStar(require("./TextToDialogueConvertWithTimestampsRequestOutputFormat"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const AlignmentGuardrail: core.serialization.ObjectSchema<serializers.AlignmentGuardrail.Raw, ElevenLabs.AlignmentGuardrail>;
|
|
5
|
+
export declare namespace AlignmentGuardrail {
|
|
6
|
+
interface Raw {
|
|
7
|
+
is_enabled?: boolean | null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.AlignmentGuardrail = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.
|
|
40
|
-
|
|
39
|
+
exports.AlignmentGuardrail = core.serialization.object({
|
|
40
|
+
isEnabled: core.serialization.property("is_enabled", core.serialization.boolean().optional()),
|
|
41
41
|
});
|
|
@@ -4,6 +4,7 @@ import * as serializers from "../index";
|
|
|
4
4
|
import { ApiIntegrationWebhookOverridesInputRequestHeadersValue } from "./ApiIntegrationWebhookOverridesInputRequestHeadersValue";
|
|
5
5
|
import { LiteralOverride } from "./LiteralOverride";
|
|
6
6
|
import { QueryOverride } from "./QueryOverride";
|
|
7
|
+
import { ResponseFilterMode } from "./ResponseFilterMode";
|
|
7
8
|
export declare const ApiIntegrationWebhookOverridesInput: core.serialization.ObjectSchema<serializers.ApiIntegrationWebhookOverridesInput.Raw, ElevenLabs.ApiIntegrationWebhookOverridesInput>;
|
|
8
9
|
export declare namespace ApiIntegrationWebhookOverridesInput {
|
|
9
10
|
interface Raw {
|
|
@@ -11,5 +12,7 @@ export declare namespace ApiIntegrationWebhookOverridesInput {
|
|
|
11
12
|
query_params_schema?: QueryOverride.Raw | null;
|
|
12
13
|
request_body_schema?: serializers.ObjectOverrideInput.Raw | null;
|
|
13
14
|
request_headers?: Record<string, ApiIntegrationWebhookOverridesInputRequestHeadersValue.Raw | null | undefined> | null;
|
|
15
|
+
response_filter_mode?: ResponseFilterMode.Raw | null;
|
|
16
|
+
response_filters?: string[] | null;
|
|
14
17
|
}
|
|
15
18
|
}
|
|
@@ -40,6 +40,7 @@ const serializers = __importStar(require("../index"));
|
|
|
40
40
|
const ApiIntegrationWebhookOverridesInputRequestHeadersValue_1 = require("./ApiIntegrationWebhookOverridesInputRequestHeadersValue");
|
|
41
41
|
const LiteralOverride_1 = require("./LiteralOverride");
|
|
42
42
|
const QueryOverride_1 = require("./QueryOverride");
|
|
43
|
+
const ResponseFilterMode_1 = require("./ResponseFilterMode");
|
|
43
44
|
exports.ApiIntegrationWebhookOverridesInput = core.serialization.object({
|
|
44
45
|
pathParamsSchema: core.serialization.property("path_params_schema", core.serialization.record(core.serialization.string(), LiteralOverride_1.LiteralOverride.optional()).optional()),
|
|
45
46
|
queryParamsSchema: core.serialization.property("query_params_schema", QueryOverride_1.QueryOverride.optional()),
|
|
@@ -47,4 +48,6 @@ exports.ApiIntegrationWebhookOverridesInput = core.serialization.object({
|
|
|
47
48
|
requestHeaders: core.serialization.property("request_headers", core.serialization
|
|
48
49
|
.record(core.serialization.string(), ApiIntegrationWebhookOverridesInputRequestHeadersValue_1.ApiIntegrationWebhookOverridesInputRequestHeadersValue.optional())
|
|
49
50
|
.optional()),
|
|
51
|
+
responseFilterMode: core.serialization.property("response_filter_mode", ResponseFilterMode_1.ResponseFilterMode.optional()),
|
|
52
|
+
responseFilters: core.serialization.property("response_filters", core.serialization.list(core.serialization.string()).optional()),
|
|
50
53
|
});
|
|
@@ -4,6 +4,7 @@ import * as serializers from "../index";
|
|
|
4
4
|
import { ApiIntegrationWebhookOverridesOutputRequestHeadersValue } from "./ApiIntegrationWebhookOverridesOutputRequestHeadersValue";
|
|
5
5
|
import { LiteralOverride } from "./LiteralOverride";
|
|
6
6
|
import { QueryOverride } from "./QueryOverride";
|
|
7
|
+
import { ResponseFilterMode } from "./ResponseFilterMode";
|
|
7
8
|
export declare const ApiIntegrationWebhookOverridesOutput: core.serialization.ObjectSchema<serializers.ApiIntegrationWebhookOverridesOutput.Raw, ElevenLabs.ApiIntegrationWebhookOverridesOutput>;
|
|
8
9
|
export declare namespace ApiIntegrationWebhookOverridesOutput {
|
|
9
10
|
interface Raw {
|
|
@@ -11,5 +12,7 @@ export declare namespace ApiIntegrationWebhookOverridesOutput {
|
|
|
11
12
|
query_params_schema?: QueryOverride.Raw | null;
|
|
12
13
|
request_body_schema?: serializers.ObjectOverrideOutput.Raw | null;
|
|
13
14
|
request_headers?: Record<string, ApiIntegrationWebhookOverridesOutputRequestHeadersValue.Raw | null | undefined> | null;
|
|
15
|
+
response_filter_mode?: ResponseFilterMode.Raw | null;
|
|
16
|
+
response_filters?: string[] | null;
|
|
14
17
|
}
|
|
15
18
|
}
|
|
@@ -40,6 +40,7 @@ const serializers = __importStar(require("../index"));
|
|
|
40
40
|
const ApiIntegrationWebhookOverridesOutputRequestHeadersValue_1 = require("./ApiIntegrationWebhookOverridesOutputRequestHeadersValue");
|
|
41
41
|
const LiteralOverride_1 = require("./LiteralOverride");
|
|
42
42
|
const QueryOverride_1 = require("./QueryOverride");
|
|
43
|
+
const ResponseFilterMode_1 = require("./ResponseFilterMode");
|
|
43
44
|
exports.ApiIntegrationWebhookOverridesOutput = core.serialization.object({
|
|
44
45
|
pathParamsSchema: core.serialization.property("path_params_schema", core.serialization.record(core.serialization.string(), LiteralOverride_1.LiteralOverride.optional()).optional()),
|
|
45
46
|
queryParamsSchema: core.serialization.property("query_params_schema", QueryOverride_1.QueryOverride.optional()),
|
|
@@ -47,4 +48,6 @@ exports.ApiIntegrationWebhookOverridesOutput = core.serialization.object({
|
|
|
47
48
|
requestHeaders: core.serialization.property("request_headers", core.serialization
|
|
48
49
|
.record(core.serialization.string(), ApiIntegrationWebhookOverridesOutputRequestHeadersValue_1.ApiIntegrationWebhookOverridesOutputRequestHeadersValue.optional())
|
|
49
50
|
.optional()),
|
|
51
|
+
responseFilterMode: core.serialization.property("response_filter_mode", ResponseFilterMode_1.ResponseFilterMode.optional()),
|
|
52
|
+
responseFilters: core.serialization.property("response_filters", core.serialization.list(core.serialization.string()).optional()),
|
|
50
53
|
});
|
|
@@ -12,6 +12,7 @@ export declare namespace ConversationHistoryTranscriptApiIntegrationWebhookTools
|
|
|
12
12
|
tool_has_been_called: boolean;
|
|
13
13
|
tool_latency_secs?: number | null;
|
|
14
14
|
error_type?: string | null;
|
|
15
|
+
raw_error_message?: string | null;
|
|
15
16
|
dynamic_variable_updates?: DynamicVariableUpdateCommonModel.Raw[] | null;
|
|
16
17
|
type: "api_integration_webhook";
|
|
17
18
|
integration_id: string;
|
|
@@ -45,6 +45,7 @@ exports.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel
|
|
|
45
45
|
toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
|
|
46
46
|
toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
|
|
47
47
|
errorType: core.serialization.property("error_type", core.serialization.string().optional()),
|
|
48
|
+
rawErrorMessage: core.serialization.property("raw_error_message", core.serialization.string().optional()),
|
|
48
49
|
dynamicVariableUpdates: core.serialization.property("dynamic_variable_updates", core.serialization.list(DynamicVariableUpdateCommonModel_1.DynamicVariableUpdateCommonModel).optional()),
|
|
49
50
|
type: core.serialization.stringLiteral("api_integration_webhook"),
|
|
50
51
|
integrationId: core.serialization.property("integration_id", core.serialization.string()),
|
package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare namespace ConversationHistoryTranscriptOtherToolsResultCommonMode
|
|
|
13
13
|
tool_has_been_called: boolean;
|
|
14
14
|
tool_latency_secs?: number | null;
|
|
15
15
|
error_type?: string | null;
|
|
16
|
+
raw_error_message?: string | null;
|
|
16
17
|
dynamic_variable_updates?: DynamicVariableUpdateCommonModel.Raw[] | null;
|
|
17
18
|
type?: ConversationHistoryTranscriptOtherToolsResultCommonModelType.Raw | null;
|
|
18
19
|
}
|
package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js
CHANGED
|
@@ -46,6 +46,7 @@ exports.ConversationHistoryTranscriptOtherToolsResultCommonModel = core.serializ
|
|
|
46
46
|
toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
|
|
47
47
|
toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
|
|
48
48
|
errorType: core.serialization.property("error_type", core.serialization.string().optional()),
|
|
49
|
+
rawErrorMessage: core.serialization.property("raw_error_message", core.serialization.string().optional()),
|
|
49
50
|
dynamicVariableUpdates: core.serialization.property("dynamic_variable_updates", core.serialization.list(DynamicVariableUpdateCommonModel_1.DynamicVariableUpdateCommonModel).optional()),
|
|
50
51
|
type: ConversationHistoryTranscriptOtherToolsResultCommonModelType_1.ConversationHistoryTranscriptOtherToolsResultCommonModelType.optional(),
|
|
51
52
|
});
|
package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare namespace ConversationHistoryTranscriptSystemToolResultCommonMode
|
|
|
13
13
|
tool_has_been_called: boolean;
|
|
14
14
|
tool_latency_secs?: number | null;
|
|
15
15
|
error_type?: string | null;
|
|
16
|
+
raw_error_message?: string | null;
|
|
16
17
|
dynamic_variable_updates?: DynamicVariableUpdateCommonModel.Raw[] | null;
|
|
17
18
|
type: "system";
|
|
18
19
|
result?: ConversationHistoryTranscriptSystemToolResultCommonModelResult.Raw | null;
|
package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js
CHANGED
|
@@ -46,6 +46,7 @@ exports.ConversationHistoryTranscriptSystemToolResultCommonModel = core.serializ
|
|
|
46
46
|
toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
|
|
47
47
|
toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
|
|
48
48
|
errorType: core.serialization.property("error_type", core.serialization.string().optional()),
|
|
49
|
+
rawErrorMessage: core.serialization.property("raw_error_message", core.serialization.string().optional()),
|
|
49
50
|
dynamicVariableUpdates: core.serialization.property("dynamic_variable_updates", core.serialization.list(DynamicVariableUpdateCommonModel_1.DynamicVariableUpdateCommonModel).optional()),
|
|
50
51
|
type: core.serialization.stringLiteral("system"),
|
|
51
52
|
result: ConversationHistoryTranscriptSystemToolResultCommonModelResult_1.ConversationHistoryTranscriptSystemToolResultCommonModelResult.optional(),
|
|
@@ -12,6 +12,7 @@ export declare namespace ConversationHistoryTranscriptWorkflowToolsResultCommonM
|
|
|
12
12
|
tool_has_been_called: boolean;
|
|
13
13
|
tool_latency_secs?: number | null;
|
|
14
14
|
error_type?: string | null;
|
|
15
|
+
raw_error_message?: string | null;
|
|
15
16
|
dynamic_variable_updates?: DynamicVariableUpdateCommonModel.Raw[] | null;
|
|
16
17
|
type: "workflow";
|
|
17
18
|
result?: serializers.WorkflowToolResponseModelInput.Raw | null;
|
package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js
CHANGED
|
@@ -46,6 +46,7 @@ exports.ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput = core.
|
|
|
46
46
|
toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
|
|
47
47
|
toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
|
|
48
48
|
errorType: core.serialization.property("error_type", core.serialization.string().optional()),
|
|
49
|
+
rawErrorMessage: core.serialization.property("raw_error_message", core.serialization.string().optional()),
|
|
49
50
|
dynamicVariableUpdates: core.serialization.property("dynamic_variable_updates", core.serialization.list(DynamicVariableUpdateCommonModel_1.DynamicVariableUpdateCommonModel).optional()),
|
|
50
51
|
type: core.serialization.stringLiteral("workflow"),
|
|
51
52
|
result: core.serialization.lazyObject(() => serializers.WorkflowToolResponseModelInput).optional(),
|
|
@@ -12,6 +12,7 @@ export declare namespace ConversationHistoryTranscriptWorkflowToolsResultCommonM
|
|
|
12
12
|
tool_has_been_called: boolean;
|
|
13
13
|
tool_latency_secs?: number | null;
|
|
14
14
|
error_type?: string | null;
|
|
15
|
+
raw_error_message?: string | null;
|
|
15
16
|
dynamic_variable_updates?: DynamicVariableUpdateCommonModel.Raw[] | null;
|
|
16
17
|
type: "workflow";
|
|
17
18
|
result?: serializers.WorkflowToolResponseModelOutput.Raw | null;
|
|
@@ -46,6 +46,7 @@ exports.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput = core
|
|
|
46
46
|
toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
|
|
47
47
|
toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
|
|
48
48
|
errorType: core.serialization.property("error_type", core.serialization.string().optional()),
|
|
49
|
+
rawErrorMessage: core.serialization.property("raw_error_message", core.serialization.string().optional()),
|
|
49
50
|
dynamicVariableUpdates: core.serialization.property("dynamic_variable_updates", core.serialization.list(DynamicVariableUpdateCommonModel_1.DynamicVariableUpdateCommonModel).optional()),
|
|
50
51
|
type: core.serialization.stringLiteral("workflow"),
|
|
51
52
|
result: core.serialization.lazyObject(() => serializers.WorkflowToolResponseModelOutput).optional(),
|
|
@@ -39,4 +39,5 @@ const core = __importStar(require("../../core"));
|
|
|
39
39
|
const MetricRecord_1 = require("./MetricRecord");
|
|
40
40
|
exports.ConversationTurnMetrics = core.serialization.object({
|
|
41
41
|
metrics: core.serialization.record(core.serialization.string(), MetricRecord_1.MetricRecord).optional(),
|
|
42
|
+
convaiAsrProvider: core.serialization.property("convai_asr_provider", core.serialization.string().optional()),
|
|
42
43
|
});
|
|
@@ -52,6 +52,7 @@ export declare namespace DirectPublishingReadResponseModel {
|
|
|
52
52
|
payout_type?: DirectPublishingReadResponseModelPayoutType.Raw | null;
|
|
53
53
|
list_price?: number | null;
|
|
54
54
|
currency?: "usd" | null;
|
|
55
|
+
original_audio_project_export_id?: string | null;
|
|
55
56
|
original_audio_document_id?: string | null;
|
|
56
57
|
series_id?: string | null;
|
|
57
58
|
volume?: number | null;
|
|
@@ -85,6 +85,7 @@ exports.DirectPublishingReadResponseModel = core.serialization.object({
|
|
|
85
85
|
payoutType: core.serialization.property("payout_type", DirectPublishingReadResponseModelPayoutType_1.DirectPublishingReadResponseModelPayoutType.optional()),
|
|
86
86
|
listPrice: core.serialization.property("list_price", core.serialization.number().optional()),
|
|
87
87
|
currency: core.serialization.stringLiteral("usd").optional(),
|
|
88
|
+
originalAudioProjectExportId: core.serialization.property("original_audio_project_export_id", core.serialization.string().optional()),
|
|
88
89
|
originalAudioDocumentId: core.serialization.property("original_audio_document_id", core.serialization.string().optional()),
|
|
89
90
|
seriesId: core.serialization.property("series_id", core.serialization.string().optional()),
|
|
90
91
|
volume: core.serialization.number().optional(),
|
|
@@ -16,6 +16,7 @@ export declare namespace GetUnitTestResponseModel {
|
|
|
16
16
|
success_examples: AgentSuccessfulResponseExample.Raw[];
|
|
17
17
|
failure_examples: AgentFailureResponseExample.Raw[];
|
|
18
18
|
tool_call_parameters?: UnitTestToolCallEvaluationModelOutput.Raw | null;
|
|
19
|
+
check_any_tool_matches?: boolean | null;
|
|
19
20
|
dynamic_variables?: Record<string, GetUnitTestResponseModelDynamicVariablesValue.Raw | null | undefined> | null;
|
|
20
21
|
type?: UnitTestCommonModelType.Raw | null;
|
|
21
22
|
from_conversation_metadata?: TestFromConversationMetadataOutput.Raw | null;
|
|
@@ -49,6 +49,7 @@ exports.GetUnitTestResponseModel = core.serialization.object({
|
|
|
49
49
|
successExamples: core.serialization.property("success_examples", core.serialization.list(AgentSuccessfulResponseExample_1.AgentSuccessfulResponseExample)),
|
|
50
50
|
failureExamples: core.serialization.property("failure_examples", core.serialization.list(AgentFailureResponseExample_1.AgentFailureResponseExample)),
|
|
51
51
|
toolCallParameters: core.serialization.property("tool_call_parameters", UnitTestToolCallEvaluationModelOutput_1.UnitTestToolCallEvaluationModelOutput.optional()),
|
|
52
|
+
checkAnyToolMatches: core.serialization.property("check_any_tool_matches", core.serialization.boolean().optional()),
|
|
52
53
|
dynamicVariables: core.serialization.property("dynamic_variables", core.serialization
|
|
53
54
|
.record(core.serialization.string(), GetUnitTestResponseModelDynamicVariablesValue_1.GetUnitTestResponseModelDynamicVariablesValue.optional())
|
|
54
55
|
.optional()),
|
|
@@ -6,5 +6,7 @@ export declare const GetWorkspaceSecretsResponseModel: core.serialization.Object
|
|
|
6
6
|
export declare namespace GetWorkspaceSecretsResponseModel {
|
|
7
7
|
interface Raw {
|
|
8
8
|
secrets: ConvAiWorkspaceStoredSecretConfig.Raw[];
|
|
9
|
+
next_cursor?: string | null;
|
|
10
|
+
has_more?: boolean | null;
|
|
9
11
|
}
|
|
10
12
|
}
|
|
@@ -39,4 +39,6 @@ const core = __importStar(require("../../core"));
|
|
|
39
39
|
const ConvAiWorkspaceStoredSecretConfig_1 = require("./ConvAiWorkspaceStoredSecretConfig");
|
|
40
40
|
exports.GetWorkspaceSecretsResponseModel = core.serialization.object({
|
|
41
41
|
secrets: core.serialization.list(ConvAiWorkspaceStoredSecretConfig_1.ConvAiWorkspaceStoredSecretConfig),
|
|
42
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
|
43
|
+
hasMore: core.serialization.property("has_more", core.serialization.boolean().optional()),
|
|
42
44
|
});
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { AlignmentGuardrail } from "./AlignmentGuardrail";
|
|
4
5
|
import { ModerationGuardrailInput } from "./ModerationGuardrailInput";
|
|
5
6
|
export declare const GuardrailsV1Input: core.serialization.ObjectSchema<serializers.GuardrailsV1Input.Raw, ElevenLabs.GuardrailsV1Input>;
|
|
6
7
|
export declare namespace GuardrailsV1Input {
|
|
7
8
|
interface Raw {
|
|
8
9
|
version?: "1" | null;
|
|
10
|
+
alignment?: AlignmentGuardrail.Raw | null;
|
|
9
11
|
moderation?: ModerationGuardrailInput.Raw | null;
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -36,8 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.GuardrailsV1Input = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const AlignmentGuardrail_1 = require("./AlignmentGuardrail");
|
|
39
40
|
const ModerationGuardrailInput_1 = require("./ModerationGuardrailInput");
|
|
40
41
|
exports.GuardrailsV1Input = core.serialization.object({
|
|
41
42
|
version: core.serialization.stringLiteral("1").optional(),
|
|
43
|
+
alignment: AlignmentGuardrail_1.AlignmentGuardrail.optional(),
|
|
42
44
|
moderation: ModerationGuardrailInput_1.ModerationGuardrailInput.optional(),
|
|
43
45
|
});
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { AlignmentGuardrail } from "./AlignmentGuardrail";
|
|
4
5
|
import { ModerationGuardrailOutput } from "./ModerationGuardrailOutput";
|
|
5
6
|
export declare const GuardrailsV1Output: core.serialization.ObjectSchema<serializers.GuardrailsV1Output.Raw, ElevenLabs.GuardrailsV1Output>;
|
|
6
7
|
export declare namespace GuardrailsV1Output {
|
|
7
8
|
interface Raw {
|
|
8
9
|
version?: "1" | null;
|
|
10
|
+
alignment?: AlignmentGuardrail.Raw | null;
|
|
9
11
|
moderation?: ModerationGuardrailOutput.Raw | null;
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -36,8 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.GuardrailsV1Output = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const AlignmentGuardrail_1 = require("./AlignmentGuardrail");
|
|
39
40
|
const ModerationGuardrailOutput_1 = require("./ModerationGuardrailOutput");
|
|
40
41
|
exports.GuardrailsV1Output = core.serialization.object({
|
|
41
42
|
version: core.serialization.stringLiteral("1").optional(),
|
|
43
|
+
alignment: AlignmentGuardrail_1.AlignmentGuardrail.optional(),
|
|
42
44
|
moderation: ModerationGuardrailOutput_1.ModerationGuardrailOutput.optional(),
|
|
43
45
|
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const NonStreamingOutputFormats: core.serialization.Schema<serializers.NonStreamingOutputFormats.Raw, ElevenLabs.NonStreamingOutputFormats>;
|
|
5
|
+
export declare namespace NonStreamingOutputFormats {
|
|
6
|
+
type Raw = "wav_8000" | "wav_16000" | "wav_22050" | "wav_24000" | "wav_32000" | "wav_44100" | "wav_48000";
|
|
7
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.NonStreamingOutputFormats = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.NonStreamingOutputFormats = core.serialization.enum_([
|
|
40
|
+
"wav_8000",
|
|
41
|
+
"wav_16000",
|
|
42
|
+
"wav_22050",
|
|
43
|
+
"wav_24000",
|
|
44
|
+
"wav_32000",
|
|
45
|
+
"wav_44100",
|
|
46
|
+
"wav_48000",
|
|
47
|
+
]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const PermissionType: core.serialization.Schema<serializers.PermissionType.Raw, ElevenLabs.PermissionType>;
|
|
5
5
|
export declare namespace PermissionType {
|
|
6
|
-
type Raw = "text_to_speech" | "speech_to_speech" | "speech_to_text" | "models_read" | "models_write" | "voices_read" | "voices_write" | "speech_history_read" | "speech_history_write" | "sound_generation" | "audio_isolation" | "voice_generation" | "dubbing_read" | "dubbing_write" | "pronunciation_dictionaries_read" | "pronunciation_dictionaries_write" | "user_read" | "user_write" | "projects_read" | "projects_write" | "audio_native_read" | "audio_native_write" | "workspace_read" | "workspace_write" | "forced_alignment" | "convai_read" | "convai_write" | "music_generation" | "add_voice_from_voice_library" | "create_instant_voice_clone" | "create_professional_voice_clone" | "publish_voice_to_voice_library" | "share_voice_externally" | "create_user_api_key" | "workspace_analytics_full_read";
|
|
6
|
+
type Raw = "text_to_speech" | "speech_to_speech" | "speech_to_text" | "models_read" | "models_write" | "voices_read" | "voices_write" | "speech_history_read" | "speech_history_write" | "sound_generation" | "audio_isolation" | "voice_generation" | "dubbing_read" | "dubbing_write" | "pronunciation_dictionaries_read" | "pronunciation_dictionaries_write" | "user_read" | "user_write" | "projects_read" | "projects_write" | "audio_native_read" | "audio_native_write" | "workspace_read" | "workspace_write" | "forced_alignment" | "convai_read" | "convai_write" | "music_generation" | "add_voice_from_voice_library" | "create_instant_voice_clone" | "create_professional_voice_clone" | "publish_voice_to_voice_library" | "share_voice_externally" | "create_user_api_key" | "workspace_analytics_full_read" | "webhooks_write" | "service_account_write" | "group_members_manage" | "workspace_members_invite" | "workspace_members_remove" | "terms_of_service_accept";
|
|
7
7
|
}
|
|
@@ -72,4 +72,10 @@ exports.PermissionType = core.serialization.enum_([
|
|
|
72
72
|
"share_voice_externally",
|
|
73
73
|
"create_user_api_key",
|
|
74
74
|
"workspace_analytics_full_read",
|
|
75
|
+
"webhooks_write",
|
|
76
|
+
"service_account_write",
|
|
77
|
+
"group_members_manage",
|
|
78
|
+
"workspace_members_invite",
|
|
79
|
+
"workspace_members_remove",
|
|
80
|
+
"terms_of_service_accept",
|
|
75
81
|
]);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const ProcedureDraftRef: core.serialization.ObjectSchema<serializers.ProcedureDraftRef.Raw, ElevenLabs.ProcedureDraftRef>;
|
|
5
|
+
export declare namespace ProcedureDraftRef {
|
|
6
|
+
interface Raw {
|
|
7
|
+
procedure_id: string;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.ProcedureDraftRef = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.
|
|
40
|
-
|
|
39
|
+
exports.ProcedureDraftRef = core.serialization.object({
|
|
40
|
+
procedureId: core.serialization.property("procedure_id", core.serialization.string()),
|
|
41
41
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const ProcedureVersionRef: core.serialization.ObjectSchema<serializers.ProcedureVersionRef.Raw, ElevenLabs.ProcedureVersionRef>;
|
|
5
|
+
export declare namespace ProcedureVersionRef {
|
|
6
|
+
interface Raw {
|
|
7
|
+
procedure_id: string;
|
|
8
|
+
version_id: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -34,10 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
38
|
-
const core = __importStar(require("
|
|
39
|
-
exports.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
tokenCode: core.serialization.property("token_code", core.serialization.string()),
|
|
37
|
+
exports.ProcedureVersionRef = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.ProcedureVersionRef = core.serialization.object({
|
|
40
|
+
procedureId: core.serialization.property("procedure_id", core.serialization.string()),
|
|
41
|
+
versionId: core.serialization.property("version_id", core.serialization.string()),
|
|
43
42
|
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const ResponseFilterMode: core.serialization.Schema<serializers.ResponseFilterMode.Raw, ElevenLabs.ResponseFilterMode>;
|
|
5
|
+
export declare namespace ResponseFilterMode {
|
|
6
|
+
type Raw = "all" | "allow";
|
|
7
|
+
}
|