@elevenlabs/elevenlabs-js 2.53.0 → 2.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.fern/metadata.json +3 -7
- package/.fern/replay.lock +8 -2
- package/BaseClient.js +2 -2
- package/Client.js +1 -1
- package/api/resources/audioIsolation/client/Client.js +4 -8
- package/api/resources/audioNative/client/Client.js +4 -4
- package/api/resources/conversationalAi/client/Client.js +4 -8
- package/api/resources/conversationalAi/resources/agents/client/Client.js +9 -25
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +14 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +53 -13
- package/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +2 -10
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/requests/WidgetGetRequest.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +6 -10
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +16 -28
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +7 -1
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/index.js +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +9 -11
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -0
- package/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +7 -11
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.d.ts +6 -2
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.js +15 -6
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.d.ts +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.js +15 -0
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.d.ts +13 -0
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/exotel/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -11
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -3
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +12 -24
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/llm/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -5
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +4 -4
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +6 -14
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +6 -14
- package/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/tests/client/Client.js +7 -11
- package/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js +4 -8
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +3 -7
- package/api/resources/conversationalAi/resources/tools/client/Client.js +6 -18
- package/api/resources/conversationalAi/resources/tools/resources/executions/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/users/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/whatsapp/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +4 -8
- package/api/resources/dubbing/client/Client.d.ts +4 -0
- package/api/resources/dubbing/client/Client.js +40 -10
- package/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +13 -1
- package/api/resources/dubbing/resources/audio/client/Client.js +1 -1
- package/api/resources/dubbing/resources/resource/client/Client.js +6 -6
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +3 -3
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
- package/api/resources/dubbing/resources/transcript/client/Client.js +1 -5
- package/api/resources/dubbing/resources/transcripts/client/Client.js +1 -1
- package/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +6 -0
- package/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +9 -0
- package/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +5 -0
- package/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +8 -0
- package/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +8 -0
- package/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +11 -0
- package/api/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +6 -0
- package/api/resources/dubbing/types/DubbingListRequestOrderBy.js +9 -0
- package/api/resources/dubbing/types/index.d.ts +4 -0
- package/api/resources/dubbing/types/index.js +4 -0
- package/api/resources/environmentVariables/client/Client.js +4 -8
- package/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
- package/api/resources/forcedAlignment/client/Client.js +1 -1
- package/api/resources/history/client/Client.js +5 -9
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/music/client/Client.d.ts +1 -1
- package/api/resources/music/client/Client.js +16 -30
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +4 -4
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -4
- package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +3 -3
- package/api/resources/music/resources/compositionPlan/client/Client.js +1 -1
- package/api/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.d.ts +0 -3
- package/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.d.ts +0 -3
- package/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts +0 -3
- package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +29 -0
- package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +32 -0
- package/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +29 -0
- package/api/resources/music/types/MusicComposeRequestOutputFormat.js +32 -0
- package/api/resources/music/types/MusicStreamRequestOutputFormat.d.ts +29 -0
- package/api/resources/music/types/MusicStreamRequestOutputFormat.js +32 -0
- package/api/resources/music/types/index.d.ts +3 -0
- package/api/resources/music/types/index.js +3 -0
- package/api/resources/productions/resources/orders/client/Client.js +5 -9
- package/api/resources/productions/resources/orders/resources/deliverables/client/Client.js +1 -1
- package/api/resources/productions/resources/orders/resources/items/client/Client.js +2 -2
- package/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
- package/api/resources/productions/resources/orders/resources/media/client/Client.js +2 -2
- package/api/resources/pronunciationDictionaries/client/Client.js +6 -10
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +3 -3
- package/api/resources/samples/client/Client.js +1 -1
- package/api/resources/serviceAccounts/client/Client.js +1 -1
- package/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +4 -4
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +4 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
- package/api/resources/speechEngine/client/Client.js +5 -9
- package/api/resources/speechToSpeech/client/Client.js +2 -10
- package/api/resources/speechToText/client/Client.d.ts +1 -1
- package/api/resources/speechToText/client/Client.js +5 -6
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
- package/api/resources/speechToText/resources/transcripts/client/Client.js +2 -2
- package/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +6 -0
- package/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js +9 -0
- package/api/resources/speechToText/types/index.d.ts +1 -0
- package/api/resources/speechToText/types/index.js +1 -0
- package/api/resources/studio/client/Client.js +1 -1
- package/api/resources/studio/resources/projects/client/Client.js +7 -11
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
- package/api/resources/textToDialogue/client/Client.js +4 -20
- package/api/resources/textToSoundEffects/client/Client.js +1 -5
- package/api/resources/textToSpeech/client/Client.js +4 -20
- package/api/resources/textToVoice/client/Client.js +4 -16
- package/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
- package/api/resources/textToVoice/resources/preview/client/Client.js +1 -1
- package/api/resources/tokens/resources/singleUse/client/Client.js +1 -1
- package/api/resources/usage/client/Client.js +1 -5
- package/api/resources/user/client/Client.js +1 -1
- package/api/resources/user/resources/subscription/client/Client.js +1 -1
- package/api/resources/voices/client/Client.d.ts +17 -17
- package/api/resources/voices/client/Client.js +50 -66
- package/api/resources/voices/resources/ivc/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/client/Client.js +3 -3
- package/api/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
- package/api/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -5
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
- package/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
- package/api/resources/voices/resources/settings/client/Client.js +3 -3
- package/api/resources/webhooks/client/Client.js +4 -8
- package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
- package/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +1 -1
- package/api/resources/workspace/resources/auditLogs/client/Client.js +1 -5
- package/api/resources/workspace/resources/authConnections/client/Client.js +4 -4
- package/api/resources/workspace/resources/groups/client/Client.js +2 -6
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/api/resources/workspace/resources/members/client/Client.js +1 -1
- package/api/resources/workspace/resources/resources/client/Client.js +3 -7
- package/api/resources/workspace/resources/usage/client/Client.js +1 -1
- package/api/resources/workspaces/resources/apiKeys/client/Client.js +1 -5
- package/api/types/AgentConfig.d.ts +1 -1
- package/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/api/types/AgentVersionParents.d.ts +1 -0
- package/api/types/AnalysisProperty.d.ts +2 -0
- package/api/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/api/types/BaseTurnConfig.d.ts +2 -0
- package/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +3 -0
- package/api/types/CaptionStyleSectionAnimationModelEnterType.js +3 -0
- package/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +3 -0
- package/api/types/CaptionStyleSectionAnimationModelExitType.js +3 -0
- package/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +3 -0
- package/api/types/CaptionStyleWordAnimationModelEnterType.js +3 -0
- package/api/types/CaptionStyleWordAnimationModelExitType.d.ts +3 -0
- package/api/types/CaptionStyleWordAnimationModelExitType.js +3 -0
- package/api/types/CompositionPlanChunksItem.d.ts +1 -1
- package/api/types/ConversationConfigInput.d.ts +2 -0
- package/api/types/ConversationConfigOutput.d.ts +2 -0
- package/api/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
- package/api/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
- package/api/types/ConversationInitiationClientDataInternal.d.ts +1 -1
- package/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
- package/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
- package/api/types/ConversationProduct.d.ts +6 -0
- package/api/types/ConversationProduct.js +9 -0
- package/api/types/ConversationSimulationSpecification.d.ts +1 -1
- package/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/api/types/CreateResponseUnitTestRequest.d.ts +1 -1
- package/api/types/CreateSimulationTestRequest.d.ts +4 -2
- package/api/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/api/types/DynamicVariablesConfigInput.d.ts +1 -1
- package/api/types/DynamicVariablesConfigOutput.d.ts +1 -1
- package/api/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
- package/api/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
- package/api/types/FineTuningResponse.d.ts +2 -2
- package/api/types/{GenerationChunk.d.ts → GenerationChunkInput.d.ts} +3 -3
- package/api/types/GenerationChunkInputConditionStrength.d.ts +7 -0
- package/{dist/api/types/GenerationChunkConditionStrength.js → api/types/GenerationChunkInputConditionStrength.js} +2 -2
- package/{dist/api/types/GenerationChunkContextAdherence.d.ts → api/types/GenerationChunkInputContextAdherence.d.ts} +2 -2
- package/api/types/{GenerationChunkContextAdherence.js → GenerationChunkInputContextAdherence.js} +2 -2
- package/api/types/GenerationChunkOutput.d.ts +17 -0
- package/api/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
- package/api/types/GenerationChunkOutputConditionStrength.js +10 -0
- package/api/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
- package/api/types/GenerationChunkOutputContextAdherence.js +10 -0
- package/api/types/GetResponseUnitTestResponseModel.d.ts +1 -1
- package/api/types/GetSimulationTestResponseModel.d.ts +4 -2
- package/api/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
- package/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/api/types/LockReason.d.ts +7 -0
- package/api/types/LockReason.js +10 -0
- package/api/types/McpToolConfigOverrideInput.d.ts +1 -1
- package/api/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/api/types/MusicAllowedOutputFormats.d.ts +2 -0
- package/api/types/MusicOnlyOutputFormats.d.ts +7 -0
- package/api/types/MusicOnlyOutputFormats.js +10 -0
- package/api/types/MusicOutputFormat.d.ts +2 -0
- package/api/types/OpenAiAudioFormat.d.ts +6 -0
- package/{dist/api/types/AudioFormat.js → api/types/OpenAiAudioFormat.js} +2 -2
- package/api/types/OpenAiAudioInputFormat.d.ts +1 -1
- package/api/types/OpenAiAudioOutputFormat.d.ts +1 -1
- package/api/types/ProjectExtendedResponse.d.ts +1 -1
- package/api/types/ProjectResponse.d.ts +1 -1
- package/api/types/ResponseUnitTestModel.d.ts +1 -1
- package/api/types/ReviewResponseModel.d.ts +1 -1
- package/api/types/SimulationTestModel.d.ts +4 -2
- package/api/types/SoftTimeoutConfig.d.ts +4 -2
- package/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
- package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +4 -2
- package/api/types/SongSection.d.ts +2 -2
- package/api/types/SpeakerSeparationResponseModel.d.ts +1 -1
- package/api/types/SpeechToTextWordResponseModel.d.ts +2 -0
- package/api/types/ToolCallUnitTestModel.d.ts +1 -1
- package/api/types/TopicDiscoverySettings.d.ts +5 -0
- package/api/types/TurnConfig.d.ts +2 -0
- package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/api/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
- package/api/types/UpdateOAuth2JwtRequest.d.ts +1 -1
- package/api/types/UpdateResponseUnitTestRequest.d.ts +1 -1
- package/api/types/UpdateSimulationTestRequest.d.ts +4 -2
- package/api/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
- package/api/types/WebhookHmacSettings.d.ts +1 -1
- package/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -0
- package/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/api/types/index.d.ts +13 -9
- package/api/types/index.js +13 -9
- package/biome.json +1 -1
- package/core/fetcher/Fetcher.d.ts +0 -8
- package/core/fetcher/Fetcher.js +8 -13
- package/core/fetcher/getResponseBody.js +0 -11
- package/core/fetcher/requestWithRetries.js +1 -4
- package/core/file/file.js +2 -3
- package/core/schemas/builders/enum/enum.d.ts +0 -1
- package/core/schemas/builders/enum/enum.js +0 -7
- package/core/schemas/builders/enum/index.d.ts +1 -1
- package/core/schemas/builders/enum/index.js +1 -2
- package/core/schemas/builders/schema-utils/JsonError.js +1 -2
- package/core/schemas/builders/schema-utils/ParseError.js +1 -2
- package/core/url/index.d.ts +0 -1
- package/core/url/index.js +1 -3
- package/core/url/qs.d.ts +1 -2
- package/core/url/qs.js +12 -24
- package/dist/BaseClient.js +2 -2
- package/dist/Client.js +1 -1
- package/dist/api/resources/audioIsolation/client/Client.js +4 -8
- package/dist/api/resources/audioNative/client/Client.js +4 -4
- package/dist/api/resources/conversationalAi/client/Client.js +4 -8
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +9 -25
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +14 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +53 -13
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +2 -10
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/requests/WidgetGetRequest.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +6 -10
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +16 -28
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +7 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +9 -11
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +7 -11
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.d.ts +6 -2
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.js +15 -6
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.js +15 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/exotel/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -11
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -3
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +12 -24
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/llm/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -5
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +4 -4
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +6 -14
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +6 -14
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +7 -11
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js +4 -8
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +3 -7
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +6 -18
- package/dist/api/resources/conversationalAi/resources/tools/resources/executions/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/users/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +4 -8
- package/dist/api/resources/dubbing/client/Client.d.ts +4 -0
- package/dist/api/resources/dubbing/client/Client.js +40 -10
- package/dist/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +13 -1
- package/dist/api/resources/dubbing/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +6 -6
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +3 -3
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/transcript/client/Client.js +1 -5
- package/dist/api/resources/dubbing/resources/transcripts/client/Client.js +1 -1
- package/dist/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +6 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +9 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +5 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +8 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +8 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +11 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +6 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestOrderBy.js +9 -0
- package/dist/api/resources/dubbing/types/index.d.ts +4 -0
- package/dist/api/resources/dubbing/types/index.js +4 -0
- package/dist/api/resources/environmentVariables/client/Client.js +4 -8
- package/dist/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
- package/dist/api/resources/forcedAlignment/client/Client.js +1 -1
- package/dist/api/resources/history/client/Client.js +5 -9
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/music/client/Client.d.ts +1 -1
- package/dist/api/resources/music/client/Client.js +16 -30
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +4 -4
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -4
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +3 -3
- package/dist/api/resources/music/resources/compositionPlan/client/Client.js +1 -1
- package/dist/api/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.d.ts +0 -3
- package/dist/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.d.ts +0 -3
- package/dist/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts +0 -3
- package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +29 -0
- package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +32 -0
- package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +29 -0
- package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.js +32 -0
- package/dist/api/resources/music/types/MusicStreamRequestOutputFormat.d.ts +29 -0
- package/dist/api/resources/music/types/MusicStreamRequestOutputFormat.js +32 -0
- package/dist/api/resources/music/types/index.d.ts +3 -0
- package/dist/api/resources/music/types/index.js +3 -0
- package/dist/api/resources/productions/resources/orders/client/Client.js +5 -9
- package/dist/api/resources/productions/resources/orders/resources/deliverables/client/Client.js +1 -1
- package/dist/api/resources/productions/resources/orders/resources/items/client/Client.js +2 -2
- package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
- package/dist/api/resources/productions/resources/orders/resources/media/client/Client.js +2 -2
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +6 -10
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +3 -3
- package/dist/api/resources/samples/client/Client.js +1 -1
- package/dist/api/resources/serviceAccounts/client/Client.js +1 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +4 -4
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +4 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
- package/dist/api/resources/speechEngine/client/Client.js +5 -9
- package/dist/api/resources/speechToSpeech/client/Client.js +2 -10
- package/dist/api/resources/speechToText/client/Client.d.ts +1 -1
- package/dist/api/resources/speechToText/client/Client.js +5 -6
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
- package/dist/api/resources/speechToText/resources/transcripts/client/Client.js +2 -2
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +6 -0
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js +9 -0
- package/dist/api/resources/speechToText/types/index.d.ts +1 -0
- package/dist/api/resources/speechToText/types/index.js +1 -0
- package/dist/api/resources/studio/client/Client.js +1 -1
- package/dist/api/resources/studio/resources/projects/client/Client.js +7 -11
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
- package/dist/api/resources/textToDialogue/client/Client.js +4 -20
- package/dist/api/resources/textToSoundEffects/client/Client.js +1 -5
- package/dist/api/resources/textToSpeech/client/Client.js +4 -20
- package/dist/api/resources/textToVoice/client/Client.js +4 -16
- package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
- package/dist/api/resources/textToVoice/resources/preview/client/Client.js +1 -1
- package/dist/api/resources/tokens/resources/singleUse/client/Client.js +1 -1
- package/dist/api/resources/usage/client/Client.js +1 -5
- package/dist/api/resources/user/client/Client.js +1 -1
- package/dist/api/resources/user/resources/subscription/client/Client.js +1 -1
- package/dist/api/resources/voices/client/Client.d.ts +17 -17
- package/dist/api/resources/voices/client/Client.js +50 -66
- package/dist/api/resources/voices/resources/ivc/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/client/Client.js +3 -3
- package/dist/api/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -5
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/settings/client/Client.js +3 -3
- package/dist/api/resources/webhooks/client/Client.js +4 -8
- package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
- package/dist/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +1 -1
- package/dist/api/resources/workspace/resources/auditLogs/client/Client.js +1 -5
- package/dist/api/resources/workspace/resources/authConnections/client/Client.js +4 -4
- package/dist/api/resources/workspace/resources/groups/client/Client.js +2 -6
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/dist/api/resources/workspace/resources/members/client/Client.js +1 -1
- package/dist/api/resources/workspace/resources/resources/client/Client.js +3 -7
- package/dist/api/resources/workspace/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/workspaces/resources/apiKeys/client/Client.js +1 -5
- package/dist/api/types/AgentConfig.d.ts +1 -1
- package/dist/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/dist/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/dist/api/types/AgentVersionParents.d.ts +1 -0
- package/dist/api/types/AnalysisProperty.d.ts +2 -0
- package/dist/api/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/dist/api/types/BaseTurnConfig.d.ts +2 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +3 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.js +3 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +3 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelExitType.js +3 -0
- package/dist/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +3 -0
- package/dist/api/types/CaptionStyleWordAnimationModelEnterType.js +3 -0
- package/dist/api/types/CaptionStyleWordAnimationModelExitType.d.ts +3 -0
- package/dist/api/types/CaptionStyleWordAnimationModelExitType.js +3 -0
- package/dist/api/types/CompositionPlanChunksItem.d.ts +1 -1
- package/dist/api/types/ConversationConfigInput.d.ts +2 -0
- package/dist/api/types/ConversationConfigOutput.d.ts +2 -0
- package/dist/api/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
- package/dist/api/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
- package/dist/api/types/ConversationInitiationClientDataInternal.d.ts +1 -1
- package/dist/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
- package/dist/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
- package/dist/api/types/ConversationProduct.d.ts +6 -0
- package/dist/api/types/ConversationProduct.js +9 -0
- package/dist/api/types/ConversationSimulationSpecification.d.ts +1 -1
- package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/dist/api/types/CreateResponseUnitTestRequest.d.ts +1 -1
- package/dist/api/types/CreateSimulationTestRequest.d.ts +4 -2
- package/dist/api/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/api/types/DynamicVariablesConfigInput.d.ts +1 -1
- package/dist/api/types/DynamicVariablesConfigOutput.d.ts +1 -1
- package/dist/api/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
- package/dist/api/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
- package/dist/api/types/FineTuningResponse.d.ts +2 -2
- package/dist/api/types/{GenerationChunk.d.ts → GenerationChunkInput.d.ts} +3 -3
- package/dist/api/types/GenerationChunkInputConditionStrength.d.ts +7 -0
- package/{api/types/GenerationChunkConditionStrength.js → dist/api/types/GenerationChunkInputConditionStrength.js} +2 -2
- package/{api/types/GenerationChunkContextAdherence.d.ts → dist/api/types/GenerationChunkInputContextAdherence.d.ts} +2 -2
- package/dist/api/types/{GenerationChunkContextAdherence.js → GenerationChunkInputContextAdherence.js} +2 -2
- package/dist/api/types/GenerationChunkOutput.d.ts +17 -0
- package/dist/api/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
- package/dist/api/types/GenerationChunkOutputConditionStrength.js +10 -0
- package/dist/api/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
- package/dist/api/types/GenerationChunkOutputContextAdherence.js +10 -0
- package/dist/api/types/GetResponseUnitTestResponseModel.d.ts +1 -1
- package/dist/api/types/GetSimulationTestResponseModel.d.ts +4 -2
- package/dist/api/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
- package/dist/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/dist/api/types/LockReason.d.ts +7 -0
- package/dist/api/types/LockReason.js +10 -0
- package/dist/api/types/McpToolConfigOverrideInput.d.ts +1 -1
- package/dist/api/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/dist/api/types/MusicAllowedOutputFormats.d.ts +2 -0
- package/dist/api/types/MusicOnlyOutputFormats.d.ts +7 -0
- package/dist/api/types/MusicOnlyOutputFormats.js +10 -0
- package/dist/api/types/MusicOutputFormat.d.ts +2 -0
- package/dist/api/types/MusicOutputFormat.js +3 -0
- package/dist/api/types/OpenAiAudioFormat.d.ts +6 -0
- package/{api/types/AudioFormat.js → dist/api/types/OpenAiAudioFormat.js} +2 -2
- package/dist/api/types/OpenAiAudioInputFormat.d.ts +1 -1
- package/dist/api/types/OpenAiAudioOutputFormat.d.ts +1 -1
- package/dist/api/types/ProjectExtendedResponse.d.ts +1 -1
- package/dist/api/types/ProjectResponse.d.ts +1 -1
- package/dist/api/types/ResponseUnitTestModel.d.ts +1 -1
- package/dist/api/types/ReviewResponseModel.d.ts +1 -1
- package/dist/api/types/SimulationTestModel.d.ts +4 -2
- package/dist/api/types/SoftTimeoutConfig.d.ts +4 -2
- package/dist/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
- package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +4 -2
- package/dist/api/types/SongSection.d.ts +2 -2
- package/dist/api/types/SpeakerSeparationResponseModel.d.ts +1 -1
- package/dist/api/types/SpeechToTextWordResponseModel.d.ts +2 -0
- package/dist/api/types/ToolCallUnitTestModel.d.ts +1 -1
- package/dist/api/types/TopicDiscoverySettings.d.ts +5 -0
- package/dist/api/types/TopicDiscoverySettings.js +3 -0
- package/dist/api/types/TurnConfig.d.ts +2 -0
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/dist/api/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
- package/dist/api/types/UpdateOAuth2JwtRequest.d.ts +1 -1
- package/dist/api/types/UpdateResponseUnitTestRequest.d.ts +1 -1
- package/dist/api/types/UpdateSimulationTestRequest.d.ts +4 -2
- package/dist/api/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/api/types/WebhookHmacSettings.d.ts +1 -1
- package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -0
- package/dist/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/dist/api/types/index.d.ts +13 -9
- package/dist/api/types/index.js +13 -9
- package/dist/core/fetcher/Fetcher.d.ts +0 -8
- package/dist/core/fetcher/Fetcher.js +8 -13
- package/dist/core/fetcher/getResponseBody.js +0 -11
- package/dist/core/fetcher/requestWithRetries.js +1 -4
- package/dist/core/file/file.js +2 -3
- package/dist/core/schemas/builders/enum/enum.d.ts +0 -1
- package/dist/core/schemas/builders/enum/enum.js +0 -7
- package/dist/core/schemas/builders/enum/index.d.ts +1 -1
- package/dist/core/schemas/builders/enum/index.js +1 -2
- package/dist/core/schemas/builders/schema-utils/JsonError.js +1 -2
- package/dist/core/schemas/builders/schema-utils/ParseError.js +1 -2
- package/dist/core/url/index.d.ts +0 -1
- package/dist/core/url/index.js +1 -3
- package/dist/core/url/qs.d.ts +1 -2
- package/dist/core/url/qs.js +12 -24
- package/dist/errors/ElevenLabsError.d.ts +1 -3
- package/dist/errors/ElevenLabsError.js +1 -4
- package/dist/errors/ElevenLabsTimeoutError.d.ts +1 -4
- package/dist/errors/ElevenLabsTimeoutError.js +1 -4
- package/dist/errors/handleNonStatusCodeError.js +1 -4
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +1 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +1 -1
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.js +3 -1
- package/dist/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +7 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +39 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +7 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +39 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +7 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +39 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +7 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestOrderBy.js +39 -0
- package/dist/serialization/resources/dubbing/types/index.d.ts +4 -0
- package/dist/serialization/resources/dubbing/types/index.js +4 -0
- package/dist/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
- package/dist/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +1 -1
- package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +7 -0
- package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +66 -0
- package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +7 -0
- package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +66 -0
- package/dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +7 -0
- package/dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.js +66 -0
- package/dist/serialization/resources/music/types/index.d.ts +3 -0
- package/dist/serialization/resources/music/types/index.js +3 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +7 -0
- package/dist/serialization/{types/CoachingAgentSettings.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js} +7 -7
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +7 -0
- package/dist/serialization/{types/CodeToolAllowedDomain.js → resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js} +3 -6
- package/dist/serialization/resources/speechToText/types/index.d.ts +1 -0
- package/dist/serialization/resources/speechToText/types/index.js +1 -0
- package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
- package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +1 -1
- package/dist/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
- package/dist/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.js +1 -1
- package/dist/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
- package/dist/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.js +1 -1
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -1
- package/dist/serialization/types/AgentConfig.d.ts +1 -1
- package/dist/serialization/types/AgentConfig.js +1 -1
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +1 -1
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +1 -1
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
- package/dist/serialization/types/AgentVersionParents.d.ts +1 -0
- package/dist/serialization/types/AgentVersionParents.js +1 -0
- package/dist/serialization/types/AnalysisProperty.d.ts +1 -0
- package/dist/serialization/types/AnalysisProperty.js +1 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/dist/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
- package/dist/serialization/types/BaseTurnConfig.d.ts +1 -0
- package/dist/serialization/types/BaseTurnConfig.js +1 -0
- package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
- package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +1 -1
- package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
- package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.js +1 -1
- package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
- package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.js +1 -1
- package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
- package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.js +1 -1
- package/dist/serialization/types/CompositionPlanChunksItem.d.ts +2 -2
- package/dist/serialization/types/CompositionPlanChunksItem.js +2 -2
- package/dist/serialization/types/ConversationConfigInput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigInput.js +2 -0
- package/dist/serialization/types/ConversationConfigOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigOutput.js +2 -0
- package/dist/serialization/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigWorkflowOverrideInput.js +2 -0
- package/dist/serialization/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigWorkflowOverrideOutput.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.js +1 -0
- package/dist/serialization/types/ConversationInitiationClientDataInternal.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationClientDataInternal.js +1 -1
- package/dist/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationClientDataRequestInput.js +1 -1
- package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.js +1 -1
- package/dist/serialization/types/ConversationProduct.d.ts +7 -0
- package/dist/serialization/types/{GenerationChunkContextAdherence.js → ConversationProduct.js} +2 -2
- package/dist/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
- package/dist/serialization/types/ConversationSimulationSpecification.js +1 -1
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +1 -1
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +1 -1
- package/dist/serialization/types/CreateResponseUnitTestRequest.d.ts +1 -1
- package/dist/serialization/types/CreateResponseUnitTestRequest.js +1 -1
- package/dist/serialization/types/CreateSimulationTestRequest.d.ts +2 -1
- package/dist/serialization/types/CreateSimulationTestRequest.js +2 -1
- package/dist/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/serialization/types/CreateToolCallUnitTestRequest.js +1 -1
- package/dist/serialization/types/DynamicVariablesConfigInput.d.ts +1 -1
- package/dist/serialization/types/DynamicVariablesConfigInput.js +1 -1
- package/dist/serialization/types/DynamicVariablesConfigOutput.d.ts +1 -1
- package/dist/serialization/types/DynamicVariablesConfigOutput.js +1 -1
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.js +1 -1
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.js +1 -1
- package/dist/serialization/types/FineTuningResponse.d.ts +2 -2
- package/dist/serialization/types/FineTuningResponse.js +2 -2
- package/dist/serialization/types/GenerationChunkInput.d.ts +18 -0
- package/dist/serialization/types/{GenerationChunk.js → GenerationChunkInput.js} +6 -6
- package/dist/serialization/types/GenerationChunkInputConditionStrength.d.ts +7 -0
- package/dist/serialization/types/GenerationChunkInputConditionStrength.js +39 -0
- package/dist/serialization/types/GenerationChunkInputContextAdherence.d.ts +7 -0
- package/dist/serialization/types/GenerationChunkInputContextAdherence.js +39 -0
- package/dist/serialization/types/GenerationChunkOutput.d.ts +18 -0
- package/dist/serialization/types/GenerationChunkOutput.js +50 -0
- package/dist/serialization/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
- package/dist/serialization/types/GenerationChunkOutputConditionStrength.js +39 -0
- package/dist/serialization/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
- package/dist/serialization/types/GenerationChunkOutputContextAdherence.js +39 -0
- package/dist/serialization/types/GetResponseUnitTestResponseModel.d.ts +1 -1
- package/dist/serialization/types/GetResponseUnitTestResponseModel.js +1 -1
- package/dist/serialization/types/GetSimulationTestResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetSimulationTestResponseModel.js +2 -1
- package/dist/serialization/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
- package/dist/serialization/types/GetToolCallUnitTestResponseModel.js +1 -1
- package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/dist/serialization/types/LockReason.d.ts +7 -0
- package/dist/serialization/types/{GenerationChunkConditionStrength.js → LockReason.js} +2 -2
- package/dist/serialization/types/McpToolConfigOverrideInput.d.ts +1 -1
- package/dist/serialization/types/McpToolConfigOverrideInput.js +1 -1
- package/dist/serialization/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/dist/serialization/types/McpToolConfigOverrideOutput.js +1 -1
- package/dist/serialization/types/MusicAllowedOutputFormats.d.ts +9 -0
- package/dist/serialization/types/MusicAllowedOutputFormats.js +41 -0
- package/dist/serialization/types/MusicOnlyOutputFormats.d.ts +7 -0
- package/dist/serialization/types/MusicOnlyOutputFormats.js +39 -0
- package/dist/serialization/types/MusicOutputFormat.d.ts +8 -0
- package/dist/serialization/types/{CodeToolContextVariable.js → MusicOutputFormat.js} +3 -5
- package/dist/serialization/types/{AudioFormat.d.ts → OpenAiAudioFormat.d.ts} +2 -2
- package/{serialization/types/GenerationChunkContextAdherence.js → dist/serialization/types/OpenAiAudioFormat.js} +2 -2
- package/dist/serialization/types/OpenAiAudioInputFormat.d.ts +2 -2
- package/dist/serialization/types/OpenAiAudioInputFormat.js +2 -2
- package/dist/serialization/types/OpenAiAudioOutputFormat.d.ts +2 -2
- package/dist/serialization/types/OpenAiAudioOutputFormat.js +2 -2
- package/dist/serialization/types/ProjectExtendedResponse.d.ts +1 -1
- package/dist/serialization/types/ProjectExtendedResponse.js +1 -1
- package/dist/serialization/types/ProjectResponse.d.ts +1 -1
- package/dist/serialization/types/ProjectResponse.js +1 -1
- package/dist/serialization/types/ResponseUnitTestModel.d.ts +1 -1
- package/dist/serialization/types/ResponseUnitTestModel.js +1 -1
- package/dist/serialization/types/ReviewResponseModel.d.ts +1 -1
- package/dist/serialization/types/ReviewResponseModel.js +1 -1
- package/dist/serialization/types/SimulationTestModel.d.ts +2 -1
- package/dist/serialization/types/SimulationTestModel.js +2 -1
- package/dist/serialization/types/SoftTimeoutConfig.d.ts +1 -0
- package/dist/serialization/types/SoftTimeoutConfig.js +1 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
- package/dist/serialization/types/SpeakerSeparationResponseModel.d.ts +1 -1
- package/dist/serialization/types/SpeakerSeparationResponseModel.js +1 -1
- package/dist/serialization/types/SpeechToTextWordResponseModel.d.ts +1 -0
- package/dist/serialization/types/SpeechToTextWordResponseModel.js +1 -0
- package/dist/serialization/types/ToolCallUnitTestModel.d.ts +1 -1
- package/dist/serialization/types/ToolCallUnitTestModel.js +1 -1
- package/dist/serialization/types/TopicDiscoverySettings.d.ts +7 -0
- package/{serialization/types/AudioFormat.js → dist/serialization/types/TopicDiscoverySettings.js} +2 -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/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
- package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.js +2 -2
- package/dist/serialization/types/UpdateOAuth2JwtRequest.d.ts +1 -1
- package/dist/serialization/types/UpdateOAuth2JwtRequest.js +1 -1
- package/dist/serialization/types/UpdateResponseUnitTestRequest.d.ts +1 -1
- package/dist/serialization/types/UpdateResponseUnitTestRequest.js +1 -1
- package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +2 -1
- package/dist/serialization/types/UpdateSimulationTestRequest.js +2 -1
- package/dist/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/serialization/types/UpdateToolCallUnitTestRequest.js +1 -1
- package/dist/serialization/types/WebhookHmacSettings.d.ts +1 -1
- package/dist/serialization/types/WebhookHmacSettings.js +1 -1
- package/dist/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -0
- package/dist/serialization/types/WorkspaceApiKeyResponseModel.js +3 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.js +1 -0
- package/dist/serialization/types/index.d.ts +13 -9
- package/dist/serialization/types/index.js +13 -9
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/errors/ElevenLabsError.d.ts +1 -3
- package/errors/ElevenLabsError.js +1 -4
- package/errors/ElevenLabsTimeoutError.d.ts +1 -4
- package/errors/ElevenLabsTimeoutError.js +1 -4
- package/errors/handleNonStatusCodeError.js +1 -4
- package/package.json +6 -6
- package/reference.md +116 -27
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +1 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +1 -1
- package/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
- package/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.js +3 -1
- package/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +7 -0
- package/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +39 -0
- package/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +7 -0
- package/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +39 -0
- package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +7 -0
- package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +39 -0
- package/serialization/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +7 -0
- package/serialization/resources/dubbing/types/DubbingListRequestOrderBy.js +39 -0
- package/serialization/resources/dubbing/types/index.d.ts +4 -0
- package/serialization/resources/dubbing/types/index.js +4 -0
- package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
- package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +1 -1
- package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +7 -0
- package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +66 -0
- package/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +7 -0
- package/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +66 -0
- package/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +7 -0
- package/serialization/resources/music/types/MusicStreamRequestOutputFormat.js +66 -0
- package/serialization/resources/music/types/index.d.ts +3 -0
- package/serialization/resources/music/types/index.js +3 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +7 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js +43 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
- package/serialization/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +7 -0
- package/serialization/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js +39 -0
- package/serialization/resources/speechToText/types/index.d.ts +1 -0
- package/serialization/resources/speechToText/types/index.js +1 -0
- package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
- package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +1 -1
- package/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
- package/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.js +1 -1
- package/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
- package/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.js +1 -1
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -1
- package/serialization/types/AgentConfig.d.ts +1 -1
- package/serialization/types/AgentConfig.js +1 -1
- package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +1 -1
- package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +1 -1
- package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
- package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
- package/serialization/types/AgentVersionParents.d.ts +1 -0
- package/serialization/types/AgentVersionParents.js +1 -0
- package/serialization/types/AnalysisProperty.d.ts +1 -0
- package/serialization/types/AnalysisProperty.js +1 -0
- package/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
- package/serialization/types/BaseTurnConfig.d.ts +1 -0
- package/serialization/types/BaseTurnConfig.js +1 -0
- package/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
- package/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +1 -1
- package/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
- package/serialization/types/CaptionStyleSectionAnimationModelExitType.js +1 -1
- package/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
- package/serialization/types/CaptionStyleWordAnimationModelEnterType.js +1 -1
- package/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
- package/serialization/types/CaptionStyleWordAnimationModelExitType.js +1 -1
- package/serialization/types/CompositionPlanChunksItem.d.ts +2 -2
- package/serialization/types/CompositionPlanChunksItem.js +2 -2
- package/serialization/types/ConversationConfigInput.d.ts +2 -0
- package/serialization/types/ConversationConfigInput.js +2 -0
- package/serialization/types/ConversationConfigOutput.d.ts +2 -0
- package/serialization/types/ConversationConfigOutput.js +2 -0
- package/serialization/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
- package/serialization/types/ConversationConfigWorkflowOverrideInput.js +2 -0
- package/serialization/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
- package/serialization/types/ConversationConfigWorkflowOverrideOutput.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptResponseModel.js +1 -0
- package/serialization/types/ConversationInitiationClientDataInternal.d.ts +1 -1
- package/serialization/types/ConversationInitiationClientDataInternal.js +1 -1
- package/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
- package/serialization/types/ConversationInitiationClientDataRequestInput.js +1 -1
- package/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
- package/serialization/types/ConversationInitiationClientDataRequestOutput.js +1 -1
- package/serialization/types/ConversationProduct.d.ts +7 -0
- package/serialization/types/ConversationProduct.js +39 -0
- package/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
- package/serialization/types/ConversationSimulationSpecification.js +1 -1
- package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +1 -1
- package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +1 -1
- package/serialization/types/CreateResponseUnitTestRequest.d.ts +1 -1
- package/serialization/types/CreateResponseUnitTestRequest.js +1 -1
- package/serialization/types/CreateSimulationTestRequest.d.ts +2 -1
- package/serialization/types/CreateSimulationTestRequest.js +2 -1
- package/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/serialization/types/CreateToolCallUnitTestRequest.js +1 -1
- package/serialization/types/DynamicVariablesConfigInput.d.ts +1 -1
- package/serialization/types/DynamicVariablesConfigInput.js +1 -1
- package/serialization/types/DynamicVariablesConfigOutput.d.ts +1 -1
- package/serialization/types/DynamicVariablesConfigOutput.js +1 -1
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.js +1 -1
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.js +1 -1
- package/serialization/types/FineTuningResponse.d.ts +2 -2
- package/serialization/types/FineTuningResponse.js +2 -2
- package/serialization/types/GenerationChunkInput.d.ts +18 -0
- package/serialization/types/{GenerationChunk.js → GenerationChunkInput.js} +6 -6
- package/serialization/types/GenerationChunkInputConditionStrength.d.ts +7 -0
- package/serialization/types/GenerationChunkInputConditionStrength.js +39 -0
- package/serialization/types/GenerationChunkInputContextAdherence.d.ts +7 -0
- package/serialization/types/GenerationChunkInputContextAdherence.js +39 -0
- package/serialization/types/GenerationChunkOutput.d.ts +18 -0
- package/serialization/types/GenerationChunkOutput.js +50 -0
- package/serialization/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
- package/serialization/types/GenerationChunkOutputConditionStrength.js +39 -0
- package/serialization/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
- package/serialization/types/GenerationChunkOutputContextAdherence.js +39 -0
- package/serialization/types/GetResponseUnitTestResponseModel.d.ts +1 -1
- package/serialization/types/GetResponseUnitTestResponseModel.js +1 -1
- package/serialization/types/GetSimulationTestResponseModel.d.ts +2 -1
- package/serialization/types/GetSimulationTestResponseModel.js +2 -1
- package/serialization/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
- package/serialization/types/GetToolCallUnitTestResponseModel.js +1 -1
- package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/serialization/types/LockReason.d.ts +7 -0
- package/serialization/types/LockReason.js +39 -0
- package/serialization/types/McpToolConfigOverrideInput.d.ts +1 -1
- package/serialization/types/McpToolConfigOverrideInput.js +1 -1
- package/serialization/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/serialization/types/McpToolConfigOverrideOutput.js +1 -1
- package/serialization/types/MusicAllowedOutputFormats.d.ts +9 -0
- package/serialization/types/MusicAllowedOutputFormats.js +41 -0
- package/serialization/types/MusicOnlyOutputFormats.d.ts +7 -0
- package/serialization/types/MusicOnlyOutputFormats.js +39 -0
- package/serialization/types/MusicOutputFormat.d.ts +8 -0
- package/{dist/serialization/types/CoachedAgentSettings.js → serialization/types/MusicOutputFormat.js} +3 -5
- package/serialization/types/{AudioFormat.d.ts → OpenAiAudioFormat.d.ts} +2 -2
- package/serialization/types/OpenAiAudioFormat.js +39 -0
- package/serialization/types/OpenAiAudioInputFormat.d.ts +2 -2
- package/serialization/types/OpenAiAudioInputFormat.js +2 -2
- package/serialization/types/OpenAiAudioOutputFormat.d.ts +2 -2
- package/serialization/types/OpenAiAudioOutputFormat.js +2 -2
- package/serialization/types/ProjectExtendedResponse.d.ts +1 -1
- package/serialization/types/ProjectExtendedResponse.js +1 -1
- package/serialization/types/ProjectResponse.d.ts +1 -1
- package/serialization/types/ProjectResponse.js +1 -1
- package/serialization/types/ResponseUnitTestModel.d.ts +1 -1
- package/serialization/types/ResponseUnitTestModel.js +1 -1
- package/serialization/types/ReviewResponseModel.d.ts +1 -1
- package/serialization/types/ReviewResponseModel.js +1 -1
- package/serialization/types/SimulationTestModel.d.ts +2 -1
- package/serialization/types/SimulationTestModel.js +2 -1
- package/serialization/types/SoftTimeoutConfig.d.ts +1 -0
- package/serialization/types/SoftTimeoutConfig.js +1 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
- package/serialization/types/SpeakerSeparationResponseModel.d.ts +1 -1
- package/serialization/types/SpeakerSeparationResponseModel.js +1 -1
- package/serialization/types/SpeechToTextWordResponseModel.d.ts +1 -0
- package/serialization/types/SpeechToTextWordResponseModel.js +1 -0
- package/serialization/types/ToolCallUnitTestModel.d.ts +1 -1
- package/serialization/types/ToolCallUnitTestModel.js +1 -1
- package/serialization/types/TopicDiscoverySettings.d.ts +7 -0
- package/{dist/serialization/types/AudioFormat.js → serialization/types/TopicDiscoverySettings.js} +2 -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/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
- package/serialization/types/UpdateOAuth2ClientCredsRequest.js +2 -2
- package/serialization/types/UpdateOAuth2JwtRequest.d.ts +1 -1
- package/serialization/types/UpdateOAuth2JwtRequest.js +1 -1
- package/serialization/types/UpdateResponseUnitTestRequest.d.ts +1 -1
- package/serialization/types/UpdateResponseUnitTestRequest.js +1 -1
- package/serialization/types/UpdateSimulationTestRequest.d.ts +2 -1
- package/serialization/types/UpdateSimulationTestRequest.js +2 -1
- package/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
- package/serialization/types/UpdateToolCallUnitTestRequest.js +1 -1
- package/serialization/types/WebhookHmacSettings.d.ts +1 -1
- package/serialization/types/WebhookHmacSettings.js +1 -1
- package/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -0
- package/serialization/types/WorkspaceApiKeyResponseModel.js +3 -0
- package/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/serialization/types/WorkspaceGroupResponseModel.js +1 -0
- package/serialization/types/index.d.ts +13 -9
- package/serialization/types/index.js +13 -9
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/.fern/verify.sh +0 -5
- package/api/types/AudioFormat.d.ts +0 -6
- package/api/types/CoachedAgentSettings.d.ts +0 -4
- package/api/types/CoachingAgentSettings.d.ts +0 -8
- package/api/types/CodeToolAllowedDomain.d.ts +0 -6
- package/api/types/CodeToolContextVariable.d.ts +0 -4
- package/api/types/GenerationChunkConditionStrength.d.ts +0 -7
- package/api/types/NoCoachingSettings.d.ts +0 -4
- package/core/url/QueryStringBuilder.d.ts +0 -47
- package/core/url/QueryStringBuilder.js +0 -83
- package/dist/api/types/AudioFormat.d.ts +0 -6
- package/dist/api/types/CoachedAgentSettings.d.ts +0 -4
- package/dist/api/types/CoachingAgentSettings.d.ts +0 -8
- package/dist/api/types/CodeToolAllowedDomain.d.ts +0 -6
- package/dist/api/types/CodeToolContextVariable.d.ts +0 -4
- package/dist/api/types/GenerationChunkConditionStrength.d.ts +0 -7
- package/dist/api/types/NoCoachingSettings.d.ts +0 -4
- package/dist/core/url/QueryStringBuilder.d.ts +0 -47
- package/dist/core/url/QueryStringBuilder.js +0 -83
- package/dist/serialization/types/CoachedAgentSettings.d.ts +0 -10
- package/dist/serialization/types/CoachingAgentSettings.d.ts +0 -11
- package/dist/serialization/types/CodeToolAllowedDomain.d.ts +0 -10
- package/dist/serialization/types/CodeToolContextVariable.d.ts +0 -10
- package/dist/serialization/types/GenerationChunk.d.ts +0 -18
- package/dist/serialization/types/GenerationChunkConditionStrength.d.ts +0 -7
- package/dist/serialization/types/GenerationChunkContextAdherence.d.ts +0 -7
- package/dist/serialization/types/NoCoachingSettings.d.ts +0 -10
- package/dist/serialization/types/NoCoachingSettings.js +0 -42
- package/serialization/types/CoachedAgentSettings.d.ts +0 -10
- package/serialization/types/CoachedAgentSettings.js +0 -42
- package/serialization/types/CoachingAgentSettings.d.ts +0 -11
- package/serialization/types/CoachingAgentSettings.js +0 -43
- package/serialization/types/CodeToolAllowedDomain.d.ts +0 -10
- package/serialization/types/CodeToolAllowedDomain.js +0 -42
- package/serialization/types/CodeToolContextVariable.d.ts +0 -10
- package/serialization/types/CodeToolContextVariable.js +0 -42
- package/serialization/types/GenerationChunk.d.ts +0 -18
- package/serialization/types/GenerationChunkConditionStrength.d.ts +0 -7
- package/serialization/types/GenerationChunkConditionStrength.js +0 -39
- package/serialization/types/GenerationChunkContextAdherence.d.ts +0 -7
- package/serialization/types/NoCoachingSettings.d.ts +0 -10
- package/serialization/types/NoCoachingSettings.js +0 -42
- /package/api/{types/CoachedAgentSettings.js → resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.js} +0 -0
- /package/api/{types/CoachingAgentSettings.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js} +0 -0
- /package/api/types/{CodeToolAllowedDomain.js → GenerationChunkInput.js} +0 -0
- /package/api/types/{CodeToolContextVariable.js → GenerationChunkOutput.js} +0 -0
- /package/api/types/{GenerationChunk.js → MusicAllowedOutputFormats.js} +0 -0
- /package/api/types/{NoCoachingSettings.js → MusicOutputFormat.js} +0 -0
- /package/{dist/api/types/CoachedAgentSettings.js → api/types/TopicDiscoverySettings.js} +0 -0
- /package/dist/api/{types/CoachingAgentSettings.js → resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.js} +0 -0
- /package/dist/api/{types/CodeToolAllowedDomain.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js} +0 -0
- /package/dist/api/types/{CodeToolContextVariable.js → GenerationChunkInput.js} +0 -0
- /package/dist/api/types/{GenerationChunk.js → GenerationChunkOutput.js} +0 -0
- /package/dist/api/types/{NoCoachingSettings.js → MusicAllowedOutputFormats.js} +0 -0
|
@@ -40,5 +40,5 @@ exports.WebhookHmacSettings = core.serialization.object({
|
|
|
40
40
|
authType: core.serialization.property("auth_type", core.serialization.stringLiteral("hmac")),
|
|
41
41
|
name: core.serialization.string(),
|
|
42
42
|
webhookUrl: core.serialization.property("webhook_url", core.serialization.string()),
|
|
43
|
-
requestHeaders: core.serialization.property("request_headers", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
|
|
43
|
+
requestHeaders: core.serialization.property("request_headers", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
|
|
44
44
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { LockReason } from "./LockReason";
|
|
4
5
|
import { PermissionType } from "./PermissionType";
|
|
5
6
|
export declare const WorkspaceApiKeyResponseModel: core.serialization.ObjectSchema<serializers.WorkspaceApiKeyResponseModel.Raw, ElevenLabs.WorkspaceApiKeyResponseModel>;
|
|
6
7
|
export declare namespace WorkspaceApiKeyResponseModel {
|
|
@@ -12,9 +13,11 @@ export declare namespace WorkspaceApiKeyResponseModel {
|
|
|
12
13
|
created_at_unix?: number | null;
|
|
13
14
|
is_disabled?: boolean | null;
|
|
14
15
|
permissions?: PermissionType.Raw[] | null;
|
|
16
|
+
disable_reason?: LockReason.Raw | null;
|
|
15
17
|
character_limit?: number | null;
|
|
16
18
|
character_count?: number | null;
|
|
17
19
|
hashed_xi_api_key: string;
|
|
18
20
|
allowed_ips?: string[] | null;
|
|
21
|
+
third_party_disable_allowed?: boolean | null;
|
|
19
22
|
}
|
|
20
23
|
}
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.WorkspaceApiKeyResponseModel = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const LockReason_1 = require("./LockReason");
|
|
39
40
|
const PermissionType_1 = require("./PermissionType");
|
|
40
41
|
exports.WorkspaceApiKeyResponseModel = core.serialization.object({
|
|
41
42
|
name: core.serialization.string(),
|
|
@@ -45,8 +46,10 @@ exports.WorkspaceApiKeyResponseModel = core.serialization.object({
|
|
|
45
46
|
createdAtUnix: core.serialization.property("created_at_unix", core.serialization.number().optional()),
|
|
46
47
|
isDisabled: core.serialization.property("is_disabled", core.serialization.boolean().optional()),
|
|
47
48
|
permissions: core.serialization.list(PermissionType_1.PermissionType).optional(),
|
|
49
|
+
disableReason: core.serialization.property("disable_reason", LockReason_1.LockReason.optional()),
|
|
48
50
|
characterLimit: core.serialization.property("character_limit", core.serialization.number().optional()),
|
|
49
51
|
characterCount: core.serialization.property("character_count", core.serialization.number().optional()),
|
|
50
52
|
hashedXiApiKey: core.serialization.property("hashed_xi_api_key", core.serialization.string()),
|
|
51
53
|
allowedIps: core.serialization.property("allowed_ips", core.serialization.list(core.serialization.string()).optional()),
|
|
54
|
+
thirdPartyDisableAllowed: core.serialization.property("third_party_disable_allowed", core.serialization.boolean().optional()),
|
|
52
55
|
});
|
|
@@ -49,4 +49,5 @@ exports.WorkspaceGroupResponseModel = core.serialization.object({
|
|
|
49
49
|
characterCount: core.serialization.property("character_count", core.serialization.number().optional()),
|
|
50
50
|
scimExternalId: core.serialization.property("scim_external_id", core.serialization.string().optional()),
|
|
51
51
|
isScimSynced: core.serialization.property("is_scim_synced", core.serialization.boolean().optional()),
|
|
52
|
+
scimFrozen: core.serialization.property("scim_frozen", core.serialization.boolean().optional()),
|
|
52
53
|
});
|
|
@@ -139,7 +139,6 @@ export * from "./AttachedTestModel";
|
|
|
139
139
|
export * from "./AudioAnalysis";
|
|
140
140
|
export * from "./AudioAnalysisResult";
|
|
141
141
|
export * from "./AudioAnalysisStatus";
|
|
142
|
-
export * from "./AudioFormat";
|
|
143
142
|
export * from "./AudioFormatEnum";
|
|
144
143
|
export * from "./AudioIsolationHistoryItemResponseModel";
|
|
145
144
|
export * from "./AudioKeyMoment";
|
|
@@ -244,10 +243,6 @@ export * from "./CloseConnection";
|
|
|
244
243
|
export * from "./CloseContext";
|
|
245
244
|
export * from "./ClosePayload";
|
|
246
245
|
export * from "./CloseSocket";
|
|
247
|
-
export * from "./CoachedAgentSettings";
|
|
248
|
-
export * from "./CoachingAgentSettings";
|
|
249
|
-
export * from "./CodeToolAllowedDomain";
|
|
250
|
-
export * from "./CodeToolContextVariable";
|
|
251
246
|
export * from "./ColumnFilter";
|
|
252
247
|
export * from "./ColumnFilterOperation";
|
|
253
248
|
export * from "./ColumnFilterValuesItem";
|
|
@@ -350,6 +345,7 @@ export * from "./ConversationInitiationClientDataWebhook";
|
|
|
350
345
|
export * from "./ConversationInitiationClientDataWebhookRequestHeadersValue";
|
|
351
346
|
export * from "./ConversationInitiationSource";
|
|
352
347
|
export * from "./ConversationInitiationSourceInfo";
|
|
348
|
+
export * from "./ConversationProduct";
|
|
353
349
|
export * from "./ConversationSentimentAnalysis";
|
|
354
350
|
export * from "./ConversationSentimentAnalysisOverallLabel";
|
|
355
351
|
export * from "./ConversationSignedUrlResponseModel";
|
|
@@ -563,9 +559,12 @@ export * from "./ForcedAlignmentResponseModel";
|
|
|
563
559
|
export * from "./ForcedAlignmentWordResponseModel";
|
|
564
560
|
export * from "./Gender";
|
|
565
561
|
export * from "./GenerateVoiceRequest";
|
|
566
|
-
export * from "./
|
|
567
|
-
export * from "./
|
|
568
|
-
export * from "./
|
|
562
|
+
export * from "./GenerationChunkInput";
|
|
563
|
+
export * from "./GenerationChunkInputConditionStrength";
|
|
564
|
+
export * from "./GenerationChunkInputContextAdherence";
|
|
565
|
+
export * from "./GenerationChunkOutput";
|
|
566
|
+
export * from "./GenerationChunkOutputConditionStrength";
|
|
567
|
+
export * from "./GenerationChunkOutputContextAdherence";
|
|
569
568
|
export * from "./GenerationConfig";
|
|
570
569
|
export * from "./GenerationSourceContext";
|
|
571
570
|
export * from "./GenesysRegion";
|
|
@@ -759,6 +758,7 @@ export * from "./LlmUsageInput";
|
|
|
759
758
|
export * from "./LlmUsageOutput";
|
|
760
759
|
export * from "./LoadableMemoryEntry";
|
|
761
760
|
export * from "./LoadMemoryEntryToolErrorStatus";
|
|
761
|
+
export * from "./LockReason";
|
|
762
762
|
export * from "./ManualSource";
|
|
763
763
|
export * from "./ManualVerificationFileResponse";
|
|
764
764
|
export * from "./ManualVerificationResponse";
|
|
@@ -805,12 +805,14 @@ export * from "./ModerationGuardrailOutput";
|
|
|
805
805
|
export * from "./MtlsAuthResponse";
|
|
806
806
|
export * from "./MultichannelSpeechToTextResponseModel";
|
|
807
807
|
export * from "./MultipartMusicResponse";
|
|
808
|
+
export * from "./MusicAllowedOutputFormats";
|
|
808
809
|
export * from "./MusicExploreSongSourceContext";
|
|
809
810
|
export * from "./MusicGenerationMode";
|
|
811
|
+
export * from "./MusicOnlyOutputFormats";
|
|
812
|
+
export * from "./MusicOutputFormat";
|
|
810
813
|
export * from "./MusicPrompt";
|
|
811
814
|
export * from "./MusicUploadResponse";
|
|
812
815
|
export * from "./MusicUploadResponseCompositionPlan";
|
|
813
|
-
export * from "./NoCoachingSettings";
|
|
814
816
|
export * from "./NonStreamingOutputFormats";
|
|
815
817
|
export * from "./NormalizedAlignment";
|
|
816
818
|
export * from "./OAuth2ClientCredsResponse";
|
|
@@ -824,6 +826,7 @@ export * from "./ObjectJsonSchemaPropertyOutput";
|
|
|
824
826
|
export * from "./ObjectJsonSchemaPropertyOutputPropertiesValue";
|
|
825
827
|
export * from "./OmitSchemaOverride";
|
|
826
828
|
export * from "./OpenAiAudioConfig";
|
|
829
|
+
export * from "./OpenAiAudioFormat";
|
|
827
830
|
export * from "./OpenAiAudioInputConfig";
|
|
828
831
|
export * from "./OpenAiAudioInputFormat";
|
|
829
832
|
export * from "./OpenAiAudioOutputConfig";
|
|
@@ -1220,6 +1223,7 @@ export * from "./ToolsResponseModel";
|
|
|
1220
1223
|
export * from "./ToolType";
|
|
1221
1224
|
export * from "./ToolTypeFilter";
|
|
1222
1225
|
export * from "./ToolUsageStatsResponseModel";
|
|
1226
|
+
export * from "./TopicDiscoverySettings";
|
|
1223
1227
|
export * from "./TranscriptionWord";
|
|
1224
1228
|
export * from "./TranscriptionWordType";
|
|
1225
1229
|
export * from "./TranscriptMessage";
|
|
@@ -155,7 +155,6 @@ __exportStar(require("./AttachedTestModel"), exports);
|
|
|
155
155
|
__exportStar(require("./AudioAnalysis"), exports);
|
|
156
156
|
__exportStar(require("./AudioAnalysisResult"), exports);
|
|
157
157
|
__exportStar(require("./AudioAnalysisStatus"), exports);
|
|
158
|
-
__exportStar(require("./AudioFormat"), exports);
|
|
159
158
|
__exportStar(require("./AudioFormatEnum"), exports);
|
|
160
159
|
__exportStar(require("./AudioIsolationHistoryItemResponseModel"), exports);
|
|
161
160
|
__exportStar(require("./AudioKeyMoment"), exports);
|
|
@@ -260,10 +259,6 @@ __exportStar(require("./CloseConnection"), exports);
|
|
|
260
259
|
__exportStar(require("./CloseContext"), exports);
|
|
261
260
|
__exportStar(require("./ClosePayload"), exports);
|
|
262
261
|
__exportStar(require("./CloseSocket"), exports);
|
|
263
|
-
__exportStar(require("./CoachedAgentSettings"), exports);
|
|
264
|
-
__exportStar(require("./CoachingAgentSettings"), exports);
|
|
265
|
-
__exportStar(require("./CodeToolAllowedDomain"), exports);
|
|
266
|
-
__exportStar(require("./CodeToolContextVariable"), exports);
|
|
267
262
|
__exportStar(require("./ColumnFilter"), exports);
|
|
268
263
|
__exportStar(require("./ColumnFilterOperation"), exports);
|
|
269
264
|
__exportStar(require("./ColumnFilterValuesItem"), exports);
|
|
@@ -366,6 +361,7 @@ __exportStar(require("./ConversationInitiationClientDataWebhook"), exports);
|
|
|
366
361
|
__exportStar(require("./ConversationInitiationClientDataWebhookRequestHeadersValue"), exports);
|
|
367
362
|
__exportStar(require("./ConversationInitiationSource"), exports);
|
|
368
363
|
__exportStar(require("./ConversationInitiationSourceInfo"), exports);
|
|
364
|
+
__exportStar(require("./ConversationProduct"), exports);
|
|
369
365
|
__exportStar(require("./ConversationSentimentAnalysis"), exports);
|
|
370
366
|
__exportStar(require("./ConversationSentimentAnalysisOverallLabel"), exports);
|
|
371
367
|
__exportStar(require("./ConversationSignedUrlResponseModel"), exports);
|
|
@@ -579,9 +575,12 @@ __exportStar(require("./ForcedAlignmentResponseModel"), exports);
|
|
|
579
575
|
__exportStar(require("./ForcedAlignmentWordResponseModel"), exports);
|
|
580
576
|
__exportStar(require("./Gender"), exports);
|
|
581
577
|
__exportStar(require("./GenerateVoiceRequest"), exports);
|
|
582
|
-
__exportStar(require("./
|
|
583
|
-
__exportStar(require("./
|
|
584
|
-
__exportStar(require("./
|
|
578
|
+
__exportStar(require("./GenerationChunkInput"), exports);
|
|
579
|
+
__exportStar(require("./GenerationChunkInputConditionStrength"), exports);
|
|
580
|
+
__exportStar(require("./GenerationChunkInputContextAdherence"), exports);
|
|
581
|
+
__exportStar(require("./GenerationChunkOutput"), exports);
|
|
582
|
+
__exportStar(require("./GenerationChunkOutputConditionStrength"), exports);
|
|
583
|
+
__exportStar(require("./GenerationChunkOutputContextAdherence"), exports);
|
|
585
584
|
__exportStar(require("./GenerationConfig"), exports);
|
|
586
585
|
__exportStar(require("./GenerationSourceContext"), exports);
|
|
587
586
|
__exportStar(require("./GenesysRegion"), exports);
|
|
@@ -775,6 +774,7 @@ __exportStar(require("./LlmUsageInput"), exports);
|
|
|
775
774
|
__exportStar(require("./LlmUsageOutput"), exports);
|
|
776
775
|
__exportStar(require("./LoadableMemoryEntry"), exports);
|
|
777
776
|
__exportStar(require("./LoadMemoryEntryToolErrorStatus"), exports);
|
|
777
|
+
__exportStar(require("./LockReason"), exports);
|
|
778
778
|
__exportStar(require("./ManualSource"), exports);
|
|
779
779
|
__exportStar(require("./ManualVerificationFileResponse"), exports);
|
|
780
780
|
__exportStar(require("./ManualVerificationResponse"), exports);
|
|
@@ -821,12 +821,14 @@ __exportStar(require("./ModerationGuardrailOutput"), exports);
|
|
|
821
821
|
__exportStar(require("./MtlsAuthResponse"), exports);
|
|
822
822
|
__exportStar(require("./MultichannelSpeechToTextResponseModel"), exports);
|
|
823
823
|
__exportStar(require("./MultipartMusicResponse"), exports);
|
|
824
|
+
__exportStar(require("./MusicAllowedOutputFormats"), exports);
|
|
824
825
|
__exportStar(require("./MusicExploreSongSourceContext"), exports);
|
|
825
826
|
__exportStar(require("./MusicGenerationMode"), exports);
|
|
827
|
+
__exportStar(require("./MusicOnlyOutputFormats"), exports);
|
|
828
|
+
__exportStar(require("./MusicOutputFormat"), exports);
|
|
826
829
|
__exportStar(require("./MusicPrompt"), exports);
|
|
827
830
|
__exportStar(require("./MusicUploadResponse"), exports);
|
|
828
831
|
__exportStar(require("./MusicUploadResponseCompositionPlan"), exports);
|
|
829
|
-
__exportStar(require("./NoCoachingSettings"), exports);
|
|
830
832
|
__exportStar(require("./NonStreamingOutputFormats"), exports);
|
|
831
833
|
__exportStar(require("./NormalizedAlignment"), exports);
|
|
832
834
|
__exportStar(require("./OAuth2ClientCredsResponse"), exports);
|
|
@@ -840,6 +842,7 @@ __exportStar(require("./ObjectJsonSchemaPropertyOutput"), exports);
|
|
|
840
842
|
__exportStar(require("./ObjectJsonSchemaPropertyOutputPropertiesValue"), exports);
|
|
841
843
|
__exportStar(require("./OmitSchemaOverride"), exports);
|
|
842
844
|
__exportStar(require("./OpenAiAudioConfig"), exports);
|
|
845
|
+
__exportStar(require("./OpenAiAudioFormat"), exports);
|
|
843
846
|
__exportStar(require("./OpenAiAudioInputConfig"), exports);
|
|
844
847
|
__exportStar(require("./OpenAiAudioInputFormat"), exports);
|
|
845
848
|
__exportStar(require("./OpenAiAudioOutputConfig"), exports);
|
|
@@ -1236,6 +1239,7 @@ __exportStar(require("./ToolsResponseModel"), exports);
|
|
|
1236
1239
|
__exportStar(require("./ToolType"), exports);
|
|
1237
1240
|
__exportStar(require("./ToolTypeFilter"), exports);
|
|
1238
1241
|
__exportStar(require("./ToolUsageStatsResponseModel"), exports);
|
|
1242
|
+
__exportStar(require("./TopicDiscoverySettings"), exports);
|
|
1239
1243
|
__exportStar(require("./TranscriptionWord"), exports);
|
|
1240
1244
|
__exportStar(require("./TranscriptionWordType"), exports);
|
|
1241
1245
|
__exportStar(require("./TranscriptMessage"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.
|
|
1
|
+
export declare const SDK_VERSION = "2.54.0";
|
package/version.js
CHANGED
package/.fern/verify.sh
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export interface CodeToolAllowedDomain {
|
|
2
|
-
/** Domain pattern that code tools can access. Must be a valid domain (e.g. api.github.com), optionally with a subdomain wildcard (*.example.com) or path glob (api.example.com/v1/*). */
|
|
3
|
-
domain: string;
|
|
4
|
-
/** Human-readable label for this domain entry */
|
|
5
|
-
name: string;
|
|
6
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const GenerationChunkConditionStrength: {
|
|
2
|
-
readonly Low: "low";
|
|
3
|
-
readonly Medium: "medium";
|
|
4
|
-
readonly High: "high";
|
|
5
|
-
readonly Xhigh: "xhigh";
|
|
6
|
-
};
|
|
7
|
-
export type GenerationChunkConditionStrength = (typeof GenerationChunkConditionStrength)[keyof typeof GenerationChunkConditionStrength];
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Creates a fluent builder for constructing URL query strings.
|
|
3
|
-
*
|
|
4
|
-
* Each `.add()` call serializes its value immediately (like C#'s builder),
|
|
5
|
-
* so no format tracking is needed — the style is applied at add-time.
|
|
6
|
-
*
|
|
7
|
-
* Usage (generated code):
|
|
8
|
-
*
|
|
9
|
-
* const qs = core.url.queryBuilder()
|
|
10
|
-
* .add("limit", limit)
|
|
11
|
-
* .add("tags", tags, { style: "comma" }) // explode: false
|
|
12
|
-
* .mergeAdditional(requestOptions?.queryParams)
|
|
13
|
-
* .build();
|
|
14
|
-
*/
|
|
15
|
-
export declare function queryBuilder(): QueryStringBuilder;
|
|
16
|
-
declare class QueryStringBuilder {
|
|
17
|
-
private parts;
|
|
18
|
-
/**
|
|
19
|
-
* Adds a query parameter, serializing it immediately.
|
|
20
|
-
*
|
|
21
|
-
* By default arrays use "repeat" format (`key=a&key=b`).
|
|
22
|
-
* Pass `{ style: "comma" }` for OpenAPI `explode: false` parameters
|
|
23
|
-
* to get comma-separated values (`key=a,b,c`).
|
|
24
|
-
*
|
|
25
|
-
* Null / undefined values are silently skipped.
|
|
26
|
-
*/
|
|
27
|
-
add(key: string, value: unknown, options?: {
|
|
28
|
-
style?: "comma";
|
|
29
|
-
}): this;
|
|
30
|
-
/**
|
|
31
|
-
* Adds multiple query parameters at once from a record.
|
|
32
|
-
* All parameters use the default "repeat" array format.
|
|
33
|
-
* Null / undefined values are silently skipped.
|
|
34
|
-
*/
|
|
35
|
-
addMany(params: Record<string, unknown>): this;
|
|
36
|
-
/**
|
|
37
|
-
* Merges additional query parameters supplied at call-time via
|
|
38
|
-
* `requestOptions.queryParams`. Overrides existing keys (last-write-wins).
|
|
39
|
-
*/
|
|
40
|
-
mergeAdditional(additionalParams?: Record<string, unknown>): this;
|
|
41
|
-
/**
|
|
42
|
-
* Returns the assembled query string (without the leading `?`).
|
|
43
|
-
* Returns an empty string when no parameters were added.
|
|
44
|
-
*/
|
|
45
|
-
build(): string;
|
|
46
|
-
}
|
|
47
|
-
export {};
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.queryBuilder = queryBuilder;
|
|
4
|
-
const qs_1 = require("./qs");
|
|
5
|
-
/**
|
|
6
|
-
* Creates a fluent builder for constructing URL query strings.
|
|
7
|
-
*
|
|
8
|
-
* Each `.add()` call serializes its value immediately (like C#'s builder),
|
|
9
|
-
* so no format tracking is needed — the style is applied at add-time.
|
|
10
|
-
*
|
|
11
|
-
* Usage (generated code):
|
|
12
|
-
*
|
|
13
|
-
* const qs = core.url.queryBuilder()
|
|
14
|
-
* .add("limit", limit)
|
|
15
|
-
* .add("tags", tags, { style: "comma" }) // explode: false
|
|
16
|
-
* .mergeAdditional(requestOptions?.queryParams)
|
|
17
|
-
* .build();
|
|
18
|
-
*/
|
|
19
|
-
function queryBuilder() {
|
|
20
|
-
return new QueryStringBuilder();
|
|
21
|
-
}
|
|
22
|
-
class QueryStringBuilder {
|
|
23
|
-
constructor() {
|
|
24
|
-
this.parts = new Map();
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Adds a query parameter, serializing it immediately.
|
|
28
|
-
*
|
|
29
|
-
* By default arrays use "repeat" format (`key=a&key=b`).
|
|
30
|
-
* Pass `{ style: "comma" }` for OpenAPI `explode: false` parameters
|
|
31
|
-
* to get comma-separated values (`key=a,b,c`).
|
|
32
|
-
*
|
|
33
|
-
* Null / undefined values are silently skipped.
|
|
34
|
-
*/
|
|
35
|
-
add(key, value, options) {
|
|
36
|
-
if (value === undefined || value === null) {
|
|
37
|
-
return this;
|
|
38
|
-
}
|
|
39
|
-
const serialized = (0, qs_1.toQueryString)({ [key]: value }, { arrayFormat: (options === null || options === void 0 ? void 0 : options.style) === "comma" ? "comma" : "repeat" });
|
|
40
|
-
if (serialized.length > 0) {
|
|
41
|
-
this.parts.set(key, serialized);
|
|
42
|
-
}
|
|
43
|
-
return this;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Adds multiple query parameters at once from a record.
|
|
47
|
-
* All parameters use the default "repeat" array format.
|
|
48
|
-
* Null / undefined values are silently skipped.
|
|
49
|
-
*/
|
|
50
|
-
addMany(params) {
|
|
51
|
-
if (params != null) {
|
|
52
|
-
for (const [key, value] of Object.entries(params)) {
|
|
53
|
-
this.add(key, value);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
return this;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Merges additional query parameters supplied at call-time via
|
|
60
|
-
* `requestOptions.queryParams`. Overrides existing keys (last-write-wins).
|
|
61
|
-
*/
|
|
62
|
-
mergeAdditional(additionalParams) {
|
|
63
|
-
if (additionalParams != null) {
|
|
64
|
-
for (const [key, value] of Object.entries(additionalParams)) {
|
|
65
|
-
if (value === undefined || value === null) {
|
|
66
|
-
continue;
|
|
67
|
-
}
|
|
68
|
-
const serialized = (0, qs_1.toQueryString)({ [key]: value }, { arrayFormat: "repeat" });
|
|
69
|
-
if (serialized.length > 0) {
|
|
70
|
-
this.parts.set(key, serialized);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
return this;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Returns the assembled query string (without the leading `?`).
|
|
78
|
-
* Returns an empty string when no parameters were added.
|
|
79
|
-
*/
|
|
80
|
-
build() {
|
|
81
|
-
return [...this.parts.values()].join("&");
|
|
82
|
-
}
|
|
83
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export interface CodeToolAllowedDomain {
|
|
2
|
-
/** Domain pattern that code tools can access. Must be a valid domain (e.g. api.github.com), optionally with a subdomain wildcard (*.example.com) or path glob (api.example.com/v1/*). */
|
|
3
|
-
domain: string;
|
|
4
|
-
/** Human-readable label for this domain entry */
|
|
5
|
-
name: string;
|
|
6
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const GenerationChunkConditionStrength: {
|
|
2
|
-
readonly Low: "low";
|
|
3
|
-
readonly Medium: "medium";
|
|
4
|
-
readonly High: "high";
|
|
5
|
-
readonly Xhigh: "xhigh";
|
|
6
|
-
};
|
|
7
|
-
export type GenerationChunkConditionStrength = (typeof GenerationChunkConditionStrength)[keyof typeof GenerationChunkConditionStrength];
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Creates a fluent builder for constructing URL query strings.
|
|
3
|
-
*
|
|
4
|
-
* Each `.add()` call serializes its value immediately (like C#'s builder),
|
|
5
|
-
* so no format tracking is needed — the style is applied at add-time.
|
|
6
|
-
*
|
|
7
|
-
* Usage (generated code):
|
|
8
|
-
*
|
|
9
|
-
* const qs = core.url.queryBuilder()
|
|
10
|
-
* .add("limit", limit)
|
|
11
|
-
* .add("tags", tags, { style: "comma" }) // explode: false
|
|
12
|
-
* .mergeAdditional(requestOptions?.queryParams)
|
|
13
|
-
* .build();
|
|
14
|
-
*/
|
|
15
|
-
export declare function queryBuilder(): QueryStringBuilder;
|
|
16
|
-
declare class QueryStringBuilder {
|
|
17
|
-
private parts;
|
|
18
|
-
/**
|
|
19
|
-
* Adds a query parameter, serializing it immediately.
|
|
20
|
-
*
|
|
21
|
-
* By default arrays use "repeat" format (`key=a&key=b`).
|
|
22
|
-
* Pass `{ style: "comma" }` for OpenAPI `explode: false` parameters
|
|
23
|
-
* to get comma-separated values (`key=a,b,c`).
|
|
24
|
-
*
|
|
25
|
-
* Null / undefined values are silently skipped.
|
|
26
|
-
*/
|
|
27
|
-
add(key: string, value: unknown, options?: {
|
|
28
|
-
style?: "comma";
|
|
29
|
-
}): this;
|
|
30
|
-
/**
|
|
31
|
-
* Adds multiple query parameters at once from a record.
|
|
32
|
-
* All parameters use the default "repeat" array format.
|
|
33
|
-
* Null / undefined values are silently skipped.
|
|
34
|
-
*/
|
|
35
|
-
addMany(params: Record<string, unknown>): this;
|
|
36
|
-
/**
|
|
37
|
-
* Merges additional query parameters supplied at call-time via
|
|
38
|
-
* `requestOptions.queryParams`. Overrides existing keys (last-write-wins).
|
|
39
|
-
*/
|
|
40
|
-
mergeAdditional(additionalParams?: Record<string, unknown>): this;
|
|
41
|
-
/**
|
|
42
|
-
* Returns the assembled query string (without the leading `?`).
|
|
43
|
-
* Returns an empty string when no parameters were added.
|
|
44
|
-
*/
|
|
45
|
-
build(): string;
|
|
46
|
-
}
|
|
47
|
-
export {};
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.queryBuilder = queryBuilder;
|
|
4
|
-
const qs_1 = require("./qs");
|
|
5
|
-
/**
|
|
6
|
-
* Creates a fluent builder for constructing URL query strings.
|
|
7
|
-
*
|
|
8
|
-
* Each `.add()` call serializes its value immediately (like C#'s builder),
|
|
9
|
-
* so no format tracking is needed — the style is applied at add-time.
|
|
10
|
-
*
|
|
11
|
-
* Usage (generated code):
|
|
12
|
-
*
|
|
13
|
-
* const qs = core.url.queryBuilder()
|
|
14
|
-
* .add("limit", limit)
|
|
15
|
-
* .add("tags", tags, { style: "comma" }) // explode: false
|
|
16
|
-
* .mergeAdditional(requestOptions?.queryParams)
|
|
17
|
-
* .build();
|
|
18
|
-
*/
|
|
19
|
-
function queryBuilder() {
|
|
20
|
-
return new QueryStringBuilder();
|
|
21
|
-
}
|
|
22
|
-
class QueryStringBuilder {
|
|
23
|
-
constructor() {
|
|
24
|
-
this.parts = new Map();
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Adds a query parameter, serializing it immediately.
|
|
28
|
-
*
|
|
29
|
-
* By default arrays use "repeat" format (`key=a&key=b`).
|
|
30
|
-
* Pass `{ style: "comma" }` for OpenAPI `explode: false` parameters
|
|
31
|
-
* to get comma-separated values (`key=a,b,c`).
|
|
32
|
-
*
|
|
33
|
-
* Null / undefined values are silently skipped.
|
|
34
|
-
*/
|
|
35
|
-
add(key, value, options) {
|
|
36
|
-
if (value === undefined || value === null) {
|
|
37
|
-
return this;
|
|
38
|
-
}
|
|
39
|
-
const serialized = (0, qs_1.toQueryString)({ [key]: value }, { arrayFormat: (options === null || options === void 0 ? void 0 : options.style) === "comma" ? "comma" : "repeat" });
|
|
40
|
-
if (serialized.length > 0) {
|
|
41
|
-
this.parts.set(key, serialized);
|
|
42
|
-
}
|
|
43
|
-
return this;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Adds multiple query parameters at once from a record.
|
|
47
|
-
* All parameters use the default "repeat" array format.
|
|
48
|
-
* Null / undefined values are silently skipped.
|
|
49
|
-
*/
|
|
50
|
-
addMany(params) {
|
|
51
|
-
if (params != null) {
|
|
52
|
-
for (const [key, value] of Object.entries(params)) {
|
|
53
|
-
this.add(key, value);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
return this;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Merges additional query parameters supplied at call-time via
|
|
60
|
-
* `requestOptions.queryParams`. Overrides existing keys (last-write-wins).
|
|
61
|
-
*/
|
|
62
|
-
mergeAdditional(additionalParams) {
|
|
63
|
-
if (additionalParams != null) {
|
|
64
|
-
for (const [key, value] of Object.entries(additionalParams)) {
|
|
65
|
-
if (value === undefined || value === null) {
|
|
66
|
-
continue;
|
|
67
|
-
}
|
|
68
|
-
const serialized = (0, qs_1.toQueryString)({ [key]: value }, { arrayFormat: "repeat" });
|
|
69
|
-
if (serialized.length > 0) {
|
|
70
|
-
this.parts.set(key, serialized);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
return this;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Returns the assembled query string (without the leading `?`).
|
|
78
|
-
* Returns an empty string when no parameters were added.
|
|
79
|
-
*/
|
|
80
|
-
build() {
|
|
81
|
-
return [...this.parts.values()].join("&");
|
|
82
|
-
}
|
|
83
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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 CoachedAgentSettings: core.serialization.ObjectSchema<serializers.CoachedAgentSettings.Raw, ElevenLabs.CoachedAgentSettings>;
|
|
5
|
-
export declare namespace CoachedAgentSettings {
|
|
6
|
-
interface Raw {
|
|
7
|
-
type?: "coached" | null;
|
|
8
|
-
memory_base_id?: string | null;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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 CoachingAgentSettings: core.serialization.ObjectSchema<serializers.CoachingAgentSettings.Raw, ElevenLabs.CoachingAgentSettings>;
|
|
5
|
-
export declare namespace CoachingAgentSettings {
|
|
6
|
-
interface Raw {
|
|
7
|
-
type?: "coaching" | null;
|
|
8
|
-
coached_agent_id: string;
|
|
9
|
-
memory_base_id?: string | null;
|
|
10
|
-
}
|
|
11
|
-
}
|