@elevenlabs/elevenlabs-js 2.52.0 → 2.53.1
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 +7 -2
- package/.fern/replay.lock +8 -172
- package/.fern/verify.sh +5 -0
- package/BaseClient.d.ts +2 -2
- package/BaseClient.js +2 -2
- package/Client.d.ts +11 -0
- package/Client.js +24 -1
- package/api/resources/audioIsolation/client/Client.d.ts +2 -0
- package/api/resources/audioIsolation/client/Client.js +24 -23
- package/api/resources/audioIsolation/exports.d.ts +2 -0
- package/api/resources/audioIsolation/exports.js +21 -0
- package/api/resources/audioNative/client/Client.js +39 -39
- package/api/resources/audioNative/exports.d.ts +2 -0
- package/api/resources/audioNative/exports.js +21 -0
- package/api/resources/conversationalAi/client/Client.d.ts +2 -0
- package/api/resources/conversationalAi/client/Client.js +18 -13
- package/api/resources/conversationalAi/exports.d.ts +3 -0
- package/api/resources/conversationalAi/exports.js +22 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.js +50 -54
- package/api/resources/conversationalAi/resources/agents/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/agents/exports.js +22 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +20 -14
- package/api/resources/conversationalAi/resources/agents/resources/branches/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/exports.js +21 -0
- package/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/deployments/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/deployments/exports.js +21 -0
- package/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +16 -6
- package/api/resources/conversationalAi/resources/agents/resources/drafts/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/drafts/exports.js +21 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/exports.js +21 -0
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/link/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/link/exports.js +21 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/exports.js +21 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +8 -10
- package/api/resources/conversationalAi/resources/agents/resources/summaries/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/exports.js +21 -0
- package/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/versions/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/versions/exports.js +21 -0
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +8 -5
- package/api/resources/conversationalAi/resources/agents/resources/widget/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/agents/resources/widget/exports.js +22 -0
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +4 -4
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/exports.js +21 -0
- package/api/resources/conversationalAi/resources/analytics/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/analytics/exports.js +22 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +8 -5
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/exports.js +21 -0
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +15 -16
- package/api/resources/conversationalAi/resources/batchCalls/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/batchCalls/exports.js +21 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +95 -172
- package/api/resources/conversationalAi/resources/conversations/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/conversations/exports.js +22 -0
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/Client.d.ts +16 -0
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/Client.js +64 -1
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/index.d.ts +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/index.js +15 -0
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/RunConversationEvaluationsRequest.d.ts +12 -0
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/exports.js +21 -0
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +2 -1
- package/api/resources/conversationalAi/resources/conversations/resources/audio/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/audio/exports.js +21 -0
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/exports.js +21 -0
- package/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.js +5 -5
- package/api/resources/conversationalAi/resources/conversations/resources/files/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/files/exports.js +21 -0
- 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.js +55 -127
- package/api/resources/conversationalAi/resources/conversations/resources/messages/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/exports.js +21 -0
- package/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +15 -14
- package/api/resources/conversationalAi/resources/conversations/resources/tags/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/tags/exports.js +21 -0
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/topics/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/topics/exports.js +21 -0
- package/api/resources/conversationalAi/resources/dashboard/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/dashboard/exports.js +22 -0
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/exports.js +21 -0
- package/api/resources/conversationalAi/resources/exotel/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/exotel/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/exotel/exports.js +21 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +42 -66
- package/api/resources/conversationalAi/resources/knowledgeBase/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/exports.js +22 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +6 -6
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/exports.js +21 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.d.ts +2 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +2 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +44 -37
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/exports.js +22 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +10 -7
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/exports.js +21 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +12 -11
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/exports.js +21 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +8 -10
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/exports.js +21 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsGetResponse.d.ts +2 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsUpdateResponse.d.ts +2 -2
- package/api/resources/conversationalAi/resources/llm/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/llm/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/llm/exports.js +21 -0
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/llmUsage/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/llmUsage/exports.js +21 -0
- 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/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/mcpServers/exports.js +22 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +3 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/exports.js +21 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/exports.js +21 -0
- 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/toolConfigs/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/exports.js +21 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/exports.js +21 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +7 -2
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +36 -18
- package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersListRequest.d.ts +17 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/exports.js +21 -0
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +24 -26
- package/api/resources/conversationalAi/resources/secrets/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/secrets/exports.js +21 -0
- package/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/settings/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/settings/exports.js +21 -0
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/sipTrunk/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/sipTrunk/exports.js +21 -0
- package/api/resources/conversationalAi/resources/tests/client/Client.js +31 -41
- package/api/resources/conversationalAi/resources/tests/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/tests/exports.js +22 -0
- package/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js +11 -8
- package/api/resources/conversationalAi/resources/tests/resources/folders/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tests/resources/folders/exports.js +21 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +12 -13
- package/api/resources/conversationalAi/resources/tests/resources/invocations/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/exports.js +21 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.js +43 -49
- package/api/resources/conversationalAi/resources/tools/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/tools/exports.js +22 -0
- package/api/resources/conversationalAi/resources/tools/resources/executions/client/Client.js +14 -23
- package/api/resources/conversationalAi/resources/tools/resources/executions/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tools/resources/executions/exports.js +21 -0
- package/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/twilio/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/twilio/exports.js +21 -0
- package/api/resources/conversationalAi/resources/users/client/Client.js +17 -26
- package/api/resources/conversationalAi/resources/users/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/users/exports.js +21 -0
- package/api/resources/conversationalAi/resources/whatsapp/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/whatsapp/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/whatsapp/exports.js +21 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +5 -2
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +20 -9
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/WhatsappAccountsListRequest.d.ts +10 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/exports.js +21 -0
- package/api/resources/dubbing/client/Client.js +57 -56
- package/api/resources/dubbing/exports.d.ts +3 -0
- package/api/resources/dubbing/exports.js +22 -0
- package/api/resources/dubbing/resources/audio/client/Client.d.ts +1 -0
- package/api/resources/dubbing/resources/audio/client/Client.js +2 -1
- package/api/resources/dubbing/resources/audio/exports.d.ts +2 -0
- package/api/resources/dubbing/resources/audio/exports.js +21 -0
- package/api/resources/dubbing/resources/resource/client/Client.d.ts +12 -0
- package/api/resources/dubbing/resources/resource/client/Client.js +18 -6
- package/api/resources/dubbing/resources/resource/exports.d.ts +3 -0
- package/api/resources/dubbing/resources/resource/exports.js +22 -0
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +2 -0
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +3 -1
- package/api/resources/dubbing/resources/resource/resources/language/exports.d.ts +2 -0
- package/api/resources/dubbing/resources/resource/resources/language/exports.js +21 -0
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +4 -0
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +6 -2
- package/api/resources/dubbing/resources/resource/resources/segment/exports.d.ts +2 -0
- package/api/resources/dubbing/resources/resource/resources/segment/exports.js +21 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +6 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +9 -3
- package/api/resources/dubbing/resources/resource/resources/speaker/exports.d.ts +3 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/exports.js +22 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +2 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +3 -1
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/exports.d.ts +2 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/exports.js +21 -0
- package/api/resources/dubbing/resources/transcript/client/Client.d.ts +2 -0
- package/api/resources/dubbing/resources/transcript/client/Client.js +14 -5
- package/api/resources/dubbing/resources/transcript/exports.d.ts +2 -0
- package/api/resources/dubbing/resources/transcript/exports.js +21 -0
- package/api/resources/dubbing/resources/transcripts/client/Client.js +1 -1
- package/api/resources/dubbing/resources/transcripts/exports.d.ts +2 -0
- package/api/resources/dubbing/resources/transcripts/exports.js +21 -0
- package/api/resources/environmentVariables/client/Client.js +19 -22
- package/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
- package/api/resources/environmentVariables/exports.d.ts +2 -0
- package/api/resources/environmentVariables/exports.js +21 -0
- package/api/resources/forcedAlignment/client/Client.js +5 -5
- package/api/resources/forcedAlignment/exports.d.ts +2 -0
- package/api/resources/forcedAlignment/exports.js +21 -0
- package/api/resources/history/client/Client.d.ts +2 -0
- package/api/resources/history/client/Client.js +28 -37
- package/api/resources/history/exports.d.ts +2 -0
- package/api/resources/history/exports.js +21 -0
- package/api/resources/history/types/HistoryListRequestSource.d.ts +1 -0
- package/api/resources/history/types/HistoryListRequestSource.js +1 -0
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/models/exports.d.ts +2 -0
- package/api/resources/models/exports.js +21 -0
- package/api/resources/music/client/Client.d.ts +5 -0
- package/api/resources/music/client/Client.js +102 -73
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -2
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -2
- package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +2 -2
- package/api/resources/music/client/requests/BodyUploadMusicV1MusicUploadPost.d.ts +4 -2
- package/api/resources/music/client/requests/BodyVideoToMusicV1MusicVideoToMusicPost.d.ts +1 -1
- package/api/resources/music/exports.d.ts +3 -0
- package/api/resources/music/exports.js +22 -0
- package/api/resources/music/resources/compositionPlan/client/Client.d.ts +1 -1
- package/api/resources/music/resources/compositionPlan/client/Client.js +2 -2
- package/api/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +2 -2
- package/api/resources/music/resources/compositionPlan/exports.d.ts +2 -0
- package/api/resources/music/resources/compositionPlan/exports.js +21 -0
- package/api/resources/music/resources/compositionPlan/index.d.ts +1 -0
- package/api/resources/music/resources/compositionPlan/index.js +1 -0
- package/api/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostModelId.d.ts +6 -0
- package/api/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostModelId.js +9 -0
- package/api/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostSourceCompositionPlan.d.ts +5 -0
- package/api/resources/music/resources/compositionPlan/types/CompositionPlanCreateResponse.d.ts +2 -0
- package/api/resources/music/resources/compositionPlan/types/index.d.ts +3 -0
- package/api/resources/music/resources/compositionPlan/types/index.js +19 -0
- package/api/resources/music/resources/index.d.ts +1 -0
- package/api/resources/music/resources/index.js +1 -0
- package/api/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.d.ts +5 -0
- package/api/resources/music/types/BodyComposeMusicV1MusicPostModelId.d.ts +6 -0
- package/api/resources/music/types/BodyComposeMusicV1MusicPostModelId.js +9 -0
- package/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.d.ts +5 -0
- package/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId.d.ts +6 -0
- package/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId.js +9 -0
- package/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts +5 -0
- package/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostModelId.d.ts +6 -0
- package/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostModelId.js +9 -0
- package/api/resources/music/types/MusicVideoToMusicRequestModelId.d.ts +6 -0
- package/api/resources/music/types/MusicVideoToMusicRequestModelId.js +9 -0
- package/api/resources/music/types/index.d.ts +7 -0
- package/api/resources/music/types/index.js +7 -0
- package/api/resources/productions/exports.d.ts +3 -0
- package/api/resources/productions/exports.js +22 -0
- package/api/resources/productions/resources/orders/client/Client.js +23 -33
- package/api/resources/productions/resources/orders/exports.d.ts +3 -0
- package/api/resources/productions/resources/orders/exports.js +22 -0
- package/api/resources/productions/resources/orders/resources/deliverables/client/Client.js +1 -1
- package/api/resources/productions/resources/orders/resources/deliverables/exports.d.ts +2 -0
- package/api/resources/productions/resources/orders/resources/deliverables/exports.js +21 -0
- package/api/resources/productions/resources/orders/resources/items/client/Client.js +2 -2
- package/api/resources/productions/resources/orders/resources/items/exports.d.ts +2 -0
- package/api/resources/productions/resources/orders/resources/items/exports.js +21 -0
- package/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
- package/api/resources/productions/resources/orders/resources/languages/exports.d.ts +2 -0
- package/api/resources/productions/resources/orders/resources/languages/exports.js +21 -0
- package/api/resources/productions/resources/orders/resources/media/client/Client.js +9 -9
- package/api/resources/productions/resources/orders/resources/media/exports.d.ts +2 -0
- package/api/resources/productions/resources/orders/resources/media/exports.js +21 -0
- package/api/resources/pronunciationDictionaries/client/Client.d.ts +1 -0
- package/api/resources/pronunciationDictionaries/client/Client.js +27 -27
- package/api/resources/pronunciationDictionaries/exports.d.ts +3 -0
- package/api/resources/pronunciationDictionaries/exports.js +22 -0
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +3 -3
- package/api/resources/pronunciationDictionaries/resources/rules/exports.d.ts +2 -0
- package/api/resources/pronunciationDictionaries/resources/rules/exports.js +21 -0
- package/api/resources/samples/client/Client.js +1 -1
- package/api/resources/samples/exports.d.ts +2 -0
- package/api/resources/samples/exports.js +21 -0
- package/api/resources/serviceAccounts/client/Client.js +1 -1
- package/api/resources/serviceAccounts/exports.d.ts +3 -0
- package/api/resources/serviceAccounts/exports.js +22 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/Client.d.ts +2 -6
- package/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +8 -12
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +5 -9
- package/api/resources/serviceAccounts/resources/apiKeys/exports.d.ts +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/exports.js +21 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit.d.ts +4 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled.d.ts +4 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +2 -0
- package/api/resources/speechEngine/client/Client.js +20 -23
- package/api/resources/speechEngine/exports.d.ts +2 -0
- package/api/resources/speechEngine/exports.js +21 -0
- package/api/resources/speechEngineUpstream/exports.d.ts +1 -0
- package/api/resources/speechEngineUpstream/exports.js +18 -0
- package/api/resources/speechToSpeech/client/Client.d.ts +2 -0
- package/api/resources/speechToSpeech/client/Client.js +60 -52
- package/api/resources/speechToSpeech/exports.d.ts +2 -0
- package/api/resources/speechToSpeech/exports.js +21 -0
- package/api/resources/speechToText/client/Client.js +44 -38
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -6
- package/api/resources/speechToText/exports.d.ts +3 -0
- package/api/resources/speechToText/exports.js +22 -0
- package/api/resources/speechToText/resources/transcripts/client/Client.js +2 -2
- package/api/resources/speechToText/resources/transcripts/exports.d.ts +2 -0
- package/api/resources/speechToText/resources/transcripts/exports.js +21 -0
- package/api/resources/studio/client/Client.js +2 -2
- package/api/resources/studio/exports.d.ts +3 -0
- package/api/resources/studio/exports.js +22 -0
- package/api/resources/studio/resources/projects/client/Client.js +52 -49
- package/api/resources/studio/resources/projects/exports.d.ts +3 -0
- package/api/resources/studio/resources/projects/exports.js +22 -0
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
- package/api/resources/studio/resources/projects/resources/chapters/exports.d.ts +3 -0
- package/api/resources/studio/resources/projects/resources/chapters/exports.js +22 -0
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +1 -0
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +4 -3
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/exports.d.ts +2 -0
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/exports.js +21 -0
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +14 -14
- package/api/resources/studio/resources/projects/resources/content/exports.d.ts +2 -0
- package/api/resources/studio/resources/projects/resources/content/exports.js +21 -0
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/exports.d.ts +2 -0
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/exports.js +21 -0
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +2 -0
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +6 -4
- package/api/resources/studio/resources/projects/resources/snapshots/exports.d.ts +2 -0
- package/api/resources/studio/resources/projects/resources/snapshots/exports.js +21 -0
- package/api/resources/textToDialogue/client/Client.d.ts +2 -0
- package/api/resources/textToDialogue/client/Client.js +51 -37
- package/api/resources/textToDialogue/exports.d.ts +2 -0
- package/api/resources/textToDialogue/exports.js +21 -0
- package/api/resources/textToSoundEffects/client/Client.d.ts +1 -0
- package/api/resources/textToSoundEffects/client/Client.js +11 -7
- package/api/resources/textToSoundEffects/exports.d.ts +2 -0
- package/api/resources/textToSoundEffects/exports.js +21 -0
- package/api/resources/textToSpeech/client/Client.d.ts +2 -0
- package/api/resources/textToSpeech/client/Client.js +59 -49
- package/api/resources/textToSpeech/exports.d.ts +2 -0
- package/api/resources/textToSpeech/exports.js +21 -0
- package/api/resources/textToVoice/client/Client.d.ts +2 -0
- package/api/resources/textToVoice/client/Client.js +33 -22
- package/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
- package/api/resources/textToVoice/exports.d.ts +3 -0
- package/api/resources/textToVoice/exports.js +22 -0
- package/api/resources/textToVoice/resources/preview/client/Client.d.ts +1 -0
- package/api/resources/textToVoice/resources/preview/client/Client.js +2 -1
- package/api/resources/textToVoice/resources/preview/exports.d.ts +2 -0
- package/api/resources/textToVoice/resources/preview/exports.js +21 -0
- package/api/resources/tokens/exports.d.ts +3 -0
- package/api/resources/tokens/exports.js +22 -0
- package/api/resources/tokens/resources/singleUse/client/Client.js +1 -1
- package/api/resources/tokens/resources/singleUse/exports.d.ts +2 -0
- package/api/resources/tokens/resources/singleUse/exports.js +21 -0
- package/api/resources/usage/client/Client.d.ts +2 -0
- package/api/resources/usage/client/Client.js +24 -23
- package/api/resources/usage/exports.d.ts +2 -0
- package/api/resources/usage/exports.js +21 -0
- package/api/resources/user/client/Client.js +1 -1
- package/api/resources/user/exports.d.ts +3 -0
- package/api/resources/user/exports.js +22 -0
- package/api/resources/user/resources/subscription/client/Client.js +1 -1
- package/api/resources/user/resources/subscription/exports.d.ts +2 -0
- package/api/resources/user/resources/subscription/exports.js +21 -0
- package/api/resources/v1RealtimeTranslation/exports.d.ts +1 -0
- package/api/resources/v1RealtimeTranslation/exports.js +18 -0
- package/api/resources/v1SpeechToTextRealtime/exports.d.ts +1 -0
- package/api/resources/v1SpeechToTextRealtime/exports.js +18 -0
- package/api/resources/v1TextToDialogueStreamInput/exports.d.ts +1 -0
- package/api/resources/v1TextToDialogueStreamInput/exports.js +18 -0
- package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/exports.d.ts +1 -0
- package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/exports.js +18 -0
- package/api/resources/v1TextToSpeechVoiceIdStreamInput/exports.d.ts +1 -0
- package/api/resources/v1TextToSpeechVoiceIdStreamInput/exports.js +18 -0
- package/api/resources/voices/client/Client.d.ts +3 -1
- package/api/resources/voices/client/Client.js +99 -150
- package/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +3 -3
- package/api/resources/voices/exports.d.ts +3 -0
- package/api/resources/voices/exports.js +22 -0
- package/api/resources/voices/resources/ivc/client/Client.js +15 -15
- package/api/resources/voices/resources/ivc/exports.d.ts +2 -0
- package/api/resources/voices/resources/ivc/exports.js +21 -0
- 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/exports.d.ts +3 -0
- package/api/resources/voices/resources/pvc/exports.js +22 -0
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +14 -14
- package/api/resources/voices/resources/pvc/resources/samples/exports.d.ts +3 -0
- package/api/resources/voices/resources/pvc/resources/samples/exports.js +22 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +8 -5
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/exports.d.ts +2 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/exports.js +21 -0
- 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/exports.d.ts +3 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/exports.js +22 -0
- 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/speakers/resources/audio/exports.d.ts +2 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/exports.js +21 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/exports.d.ts +2 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/exports.js +21 -0
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +5 -5
- package/api/resources/voices/resources/pvc/resources/verification/exports.d.ts +3 -0
- package/api/resources/voices/resources/pvc/resources/verification/exports.js +22 -0
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -5
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/exports.d.ts +2 -0
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/exports.js +21 -0
- package/api/resources/voices/resources/samples/exports.d.ts +3 -0
- package/api/resources/voices/resources/samples/exports.js +22 -0
- package/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +1 -0
- package/api/resources/voices/resources/samples/resources/audio/client/Client.js +2 -1
- package/api/resources/voices/resources/samples/resources/audio/exports.d.ts +2 -0
- package/api/resources/voices/resources/samples/resources/audio/exports.js +21 -0
- package/api/resources/voices/resources/settings/client/Client.js +3 -3
- package/api/resources/voices/resources/settings/exports.d.ts +2 -0
- package/api/resources/voices/resources/settings/exports.js +21 -0
- package/api/resources/voices/types/VoicesGetSharedRequestSort.d.ts +8 -0
- package/api/resources/voices/types/VoicesGetSharedRequestSort.js +11 -0
- package/api/resources/voices/types/index.d.ts +1 -0
- package/api/resources/voices/types/index.js +1 -0
- package/api/resources/webhooks/client/Client.js +11 -8
- package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
- package/api/resources/webhooks/exports.d.ts +2 -0
- package/api/resources/webhooks/exports.js +21 -0
- package/api/resources/workspace/exports.d.ts +3 -0
- package/api/resources/workspace/exports.js +22 -0
- package/api/resources/workspace/resources/analytics/exports.d.ts +3 -0
- package/api/resources/workspace/resources/analytics/exports.js +22 -0
- package/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +1 -1
- package/api/resources/workspace/resources/analytics/resources/requests/exports.d.ts +2 -0
- package/api/resources/workspace/resources/analytics/resources/requests/exports.js +21 -0
- package/api/resources/workspace/resources/auditLogs/client/Client.js +14 -23
- package/api/resources/workspace/resources/auditLogs/exports.d.ts +2 -0
- package/api/resources/workspace/resources/auditLogs/exports.js +21 -0
- package/api/resources/workspace/resources/authConnections/client/Client.js +4 -4
- package/api/resources/workspace/resources/authConnections/exports.d.ts +2 -0
- package/api/resources/workspace/resources/authConnections/exports.js +21 -0
- package/api/resources/workspace/resources/groups/client/Client.js +9 -4
- package/api/resources/workspace/resources/groups/exports.d.ts +3 -0
- package/api/resources/workspace/resources/groups/exports.js +22 -0
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/api/resources/workspace/resources/groups/resources/members/exports.d.ts +2 -0
- package/api/resources/workspace/resources/groups/resources/members/exports.js +21 -0
- package/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/api/resources/workspace/resources/invites/exports.d.ts +2 -0
- package/api/resources/workspace/resources/invites/exports.js +21 -0
- package/api/resources/workspace/resources/members/client/Client.js +1 -1
- package/api/resources/workspace/resources/members/exports.d.ts +2 -0
- package/api/resources/workspace/resources/members/exports.js +21 -0
- package/api/resources/workspace/resources/resources/client/Client.js +12 -7
- package/api/resources/workspace/resources/resources/exports.d.ts +2 -0
- package/api/resources/workspace/resources/resources/exports.js +21 -0
- package/api/resources/workspace/resources/usage/client/Client.js +1 -1
- package/api/resources/workspace/resources/usage/client/requests/BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePost.d.ts +3 -1
- package/api/resources/workspace/resources/usage/exports.d.ts +2 -0
- package/api/resources/workspace/resources/usage/exports.js +21 -0
- package/api/resources/workspaces/exports.d.ts +3 -0
- package/api/resources/workspaces/exports.js +22 -0
- package/api/resources/workspaces/resources/apiKeys/client/Client.d.ts +5 -5
- package/api/resources/workspaces/resources/apiKeys/client/Client.js +17 -12
- package/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysDisableRequest.d.ts +10 -0
- package/api/resources/workspaces/resources/apiKeys/client/requests/index.d.ts +1 -1
- package/api/resources/workspaces/resources/apiKeys/exports.d.ts +2 -0
- package/api/resources/workspaces/resources/apiKeys/exports.js +21 -0
- 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/AgentTransfer.d.ts +2 -0
- package/{dist/api/types/AgentAlertingMonitorConfig.d.ts → api/types/AlertingMonitorConfig.d.ts} +1 -1
- package/api/types/AlertingSettings.d.ts +19 -0
- package/api/types/AlertingWebhookNotifier.d.ts +5 -0
- package/api/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/api/types/ArrayJsonSchemaPropertyInput.d.ts +4 -2
- package/api/types/ArrayJsonSchemaPropertyOutput.d.ts +4 -2
- package/api/types/AudioFormat.d.ts +6 -0
- package/api/types/AudioFormat.js +9 -0
- package/api/types/AudioRefChunk.d.ts +7 -0
- package/api/types/BackgroundSoundConfig.d.ts +11 -0
- package/api/types/BackgroundSoundConfigWorkflowOverride.d.ts +11 -0
- package/api/types/BackgroundSoundConfigWorkflowOverride.js +3 -0
- package/api/types/{BackgroundMusicPresetId.d.ts → BackgroundSoundPresetId.d.ts} +3 -3
- package/{dist/api/types/BackgroundMusicPresetId.js → api/types/BackgroundSoundPresetId.js} +3 -3
- package/api/types/BackgroundSoundSourceType.d.ts +4 -0
- package/api/types/BackgroundSoundSourceType.js +3 -0
- package/api/types/ChapterContentBlockResponseModelNodesItem.d.ts +1 -0
- package/api/types/ChapterContentBlockTtsNodeResponseModel.d.ts +2 -1
- package/api/types/CodeToolContextVariable.d.ts +4 -0
- package/api/types/CodeToolContextVariable.js +3 -0
- package/api/types/CompositionPlan.d.ts +8 -0
- package/api/types/CompositionPlan.js +3 -0
- package/api/types/CompositionPlanChunksItem.d.ts +2 -0
- package/api/types/CompositionPlanChunksItem.js +3 -0
- package/api/types/ConstantSchemaOverrideConstantValue.d.ts +2 -1
- package/api/types/ConstantSchemaOverrideConstantValueFourItem.d.ts +1 -0
- package/api/types/ConstantSchemaOverrideConstantValueFourItem.js +3 -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/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 +1 -1
- package/api/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/api/types/CustomGuardrailConfig.d.ts +4 -0
- package/api/types/CustomGuardrailConfigModel.d.ts +12 -0
- package/api/types/CustomGuardrailConfigModel.js +15 -0
- package/api/types/DetailedMusicResponse.d.ts +1 -1
- package/api/types/DetailedMusicResponseCompositionPlan.d.ts +5 -0
- package/api/types/DetailedMusicResponseCompositionPlan.js +3 -0
- package/api/types/Eagerness.d.ts +6 -0
- package/api/types/Eagerness.js +9 -0
- package/api/types/EndProcedureToolConfigInput.d.ts +4 -0
- package/api/types/EndProcedureToolConfigInput.js +3 -0
- package/api/types/EndProcedureToolConfigOutput.d.ts +4 -0
- package/api/types/EndProcedureToolConfigOutput.js +3 -0
- package/api/types/EndProcedureToolErrorStatus.d.ts +5 -0
- package/api/types/EndProcedureToolErrorStatus.js +8 -0
- package/api/types/EntryBehavior.d.ts +6 -0
- package/api/types/EntryBehavior.js +9 -0
- package/api/types/FineTuningResponse.d.ts +2 -2
- package/api/types/GenerationChunk.d.ts +17 -0
- package/api/types/GenerationChunk.js +3 -0
- package/api/types/GenerationChunkConditionStrength.d.ts +7 -0
- package/api/types/GenerationChunkConditionStrength.js +10 -0
- package/api/types/GenerationChunkContextAdherence.d.ts +7 -0
- package/api/types/GenerationChunkContextAdherence.js +10 -0
- package/api/types/GetKnowledgeBaseListResponseModelDocumentsItem.d.ts +2 -2
- package/api/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/api/types/GetResponseUnitTestResponseModel.d.ts +1 -1
- package/api/types/GetSimulationTestResponseModel.d.ts +1 -1
- package/api/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
- package/api/types/InteractionBudget.d.ts +3 -1
- package/api/types/InteractionBudget.js +3 -1
- package/api/types/KnowledgeBaseContentSearchResultDocument.d.ts +2 -2
- package/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.d.ts +2 -2
- package/api/types/LoadMemoryEntryToolErrorStatus.d.ts +5 -0
- package/api/types/LoadMemoryEntryToolErrorStatus.js +8 -0
- package/api/types/LoadableMemoryEntry.d.ts +5 -0
- package/api/types/LoadableMemoryEntry.js +3 -0
- package/api/types/McpToolConfigOverrideInput.d.ts +1 -1
- package/api/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/api/types/MediaCodec.d.ts +6 -0
- package/api/types/MediaCodec.js +9 -0
- package/api/types/MusicPrompt.d.ts +3 -0
- package/api/types/MusicUploadResponse.d.ts +4 -2
- package/api/types/MusicUploadResponseCompositionPlan.d.ts +5 -0
- package/api/types/MusicUploadResponseCompositionPlan.js +3 -0
- package/api/types/OpenAiAudioConfig.d.ts +5 -0
- package/api/types/OpenAiAudioConfig.js +3 -0
- package/api/types/OpenAiAudioInputConfig.d.ts +5 -0
- package/api/types/OpenAiAudioInputConfig.js +3 -0
- package/api/types/OpenAiAudioInputFormat.d.ts +5 -0
- package/api/types/OpenAiAudioInputFormat.js +3 -0
- package/api/types/OpenAiAudioOutputConfig.d.ts +5 -0
- package/api/types/OpenAiAudioOutputConfig.js +3 -0
- package/api/types/OpenAiAudioOutputFormat.d.ts +4 -0
- package/api/types/OpenAiAudioOutputFormat.js +3 -0
- package/api/types/OpenAiFunctionTool.d.ts +5 -0
- package/api/types/OpenAiFunctionTool.js +3 -0
- package/api/types/OpenAiSessionConfig.d.ts +13 -0
- package/api/types/OpenAiSessionConfig.js +3 -0
- package/api/types/OpenAiSessionConfigMaxResponseOutputTokens.d.ts +1 -0
- package/api/types/OpenAiSessionConfigMaxResponseOutputTokens.js +3 -0
- package/api/types/OpenAiSessionConfigToolChoice.d.ts +2 -0
- package/api/types/OpenAiSessionConfigToolChoice.js +3 -0
- package/api/types/OpenAiSessionConfigToolsItem.d.ts +10 -0
- package/api/types/OpenAiSessionConfigToolsItem.js +3 -0
- package/api/types/OpenAiToolChoiceFunction.d.ts +5 -0
- package/api/types/OpenAiToolChoiceFunction.js +3 -0
- package/api/types/OpenAiToolChoiceFunctionInner.d.ts +3 -0
- package/api/types/OpenAiToolChoiceFunctionInner.js +3 -0
- package/api/types/OpenAiTurnDetection.d.ts +10 -0
- package/api/types/OpenAiTurnDetection.js +3 -0
- package/api/types/OpenAimcpTool.d.ts +8 -0
- package/api/types/OpenAimcpTool.js +3 -0
- package/api/types/OpenAimcpToolRequireApproval.d.ts +5 -0
- package/api/types/OpenAimcpToolRequireApproval.js +8 -0
- package/api/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/api/types/ProjectExtendedResponse.d.ts +9 -5
- package/api/types/ProjectResponse.d.ts +9 -5
- package/api/types/ProjectVoiceResponseModel.d.ts +1 -0
- package/api/types/RealtimeConfigSnapshot.d.ts +14 -0
- package/api/types/RealtimeConfigSnapshot.js +3 -0
- package/api/types/RealtimeConfigSnapshotParents.d.ts +3 -0
- package/api/types/RealtimeConfigSnapshotParents.js +3 -0
- package/api/types/ResponseUnitTestModel.d.ts +1 -1
- package/api/types/ReviewResponseModel.d.ts +1 -1
- package/api/types/{SafetyCommonModel.d.ts → SafetyCommonModelInput.d.ts} +1 -1
- package/api/types/SafetyCommonModelInput.js +3 -0
- package/api/types/SafetyCommonModelOutput.d.ts +8 -0
- package/api/types/SafetyCommonModelOutput.js +3 -0
- package/api/types/SimulationTestModel.d.ts +1 -1
- package/api/types/SongSourceContext.d.ts +1 -0
- package/api/types/SpeakerSeparationResponseModel.d.ts +1 -1
- package/api/types/SpeechHistoryItemResponseModelSource.d.ts +1 -0
- package/api/types/SpeechHistoryItemResponseModelSource.js +1 -0
- package/api/types/StartProcedureToolErrorStatus.d.ts +1 -0
- package/api/types/StartProcedureToolErrorStatus.js +1 -0
- package/api/types/SubmitBusinessInfoParams.d.ts +6 -0
- package/api/types/SubmitBusinessInfoParams.js +3 -0
- package/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/api/types/TextToDialogueWebsocketClientMessage.d.ts +2 -2
- package/api/types/TextToDialogueWebsocketVoiceSettings.d.ts +7 -0
- package/api/types/TextToDialogueWebsocketVoiceSettings.js +3 -0
- package/api/types/ToolCallUnitTestModel.d.ts +1 -1
- package/api/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
- package/api/types/TransferToNumberResultExotelSuccessModel.d.ts +1 -0
- package/api/types/TtsConversationalConfigInput.d.ts +2 -0
- package/api/types/TtsConversationalConfigOutput.d.ts +2 -0
- package/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
- package/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
- package/api/types/TurnDetectionType.d.ts +5 -0
- package/api/types/TurnDetectionType.js +8 -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 +1 -1
- package/api/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
- package/api/types/VoiceStatisticsResponseModel.d.ts +4 -2
- package/api/types/WebhookHmacSettings.d.ts +1 -1
- package/api/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -0
- package/api/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -0
- package/api/types/WorkflowStandaloneAgentNodeModelInput.d.ts +2 -0
- package/api/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +2 -0
- package/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -0
- package/api/types/index.d.ts +49 -9
- package/api/types/index.js +49 -9
- package/biome.json +1 -1
- package/core/fetcher/BinaryResponse.d.ts +1 -1
- package/core/fetcher/EndpointSupplier.d.ts +2 -2
- package/core/fetcher/Fetcher.d.ts +9 -2
- package/core/fetcher/Fetcher.js +21 -10
- package/core/fetcher/getResponseBody.js +11 -0
- package/core/fetcher/index.d.ts +2 -0
- package/core/fetcher/index.js +3 -1
- package/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/core/fetcher/makePassthroughRequest.js +135 -0
- package/core/fetcher/makeRequest.d.ts +6 -1
- package/core/fetcher/makeRequest.js +30 -9
- package/core/fetcher/requestWithRetries.js +4 -1
- package/core/file/file.js +3 -2
- package/core/headers.d.ts +2 -2
- package/core/runtime/runtime.js +8 -7
- package/core/schemas/builders/enum/enum.d.ts +1 -0
- package/core/schemas/builders/enum/enum.js +7 -0
- package/core/schemas/builders/enum/index.d.ts +1 -1
- package/core/schemas/builders/enum/index.js +2 -1
- package/core/schemas/builders/list/list.js +12 -17
- package/core/schemas/builders/object/object.js +122 -42
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +10 -3
- package/core/schemas/builders/primitives/never.d.ts +1 -1
- package/core/schemas/builders/primitives/never.js +3 -3
- package/core/schemas/builders/record/index.d.ts +2 -2
- package/core/schemas/builders/record/index.js +2 -1
- package/core/schemas/builders/record/record.d.ts +2 -1
- package/core/schemas/builders/record/record.js +63 -25
- package/core/schemas/builders/record/types.d.ts +2 -0
- package/core/schemas/builders/schema-utils/JsonError.js +2 -1
- package/core/schemas/builders/schema-utils/ParseError.js +2 -1
- package/core/schemas/builders/union/union.js +9 -12
- package/core/schemas/utils/isPlainObject.js +4 -6
- package/core/stream/Stream.d.ts +9 -0
- package/core/stream/Stream.js +100 -5
- package/core/url/QueryStringBuilder.d.ts +47 -0
- package/core/url/QueryStringBuilder.js +83 -0
- package/core/url/index.d.ts +1 -0
- package/core/url/index.js +3 -1
- package/core/url/qs.d.ts +2 -1
- package/core/url/qs.js +24 -12
- package/dist/BaseClient.d.ts +2 -2
- package/dist/BaseClient.js +2 -2
- package/dist/Client.d.ts +11 -0
- package/dist/Client.js +24 -1
- package/dist/api/resources/audioIsolation/client/Client.d.ts +2 -0
- package/dist/api/resources/audioIsolation/client/Client.js +24 -23
- package/dist/api/resources/audioIsolation/exports.d.ts +2 -0
- package/dist/api/resources/audioIsolation/exports.js +21 -0
- package/dist/api/resources/audioNative/client/Client.js +39 -39
- package/dist/api/resources/audioNative/exports.d.ts +2 -0
- package/dist/api/resources/audioNative/exports.js +21 -0
- package/dist/api/resources/conversationalAi/client/Client.d.ts +2 -0
- package/dist/api/resources/conversationalAi/client/Client.js +18 -13
- package/dist/api/resources/conversationalAi/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +50 -54
- package/dist/api/resources/conversationalAi/resources/agents/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +20 -14
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +16 -6
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +8 -10
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +8 -5
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +4 -4
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/analytics/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/analytics/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +8 -5
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +15 -16
- package/dist/api/resources/conversationalAi/resources/batchCalls/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +95 -172
- package/dist/api/resources/conversationalAi/resources/conversations/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/Client.d.ts +16 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/Client.js +64 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/index.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/index.js +15 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/RunConversationEvaluationsRequest.d.ts +12 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/RunConversationEvaluationsRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +2 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.js +5 -5
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/exports.js +21 -0
- 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.js +55 -127
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +15 -14
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/dashboard/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/dashboard/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/exotel/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/exotel/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/exotel/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +42 -66
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +6 -6
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +44 -37
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +10 -7
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +12 -11
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +8 -10
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsGetResponse.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsUpdateResponse.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/llm/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/llm/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/llm/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/llmUsage/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/exports.js +21 -0
- 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/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +3 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/exports.js +21 -0
- 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/toolConfigs/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +7 -2
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +36 -18
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersListRequest.d.ts +17 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersListRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +24 -26
- package/dist/api/resources/conversationalAi/resources/secrets/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/secrets/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/settings/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/settings/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/sipTrunk/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/sipTrunk/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +31 -41
- package/dist/api/resources/conversationalAi/resources/tests/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/tests/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js +11 -8
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +12 -13
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +43 -49
- package/dist/api/resources/conversationalAi/resources/tools/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/tools/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/tools/resources/executions/client/Client.js +14 -23
- package/dist/api/resources/conversationalAi/resources/tools/resources/executions/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tools/resources/executions/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/twilio/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/twilio/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/users/client/Client.js +17 -26
- package/dist/api/resources/conversationalAi/resources/users/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/users/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/whatsapp/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +5 -2
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +20 -9
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/WhatsappAccountsListRequest.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/WhatsappAccountsListRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/exports.js +21 -0
- package/dist/api/resources/dubbing/client/Client.js +57 -56
- package/dist/api/resources/dubbing/exports.d.ts +3 -0
- package/dist/api/resources/dubbing/exports.js +22 -0
- package/dist/api/resources/dubbing/resources/audio/client/Client.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/audio/client/Client.js +2 -1
- package/dist/api/resources/dubbing/resources/audio/exports.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/audio/exports.js +21 -0
- package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +12 -0
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +18 -6
- package/dist/api/resources/dubbing/resources/resource/exports.d.ts +3 -0
- package/dist/api/resources/dubbing/resources/resource/exports.js +22 -0
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +3 -1
- package/dist/api/resources/dubbing/resources/resource/resources/language/exports.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/resource/resources/language/exports.js +21 -0
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +4 -0
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +6 -2
- package/dist/api/resources/dubbing/resources/resource/resources/segment/exports.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/resource/resources/segment/exports.js +21 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +6 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +9 -3
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/exports.d.ts +3 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/exports.js +22 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +3 -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/resource/resources/speaker/resources/segment/exports.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/exports.js +21 -0
- package/dist/api/resources/dubbing/resources/transcript/client/Client.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/transcript/client/Client.js +14 -5
- package/dist/api/resources/dubbing/resources/transcript/exports.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/transcript/exports.js +21 -0
- package/dist/api/resources/dubbing/resources/transcripts/client/Client.js +1 -1
- package/dist/api/resources/dubbing/resources/transcripts/exports.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/transcripts/exports.js +21 -0
- package/dist/api/resources/environmentVariables/client/Client.js +19 -22
- package/dist/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
- package/dist/api/resources/environmentVariables/exports.d.ts +2 -0
- package/dist/api/resources/environmentVariables/exports.js +21 -0
- package/dist/api/resources/forcedAlignment/client/Client.js +5 -5
- package/dist/api/resources/forcedAlignment/exports.d.ts +2 -0
- package/dist/api/resources/forcedAlignment/exports.js +21 -0
- package/dist/api/resources/history/client/Client.d.ts +2 -0
- package/dist/api/resources/history/client/Client.js +28 -37
- package/dist/api/resources/history/exports.d.ts +2 -0
- package/dist/api/resources/history/exports.js +21 -0
- package/dist/api/resources/history/types/HistoryListRequestSource.d.ts +1 -0
- package/dist/api/resources/history/types/HistoryListRequestSource.js +1 -0
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/models/exports.d.ts +2 -0
- package/dist/api/resources/models/exports.js +21 -0
- package/dist/api/resources/music/client/Client.d.ts +5 -0
- package/dist/api/resources/music/client/Client.js +102 -73
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -2
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -2
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +2 -2
- package/dist/api/resources/music/client/requests/BodyUploadMusicV1MusicUploadPost.d.ts +4 -2
- package/dist/api/resources/music/client/requests/BodyVideoToMusicV1MusicVideoToMusicPost.d.ts +1 -1
- package/dist/api/resources/music/exports.d.ts +3 -0
- package/dist/api/resources/music/exports.js +22 -0
- package/dist/api/resources/music/resources/compositionPlan/client/Client.d.ts +1 -1
- package/dist/api/resources/music/resources/compositionPlan/client/Client.js +2 -2
- package/dist/api/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +2 -2
- package/dist/api/resources/music/resources/compositionPlan/exports.d.ts +2 -0
- package/dist/api/resources/music/resources/compositionPlan/exports.js +21 -0
- package/dist/api/resources/music/resources/compositionPlan/index.d.ts +1 -0
- package/dist/api/resources/music/resources/compositionPlan/index.js +1 -0
- package/dist/api/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostModelId.d.ts +6 -0
- package/dist/api/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostModelId.js +9 -0
- package/dist/api/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostSourceCompositionPlan.d.ts +5 -0
- package/dist/api/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostSourceCompositionPlan.js +3 -0
- package/dist/api/resources/music/resources/compositionPlan/types/CompositionPlanCreateResponse.d.ts +2 -0
- package/dist/api/resources/music/resources/compositionPlan/types/CompositionPlanCreateResponse.js +3 -0
- package/dist/api/resources/music/resources/compositionPlan/types/index.d.ts +3 -0
- package/dist/api/resources/music/resources/compositionPlan/types/index.js +19 -0
- package/dist/api/resources/music/resources/index.d.ts +1 -0
- package/dist/api/resources/music/resources/index.js +1 -0
- package/dist/api/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.d.ts +5 -0
- package/dist/api/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.js +3 -0
- package/dist/api/resources/music/types/BodyComposeMusicV1MusicPostModelId.d.ts +6 -0
- package/dist/api/resources/music/types/BodyComposeMusicV1MusicPostModelId.js +9 -0
- package/dist/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.d.ts +5 -0
- package/dist/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.js +3 -0
- package/dist/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId.d.ts +6 -0
- package/dist/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId.js +9 -0
- package/dist/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts +5 -0
- package/dist/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.js +3 -0
- package/dist/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostModelId.d.ts +6 -0
- package/dist/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostModelId.js +9 -0
- package/dist/api/resources/music/types/MusicVideoToMusicRequestModelId.d.ts +6 -0
- package/dist/api/resources/music/types/MusicVideoToMusicRequestModelId.js +9 -0
- package/dist/api/resources/music/types/index.d.ts +7 -0
- package/dist/api/resources/music/types/index.js +7 -0
- package/dist/api/resources/productions/exports.d.ts +3 -0
- package/dist/api/resources/productions/exports.js +22 -0
- package/dist/api/resources/productions/resources/orders/client/Client.js +23 -33
- package/dist/api/resources/productions/resources/orders/exports.d.ts +3 -0
- package/dist/api/resources/productions/resources/orders/exports.js +22 -0
- package/dist/api/resources/productions/resources/orders/resources/deliverables/client/Client.js +1 -1
- package/dist/api/resources/productions/resources/orders/resources/deliverables/exports.d.ts +2 -0
- package/dist/api/resources/productions/resources/orders/resources/deliverables/exports.js +21 -0
- package/dist/api/resources/productions/resources/orders/resources/items/client/Client.js +2 -2
- package/dist/api/resources/productions/resources/orders/resources/items/exports.d.ts +2 -0
- package/dist/api/resources/productions/resources/orders/resources/items/exports.js +21 -0
- package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
- package/dist/api/resources/productions/resources/orders/resources/languages/exports.d.ts +2 -0
- package/dist/api/resources/productions/resources/orders/resources/languages/exports.js +21 -0
- package/dist/api/resources/productions/resources/orders/resources/media/client/Client.js +9 -9
- package/dist/api/resources/productions/resources/orders/resources/media/exports.d.ts +2 -0
- package/dist/api/resources/productions/resources/orders/resources/media/exports.js +21 -0
- package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +1 -0
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +27 -27
- package/dist/api/resources/pronunciationDictionaries/exports.d.ts +3 -0
- package/dist/api/resources/pronunciationDictionaries/exports.js +22 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +3 -3
- package/dist/api/resources/pronunciationDictionaries/resources/rules/exports.d.ts +2 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/exports.js +21 -0
- package/dist/api/resources/samples/client/Client.js +1 -1
- package/dist/api/resources/samples/exports.d.ts +2 -0
- package/dist/api/resources/samples/exports.js +21 -0
- package/dist/api/resources/serviceAccounts/client/Client.js +1 -1
- package/dist/api/resources/serviceAccounts/exports.d.ts +3 -0
- package/dist/api/resources/serviceAccounts/exports.js +22 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.d.ts +2 -6
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +8 -12
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +5 -9
- package/dist/api/resources/serviceAccounts/resources/apiKeys/exports.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/exports.js +21 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit.d.ts +4 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit.js +3 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled.d.ts +4 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled.js +3 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +2 -0
- package/dist/api/resources/speechEngine/client/Client.js +20 -23
- package/dist/api/resources/speechEngine/exports.d.ts +2 -0
- package/dist/api/resources/speechEngine/exports.js +21 -0
- package/dist/api/resources/speechEngineUpstream/exports.d.ts +1 -0
- package/dist/api/resources/speechEngineUpstream/exports.js +18 -0
- package/dist/api/resources/speechToSpeech/client/Client.d.ts +2 -0
- package/dist/api/resources/speechToSpeech/client/Client.js +60 -52
- package/dist/api/resources/speechToSpeech/exports.d.ts +2 -0
- package/dist/api/resources/speechToSpeech/exports.js +21 -0
- package/dist/api/resources/speechToText/client/Client.js +44 -38
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -6
- package/dist/api/resources/speechToText/exports.d.ts +3 -0
- package/dist/api/resources/speechToText/exports.js +22 -0
- package/dist/api/resources/speechToText/resources/transcripts/client/Client.js +2 -2
- package/dist/api/resources/speechToText/resources/transcripts/exports.d.ts +2 -0
- package/dist/api/resources/speechToText/resources/transcripts/exports.js +21 -0
- package/dist/api/resources/studio/client/Client.js +2 -2
- package/dist/api/resources/studio/exports.d.ts +3 -0
- package/dist/api/resources/studio/exports.js +22 -0
- package/dist/api/resources/studio/resources/projects/client/Client.js +52 -49
- package/dist/api/resources/studio/resources/projects/exports.d.ts +3 -0
- package/dist/api/resources/studio/resources/projects/exports.js +22 -0
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
- package/dist/api/resources/studio/resources/projects/resources/chapters/exports.d.ts +3 -0
- package/dist/api/resources/studio/resources/projects/resources/chapters/exports.js +22 -0
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +4 -3
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/exports.d.ts +2 -0
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/exports.js +21 -0
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +14 -14
- package/dist/api/resources/studio/resources/projects/resources/content/exports.d.ts +2 -0
- package/dist/api/resources/studio/resources/projects/resources/content/exports.js +21 -0
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/exports.d.ts +2 -0
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/exports.js +21 -0
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +2 -0
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +6 -4
- package/dist/api/resources/studio/resources/projects/resources/snapshots/exports.d.ts +2 -0
- package/dist/api/resources/studio/resources/projects/resources/snapshots/exports.js +21 -0
- package/dist/api/resources/textToDialogue/client/Client.d.ts +2 -0
- package/dist/api/resources/textToDialogue/client/Client.js +51 -37
- package/dist/api/resources/textToDialogue/exports.d.ts +2 -0
- package/dist/api/resources/textToDialogue/exports.js +21 -0
- package/dist/api/resources/textToSoundEffects/client/Client.d.ts +1 -0
- package/dist/api/resources/textToSoundEffects/client/Client.js +11 -7
- package/dist/api/resources/textToSoundEffects/exports.d.ts +2 -0
- package/dist/api/resources/textToSoundEffects/exports.js +21 -0
- package/dist/api/resources/textToSpeech/client/Client.d.ts +2 -0
- package/dist/api/resources/textToSpeech/client/Client.js +59 -49
- package/dist/api/resources/textToSpeech/exports.d.ts +2 -0
- package/dist/api/resources/textToSpeech/exports.js +21 -0
- package/dist/api/resources/textToVoice/client/Client.d.ts +2 -0
- package/dist/api/resources/textToVoice/client/Client.js +33 -22
- package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
- package/dist/api/resources/textToVoice/exports.d.ts +3 -0
- package/dist/api/resources/textToVoice/exports.js +22 -0
- package/dist/api/resources/textToVoice/resources/preview/client/Client.d.ts +1 -0
- package/dist/api/resources/textToVoice/resources/preview/client/Client.js +2 -1
- package/dist/api/resources/textToVoice/resources/preview/exports.d.ts +2 -0
- package/dist/api/resources/textToVoice/resources/preview/exports.js +21 -0
- package/dist/api/resources/tokens/exports.d.ts +3 -0
- package/dist/api/resources/tokens/exports.js +22 -0
- package/dist/api/resources/tokens/resources/singleUse/client/Client.js +1 -1
- package/dist/api/resources/tokens/resources/singleUse/exports.d.ts +2 -0
- package/dist/api/resources/tokens/resources/singleUse/exports.js +21 -0
- package/dist/api/resources/usage/client/Client.d.ts +2 -0
- package/dist/api/resources/usage/client/Client.js +24 -23
- package/dist/api/resources/usage/exports.d.ts +2 -0
- package/dist/api/resources/usage/exports.js +21 -0
- package/dist/api/resources/user/client/Client.js +1 -1
- package/dist/api/resources/user/exports.d.ts +3 -0
- package/dist/api/resources/user/exports.js +22 -0
- package/dist/api/resources/user/resources/subscription/client/Client.js +1 -1
- package/dist/api/resources/user/resources/subscription/exports.d.ts +2 -0
- package/dist/api/resources/user/resources/subscription/exports.js +21 -0
- package/dist/api/resources/v1RealtimeTranslation/exports.d.ts +1 -0
- package/dist/api/resources/v1RealtimeTranslation/exports.js +18 -0
- package/dist/api/resources/v1SpeechToTextRealtime/exports.d.ts +1 -0
- package/dist/api/resources/v1SpeechToTextRealtime/exports.js +18 -0
- package/dist/api/resources/v1TextToDialogueStreamInput/exports.d.ts +1 -0
- package/dist/api/resources/v1TextToDialogueStreamInput/exports.js +18 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/exports.d.ts +1 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/exports.js +18 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/exports.d.ts +1 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/exports.js +18 -0
- package/dist/api/resources/voices/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/client/Client.js +99 -150
- package/dist/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +3 -3
- package/dist/api/resources/voices/exports.d.ts +3 -0
- package/dist/api/resources/voices/exports.js +22 -0
- package/dist/api/resources/voices/resources/ivc/client/Client.js +15 -15
- package/dist/api/resources/voices/resources/ivc/exports.d.ts +2 -0
- package/dist/api/resources/voices/resources/ivc/exports.js +21 -0
- 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/exports.d.ts +3 -0
- package/dist/api/resources/voices/resources/pvc/exports.js +22 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +14 -14
- package/dist/api/resources/voices/resources/pvc/resources/samples/exports.d.ts +3 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/exports.js +22 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +8 -5
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/exports.d.ts +2 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/exports.js +21 -0
- 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/exports.d.ts +3 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/exports.js +22 -0
- 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/speakers/resources/audio/exports.d.ts +2 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/exports.js +21 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/exports.d.ts +2 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/exports.js +21 -0
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +5 -5
- package/dist/api/resources/voices/resources/pvc/resources/verification/exports.d.ts +3 -0
- package/dist/api/resources/voices/resources/pvc/resources/verification/exports.js +22 -0
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -5
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/exports.d.ts +2 -0
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/exports.js +21 -0
- package/dist/api/resources/voices/resources/samples/exports.d.ts +3 -0
- package/dist/api/resources/voices/resources/samples/exports.js +22 -0
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +1 -0
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +2 -1
- package/dist/api/resources/voices/resources/samples/resources/audio/exports.d.ts +2 -0
- package/dist/api/resources/voices/resources/samples/resources/audio/exports.js +21 -0
- package/dist/api/resources/voices/resources/settings/client/Client.js +3 -3
- package/dist/api/resources/voices/resources/settings/exports.d.ts +2 -0
- package/dist/api/resources/voices/resources/settings/exports.js +21 -0
- package/dist/api/resources/voices/types/VoicesGetSharedRequestSort.d.ts +8 -0
- package/dist/api/resources/voices/types/VoicesGetSharedRequestSort.js +11 -0
- package/dist/api/resources/voices/types/index.d.ts +1 -0
- package/dist/api/resources/voices/types/index.js +1 -0
- package/dist/api/resources/webhooks/client/Client.js +11 -8
- package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
- package/dist/api/resources/webhooks/exports.d.ts +2 -0
- package/dist/api/resources/webhooks/exports.js +21 -0
- package/dist/api/resources/workspace/exports.d.ts +3 -0
- package/dist/api/resources/workspace/exports.js +22 -0
- package/dist/api/resources/workspace/resources/analytics/exports.d.ts +3 -0
- package/dist/api/resources/workspace/resources/analytics/exports.js +22 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +1 -1
- package/dist/api/resources/workspace/resources/analytics/resources/requests/exports.d.ts +2 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/exports.js +21 -0
- package/dist/api/resources/workspace/resources/auditLogs/client/Client.js +14 -23
- package/dist/api/resources/workspace/resources/auditLogs/exports.d.ts +2 -0
- package/dist/api/resources/workspace/resources/auditLogs/exports.js +21 -0
- package/dist/api/resources/workspace/resources/authConnections/client/Client.js +4 -4
- package/dist/api/resources/workspace/resources/authConnections/exports.d.ts +2 -0
- package/dist/api/resources/workspace/resources/authConnections/exports.js +21 -0
- package/dist/api/resources/workspace/resources/groups/client/Client.js +9 -4
- package/dist/api/resources/workspace/resources/groups/exports.d.ts +3 -0
- package/dist/api/resources/workspace/resources/groups/exports.js +22 -0
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/dist/api/resources/workspace/resources/groups/resources/members/exports.d.ts +2 -0
- package/dist/api/resources/workspace/resources/groups/resources/members/exports.js +21 -0
- package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/dist/api/resources/workspace/resources/invites/exports.d.ts +2 -0
- package/dist/api/resources/workspace/resources/invites/exports.js +21 -0
- package/dist/api/resources/workspace/resources/members/client/Client.js +1 -1
- package/dist/api/resources/workspace/resources/members/exports.d.ts +2 -0
- package/dist/api/resources/workspace/resources/members/exports.js +21 -0
- package/dist/api/resources/workspace/resources/resources/client/Client.js +12 -7
- package/dist/api/resources/workspace/resources/resources/exports.d.ts +2 -0
- package/dist/api/resources/workspace/resources/resources/exports.js +21 -0
- package/dist/api/resources/workspace/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/workspace/resources/usage/client/requests/BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePost.d.ts +3 -1
- package/dist/api/resources/workspace/resources/usage/exports.d.ts +2 -0
- package/dist/api/resources/workspace/resources/usage/exports.js +21 -0
- package/dist/api/resources/workspaces/exports.d.ts +3 -0
- package/dist/api/resources/workspaces/exports.js +22 -0
- package/dist/api/resources/workspaces/resources/apiKeys/client/Client.d.ts +5 -5
- package/dist/api/resources/workspaces/resources/apiKeys/client/Client.js +17 -12
- package/dist/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysDisableRequest.d.ts +10 -0
- package/dist/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysDisableRequest.js +3 -0
- package/dist/api/resources/workspaces/resources/apiKeys/client/requests/index.d.ts +1 -1
- package/dist/api/resources/workspaces/resources/apiKeys/exports.d.ts +2 -0
- package/dist/api/resources/workspaces/resources/apiKeys/exports.js +21 -0
- 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/AgentTransfer.d.ts +2 -0
- package/{api/types/AgentAlertingMonitorConfig.d.ts → dist/api/types/AlertingMonitorConfig.d.ts} +1 -1
- package/dist/api/types/AlertingMonitorConfig.js +3 -0
- package/dist/api/types/AlertingSettings.d.ts +19 -0
- package/dist/api/types/AlertingSettings.js +3 -0
- package/dist/api/types/AlertingWebhookNotifier.d.ts +5 -0
- package/dist/api/types/AlertingWebhookNotifier.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/dist/api/types/ArrayJsonSchemaPropertyInput.d.ts +4 -2
- package/dist/api/types/ArrayJsonSchemaPropertyOutput.d.ts +4 -2
- package/dist/api/types/AudioFormat.d.ts +6 -0
- package/dist/api/types/AudioFormat.js +9 -0
- package/dist/api/types/AudioRefChunk.d.ts +7 -0
- package/dist/api/types/AudioRefChunk.js +3 -0
- package/dist/api/types/BackgroundSoundConfig.d.ts +11 -0
- package/dist/api/types/BackgroundSoundConfig.js +3 -0
- package/dist/api/types/BackgroundSoundConfigWorkflowOverride.d.ts +11 -0
- package/dist/api/types/BackgroundSoundConfigWorkflowOverride.js +3 -0
- package/dist/api/types/{BackgroundMusicPresetId.d.ts → BackgroundSoundPresetId.d.ts} +3 -3
- package/{api/types/BackgroundMusicPresetId.js → dist/api/types/BackgroundSoundPresetId.js} +3 -3
- package/dist/api/types/BackgroundSoundSourceType.d.ts +4 -0
- package/dist/api/types/BackgroundSoundSourceType.js +3 -0
- package/dist/api/types/ChapterContentBlockResponseModelNodesItem.d.ts +1 -0
- package/dist/api/types/ChapterContentBlockTtsNodeResponseModel.d.ts +2 -1
- package/dist/api/types/CodeToolContextVariable.d.ts +4 -0
- package/dist/api/types/CodeToolContextVariable.js +3 -0
- package/dist/api/types/CompositionPlan.d.ts +8 -0
- package/dist/api/types/CompositionPlan.js +3 -0
- package/dist/api/types/CompositionPlanChunksItem.d.ts +2 -0
- package/dist/api/types/CompositionPlanChunksItem.js +3 -0
- package/dist/api/types/ConstantSchemaOverrideConstantValue.d.ts +2 -1
- package/dist/api/types/ConstantSchemaOverrideConstantValueFourItem.d.ts +1 -0
- package/dist/api/types/ConstantSchemaOverrideConstantValueFourItem.js +3 -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/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 +1 -1
- package/dist/api/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/api/types/CustomGuardrailConfig.d.ts +4 -0
- package/dist/api/types/CustomGuardrailConfigModel.d.ts +12 -0
- package/dist/api/types/CustomGuardrailConfigModel.js +15 -0
- package/dist/api/types/DetailedMusicResponse.d.ts +1 -1
- package/dist/api/types/DetailedMusicResponseCompositionPlan.d.ts +5 -0
- package/dist/api/types/DetailedMusicResponseCompositionPlan.js +3 -0
- package/dist/api/types/Eagerness.d.ts +6 -0
- package/dist/api/types/Eagerness.js +9 -0
- package/dist/api/types/EndProcedureToolConfigInput.d.ts +4 -0
- package/dist/api/types/EndProcedureToolConfigInput.js +3 -0
- package/dist/api/types/EndProcedureToolConfigOutput.d.ts +4 -0
- package/dist/api/types/EndProcedureToolConfigOutput.js +3 -0
- package/dist/api/types/EndProcedureToolErrorStatus.d.ts +5 -0
- package/dist/api/types/EndProcedureToolErrorStatus.js +8 -0
- package/dist/api/types/EntryBehavior.d.ts +6 -0
- package/dist/api/types/EntryBehavior.js +9 -0
- package/dist/api/types/FineTuningResponse.d.ts +2 -2
- package/dist/api/types/GenerationChunk.d.ts +17 -0
- package/dist/api/types/GenerationChunk.js +3 -0
- package/dist/api/types/GenerationChunkConditionStrength.d.ts +7 -0
- package/dist/api/types/GenerationChunkConditionStrength.js +10 -0
- package/dist/api/types/GenerationChunkContextAdherence.d.ts +7 -0
- package/dist/api/types/GenerationChunkContextAdherence.js +10 -0
- package/dist/api/types/GetKnowledgeBaseListResponseModelDocumentsItem.d.ts +2 -2
- package/dist/api/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/dist/api/types/GetResponseUnitTestResponseModel.d.ts +1 -1
- package/dist/api/types/GetSimulationTestResponseModel.d.ts +1 -1
- package/dist/api/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
- package/dist/api/types/InteractionBudget.d.ts +3 -1
- package/dist/api/types/InteractionBudget.js +3 -1
- package/dist/api/types/KnowledgeBaseContentSearchResultDocument.d.ts +2 -2
- package/dist/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.d.ts +2 -2
- package/dist/api/types/LoadMemoryEntryToolErrorStatus.d.ts +5 -0
- package/dist/api/types/LoadMemoryEntryToolErrorStatus.js +8 -0
- package/dist/api/types/LoadableMemoryEntry.d.ts +5 -0
- package/dist/api/types/LoadableMemoryEntry.js +3 -0
- package/dist/api/types/McpToolConfigOverrideInput.d.ts +1 -1
- package/dist/api/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/dist/api/types/MediaCodec.d.ts +6 -0
- package/dist/api/types/MediaCodec.js +9 -0
- package/dist/api/types/MusicPrompt.d.ts +3 -0
- package/dist/api/types/MusicUploadResponse.d.ts +4 -2
- package/dist/api/types/MusicUploadResponseCompositionPlan.d.ts +5 -0
- package/dist/api/types/MusicUploadResponseCompositionPlan.js +3 -0
- package/dist/api/types/OpenAiAudioConfig.d.ts +5 -0
- package/dist/api/types/OpenAiAudioConfig.js +3 -0
- package/dist/api/types/OpenAiAudioInputConfig.d.ts +5 -0
- package/dist/api/types/OpenAiAudioInputConfig.js +3 -0
- package/dist/api/types/OpenAiAudioInputFormat.d.ts +5 -0
- package/dist/api/types/OpenAiAudioInputFormat.js +3 -0
- package/dist/api/types/OpenAiAudioOutputConfig.d.ts +5 -0
- package/dist/api/types/OpenAiAudioOutputConfig.js +3 -0
- package/dist/api/types/OpenAiAudioOutputFormat.d.ts +4 -0
- package/dist/api/types/OpenAiAudioOutputFormat.js +3 -0
- package/dist/api/types/OpenAiFunctionTool.d.ts +5 -0
- package/dist/api/types/OpenAiFunctionTool.js +3 -0
- package/dist/api/types/OpenAiSessionConfig.d.ts +13 -0
- package/dist/api/types/OpenAiSessionConfig.js +3 -0
- package/dist/api/types/OpenAiSessionConfigMaxResponseOutputTokens.d.ts +1 -0
- package/dist/api/types/OpenAiSessionConfigMaxResponseOutputTokens.js +3 -0
- package/dist/api/types/OpenAiSessionConfigToolChoice.d.ts +2 -0
- package/dist/api/types/OpenAiSessionConfigToolChoice.js +3 -0
- package/dist/api/types/OpenAiSessionConfigToolsItem.d.ts +10 -0
- package/dist/api/types/OpenAiSessionConfigToolsItem.js +3 -0
- package/dist/api/types/OpenAiToolChoiceFunction.d.ts +5 -0
- package/dist/api/types/OpenAiToolChoiceFunction.js +3 -0
- package/dist/api/types/OpenAiToolChoiceFunctionInner.d.ts +3 -0
- package/dist/api/types/OpenAiToolChoiceFunctionInner.js +3 -0
- package/dist/api/types/OpenAiTurnDetection.d.ts +10 -0
- package/dist/api/types/OpenAiTurnDetection.js +3 -0
- package/dist/api/types/OpenAimcpTool.d.ts +8 -0
- package/dist/api/types/OpenAimcpTool.js +3 -0
- package/dist/api/types/OpenAimcpToolRequireApproval.d.ts +5 -0
- package/dist/api/types/OpenAimcpToolRequireApproval.js +8 -0
- package/dist/api/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/dist/api/types/ProjectExtendedResponse.d.ts +9 -5
- package/dist/api/types/ProjectResponse.d.ts +9 -5
- package/dist/api/types/ProjectVoiceResponseModel.d.ts +1 -0
- package/dist/api/types/RealtimeConfigSnapshot.d.ts +14 -0
- package/dist/api/types/RealtimeConfigSnapshot.js +3 -0
- package/dist/api/types/RealtimeConfigSnapshotParents.d.ts +3 -0
- package/dist/api/types/RealtimeConfigSnapshotParents.js +3 -0
- package/dist/api/types/ResponseUnitTestModel.d.ts +1 -1
- package/dist/api/types/ReviewResponseModel.d.ts +1 -1
- package/dist/api/types/{SafetyCommonModel.d.ts → SafetyCommonModelInput.d.ts} +1 -1
- package/dist/api/types/SafetyCommonModelInput.js +3 -0
- package/dist/api/types/SafetyCommonModelOutput.d.ts +8 -0
- package/dist/api/types/SafetyCommonModelOutput.js +3 -0
- package/dist/api/types/SimulationTestModel.d.ts +1 -1
- package/dist/api/types/SongSourceContext.d.ts +1 -0
- package/dist/api/types/SpeakerSeparationResponseModel.d.ts +1 -1
- package/dist/api/types/SpeechHistoryItemResponseModelSource.d.ts +1 -0
- package/dist/api/types/SpeechHistoryItemResponseModelSource.js +1 -0
- package/dist/api/types/StartProcedureToolErrorStatus.d.ts +1 -0
- package/dist/api/types/StartProcedureToolErrorStatus.js +1 -0
- package/dist/api/types/SubmitBusinessInfoParams.d.ts +6 -0
- package/dist/api/types/SubmitBusinessInfoParams.js +3 -0
- package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/dist/api/types/TextToDialogueWebsocketClientMessage.d.ts +2 -2
- package/dist/api/types/TextToDialogueWebsocketVoiceSettings.d.ts +7 -0
- package/dist/api/types/TextToDialogueWebsocketVoiceSettings.js +3 -0
- package/dist/api/types/ToolCallUnitTestModel.d.ts +1 -1
- package/dist/api/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
- package/dist/api/types/TransferToNumberResultExotelSuccessModel.d.ts +1 -0
- package/dist/api/types/TtsConversationalConfigInput.d.ts +2 -0
- package/dist/api/types/TtsConversationalConfigOutput.d.ts +2 -0
- package/dist/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
- package/dist/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
- package/dist/api/types/TurnDetectionType.d.ts +5 -0
- package/dist/api/types/TurnDetectionType.js +8 -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 +1 -1
- package/dist/api/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/api/types/VoiceStatisticsResponseModel.d.ts +4 -2
- package/dist/api/types/WebhookHmacSettings.d.ts +1 -1
- package/dist/api/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -0
- package/dist/api/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -0
- package/dist/api/types/WorkflowStandaloneAgentNodeModelInput.d.ts +2 -0
- package/dist/api/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +2 -0
- package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -0
- package/dist/api/types/index.d.ts +49 -9
- package/dist/api/types/index.js +49 -9
- package/dist/core/fetcher/BinaryResponse.d.ts +1 -1
- package/dist/core/fetcher/EndpointSupplier.d.ts +2 -2
- package/dist/core/fetcher/Fetcher.d.ts +9 -2
- package/dist/core/fetcher/Fetcher.js +21 -10
- package/dist/core/fetcher/getResponseBody.js +11 -0
- package/dist/core/fetcher/index.d.ts +2 -0
- package/dist/core/fetcher/index.js +3 -1
- package/dist/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/core/fetcher/makePassthroughRequest.js +135 -0
- package/dist/core/fetcher/makeRequest.d.ts +6 -1
- package/dist/core/fetcher/makeRequest.js +30 -9
- package/dist/core/fetcher/requestWithRetries.js +4 -1
- package/dist/core/file/file.js +3 -2
- package/dist/core/headers.d.ts +2 -2
- package/dist/core/runtime/runtime.js +8 -7
- package/dist/core/schemas/builders/enum/enum.d.ts +1 -0
- package/dist/core/schemas/builders/enum/enum.js +7 -0
- package/dist/core/schemas/builders/enum/index.d.ts +1 -1
- package/dist/core/schemas/builders/enum/index.js +2 -1
- package/dist/core/schemas/builders/list/list.js +12 -17
- package/dist/core/schemas/builders/object/object.js +122 -42
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +10 -3
- package/dist/core/schemas/builders/primitives/never.d.ts +1 -1
- package/dist/core/schemas/builders/primitives/never.js +3 -3
- package/dist/core/schemas/builders/record/index.d.ts +2 -2
- package/dist/core/schemas/builders/record/index.js +2 -1
- package/dist/core/schemas/builders/record/record.d.ts +2 -1
- package/dist/core/schemas/builders/record/record.js +63 -25
- package/dist/core/schemas/builders/record/types.d.ts +2 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.js +2 -1
- package/dist/core/schemas/builders/schema-utils/ParseError.js +2 -1
- package/dist/core/schemas/builders/union/union.js +9 -12
- package/dist/core/schemas/utils/isPlainObject.js +4 -6
- package/dist/core/stream/Stream.d.ts +9 -0
- package/dist/core/stream/Stream.js +100 -5
- package/dist/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/core/url/QueryStringBuilder.js +83 -0
- package/dist/core/url/index.d.ts +1 -0
- package/dist/core/url/index.js +3 -1
- package/dist/core/url/qs.d.ts +2 -1
- package/dist/core/url/qs.js +24 -12
- package/dist/environments.d.ts +2 -1
- package/dist/environments.js +1 -0
- package/dist/errors/ElevenLabsError.d.ts +3 -1
- package/dist/errors/ElevenLabsError.js +4 -1
- package/dist/errors/ElevenLabsTimeoutError.d.ts +4 -1
- package/dist/errors/ElevenLabsTimeoutError.js +4 -1
- package/dist/errors/handleNonStatusCodeError.js +4 -1
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/RunConversationEvaluationsRequest.d.ts +11 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/RunConversationEvaluationsRequest.js +43 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/analysis/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/analysis/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
- 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 +1 -3
- 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/history/types/HistoryListRequestSource.d.ts +1 -1
- package/dist/serialization/resources/history/types/HistoryListRequestSource.js +1 -1
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +4 -3
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +4 -3
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -3
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +4 -3
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +4 -3
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +4 -3
- package/dist/serialization/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +4 -3
- package/dist/serialization/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.js +4 -3
- package/dist/serialization/resources/music/resources/compositionPlan/index.d.ts +1 -0
- package/dist/serialization/resources/music/resources/compositionPlan/index.js +1 -0
- package/dist/serialization/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostModelId.d.ts +7 -0
- package/dist/serialization/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostModelId.js +39 -0
- package/dist/serialization/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostSourceCompositionPlan.d.ts +9 -0
- package/dist/serialization/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostSourceCompositionPlan.js +41 -0
- package/dist/serialization/resources/music/resources/compositionPlan/types/CompositionPlanCreateResponse.d.ts +9 -0
- package/dist/serialization/resources/music/resources/compositionPlan/types/CompositionPlanCreateResponse.js +41 -0
- package/dist/serialization/resources/music/resources/compositionPlan/types/index.d.ts +3 -0
- package/dist/serialization/resources/music/resources/compositionPlan/types/index.js +19 -0
- package/dist/serialization/resources/music/resources/index.d.ts +1 -0
- package/dist/serialization/resources/music/resources/index.js +1 -0
- package/dist/serialization/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.d.ts +9 -0
- package/dist/serialization/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.js +41 -0
- package/dist/serialization/resources/music/types/BodyComposeMusicV1MusicPostModelId.d.ts +7 -0
- package/dist/serialization/resources/music/types/BodyComposeMusicV1MusicPostModelId.js +39 -0
- package/dist/serialization/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.d.ts +9 -0
- package/dist/serialization/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.js +41 -0
- package/dist/serialization/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId.d.ts +7 -0
- package/dist/serialization/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId.js +39 -0
- package/dist/serialization/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts +9 -0
- package/dist/serialization/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.js +41 -0
- package/dist/serialization/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostModelId.d.ts +7 -0
- package/dist/serialization/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostModelId.js +39 -0
- package/dist/serialization/resources/music/types/MusicVideoToMusicRequestModelId.d.ts +7 -0
- package/dist/serialization/resources/music/types/MusicVideoToMusicRequestModelId.js +39 -0
- package/dist/serialization/resources/music/types/index.d.ts +7 -0
- package/dist/serialization/resources/music/types/index.js +7 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +6 -4
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +6 -4
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit.d.ts +7 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit.js +42 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled.d.ts +7 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled.js +42 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +1 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +2 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +2 -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/voices/types/VoicesGetSharedRequestSort.d.ts +7 -0
- package/dist/serialization/resources/voices/types/VoicesGetSharedRequestSort.js +39 -0
- package/dist/serialization/resources/voices/types/index.d.ts +1 -0
- package/dist/serialization/resources/voices/types/index.js +1 -0
- 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/resources/workspace/resources/usage/client/requests/BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePost.d.ts +1 -0
- package/dist/serialization/resources/workspace/resources/usage/client/requests/BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePost.js +1 -0
- 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/AgentTransfer.d.ts +1 -0
- package/dist/serialization/types/AgentTransfer.js +1 -0
- package/dist/serialization/types/{AgentAlertingMonitorConfig.d.ts → AlertingMonitorConfig.d.ts} +2 -2
- package/dist/serialization/types/{AgentAlertingMonitorConfig.js → AlertingMonitorConfig.js} +2 -2
- package/dist/serialization/types/AlertingSettings.d.ts +13 -0
- package/dist/serialization/types/{AgentAlertingSettings.js → AlertingSettings.js} +6 -6
- package/dist/serialization/types/AlertingWebhookNotifier.d.ts +10 -0
- package/dist/serialization/types/AlertingWebhookNotifier.js +42 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/dist/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
- package/dist/serialization/types/ArrayJsonSchemaPropertyInput.d.ts +1 -0
- package/dist/serialization/types/ArrayJsonSchemaPropertyInput.js +1 -0
- package/dist/serialization/types/ArrayJsonSchemaPropertyOutput.d.ts +1 -0
- package/dist/serialization/types/ArrayJsonSchemaPropertyOutput.js +1 -0
- package/dist/serialization/types/AudioFormat.d.ts +7 -0
- package/{serialization/types/Monitor.js → dist/serialization/types/AudioFormat.js} +2 -2
- package/dist/serialization/types/AudioRefChunk.d.ts +11 -0
- package/dist/serialization/types/AudioRefChunk.js +43 -0
- package/dist/serialization/types/BackgroundSoundConfig.d.ts +14 -0
- package/{serialization/types/BackgroundMusicConfig.js → dist/serialization/types/BackgroundSoundConfig.js} +6 -6
- package/dist/serialization/types/BackgroundSoundConfigWorkflowOverride.d.ts +14 -0
- package/dist/serialization/types/{BackgroundMusicConfigWorkflowOverride.js → BackgroundSoundConfigWorkflowOverride.js} +6 -6
- package/{serialization/types/BackgroundMusicPresetId.d.ts → dist/serialization/types/BackgroundSoundPresetId.d.ts} +2 -2
- package/{serialization/types/BackgroundMusicPresetId.js → dist/serialization/types/BackgroundSoundPresetId.js} +2 -2
- package/dist/serialization/types/BackgroundSoundSourceType.d.ts +7 -0
- package/{serialization/types/BackgroundMusicSourceType.js → dist/serialization/types/BackgroundSoundSourceType.js} +2 -2
- package/dist/serialization/types/ChapterContentBlockTtsNodeResponseModel.d.ts +2 -1
- package/dist/serialization/types/ChapterContentBlockTtsNodeResponseModel.js +2 -1
- package/dist/serialization/types/CodeToolContextVariable.d.ts +10 -0
- package/dist/serialization/types/CodeToolContextVariable.js +42 -0
- package/dist/serialization/types/CompositionPlan.d.ts +10 -0
- package/dist/serialization/types/CompositionPlan.js +42 -0
- package/dist/serialization/types/CompositionPlanChunksItem.d.ts +9 -0
- package/dist/serialization/types/CompositionPlanChunksItem.js +41 -0
- package/dist/serialization/types/ConstantSchemaOverrideConstantValue.d.ts +2 -1
- package/dist/serialization/types/ConstantSchemaOverrideConstantValue.js +2 -0
- package/dist/serialization/types/ConstantSchemaOverrideConstantValueFourItem.d.ts +7 -0
- package/dist/serialization/types/ConstantSchemaOverrideConstantValueFourItem.js +44 -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/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 +1 -1
- package/dist/serialization/types/CreateSimulationTestRequest.js +1 -1
- package/dist/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/serialization/types/CreateToolCallUnitTestRequest.js +1 -1
- package/dist/serialization/types/CustomGuardrailConfig.d.ts +3 -0
- package/dist/serialization/types/CustomGuardrailConfig.js +3 -0
- package/dist/serialization/types/CustomGuardrailConfigModel.d.ts +7 -0
- package/dist/serialization/types/CustomGuardrailConfigModel.js +48 -0
- package/dist/serialization/types/DetailedMusicResponse.d.ts +2 -2
- package/dist/serialization/types/DetailedMusicResponse.js +2 -2
- package/dist/serialization/types/DetailedMusicResponseCompositionPlan.d.ts +9 -0
- package/dist/serialization/types/DetailedMusicResponseCompositionPlan.js +41 -0
- package/dist/serialization/types/Eagerness.d.ts +7 -0
- package/dist/serialization/types/{Monitor.js → Eagerness.js} +2 -2
- package/dist/serialization/types/EndProcedureToolConfigInput.d.ts +10 -0
- package/dist/serialization/types/EndProcedureToolConfigInput.js +42 -0
- package/dist/serialization/types/EndProcedureToolConfigOutput.d.ts +10 -0
- package/dist/serialization/types/EndProcedureToolConfigOutput.js +42 -0
- package/dist/serialization/types/EndProcedureToolErrorStatus.d.ts +7 -0
- package/dist/serialization/types/EndProcedureToolErrorStatus.js +39 -0
- package/dist/serialization/types/EntryBehavior.d.ts +7 -0
- package/dist/serialization/types/EntryBehavior.js +39 -0
- package/dist/serialization/types/FineTuningResponse.d.ts +2 -2
- package/dist/serialization/types/FineTuningResponse.js +2 -2
- package/dist/serialization/types/GenerationChunk.d.ts +18 -0
- package/dist/serialization/types/GenerationChunk.js +50 -0
- package/dist/serialization/types/GenerationChunkConditionStrength.d.ts +7 -0
- package/dist/serialization/types/GenerationChunkConditionStrength.js +39 -0
- package/dist/serialization/types/GenerationChunkContextAdherence.d.ts +7 -0
- package/dist/serialization/types/GenerationChunkContextAdherence.js +39 -0
- package/dist/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.js +2 -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 +1 -1
- package/dist/serialization/types/GetSimulationTestResponseModel.js +1 -1
- package/dist/serialization/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
- package/dist/serialization/types/GetToolCallUnitTestResponseModel.js +1 -1
- package/dist/serialization/types/InteractionBudget.d.ts +1 -1
- package/dist/serialization/types/InteractionBudget.js +1 -1
- package/dist/serialization/types/LoadMemoryEntryToolErrorStatus.d.ts +7 -0
- package/dist/serialization/types/LoadMemoryEntryToolErrorStatus.js +39 -0
- package/dist/serialization/types/LoadableMemoryEntry.d.ts +11 -0
- package/dist/serialization/types/LoadableMemoryEntry.js +43 -0
- 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/MediaCodec.d.ts +7 -0
- package/dist/serialization/types/MediaCodec.js +39 -0
- package/dist/serialization/types/MusicUploadResponse.d.ts +4 -2
- package/dist/serialization/types/MusicUploadResponse.js +4 -2
- package/dist/serialization/types/MusicUploadResponseCompositionPlan.d.ts +9 -0
- package/dist/serialization/types/MusicUploadResponseCompositionPlan.js +41 -0
- package/dist/serialization/types/OpenAiAudioConfig.d.ts +12 -0
- package/dist/serialization/types/OpenAiAudioConfig.js +44 -0
- package/dist/serialization/types/OpenAiAudioInputConfig.d.ts +12 -0
- package/dist/serialization/types/OpenAiAudioInputConfig.js +44 -0
- package/dist/serialization/types/OpenAiAudioInputFormat.d.ts +11 -0
- package/dist/serialization/types/OpenAiAudioInputFormat.js +43 -0
- package/dist/serialization/types/OpenAiAudioOutputConfig.d.ts +11 -0
- package/dist/serialization/types/OpenAiAudioOutputConfig.js +43 -0
- package/dist/serialization/types/OpenAiAudioOutputFormat.d.ts +10 -0
- package/dist/serialization/types/OpenAiAudioOutputFormat.js +42 -0
- package/dist/serialization/types/OpenAiFunctionTool.d.ts +11 -0
- package/dist/serialization/types/OpenAiFunctionTool.js +43 -0
- package/dist/serialization/types/OpenAiSessionConfig.d.ts +22 -0
- package/dist/serialization/types/OpenAiSessionConfig.js +54 -0
- package/dist/serialization/types/OpenAiSessionConfigMaxResponseOutputTokens.d.ts +7 -0
- package/dist/serialization/types/OpenAiSessionConfigMaxResponseOutputTokens.js +39 -0
- package/dist/serialization/types/OpenAiSessionConfigToolChoice.d.ts +8 -0
- package/dist/serialization/types/OpenAiSessionConfigToolChoice.js +40 -0
- package/dist/serialization/types/OpenAiSessionConfigToolsItem.d.ts +15 -0
- package/dist/serialization/types/{AgentAlertingWebhookNotifier.js → OpenAiSessionConfigToolsItem.js} +11 -5
- package/dist/serialization/types/OpenAiToolChoiceFunction.d.ts +11 -0
- package/dist/serialization/types/OpenAiToolChoiceFunction.js +43 -0
- package/dist/serialization/types/OpenAiToolChoiceFunctionInner.d.ts +9 -0
- package/dist/serialization/types/OpenAiToolChoiceFunctionInner.js +41 -0
- package/dist/serialization/types/OpenAiTurnDetection.d.ts +17 -0
- package/dist/serialization/types/OpenAiTurnDetection.js +49 -0
- package/dist/serialization/types/OpenAimcpTool.d.ts +14 -0
- package/dist/serialization/types/OpenAimcpTool.js +46 -0
- package/dist/serialization/types/OpenAimcpToolRequireApproval.d.ts +7 -0
- package/dist/serialization/types/OpenAimcpToolRequireApproval.js +39 -0
- package/dist/serialization/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/dist/serialization/types/OutboundSipTrunkConfigRequestModel.js +2 -0
- package/dist/serialization/types/ProjectExtendedResponse.d.ts +5 -3
- package/dist/serialization/types/ProjectExtendedResponse.js +5 -3
- package/dist/serialization/types/ProjectResponse.d.ts +5 -3
- package/dist/serialization/types/ProjectResponse.js +5 -3
- package/dist/serialization/types/ProjectVoiceResponseModel.d.ts +1 -0
- package/dist/serialization/types/ProjectVoiceResponseModel.js +1 -0
- package/dist/serialization/types/RealtimeConfigSnapshot.d.ts +22 -0
- package/dist/serialization/types/RealtimeConfigSnapshot.js +54 -0
- package/dist/serialization/types/RealtimeConfigSnapshotParents.d.ts +9 -0
- package/dist/serialization/types/RealtimeConfigSnapshotParents.js +41 -0
- 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/{SafetyCommonModel.d.ts → SafetyCommonModelInput.d.ts} +2 -2
- package/dist/serialization/types/{SafetyCommonModel.js → SafetyCommonModelInput.js} +2 -2
- package/dist/serialization/types/SafetyCommonModelOutput.d.ts +11 -0
- package/dist/serialization/types/SafetyCommonModelOutput.js +43 -0
- package/dist/serialization/types/SimulationTestModel.d.ts +1 -1
- package/dist/serialization/types/SimulationTestModel.js +1 -1
- package/dist/serialization/types/SongSourceContext.d.ts +1 -0
- package/dist/serialization/types/SongSourceContext.js +1 -0
- package/dist/serialization/types/SpeakerSeparationResponseModel.d.ts +1 -1
- package/dist/serialization/types/SpeakerSeparationResponseModel.js +1 -1
- package/dist/serialization/types/SpeechHistoryItemResponseModelSource.d.ts +1 -1
- package/dist/serialization/types/SpeechHistoryItemResponseModelSource.js +1 -0
- package/dist/serialization/types/StartProcedureToolErrorStatus.d.ts +1 -1
- package/dist/serialization/types/StartProcedureToolErrorStatus.js +1 -1
- package/dist/serialization/types/SubmitBusinessInfoParams.d.ts +9 -0
- package/dist/serialization/types/SubmitBusinessInfoParams.js +41 -0
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/dist/serialization/types/TextToDialogueWebsocketClientMessage.d.ts +2 -1
- package/dist/serialization/types/TextToDialogueWebsocketClientMessage.js +2 -1
- package/dist/serialization/types/TextToDialogueWebsocketVoiceSettings.d.ts +9 -0
- package/dist/serialization/types/TextToDialogueWebsocketVoiceSettings.js +41 -0
- package/dist/serialization/types/ToolCallUnitTestModel.d.ts +1 -1
- package/dist/serialization/types/ToolCallUnitTestModel.js +1 -1
- package/dist/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
- package/dist/serialization/types/TransferToAgentToolResultSuccessModel.js +1 -0
- package/dist/serialization/types/TransferToNumberResultExotelSuccessModel.d.ts +1 -0
- package/dist/serialization/types/TransferToNumberResultExotelSuccessModel.js +1 -0
- package/dist/serialization/types/TtsConversationalConfigInput.d.ts +1 -0
- package/dist/serialization/types/TtsConversationalConfigInput.js +1 -0
- package/dist/serialization/types/TtsConversationalConfigOutput.d.ts +1 -0
- package/dist/serialization/types/TtsConversationalConfigOutput.js +1 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +1 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +1 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +1 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +1 -0
- package/dist/serialization/types/TurnDetectionType.d.ts +7 -0
- package/dist/serialization/types/TurnDetectionType.js +39 -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 +1 -1
- package/dist/serialization/types/UpdateSimulationTestRequest.js +1 -1
- package/dist/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/serialization/types/UpdateToolCallUnitTestRequest.js +1 -1
- package/dist/serialization/types/VoiceStatisticsResponseModel.d.ts +2 -1
- package/dist/serialization/types/VoiceStatisticsResponseModel.js +2 -1
- package/dist/serialization/types/WebhookHmacSettings.d.ts +1 -1
- package/dist/serialization/types/WebhookHmacSettings.js +1 -1
- package/dist/serialization/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -0
- package/dist/serialization/types/WorkflowOverrideAgentNodeModelInput.js +2 -0
- package/dist/serialization/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -0
- package/dist/serialization/types/WorkflowOverrideAgentNodeModelOutput.js +2 -0
- package/dist/serialization/types/WorkflowStandaloneAgentNodeModelInput.d.ts +1 -0
- package/dist/serialization/types/WorkflowStandaloneAgentNodeModelInput.js +1 -0
- package/dist/serialization/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +1 -0
- package/dist/serialization/types/WorkflowStandaloneAgentNodeModelOutput.js +1 -0
- package/dist/serialization/types/index.d.ts +49 -9
- package/dist/serialization/types/index.js +49 -9
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/environments.d.ts +2 -1
- package/environments.js +1 -0
- package/errors/ElevenLabsError.d.ts +3 -1
- package/errors/ElevenLabsError.js +4 -1
- package/errors/ElevenLabsTimeoutError.d.ts +4 -1
- package/errors/ElevenLabsTimeoutError.js +4 -1
- package/errors/handleNonStatusCodeError.js +4 -1
- package/package.json +11 -7
- package/reference.md +133 -42
- package/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/RunConversationEvaluationsRequest.d.ts +11 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/RunConversationEvaluationsRequest.js +43 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/analysis/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/analysis/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
- 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 +1 -3
- package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
- package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +1 -1
- package/serialization/resources/history/types/HistoryListRequestSource.d.ts +1 -1
- package/serialization/resources/history/types/HistoryListRequestSource.js +1 -1
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +4 -3
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +4 -3
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -3
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +4 -3
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +4 -3
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +4 -3
- package/serialization/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +4 -3
- package/serialization/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.js +4 -3
- package/serialization/resources/music/resources/compositionPlan/index.d.ts +1 -0
- package/serialization/resources/music/resources/compositionPlan/index.js +1 -0
- package/serialization/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostModelId.d.ts +7 -0
- package/serialization/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostModelId.js +39 -0
- package/serialization/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostSourceCompositionPlan.d.ts +9 -0
- package/serialization/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostSourceCompositionPlan.js +41 -0
- package/serialization/resources/music/resources/compositionPlan/types/CompositionPlanCreateResponse.d.ts +9 -0
- package/serialization/resources/music/resources/compositionPlan/types/CompositionPlanCreateResponse.js +41 -0
- package/serialization/resources/music/resources/compositionPlan/types/index.d.ts +3 -0
- package/serialization/resources/music/resources/compositionPlan/types/index.js +19 -0
- package/serialization/resources/music/resources/index.d.ts +1 -0
- package/serialization/resources/music/resources/index.js +1 -0
- package/serialization/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.d.ts +9 -0
- package/serialization/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.js +41 -0
- package/serialization/resources/music/types/BodyComposeMusicV1MusicPostModelId.d.ts +7 -0
- package/serialization/resources/music/types/BodyComposeMusicV1MusicPostModelId.js +39 -0
- package/serialization/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.d.ts +9 -0
- package/serialization/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.js +41 -0
- package/serialization/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId.d.ts +7 -0
- package/serialization/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId.js +39 -0
- package/serialization/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts +9 -0
- package/serialization/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.js +41 -0
- package/serialization/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostModelId.d.ts +7 -0
- package/serialization/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostModelId.js +39 -0
- package/serialization/resources/music/types/MusicVideoToMusicRequestModelId.d.ts +7 -0
- package/serialization/resources/music/types/MusicVideoToMusicRequestModelId.js +39 -0
- package/serialization/resources/music/types/index.d.ts +7 -0
- package/serialization/resources/music/types/index.js +7 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +6 -4
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +6 -4
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit.d.ts +7 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit.js +42 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled.d.ts +7 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled.js +42 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +1 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +2 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +2 -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/voices/types/VoicesGetSharedRequestSort.d.ts +7 -0
- package/serialization/resources/voices/types/VoicesGetSharedRequestSort.js +39 -0
- package/serialization/resources/voices/types/index.d.ts +1 -0
- package/serialization/resources/voices/types/index.js +1 -0
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -1
- package/serialization/resources/workspace/resources/usage/client/requests/BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePost.d.ts +1 -0
- package/serialization/resources/workspace/resources/usage/client/requests/BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePost.js +1 -0
- 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/AgentTransfer.d.ts +1 -0
- package/serialization/types/AgentTransfer.js +1 -0
- package/serialization/types/{AgentAlertingMonitorConfig.d.ts → AlertingMonitorConfig.d.ts} +2 -2
- package/serialization/types/{AgentAlertingMonitorConfig.js → AlertingMonitorConfig.js} +2 -2
- package/serialization/types/AlertingSettings.d.ts +13 -0
- package/serialization/types/{AgentAlertingSettings.js → AlertingSettings.js} +6 -6
- package/serialization/types/AlertingWebhookNotifier.d.ts +10 -0
- package/serialization/types/AlertingWebhookNotifier.js +42 -0
- package/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
- package/serialization/types/ArrayJsonSchemaPropertyInput.d.ts +1 -0
- package/serialization/types/ArrayJsonSchemaPropertyInput.js +1 -0
- package/serialization/types/ArrayJsonSchemaPropertyOutput.d.ts +1 -0
- package/serialization/types/ArrayJsonSchemaPropertyOutput.js +1 -0
- package/serialization/types/AudioFormat.d.ts +7 -0
- package/serialization/types/AudioFormat.js +39 -0
- package/serialization/types/AudioRefChunk.d.ts +11 -0
- package/serialization/types/AudioRefChunk.js +43 -0
- package/serialization/types/BackgroundSoundConfig.d.ts +14 -0
- package/{dist/serialization/types/BackgroundMusicConfig.js → serialization/types/BackgroundSoundConfig.js} +6 -6
- package/serialization/types/BackgroundSoundConfigWorkflowOverride.d.ts +14 -0
- package/serialization/types/{BackgroundMusicConfigWorkflowOverride.js → BackgroundSoundConfigWorkflowOverride.js} +6 -6
- package/{dist/serialization/types/BackgroundMusicPresetId.d.ts → serialization/types/BackgroundSoundPresetId.d.ts} +2 -2
- package/{dist/serialization/types/BackgroundMusicPresetId.js → serialization/types/BackgroundSoundPresetId.js} +2 -2
- package/serialization/types/BackgroundSoundSourceType.d.ts +7 -0
- package/{dist/serialization/types/BackgroundMusicSourceType.js → serialization/types/BackgroundSoundSourceType.js} +2 -2
- package/serialization/types/ChapterContentBlockTtsNodeResponseModel.d.ts +2 -1
- package/serialization/types/ChapterContentBlockTtsNodeResponseModel.js +2 -1
- package/serialization/types/CodeToolContextVariable.d.ts +10 -0
- package/serialization/types/CodeToolContextVariable.js +42 -0
- package/serialization/types/CompositionPlan.d.ts +10 -0
- package/serialization/types/CompositionPlan.js +42 -0
- package/serialization/types/CompositionPlanChunksItem.d.ts +9 -0
- package/serialization/types/CompositionPlanChunksItem.js +41 -0
- package/serialization/types/ConstantSchemaOverrideConstantValue.d.ts +2 -1
- package/serialization/types/ConstantSchemaOverrideConstantValue.js +2 -0
- package/serialization/types/ConstantSchemaOverrideConstantValueFourItem.d.ts +7 -0
- package/serialization/types/ConstantSchemaOverrideConstantValueFourItem.js +44 -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/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 +1 -1
- package/serialization/types/CreateSimulationTestRequest.js +1 -1
- package/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/serialization/types/CreateToolCallUnitTestRequest.js +1 -1
- package/serialization/types/CustomGuardrailConfig.d.ts +3 -0
- package/serialization/types/CustomGuardrailConfig.js +3 -0
- package/serialization/types/CustomGuardrailConfigModel.d.ts +7 -0
- package/serialization/types/CustomGuardrailConfigModel.js +48 -0
- package/serialization/types/DetailedMusicResponse.d.ts +2 -2
- package/serialization/types/DetailedMusicResponse.js +2 -2
- package/serialization/types/DetailedMusicResponseCompositionPlan.d.ts +9 -0
- package/serialization/types/DetailedMusicResponseCompositionPlan.js +41 -0
- package/serialization/types/Eagerness.d.ts +7 -0
- package/serialization/types/Eagerness.js +39 -0
- package/serialization/types/EndProcedureToolConfigInput.d.ts +10 -0
- package/serialization/types/EndProcedureToolConfigInput.js +42 -0
- package/serialization/types/EndProcedureToolConfigOutput.d.ts +10 -0
- package/serialization/types/EndProcedureToolConfigOutput.js +42 -0
- package/serialization/types/EndProcedureToolErrorStatus.d.ts +7 -0
- package/serialization/types/EndProcedureToolErrorStatus.js +39 -0
- package/serialization/types/EntryBehavior.d.ts +7 -0
- package/serialization/types/EntryBehavior.js +39 -0
- package/serialization/types/FineTuningResponse.d.ts +2 -2
- package/serialization/types/FineTuningResponse.js +2 -2
- package/serialization/types/GenerationChunk.d.ts +18 -0
- package/serialization/types/GenerationChunk.js +50 -0
- package/serialization/types/GenerationChunkConditionStrength.d.ts +7 -0
- package/serialization/types/GenerationChunkConditionStrength.js +39 -0
- package/serialization/types/GenerationChunkContextAdherence.d.ts +7 -0
- package/serialization/types/GenerationChunkContextAdherence.js +39 -0
- package/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.js +2 -0
- package/serialization/types/GetResponseUnitTestResponseModel.d.ts +1 -1
- package/serialization/types/GetResponseUnitTestResponseModel.js +1 -1
- package/serialization/types/GetSimulationTestResponseModel.d.ts +1 -1
- package/serialization/types/GetSimulationTestResponseModel.js +1 -1
- package/serialization/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
- package/serialization/types/GetToolCallUnitTestResponseModel.js +1 -1
- package/serialization/types/InteractionBudget.d.ts +1 -1
- package/serialization/types/InteractionBudget.js +1 -1
- package/serialization/types/LoadMemoryEntryToolErrorStatus.d.ts +7 -0
- package/serialization/types/LoadMemoryEntryToolErrorStatus.js +39 -0
- package/serialization/types/LoadableMemoryEntry.d.ts +11 -0
- package/serialization/types/LoadableMemoryEntry.js +43 -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/MediaCodec.d.ts +7 -0
- package/serialization/types/MediaCodec.js +39 -0
- package/serialization/types/MusicUploadResponse.d.ts +4 -2
- package/serialization/types/MusicUploadResponse.js +4 -2
- package/serialization/types/MusicUploadResponseCompositionPlan.d.ts +9 -0
- package/serialization/types/MusicUploadResponseCompositionPlan.js +41 -0
- package/serialization/types/OpenAiAudioConfig.d.ts +12 -0
- package/serialization/types/OpenAiAudioConfig.js +44 -0
- package/serialization/types/OpenAiAudioInputConfig.d.ts +12 -0
- package/serialization/types/OpenAiAudioInputConfig.js +44 -0
- package/serialization/types/OpenAiAudioInputFormat.d.ts +11 -0
- package/serialization/types/OpenAiAudioInputFormat.js +43 -0
- package/serialization/types/OpenAiAudioOutputConfig.d.ts +11 -0
- package/serialization/types/OpenAiAudioOutputConfig.js +43 -0
- package/serialization/types/OpenAiAudioOutputFormat.d.ts +10 -0
- package/serialization/types/OpenAiAudioOutputFormat.js +42 -0
- package/serialization/types/OpenAiFunctionTool.d.ts +11 -0
- package/serialization/types/OpenAiFunctionTool.js +43 -0
- package/serialization/types/OpenAiSessionConfig.d.ts +22 -0
- package/serialization/types/OpenAiSessionConfig.js +54 -0
- package/serialization/types/OpenAiSessionConfigMaxResponseOutputTokens.d.ts +7 -0
- package/serialization/types/OpenAiSessionConfigMaxResponseOutputTokens.js +39 -0
- package/serialization/types/OpenAiSessionConfigToolChoice.d.ts +8 -0
- package/serialization/types/OpenAiSessionConfigToolChoice.js +40 -0
- package/serialization/types/OpenAiSessionConfigToolsItem.d.ts +15 -0
- package/serialization/types/OpenAiSessionConfigToolsItem.js +49 -0
- package/serialization/types/OpenAiToolChoiceFunction.d.ts +11 -0
- package/serialization/types/OpenAiToolChoiceFunction.js +43 -0
- package/serialization/types/OpenAiToolChoiceFunctionInner.d.ts +9 -0
- package/serialization/types/OpenAiToolChoiceFunctionInner.js +41 -0
- package/serialization/types/OpenAiTurnDetection.d.ts +17 -0
- package/serialization/types/OpenAiTurnDetection.js +49 -0
- package/serialization/types/OpenAimcpTool.d.ts +14 -0
- package/serialization/types/OpenAimcpTool.js +46 -0
- package/serialization/types/OpenAimcpToolRequireApproval.d.ts +7 -0
- package/serialization/types/OpenAimcpToolRequireApproval.js +39 -0
- package/serialization/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/serialization/types/OutboundSipTrunkConfigRequestModel.js +2 -0
- package/serialization/types/ProjectExtendedResponse.d.ts +5 -3
- package/serialization/types/ProjectExtendedResponse.js +5 -3
- package/serialization/types/ProjectResponse.d.ts +5 -3
- package/serialization/types/ProjectResponse.js +5 -3
- package/serialization/types/ProjectVoiceResponseModel.d.ts +1 -0
- package/serialization/types/ProjectVoiceResponseModel.js +1 -0
- package/serialization/types/RealtimeConfigSnapshot.d.ts +22 -0
- package/serialization/types/RealtimeConfigSnapshot.js +54 -0
- package/serialization/types/RealtimeConfigSnapshotParents.d.ts +9 -0
- package/serialization/types/RealtimeConfigSnapshotParents.js +41 -0
- 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/{SafetyCommonModel.d.ts → SafetyCommonModelInput.d.ts} +2 -2
- package/serialization/types/{SafetyCommonModel.js → SafetyCommonModelInput.js} +2 -2
- package/serialization/types/SafetyCommonModelOutput.d.ts +11 -0
- package/serialization/types/SafetyCommonModelOutput.js +43 -0
- package/serialization/types/SimulationTestModel.d.ts +1 -1
- package/serialization/types/SimulationTestModel.js +1 -1
- package/serialization/types/SongSourceContext.d.ts +1 -0
- package/serialization/types/SongSourceContext.js +1 -0
- package/serialization/types/SpeakerSeparationResponseModel.d.ts +1 -1
- package/serialization/types/SpeakerSeparationResponseModel.js +1 -1
- package/serialization/types/SpeechHistoryItemResponseModelSource.d.ts +1 -1
- package/serialization/types/SpeechHistoryItemResponseModelSource.js +1 -0
- package/serialization/types/StartProcedureToolErrorStatus.d.ts +1 -1
- package/serialization/types/StartProcedureToolErrorStatus.js +1 -1
- package/serialization/types/SubmitBusinessInfoParams.d.ts +9 -0
- package/serialization/types/SubmitBusinessInfoParams.js +41 -0
- package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/serialization/types/TextToDialogueWebsocketClientMessage.d.ts +2 -1
- package/serialization/types/TextToDialogueWebsocketClientMessage.js +2 -1
- package/serialization/types/TextToDialogueWebsocketVoiceSettings.d.ts +9 -0
- package/serialization/types/TextToDialogueWebsocketVoiceSettings.js +41 -0
- package/serialization/types/ToolCallUnitTestModel.d.ts +1 -1
- package/serialization/types/ToolCallUnitTestModel.js +1 -1
- package/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
- package/serialization/types/TransferToAgentToolResultSuccessModel.js +1 -0
- package/serialization/types/TransferToNumberResultExotelSuccessModel.d.ts +1 -0
- package/serialization/types/TransferToNumberResultExotelSuccessModel.js +1 -0
- package/serialization/types/TtsConversationalConfigInput.d.ts +1 -0
- package/serialization/types/TtsConversationalConfigInput.js +1 -0
- package/serialization/types/TtsConversationalConfigOutput.d.ts +1 -0
- package/serialization/types/TtsConversationalConfigOutput.js +1 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +1 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +1 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +1 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +1 -0
- package/serialization/types/TurnDetectionType.d.ts +7 -0
- package/serialization/types/TurnDetectionType.js +39 -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 +1 -1
- package/serialization/types/UpdateSimulationTestRequest.js +1 -1
- package/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
- package/serialization/types/UpdateToolCallUnitTestRequest.js +1 -1
- package/serialization/types/VoiceStatisticsResponseModel.d.ts +2 -1
- package/serialization/types/VoiceStatisticsResponseModel.js +2 -1
- package/serialization/types/WebhookHmacSettings.d.ts +1 -1
- package/serialization/types/WebhookHmacSettings.js +1 -1
- package/serialization/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -0
- package/serialization/types/WorkflowOverrideAgentNodeModelInput.js +2 -0
- package/serialization/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -0
- package/serialization/types/WorkflowOverrideAgentNodeModelOutput.js +2 -0
- package/serialization/types/WorkflowStandaloneAgentNodeModelInput.d.ts +1 -0
- package/serialization/types/WorkflowStandaloneAgentNodeModelInput.js +1 -0
- package/serialization/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +1 -0
- package/serialization/types/WorkflowStandaloneAgentNodeModelOutput.js +1 -0
- package/serialization/types/index.d.ts +49 -9
- package/serialization/types/index.js +49 -9
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.d.ts +0 -10
- package/api/types/AgentAlertingSettings.d.ts +0 -9
- package/api/types/AgentAlertingWebhookNotifier.d.ts +0 -7
- package/api/types/BackgroundMusicConfig.d.ts +0 -11
- package/api/types/BackgroundMusicConfigWorkflowOverride.d.ts +0 -11
- package/api/types/BackgroundMusicSourceType.d.ts +0 -4
- package/api/types/Monitor.d.ts +0 -6
- package/api/types/Monitor.js +0 -9
- package/dist/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.d.ts +0 -10
- package/dist/api/types/AgentAlertingSettings.d.ts +0 -9
- package/dist/api/types/AgentAlertingWebhookNotifier.d.ts +0 -7
- package/dist/api/types/BackgroundMusicConfig.d.ts +0 -11
- package/dist/api/types/BackgroundMusicConfigWorkflowOverride.d.ts +0 -11
- package/dist/api/types/BackgroundMusicSourceType.d.ts +0 -4
- package/dist/api/types/Monitor.d.ts +0 -6
- package/dist/api/types/Monitor.js +0 -9
- package/dist/serialization/types/AgentAlertingSettings.d.ts +0 -13
- package/dist/serialization/types/AgentAlertingWebhookNotifier.d.ts +0 -11
- package/dist/serialization/types/BackgroundMusicConfig.d.ts +0 -14
- package/dist/serialization/types/BackgroundMusicConfigWorkflowOverride.d.ts +0 -14
- package/dist/serialization/types/BackgroundMusicSourceType.d.ts +0 -7
- package/dist/serialization/types/Monitor.d.ts +0 -7
- package/serialization/types/AgentAlertingSettings.d.ts +0 -13
- package/serialization/types/AgentAlertingWebhookNotifier.d.ts +0 -11
- package/serialization/types/AgentAlertingWebhookNotifier.js +0 -43
- package/serialization/types/BackgroundMusicConfig.d.ts +0 -14
- package/serialization/types/BackgroundMusicConfigWorkflowOverride.d.ts +0 -14
- package/serialization/types/BackgroundMusicSourceType.d.ts +0 -7
- package/serialization/types/Monitor.d.ts +0 -7
- /package/api/resources/{workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.js → conversationalAi/resources/conversations/resources/analysis/client/requests/RunConversationEvaluationsRequest.js} +0 -0
- /package/api/{types/AgentAlertingMonitorConfig.js → resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersListRequest.js} +0 -0
- /package/api/{types/AgentAlertingSettings.js → resources/conversationalAi/resources/whatsappAccounts/client/requests/WhatsappAccountsListRequest.js} +0 -0
- /package/api/{types/AgentAlertingWebhookNotifier.js → resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostSourceCompositionPlan.js} +0 -0
- /package/api/{types/BackgroundMusicConfig.js → resources/music/resources/compositionPlan/types/CompositionPlanCreateResponse.js} +0 -0
- /package/api/{types/BackgroundMusicConfigWorkflowOverride.js → resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.js} +0 -0
- /package/api/{types/BackgroundMusicSourceType.js → resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.js} +0 -0
- /package/api/{types/SafetyCommonModel.js → resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.js} +0 -0
- /package/{dist/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.js → api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit.js} +0 -0
- /package/{dist/api/types/AgentAlertingMonitorConfig.js → api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled.js} +0 -0
- /package/{dist/api/types/AgentAlertingSettings.js → api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysDisableRequest.js} +0 -0
- /package/{dist/api/types/AgentAlertingWebhookNotifier.js → api/types/AlertingMonitorConfig.js} +0 -0
- /package/{dist/api/types/BackgroundMusicConfig.js → api/types/AlertingSettings.js} +0 -0
- /package/{dist/api/types/BackgroundMusicConfigWorkflowOverride.js → api/types/AlertingWebhookNotifier.js} +0 -0
- /package/{dist/api/types/BackgroundMusicSourceType.js → api/types/AudioRefChunk.js} +0 -0
- /package/{dist/api/types/SafetyCommonModel.js → api/types/BackgroundSoundConfig.js} +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.TranscriptsClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "TranscriptsClient", { enumerable: true, get: function () { return Client_1.TranscriptsClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
@@ -104,7 +104,7 @@ class StudioClient {
|
|
|
104
104
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
105
105
|
const { safetyIdentifier } = request, _body = __rest(request, ["safetyIdentifier"]);
|
|
106
106
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
107
|
-
"safety-identifier": safetyIdentifier
|
|
107
|
+
"safety-identifier": safetyIdentifier,
|
|
108
108
|
"xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey,
|
|
109
109
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
110
110
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
@@ -112,7 +112,7 @@ class StudioClient {
|
|
|
112
112
|
method: "POST",
|
|
113
113
|
headers: _headers,
|
|
114
114
|
contentType: "application/json",
|
|
115
|
-
|
|
115
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
116
116
|
requestType: "json",
|
|
117
117
|
body: serializers.BodyCreatePodcastV1StudioPodcastsPost.jsonOrThrow(_body, {
|
|
118
118
|
unrecognizedObjectKeys: "strip",
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.StudioClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "StudioClient", { enumerable: true, get: function () { return Client_1.StudioClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
22
|
+
__exportStar(require("./resources/index"), exports);
|
|
@@ -97,7 +97,7 @@ class ProjectsClient {
|
|
|
97
97
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/studio/projects"),
|
|
98
98
|
method: "GET",
|
|
99
99
|
headers: _headers,
|
|
100
|
-
|
|
100
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
101
101
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
102
102
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
103
103
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -149,119 +149,119 @@ class ProjectsClient {
|
|
|
149
149
|
}
|
|
150
150
|
__create(request, requestOptions) {
|
|
151
151
|
return __awaiter(this, void 0, void 0, function* () {
|
|
152
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
153
|
-
const
|
|
154
|
-
|
|
152
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
153
|
+
const _body = yield core.newFormData();
|
|
154
|
+
_body.append("name", request.name);
|
|
155
155
|
if (request.defaultTitleVoiceId != null) {
|
|
156
|
-
|
|
156
|
+
_body.append("default_title_voice_id", request.defaultTitleVoiceId);
|
|
157
157
|
}
|
|
158
158
|
if (request.defaultParagraphVoiceId != null) {
|
|
159
|
-
|
|
159
|
+
_body.append("default_paragraph_voice_id", request.defaultParagraphVoiceId);
|
|
160
160
|
}
|
|
161
161
|
if (request.defaultModelId != null) {
|
|
162
|
-
|
|
162
|
+
_body.append("default_model_id", request.defaultModelId);
|
|
163
163
|
}
|
|
164
164
|
if (request.fromUrl != null) {
|
|
165
|
-
|
|
165
|
+
_body.append("from_url", request.fromUrl);
|
|
166
166
|
}
|
|
167
167
|
if (request.fromDocument != null) {
|
|
168
|
-
yield
|
|
168
|
+
yield _body.appendFile("from_document", request.fromDocument);
|
|
169
169
|
}
|
|
170
170
|
if (request.fromContentJson != null) {
|
|
171
|
-
|
|
171
|
+
_body.append("from_content_json", request.fromContentJson);
|
|
172
172
|
}
|
|
173
173
|
if (request.qualityPreset != null) {
|
|
174
|
-
|
|
174
|
+
_body.append("quality_preset", serializers.QualityPresetType.jsonOrThrow(request.qualityPreset, { unrecognizedObjectKeys: "strip" }));
|
|
175
175
|
}
|
|
176
176
|
if (request.title != null) {
|
|
177
|
-
|
|
177
|
+
_body.append("title", request.title);
|
|
178
178
|
}
|
|
179
179
|
if (request.author != null) {
|
|
180
|
-
|
|
180
|
+
_body.append("author", request.author);
|
|
181
181
|
}
|
|
182
182
|
if (request.description != null) {
|
|
183
|
-
|
|
183
|
+
_body.append("description", request.description);
|
|
184
184
|
}
|
|
185
185
|
if (request.genres != null) {
|
|
186
186
|
for (const _item of request.genres) {
|
|
187
|
-
|
|
187
|
+
_body.append("genres", _item);
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
if (request.targetAudience != null) {
|
|
191
|
-
|
|
191
|
+
_body.append("target_audience", serializers.studio.ProjectsCreateRequestTargetAudience.jsonOrThrow(request.targetAudience, {
|
|
192
192
|
unrecognizedObjectKeys: "strip",
|
|
193
193
|
}));
|
|
194
194
|
}
|
|
195
195
|
if (request.language != null) {
|
|
196
|
-
|
|
196
|
+
_body.append("language", request.language);
|
|
197
197
|
}
|
|
198
198
|
if (request.contentType != null) {
|
|
199
|
-
|
|
199
|
+
_body.append("content_type", request.contentType);
|
|
200
200
|
}
|
|
201
201
|
if (request.originalPublicationDate != null) {
|
|
202
|
-
|
|
202
|
+
_body.append("original_publication_date", request.originalPublicationDate);
|
|
203
203
|
}
|
|
204
204
|
if (request.matureContent != null) {
|
|
205
|
-
|
|
205
|
+
_body.append("mature_content", (_a = request.matureContent) === null || _a === void 0 ? void 0 : _a.toString());
|
|
206
206
|
}
|
|
207
207
|
if (request.isbnNumber != null) {
|
|
208
|
-
|
|
208
|
+
_body.append("isbn_number", request.isbnNumber);
|
|
209
209
|
}
|
|
210
210
|
if (request.acxVolumeNormalization != null) {
|
|
211
|
-
|
|
211
|
+
_body.append("acx_volume_normalization", (_b = request.acxVolumeNormalization) === null || _b === void 0 ? void 0 : _b.toString());
|
|
212
212
|
}
|
|
213
213
|
if (request.volumeNormalization != null) {
|
|
214
|
-
|
|
214
|
+
_body.append("volume_normalization", (_c = request.volumeNormalization) === null || _c === void 0 ? void 0 : _c.toString());
|
|
215
215
|
}
|
|
216
216
|
if (request.pronunciationDictionaryLocators != null) {
|
|
217
217
|
for (const _item of request.pronunciationDictionaryLocators) {
|
|
218
|
-
|
|
218
|
+
_body.append("pronunciation_dictionary_locators", _item);
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
if (request.callbackUrl != null) {
|
|
222
|
-
|
|
222
|
+
_body.append("callback_url", request.callbackUrl);
|
|
223
223
|
}
|
|
224
224
|
if (request.fiction != null) {
|
|
225
|
-
|
|
225
|
+
_body.append("fiction", serializers.studio.ProjectsCreateRequestFiction.jsonOrThrow(request.fiction, {
|
|
226
226
|
unrecognizedObjectKeys: "strip",
|
|
227
227
|
}));
|
|
228
228
|
}
|
|
229
229
|
if (request.applyTextNormalization != null) {
|
|
230
|
-
|
|
230
|
+
_body.append("apply_text_normalization", serializers.studio.ProjectsCreateRequestApplyTextNormalization.jsonOrThrow(request.applyTextNormalization, { unrecognizedObjectKeys: "strip" }));
|
|
231
231
|
}
|
|
232
232
|
if (request.autoConvert != null) {
|
|
233
|
-
|
|
233
|
+
_body.append("auto_convert", (_d = request.autoConvert) === null || _d === void 0 ? void 0 : _d.toString());
|
|
234
234
|
}
|
|
235
235
|
if (request.autoAssignVoices != null) {
|
|
236
|
-
|
|
236
|
+
_body.append("auto_assign_voices", (_e = request.autoAssignVoices) === null || _e === void 0 ? void 0 : _e.toString());
|
|
237
237
|
}
|
|
238
238
|
if (request.sourceType != null) {
|
|
239
|
-
|
|
239
|
+
_body.append("source_type", serializers.studio.ProjectsCreateRequestSourceType.jsonOrThrow(request.sourceType, {
|
|
240
240
|
unrecognizedObjectKeys: "strip",
|
|
241
241
|
}));
|
|
242
242
|
}
|
|
243
243
|
if (request.voiceSettings != null) {
|
|
244
244
|
for (const _item of request.voiceSettings) {
|
|
245
|
-
|
|
245
|
+
_body.append("voice_settings", _item);
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
if (request.createPublishingRead != null) {
|
|
249
|
-
|
|
249
|
+
_body.append("create_publishing_read", (_f = request.createPublishingRead) === null || _f === void 0 ? void 0 : _f.toString());
|
|
250
250
|
}
|
|
251
|
-
const _maybeEncodedRequest = yield
|
|
252
|
-
const _headers = (0, headers_1.mergeHeaders)((
|
|
253
|
-
const _response = yield ((
|
|
254
|
-
url: core.url.join((
|
|
251
|
+
const _maybeEncodedRequest = yield _body.getRequest();
|
|
252
|
+
const _headers = (0, headers_1.mergeHeaders)((_g = this._options) === null || _g === void 0 ? void 0 : _g.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "xi-api-key": (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.apiKey }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
253
|
+
const _response = yield ((_k = this._options.fetcher) !== null && _k !== void 0 ? _k : core.fetcher)({
|
|
254
|
+
url: core.url.join((_m = (_l = (yield core.Supplier.get(this._options.baseUrl))) !== null && _l !== void 0 ? _l : (yield core.Supplier.get(this._options.environment))) !== null && _m !== void 0 ? _m : environments.ElevenLabsEnvironment.Production, "v1/studio/projects"),
|
|
255
255
|
method: "POST",
|
|
256
256
|
headers: _headers,
|
|
257
|
-
|
|
257
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
258
258
|
requestType: "file",
|
|
259
259
|
duplex: _maybeEncodedRequest.duplex,
|
|
260
260
|
body: _maybeEncodedRequest.body,
|
|
261
|
-
timeoutMs: ((
|
|
262
|
-
maxRetries: (
|
|
261
|
+
timeoutMs: ((_q = (_o = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _o !== void 0 ? _o : (_p = this._options) === null || _p === void 0 ? void 0 : _p.timeoutInSeconds) !== null && _q !== void 0 ? _q : 240) * 1000,
|
|
262
|
+
maxRetries: (_r = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _r !== void 0 ? _r : (_s = this._options) === null || _s === void 0 ? void 0 : _s.maxRetries,
|
|
263
263
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
264
|
-
fetchFn: (
|
|
264
|
+
fetchFn: (_t = this._options) === null || _t === void 0 ? void 0 : _t.fetch,
|
|
265
265
|
logging: this._options.logging,
|
|
266
266
|
});
|
|
267
267
|
if (_response.ok) {
|
|
@@ -311,16 +311,19 @@ class ProjectsClient {
|
|
|
311
311
|
return __awaiter(this, arguments, void 0, function* (project_id, request = {}, requestOptions) {
|
|
312
312
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
313
313
|
const { shareId } = request;
|
|
314
|
-
const _queryParams = {
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
}
|
|
314
|
+
const _queryParams = {
|
|
315
|
+
share_id: shareId,
|
|
316
|
+
};
|
|
318
317
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
319
318
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
320
319
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${core.url.encodePathParam(project_id)}`),
|
|
321
320
|
method: "GET",
|
|
322
321
|
headers: _headers,
|
|
323
|
-
|
|
322
|
+
queryString: core.url
|
|
323
|
+
.queryBuilder()
|
|
324
|
+
.addMany(_queryParams)
|
|
325
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
326
|
+
.build(),
|
|
324
327
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
325
328
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
326
329
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -381,7 +384,7 @@ class ProjectsClient {
|
|
|
381
384
|
method: "POST",
|
|
382
385
|
headers: _headers,
|
|
383
386
|
contentType: "application/json",
|
|
384
|
-
|
|
387
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
385
388
|
requestType: "json",
|
|
386
389
|
body: serializers.studio.BodyUpdateStudioProjectV1StudioProjectsProjectIdPost.jsonOrThrow(request, {
|
|
387
390
|
unrecognizedObjectKeys: "strip",
|
|
@@ -440,7 +443,7 @@ class ProjectsClient {
|
|
|
440
443
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${core.url.encodePathParam(project_id)}`),
|
|
441
444
|
method: "DELETE",
|
|
442
445
|
headers: _headers,
|
|
443
|
-
|
|
446
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
444
447
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
445
448
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
446
449
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -495,7 +498,7 @@ class ProjectsClient {
|
|
|
495
498
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${core.url.encodePathParam(project_id)}/convert`),
|
|
496
499
|
method: "POST",
|
|
497
500
|
headers: _headers,
|
|
498
|
-
|
|
501
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
499
502
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
500
503
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
501
504
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -550,7 +553,7 @@ class ProjectsClient {
|
|
|
550
553
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${core.url.encodePathParam(project_id)}/muted-tracks`),
|
|
551
554
|
method: "GET",
|
|
552
555
|
headers: _headers,
|
|
553
|
-
|
|
556
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
554
557
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
555
558
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
556
559
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ProjectsClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "ProjectsClient", { enumerable: true, get: function () { return Client_1.ProjectsClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
22
|
+
__exportStar(require("./resources/index"), exports);
|
|
@@ -83,7 +83,7 @@ class ChaptersClient {
|
|
|
83
83
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${core.url.encodePathParam(project_id)}/chapters`),
|
|
84
84
|
method: "GET",
|
|
85
85
|
headers: _headers,
|
|
86
|
-
|
|
86
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
87
87
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
88
88
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
89
89
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -142,7 +142,7 @@ class ChaptersClient {
|
|
|
142
142
|
method: "POST",
|
|
143
143
|
headers: _headers,
|
|
144
144
|
contentType: "application/json",
|
|
145
|
-
|
|
145
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
146
146
|
requestType: "json",
|
|
147
147
|
body: serializers.studio.projects.BodyCreateChapterV1StudioProjectsProjectIdChaptersPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
148
148
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
@@ -200,7 +200,7 @@ class ChaptersClient {
|
|
|
200
200
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${core.url.encodePathParam(project_id)}/chapters/${core.url.encodePathParam(chapter_id)}`),
|
|
201
201
|
method: "GET",
|
|
202
202
|
headers: _headers,
|
|
203
|
-
|
|
203
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
204
204
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
205
205
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
206
206
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -258,7 +258,7 @@ class ChaptersClient {
|
|
|
258
258
|
method: "POST",
|
|
259
259
|
headers: _headers,
|
|
260
260
|
contentType: "application/json",
|
|
261
|
-
|
|
261
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
262
262
|
requestType: "json",
|
|
263
263
|
body: serializers.studio.projects.BodyUpdateChapterV1StudioProjectsProjectIdChaptersChapterIdPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
264
264
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
@@ -316,7 +316,7 @@ class ChaptersClient {
|
|
|
316
316
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${core.url.encodePathParam(project_id)}/chapters/${core.url.encodePathParam(chapter_id)}`),
|
|
317
317
|
method: "DELETE",
|
|
318
318
|
headers: _headers,
|
|
319
|
-
|
|
319
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
320
320
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
321
321
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
322
322
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -372,7 +372,7 @@ class ChaptersClient {
|
|
|
372
372
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${core.url.encodePathParam(project_id)}/chapters/${core.url.encodePathParam(chapter_id)}/convert`),
|
|
373
373
|
method: "POST",
|
|
374
374
|
headers: _headers,
|
|
375
|
-
|
|
375
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
376
376
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
377
377
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
378
378
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ChaptersClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "ChaptersClient", { enumerable: true, get: function () { return Client_1.ChaptersClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
22
|
+
__exportStar(require("./resources/index"), exports);
|
|
@@ -41,6 +41,7 @@ export declare class SnapshotsClient {
|
|
|
41
41
|
private __get;
|
|
42
42
|
/**
|
|
43
43
|
* Stream the audio from a chapter snapshot. Use `GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots` to return the snapshots of a chapter.
|
|
44
|
+
*
|
|
44
45
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
45
46
|
*/
|
|
46
47
|
stream(project_id: string, chapter_id: string, chapter_snapshot_id: string, request?: ElevenLabs.studio.projects.chapters.BodyStreamChapterAudioV1StudioProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost, requestOptions?: SnapshotsClient.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
|
|
@@ -79,7 +79,7 @@ class SnapshotsClient {
|
|
|
79
79
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${core.url.encodePathParam(project_id)}/chapters/${core.url.encodePathParam(chapter_id)}/snapshots`),
|
|
80
80
|
method: "GET",
|
|
81
81
|
headers: _headers,
|
|
82
|
-
|
|
82
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
83
83
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
84
84
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
85
85
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -136,7 +136,7 @@ class SnapshotsClient {
|
|
|
136
136
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${core.url.encodePathParam(project_id)}/chapters/${core.url.encodePathParam(chapter_id)}/snapshots/${core.url.encodePathParam(chapter_snapshot_id)}`),
|
|
137
137
|
method: "GET",
|
|
138
138
|
headers: _headers,
|
|
139
|
-
|
|
139
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
140
140
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
141
141
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
142
142
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -171,6 +171,7 @@ class SnapshotsClient {
|
|
|
171
171
|
}
|
|
172
172
|
/**
|
|
173
173
|
* Stream the audio from a chapter snapshot. Use `GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots` to return the snapshots of a chapter.
|
|
174
|
+
*
|
|
174
175
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
175
176
|
*/
|
|
176
177
|
stream(project_id, chapter_id, chapter_snapshot_id, request = {}, requestOptions) {
|
|
@@ -185,7 +186,7 @@ class SnapshotsClient {
|
|
|
185
186
|
method: "POST",
|
|
186
187
|
headers: _headers,
|
|
187
188
|
contentType: "application/json",
|
|
188
|
-
|
|
189
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
189
190
|
requestType: "json",
|
|
190
191
|
body: serializers.studio.projects.chapters.BodyStreamChapterAudioV1StudioProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
191
192
|
responseType: "streaming",
|
package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/exports.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.SnapshotsClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "SnapshotsClient", { enumerable: true, get: function () { return Client_1.SnapshotsClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
@@ -74,34 +74,34 @@ class ContentClient {
|
|
|
74
74
|
}
|
|
75
75
|
__update(project_id, request, requestOptions) {
|
|
76
76
|
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
78
|
-
const
|
|
77
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
78
|
+
const _body = yield core.newFormData();
|
|
79
79
|
if (request.fromUrl != null) {
|
|
80
|
-
|
|
80
|
+
_body.append("from_url", request.fromUrl);
|
|
81
81
|
}
|
|
82
82
|
if (request.fromDocument != null) {
|
|
83
|
-
yield
|
|
83
|
+
yield _body.appendFile("from_document", request.fromDocument);
|
|
84
84
|
}
|
|
85
85
|
if (request.fromContentJson != null) {
|
|
86
|
-
|
|
86
|
+
_body.append("from_content_json", request.fromContentJson);
|
|
87
87
|
}
|
|
88
88
|
if (request.autoConvert != null) {
|
|
89
|
-
|
|
89
|
+
_body.append("auto_convert", (_a = request.autoConvert) === null || _a === void 0 ? void 0 : _a.toString());
|
|
90
90
|
}
|
|
91
|
-
const _maybeEncodedRequest = yield
|
|
92
|
-
const _headers = (0, headers_1.mergeHeaders)((
|
|
93
|
-
const _response = yield ((
|
|
94
|
-
url: core.url.join((
|
|
91
|
+
const _maybeEncodedRequest = yield _body.getRequest();
|
|
92
|
+
const _headers = (0, headers_1.mergeHeaders)((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "xi-api-key": (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.apiKey }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
93
|
+
const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
|
|
94
|
+
url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${core.url.encodePathParam(project_id)}/content`),
|
|
95
95
|
method: "POST",
|
|
96
96
|
headers: _headers,
|
|
97
|
-
|
|
97
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
98
98
|
requestType: "file",
|
|
99
99
|
duplex: _maybeEncodedRequest.duplex,
|
|
100
100
|
body: _maybeEncodedRequest.body,
|
|
101
|
-
timeoutMs: ((
|
|
102
|
-
maxRetries: (
|
|
101
|
+
timeoutMs: ((_k = (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.timeoutInSeconds) !== null && _k !== void 0 ? _k : 240) * 1000,
|
|
102
|
+
maxRetries: (_l = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _l !== void 0 ? _l : (_m = this._options) === null || _m === void 0 ? void 0 : _m.maxRetries,
|
|
103
103
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
104
|
-
fetchFn: (
|
|
104
|
+
fetchFn: (_o = this._options) === null || _o === void 0 ? void 0 : _o.fetch,
|
|
105
105
|
logging: this._options.logging,
|
|
106
106
|
});
|
|
107
107
|
if (_response.ok) {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ContentClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "ContentClient", { enumerable: true, get: function () { return Client_1.ContentClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js
CHANGED
|
@@ -84,7 +84,7 @@ class PronunciationDictionariesClient {
|
|
|
84
84
|
method: "POST",
|
|
85
85
|
headers: _headers,
|
|
86
86
|
contentType: "application/json",
|
|
87
|
-
|
|
87
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
88
88
|
requestType: "json",
|
|
89
89
|
body: serializers.studio.projects.BodyCreatePronunciationDictionariesV1StudioProjectsProjectIdPronunciationDictionariesPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
90
90
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|