@elevenlabs/elevenlabs-js 2.52.0 → 2.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.fern/metadata.json +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/DynamicVariablesConfigInput.d.ts +1 -1
- package/api/types/DynamicVariablesConfigOutput.d.ts +1 -1
- package/api/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
- package/api/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
- package/api/types/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/DynamicVariablesConfigInput.d.ts +1 -1
- package/dist/api/types/DynamicVariablesConfigOutput.d.ts +1 -1
- package/dist/api/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
- package/dist/api/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
- package/dist/api/types/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/DynamicVariablesConfigInput.d.ts +1 -1
- package/dist/serialization/types/DynamicVariablesConfigInput.js +1 -1
- package/dist/serialization/types/DynamicVariablesConfigOutput.d.ts +1 -1
- package/dist/serialization/types/DynamicVariablesConfigOutput.js +1 -1
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.js +1 -1
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.js +1 -1
- package/dist/serialization/types/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/DynamicVariablesConfigInput.d.ts +1 -1
- package/serialization/types/DynamicVariablesConfigInput.js +1 -1
- package/serialization/types/DynamicVariablesConfigOutput.d.ts +1 -1
- package/serialization/types/DynamicVariablesConfigOutput.js +1 -1
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.js +1 -1
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.js +1 -1
- package/serialization/types/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,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.DashboardClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "DashboardClient", { enumerable: true, get: function () { return Client_1.DashboardClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
22
|
+
__exportStar(require("./resources/index"), exports);
|
package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js
CHANGED
|
@@ -77,7 +77,7 @@ class SettingsClient {
|
|
|
77
77
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/settings/dashboard"),
|
|
78
78
|
method: "GET",
|
|
79
79
|
headers: _headers,
|
|
80
|
-
|
|
80
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
81
81
|
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,
|
|
82
82
|
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,
|
|
83
83
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -133,7 +133,7 @@ class SettingsClient {
|
|
|
133
133
|
method: "PATCH",
|
|
134
134
|
headers: _headers,
|
|
135
135
|
contentType: "application/json",
|
|
136
|
-
|
|
136
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
137
137
|
requestType: "json",
|
|
138
138
|
body: serializers.conversationalAi.dashboard.PatchConvAiDashboardSettingsRequest.jsonOrThrow(request, {
|
|
139
139
|
unrecognizedObjectKeys: "strip",
|
|
@@ -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.SettingsClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "SettingsClient", { enumerable: true, get: function () { return Client_1.SettingsClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
@@ -83,7 +83,7 @@ class ExotelClient {
|
|
|
83
83
|
method: "POST",
|
|
84
84
|
headers: _headers,
|
|
85
85
|
contentType: "application/json",
|
|
86
|
-
|
|
86
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
87
87
|
requestType: "json",
|
|
88
88
|
body: serializers.conversationalAi.BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
89
89
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
@@ -0,0 +1,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.ExotelClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "ExotelClient", { enumerable: true, get: function () { return Client_1.ExotelClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
@@ -96,57 +96,37 @@ class KnowledgeBaseClient {
|
|
|
96
96
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
97
97
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
98
98
|
const { pageSize, search, showOnlyOwnedDocuments, createdByUserId, types, parentFolderId, ancestorFolderId, foldersFirst, sortDirection, sortBy, cursor, } = request;
|
|
99
|
-
const _queryParams = {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
if (parentFolderId != null) {
|
|
123
|
-
_queryParams.parent_folder_id = parentFolderId;
|
|
124
|
-
}
|
|
125
|
-
if (ancestorFolderId != null) {
|
|
126
|
-
_queryParams.ancestor_folder_id = ancestorFolderId;
|
|
127
|
-
}
|
|
128
|
-
if (foldersFirst != null) {
|
|
129
|
-
_queryParams.folders_first = foldersFirst.toString();
|
|
130
|
-
}
|
|
131
|
-
if (sortDirection != null) {
|
|
132
|
-
_queryParams.sort_direction = serializers.SortDirection.jsonOrThrow(sortDirection, {
|
|
133
|
-
unrecognizedObjectKeys: "strip",
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
if (sortBy != null) {
|
|
137
|
-
_queryParams.sort_by = serializers.KnowledgeBaseSortBy.jsonOrThrow(sortBy, {
|
|
138
|
-
unrecognizedObjectKeys: "strip",
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
if (cursor != null) {
|
|
142
|
-
_queryParams.cursor = cursor;
|
|
143
|
-
}
|
|
99
|
+
const _queryParams = {
|
|
100
|
+
page_size: pageSize,
|
|
101
|
+
search,
|
|
102
|
+
show_only_owned_documents: showOnlyOwnedDocuments,
|
|
103
|
+
created_by_user_id: createdByUserId,
|
|
104
|
+
types: Array.isArray(types)
|
|
105
|
+
? types.map((item) => serializers.KnowledgeBaseDocumentType.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }))
|
|
106
|
+
: types != null
|
|
107
|
+
? serializers.KnowledgeBaseDocumentType.jsonOrThrow(types, { unrecognizedObjectKeys: "strip" })
|
|
108
|
+
: undefined,
|
|
109
|
+
parent_folder_id: parentFolderId,
|
|
110
|
+
ancestor_folder_id: ancestorFolderId,
|
|
111
|
+
folders_first: foldersFirst,
|
|
112
|
+
sort_direction: sortDirection != null
|
|
113
|
+
? serializers.SortDirection.jsonOrThrow(sortDirection, { unrecognizedObjectKeys: "strip" })
|
|
114
|
+
: undefined,
|
|
115
|
+
sort_by: sortBy != null
|
|
116
|
+
? serializers.KnowledgeBaseSortBy.jsonOrThrow(sortBy, { unrecognizedObjectKeys: "strip" })
|
|
117
|
+
: undefined,
|
|
118
|
+
cursor,
|
|
119
|
+
};
|
|
144
120
|
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);
|
|
145
121
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
146
122
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/knowledge-base"),
|
|
147
123
|
method: "GET",
|
|
148
124
|
headers: _headers,
|
|
149
|
-
|
|
125
|
+
queryString: core.url
|
|
126
|
+
.queryBuilder()
|
|
127
|
+
.addMany(_queryParams)
|
|
128
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
129
|
+
.build(),
|
|
150
130
|
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,
|
|
151
131
|
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,
|
|
152
132
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -208,7 +188,7 @@ class KnowledgeBaseClient {
|
|
|
208
188
|
method: "POST",
|
|
209
189
|
headers: _headers,
|
|
210
190
|
contentType: "application/json",
|
|
211
|
-
|
|
191
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
212
192
|
requestType: "json",
|
|
213
193
|
body: serializers.conversationalAi.BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
214
194
|
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,
|
|
@@ -266,30 +246,26 @@ class KnowledgeBaseClient {
|
|
|
266
246
|
return __awaiter(this, void 0, void 0, function* () {
|
|
267
247
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
268
248
|
const { query, pageSize, types, cursor } = request;
|
|
269
|
-
const _queryParams = {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
_queryParams.types = serializers.KnowledgeBaseDocumentType.jsonOrThrow(types, {
|
|
280
|
-
unrecognizedObjectKeys: "strip",
|
|
281
|
-
});
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
if (cursor != null) {
|
|
285
|
-
_queryParams.cursor = cursor;
|
|
286
|
-
}
|
|
249
|
+
const _queryParams = {
|
|
250
|
+
query,
|
|
251
|
+
page_size: pageSize,
|
|
252
|
+
types: Array.isArray(types)
|
|
253
|
+
? types.map((item) => serializers.KnowledgeBaseDocumentType.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }))
|
|
254
|
+
: types != null
|
|
255
|
+
? serializers.KnowledgeBaseDocumentType.jsonOrThrow(types, { unrecognizedObjectKeys: "strip" })
|
|
256
|
+
: undefined,
|
|
257
|
+
cursor,
|
|
258
|
+
};
|
|
287
259
|
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);
|
|
288
260
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
289
261
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/knowledge-base/search"),
|
|
290
262
|
method: "GET",
|
|
291
263
|
headers: _headers,
|
|
292
|
-
|
|
264
|
+
queryString: core.url
|
|
265
|
+
.queryBuilder()
|
|
266
|
+
.addMany(_queryParams)
|
|
267
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
268
|
+
.build(),
|
|
293
269
|
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,
|
|
294
270
|
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,
|
|
295
271
|
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.KnowledgeBaseClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "KnowledgeBaseClient", { enumerable: true, get: function () { return Client_1.KnowledgeBaseClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
22
|
+
__exportStar(require("./resources/index"), exports);
|
|
@@ -77,15 +77,15 @@ class DocumentClient {
|
|
|
77
77
|
__updateFile(documentation_id, request, requestOptions) {
|
|
78
78
|
return __awaiter(this, void 0, void 0, function* () {
|
|
79
79
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
80
|
-
const
|
|
81
|
-
yield
|
|
82
|
-
const _maybeEncodedRequest = yield
|
|
80
|
+
const _body = yield core.newFormData();
|
|
81
|
+
yield _body.appendFile("file", request.file);
|
|
82
|
+
const _maybeEncodedRequest = yield _body.getRequest();
|
|
83
83
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "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 }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
84
84
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
85
85
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/knowledge-base/${core.url.encodePathParam(documentation_id)}/update-file`),
|
|
86
86
|
method: "PATCH",
|
|
87
87
|
headers: _headers,
|
|
88
|
-
|
|
88
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
89
89
|
requestType: "file",
|
|
90
90
|
duplex: _maybeEncodedRequest.duplex,
|
|
91
91
|
body: _maybeEncodedRequest.body,
|
|
@@ -143,7 +143,7 @@ class DocumentClient {
|
|
|
143
143
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/knowledge-base/${core.url.encodePathParam(documentation_id)}/refresh`),
|
|
144
144
|
method: "POST",
|
|
145
145
|
headers: _headers,
|
|
146
|
-
|
|
146
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
147
147
|
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,
|
|
148
148
|
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,
|
|
149
149
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -202,7 +202,7 @@ class DocumentClient {
|
|
|
202
202
|
method: "POST",
|
|
203
203
|
headers: _headers,
|
|
204
204
|
contentType: "application/json",
|
|
205
|
-
|
|
205
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
206
206
|
requestType: "json",
|
|
207
207
|
body: serializers.conversationalAi.knowledgeBase.RagIndexRequestModel.jsonOrThrow(request, {
|
|
208
208
|
unrecognizedObjectKeys: "strip",
|
package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/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.DocumentClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "DocumentClient", { enumerable: true, get: function () { return Client_1.DocumentClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../../../../../../index";
|
|
2
|
-
export type DocumentRefreshResponse = ElevenLabs.conversationalAi.knowledgeBase.DocumentRefreshResponse.Url | ElevenLabs.conversationalAi.knowledgeBase.DocumentRefreshResponse.
|
|
2
|
+
export type DocumentRefreshResponse = ElevenLabs.conversationalAi.knowledgeBase.DocumentRefreshResponse.Url | ElevenLabs.conversationalAi.knowledgeBase.DocumentRefreshResponse.File | ElevenLabs.conversationalAi.knowledgeBase.DocumentRefreshResponse.Text | ElevenLabs.conversationalAi.knowledgeBase.DocumentRefreshResponse.Folder;
|
|
3
3
|
export declare namespace DocumentRefreshResponse {
|
|
4
4
|
interface Url extends ElevenLabs.GetKnowledgeBaseUrlResponseModel {
|
|
5
5
|
type: "url";
|
|
6
6
|
}
|
|
7
|
-
interface
|
|
7
|
+
interface File extends ElevenLabs.GetKnowledgeBaseFileResponseModel {
|
|
8
8
|
type: "file";
|
|
9
9
|
}
|
|
10
10
|
interface Text extends ElevenLabs.GetKnowledgeBaseTextResponseModel {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../../../../../../index";
|
|
2
|
-
export type DocumentUpdateFileResponse = ElevenLabs.conversationalAi.knowledgeBase.DocumentUpdateFileResponse.Url | ElevenLabs.conversationalAi.knowledgeBase.DocumentUpdateFileResponse.
|
|
2
|
+
export type DocumentUpdateFileResponse = ElevenLabs.conversationalAi.knowledgeBase.DocumentUpdateFileResponse.Url | ElevenLabs.conversationalAi.knowledgeBase.DocumentUpdateFileResponse.File | ElevenLabs.conversationalAi.knowledgeBase.DocumentUpdateFileResponse.Text | ElevenLabs.conversationalAi.knowledgeBase.DocumentUpdateFileResponse.Folder;
|
|
3
3
|
export declare namespace DocumentUpdateFileResponse {
|
|
4
4
|
interface Url extends ElevenLabs.GetKnowledgeBaseUrlResponseModel {
|
|
5
5
|
type: "url";
|
|
6
6
|
}
|
|
7
|
-
interface
|
|
7
|
+
interface File extends ElevenLabs.GetKnowledgeBaseFileResponseModel {
|
|
8
8
|
type: "file";
|
|
9
9
|
}
|
|
10
10
|
interface Text extends ElevenLabs.GetKnowledgeBaseTextResponseModel {
|
|
@@ -96,7 +96,7 @@ class DocumentsClient {
|
|
|
96
96
|
method: "POST",
|
|
97
97
|
headers: _headers,
|
|
98
98
|
contentType: "application/json",
|
|
99
|
-
|
|
99
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
100
100
|
requestType: "json",
|
|
101
101
|
body: serializers.conversationalAi.knowledgeBase.BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
102
102
|
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,
|
|
@@ -151,21 +151,21 @@ class DocumentsClient {
|
|
|
151
151
|
__createFromFile(request, requestOptions) {
|
|
152
152
|
return __awaiter(this, void 0, void 0, function* () {
|
|
153
153
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
154
|
-
const
|
|
155
|
-
yield
|
|
154
|
+
const _body = yield core.newFormData();
|
|
155
|
+
yield _body.appendFile("file", request.file);
|
|
156
156
|
if (request.name != null) {
|
|
157
|
-
|
|
157
|
+
_body.append("name", request.name);
|
|
158
158
|
}
|
|
159
159
|
if (request.parentFolderId != null) {
|
|
160
|
-
|
|
160
|
+
_body.append("parent_folder_id", request.parentFolderId);
|
|
161
161
|
}
|
|
162
|
-
const _maybeEncodedRequest = yield
|
|
162
|
+
const _maybeEncodedRequest = yield _body.getRequest();
|
|
163
163
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "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 }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
164
164
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
165
165
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/knowledge-base/file"),
|
|
166
166
|
method: "POST",
|
|
167
167
|
headers: _headers,
|
|
168
|
-
|
|
168
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
169
169
|
requestType: "file",
|
|
170
170
|
duplex: _maybeEncodedRequest.duplex,
|
|
171
171
|
body: _maybeEncodedRequest.body,
|
|
@@ -226,7 +226,7 @@ class DocumentsClient {
|
|
|
226
226
|
method: "POST",
|
|
227
227
|
headers: _headers,
|
|
228
228
|
contentType: "application/json",
|
|
229
|
-
|
|
229
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
230
230
|
requestType: "json",
|
|
231
231
|
body: serializers.conversationalAi.knowledgeBase.BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
232
232
|
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,
|
|
@@ -286,7 +286,7 @@ class DocumentsClient {
|
|
|
286
286
|
method: "POST",
|
|
287
287
|
headers: _headers,
|
|
288
288
|
contentType: "application/json",
|
|
289
|
-
|
|
289
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
290
290
|
requestType: "json",
|
|
291
291
|
body: serializers.conversationalAi.knowledgeBase.BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
292
292
|
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,
|
|
@@ -342,16 +342,19 @@ class DocumentsClient {
|
|
|
342
342
|
return __awaiter(this, arguments, void 0, function* (documentation_id, request = {}, requestOptions) {
|
|
343
343
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
344
344
|
const { agentId } = request;
|
|
345
|
-
const _queryParams = {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
}
|
|
345
|
+
const _queryParams = {
|
|
346
|
+
agent_id: agentId,
|
|
347
|
+
};
|
|
349
348
|
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);
|
|
350
349
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
351
350
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/knowledge-base/${core.url.encodePathParam(documentation_id)}`),
|
|
352
351
|
method: "GET",
|
|
353
352
|
headers: _headers,
|
|
354
|
-
|
|
353
|
+
queryString: core.url
|
|
354
|
+
.queryBuilder()
|
|
355
|
+
.addMany(_queryParams)
|
|
356
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
357
|
+
.build(),
|
|
355
358
|
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,
|
|
356
359
|
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,
|
|
357
360
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -405,16 +408,19 @@ class DocumentsClient {
|
|
|
405
408
|
return __awaiter(this, arguments, void 0, function* (documentation_id, request = {}, requestOptions) {
|
|
406
409
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
407
410
|
const { force } = request;
|
|
408
|
-
const _queryParams = {
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
}
|
|
411
|
+
const _queryParams = {
|
|
412
|
+
force,
|
|
413
|
+
};
|
|
412
414
|
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);
|
|
413
415
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
414
416
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/knowledge-base/${core.url.encodePathParam(documentation_id)}`),
|
|
415
417
|
method: "DELETE",
|
|
416
418
|
headers: _headers,
|
|
417
|
-
|
|
419
|
+
queryString: core.url
|
|
420
|
+
.queryBuilder()
|
|
421
|
+
.addMany(_queryParams)
|
|
422
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
423
|
+
.build(),
|
|
418
424
|
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,
|
|
419
425
|
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,
|
|
420
426
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -463,7 +469,7 @@ class DocumentsClient {
|
|
|
463
469
|
method: "PATCH",
|
|
464
470
|
headers: _headers,
|
|
465
471
|
contentType: "application/json",
|
|
466
|
-
|
|
472
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
467
473
|
requestType: "json",
|
|
468
474
|
body: serializers.conversationalAi.knowledgeBase.BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
469
475
|
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,
|
|
@@ -521,24 +527,25 @@ class DocumentsClient {
|
|
|
521
527
|
return __awaiter(this, arguments, void 0, function* (documentation_id, request = {}, requestOptions) {
|
|
522
528
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
523
529
|
const { dependentType, pageSize, cursor } = request;
|
|
524
|
-
const _queryParams = {
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
}
|
|
533
|
-
if (cursor != null) {
|
|
534
|
-
_queryParams.cursor = cursor;
|
|
535
|
-
}
|
|
530
|
+
const _queryParams = {
|
|
531
|
+
dependent_type: dependentType != null
|
|
532
|
+
? serializers.KnowledgeBaseDependentType.jsonOrThrow(dependentType, {
|
|
533
|
+
unrecognizedObjectKeys: "strip",
|
|
534
|
+
})
|
|
535
|
+
: undefined,
|
|
536
|
+
page_size: pageSize,
|
|
537
|
+
cursor,
|
|
538
|
+
};
|
|
536
539
|
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);
|
|
537
540
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
538
541
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/knowledge-base/${core.url.encodePathParam(documentation_id)}/dependent-agents`),
|
|
539
542
|
method: "GET",
|
|
540
543
|
headers: _headers,
|
|
541
|
-
|
|
544
|
+
queryString: core.url
|
|
545
|
+
.queryBuilder()
|
|
546
|
+
.addMany(_queryParams)
|
|
547
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
548
|
+
.build(),
|
|
542
549
|
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,
|
|
543
550
|
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,
|
|
544
551
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -593,7 +600,7 @@ class DocumentsClient {
|
|
|
593
600
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/knowledge-base/${core.url.encodePathParam(documentation_id)}/content`),
|
|
594
601
|
method: "GET",
|
|
595
602
|
headers: _headers,
|
|
596
|
-
|
|
603
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
597
604
|
responseType: "text",
|
|
598
605
|
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,
|
|
599
606
|
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,
|
|
@@ -641,7 +648,7 @@ class DocumentsClient {
|
|
|
641
648
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/knowledge-base/${core.url.encodePathParam(documentation_id)}/source-file-url`),
|
|
642
649
|
method: "GET",
|
|
643
650
|
headers: _headers,
|
|
644
|
-
|
|
651
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
645
652
|
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,
|
|
646
653
|
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,
|
|
647
654
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -698,7 +705,7 @@ class DocumentsClient {
|
|
|
698
705
|
method: "POST",
|
|
699
706
|
headers: _headers,
|
|
700
707
|
contentType: "application/json",
|
|
701
|
-
|
|
708
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
702
709
|
requestType: "json",
|
|
703
710
|
body: serializers.conversationalAi.knowledgeBase.BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
704
711
|
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,
|
|
@@ -750,7 +757,7 @@ class DocumentsClient {
|
|
|
750
757
|
method: "POST",
|
|
751
758
|
headers: _headers,
|
|
752
759
|
contentType: "application/json",
|
|
753
|
-
|
|
760
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
754
761
|
requestType: "json",
|
|
755
762
|
body: serializers.conversationalAi.knowledgeBase.BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
756
763
|
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,
|
package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/exports.js
ADDED
|
@@ -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.DocumentsClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "DocumentsClient", { enumerable: true, get: function () { return Client_1.DocumentsClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
22
|
+
__exportStar(require("./resources/index"), exports);
|