@elevenlabs/elevenlabs-js 2.52.0 → 2.53.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.fern/metadata.json +7 -2
- package/.fern/replay.lock +8 -172
- package/.fern/verify.sh +5 -0
- package/BaseClient.d.ts +2 -2
- package/BaseClient.js +2 -2
- package/Client.d.ts +11 -0
- package/Client.js +24 -1
- package/api/resources/audioIsolation/client/Client.d.ts +2 -0
- package/api/resources/audioIsolation/client/Client.js +24 -23
- package/api/resources/audioIsolation/exports.d.ts +2 -0
- package/api/resources/audioIsolation/exports.js +21 -0
- package/api/resources/audioNative/client/Client.js +39 -39
- package/api/resources/audioNative/exports.d.ts +2 -0
- package/api/resources/audioNative/exports.js +21 -0
- package/api/resources/conversationalAi/client/Client.d.ts +2 -0
- package/api/resources/conversationalAi/client/Client.js +18 -13
- package/api/resources/conversationalAi/exports.d.ts +3 -0
- package/api/resources/conversationalAi/exports.js +22 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.js +50 -54
- package/api/resources/conversationalAi/resources/agents/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/agents/exports.js +22 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +20 -14
- package/api/resources/conversationalAi/resources/agents/resources/branches/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/branches/exports.js +21 -0
- package/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/deployments/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/deployments/exports.js +21 -0
- package/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +16 -6
- package/api/resources/conversationalAi/resources/agents/resources/drafts/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/drafts/exports.js +21 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/exports.js +21 -0
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/link/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/link/exports.js +21 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/exports.js +21 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +8 -10
- package/api/resources/conversationalAi/resources/agents/resources/summaries/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/summaries/exports.js +21 -0
- package/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/versions/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/versions/exports.js +21 -0
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +8 -5
- package/api/resources/conversationalAi/resources/agents/resources/widget/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/agents/resources/widget/exports.js +22 -0
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +4 -4
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/exports.js +21 -0
- package/api/resources/conversationalAi/resources/analytics/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/analytics/exports.js +22 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +8 -5
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/exports.js +21 -0
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +15 -16
- package/api/resources/conversationalAi/resources/batchCalls/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/batchCalls/exports.js +21 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +95 -172
- package/api/resources/conversationalAi/resources/conversations/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/conversations/exports.js +22 -0
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/Client.d.ts +16 -0
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/Client.js +64 -1
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/index.d.ts +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/index.js +15 -0
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/RunConversationEvaluationsRequest.d.ts +12 -0
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/analysis/exports.js +21 -0
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +2 -1
- package/api/resources/conversationalAi/resources/conversations/resources/audio/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/audio/exports.js +21 -0
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/exports.js +21 -0
- package/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.js +5 -5
- package/api/resources/conversationalAi/resources/conversations/resources/files/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/files/exports.js +21 -0
- package/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/index.js +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +55 -127
- package/api/resources/conversationalAi/resources/conversations/resources/messages/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/exports.js +21 -0
- package/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +15 -14
- package/api/resources/conversationalAi/resources/conversations/resources/tags/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/tags/exports.js +21 -0
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/topics/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/topics/exports.js +21 -0
- package/api/resources/conversationalAi/resources/dashboard/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/dashboard/exports.js +22 -0
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/exports.js +21 -0
- package/api/resources/conversationalAi/resources/exotel/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/exotel/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/exotel/exports.js +21 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +42 -66
- package/api/resources/conversationalAi/resources/knowledgeBase/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/exports.js +22 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +6 -6
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/exports.js +21 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.d.ts +2 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +2 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +44 -37
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/exports.js +22 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +10 -7
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/exports.js +21 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +12 -11
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/exports.js +21 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +8 -10
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/exports.js +21 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsGetResponse.d.ts +2 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsUpdateResponse.d.ts +2 -2
- package/api/resources/conversationalAi/resources/llm/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/llm/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/llm/exports.js +21 -0
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/llmUsage/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/llmUsage/exports.js +21 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -5
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/mcpServers/exports.js +22 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +3 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/exports.js +21 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/exports.js +21 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +4 -4
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/exports.js +21 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/exports.js +21 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +7 -2
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +36 -18
- package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersListRequest.d.ts +17 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/exports.js +21 -0
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +24 -26
- package/api/resources/conversationalAi/resources/secrets/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/secrets/exports.js +21 -0
- package/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/settings/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/settings/exports.js +21 -0
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/sipTrunk/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/sipTrunk/exports.js +21 -0
- package/api/resources/conversationalAi/resources/tests/client/Client.js +31 -41
- package/api/resources/conversationalAi/resources/tests/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/tests/exports.js +22 -0
- package/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js +11 -8
- package/api/resources/conversationalAi/resources/tests/resources/folders/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tests/resources/folders/exports.js +21 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +12 -13
- package/api/resources/conversationalAi/resources/tests/resources/invocations/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/exports.js +21 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.js +43 -49
- package/api/resources/conversationalAi/resources/tools/exports.d.ts +3 -0
- package/api/resources/conversationalAi/resources/tools/exports.js +22 -0
- package/api/resources/conversationalAi/resources/tools/resources/executions/client/Client.js +14 -23
- package/api/resources/conversationalAi/resources/tools/resources/executions/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tools/resources/executions/exports.js +21 -0
- package/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/twilio/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/twilio/exports.js +21 -0
- package/api/resources/conversationalAi/resources/users/client/Client.js +17 -26
- package/api/resources/conversationalAi/resources/users/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/users/exports.js +21 -0
- package/api/resources/conversationalAi/resources/whatsapp/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/whatsapp/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/whatsapp/exports.js +21 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +5 -2
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +20 -9
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/WhatsappAccountsListRequest.d.ts +10 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/exports.d.ts +2 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/exports.js +21 -0
- package/api/resources/dubbing/client/Client.js +57 -56
- package/api/resources/dubbing/exports.d.ts +3 -0
- package/api/resources/dubbing/exports.js +22 -0
- package/api/resources/dubbing/resources/audio/client/Client.d.ts +1 -0
- package/api/resources/dubbing/resources/audio/client/Client.js +2 -1
- package/api/resources/dubbing/resources/audio/exports.d.ts +2 -0
- package/api/resources/dubbing/resources/audio/exports.js +21 -0
- package/api/resources/dubbing/resources/resource/client/Client.d.ts +12 -0
- package/api/resources/dubbing/resources/resource/client/Client.js +18 -6
- package/api/resources/dubbing/resources/resource/exports.d.ts +3 -0
- package/api/resources/dubbing/resources/resource/exports.js +22 -0
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +2 -0
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +3 -1
- package/api/resources/dubbing/resources/resource/resources/language/exports.d.ts +2 -0
- package/api/resources/dubbing/resources/resource/resources/language/exports.js +21 -0
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +4 -0
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +6 -2
- package/api/resources/dubbing/resources/resource/resources/segment/exports.d.ts +2 -0
- package/api/resources/dubbing/resources/resource/resources/segment/exports.js +21 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +6 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +9 -3
- package/api/resources/dubbing/resources/resource/resources/speaker/exports.d.ts +3 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/exports.js +22 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +2 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +3 -1
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/exports.d.ts +2 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/exports.js +21 -0
- package/api/resources/dubbing/resources/transcript/client/Client.d.ts +2 -0
- package/api/resources/dubbing/resources/transcript/client/Client.js +14 -5
- package/api/resources/dubbing/resources/transcript/exports.d.ts +2 -0
- package/api/resources/dubbing/resources/transcript/exports.js +21 -0
- package/api/resources/dubbing/resources/transcripts/client/Client.js +1 -1
- package/api/resources/dubbing/resources/transcripts/exports.d.ts +2 -0
- package/api/resources/dubbing/resources/transcripts/exports.js +21 -0
- package/api/resources/environmentVariables/client/Client.js +19 -22
- package/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
- package/api/resources/environmentVariables/exports.d.ts +2 -0
- package/api/resources/environmentVariables/exports.js +21 -0
- package/api/resources/forcedAlignment/client/Client.js +5 -5
- package/api/resources/forcedAlignment/exports.d.ts +2 -0
- package/api/resources/forcedAlignment/exports.js +21 -0
- package/api/resources/history/client/Client.d.ts +2 -0
- package/api/resources/history/client/Client.js +28 -37
- package/api/resources/history/exports.d.ts +2 -0
- package/api/resources/history/exports.js +21 -0
- package/api/resources/history/types/HistoryListRequestSource.d.ts +1 -0
- package/api/resources/history/types/HistoryListRequestSource.js +1 -0
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/models/exports.d.ts +2 -0
- package/api/resources/models/exports.js +21 -0
- package/api/resources/music/client/Client.d.ts +5 -0
- package/api/resources/music/client/Client.js +102 -73
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -2
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -2
- package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +2 -2
- package/api/resources/music/client/requests/BodyUploadMusicV1MusicUploadPost.d.ts +4 -2
- package/api/resources/music/client/requests/BodyVideoToMusicV1MusicVideoToMusicPost.d.ts +1 -1
- package/api/resources/music/exports.d.ts +3 -0
- package/api/resources/music/exports.js +22 -0
- package/api/resources/music/resources/compositionPlan/client/Client.d.ts +1 -1
- package/api/resources/music/resources/compositionPlan/client/Client.js +2 -2
- package/api/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +2 -2
- package/api/resources/music/resources/compositionPlan/exports.d.ts +2 -0
- package/api/resources/music/resources/compositionPlan/exports.js +21 -0
- package/api/resources/music/resources/compositionPlan/index.d.ts +1 -0
- package/api/resources/music/resources/compositionPlan/index.js +1 -0
- package/api/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostModelId.d.ts +6 -0
- package/api/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostModelId.js +9 -0
- package/api/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostSourceCompositionPlan.d.ts +5 -0
- package/api/resources/music/resources/compositionPlan/types/CompositionPlanCreateResponse.d.ts +2 -0
- package/api/resources/music/resources/compositionPlan/types/index.d.ts +3 -0
- package/api/resources/music/resources/compositionPlan/types/index.js +19 -0
- package/api/resources/music/resources/index.d.ts +1 -0
- package/api/resources/music/resources/index.js +1 -0
- package/api/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.d.ts +5 -0
- package/api/resources/music/types/BodyComposeMusicV1MusicPostModelId.d.ts +6 -0
- package/api/resources/music/types/BodyComposeMusicV1MusicPostModelId.js +9 -0
- package/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.d.ts +5 -0
- package/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId.d.ts +6 -0
- package/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId.js +9 -0
- package/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts +5 -0
- package/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostModelId.d.ts +6 -0
- package/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostModelId.js +9 -0
- package/api/resources/music/types/MusicVideoToMusicRequestModelId.d.ts +6 -0
- package/api/resources/music/types/MusicVideoToMusicRequestModelId.js +9 -0
- package/api/resources/music/types/index.d.ts +7 -0
- package/api/resources/music/types/index.js +7 -0
- package/api/resources/productions/exports.d.ts +3 -0
- package/api/resources/productions/exports.js +22 -0
- package/api/resources/productions/resources/orders/client/Client.js +23 -33
- package/api/resources/productions/resources/orders/exports.d.ts +3 -0
- package/api/resources/productions/resources/orders/exports.js +22 -0
- package/api/resources/productions/resources/orders/resources/deliverables/client/Client.js +1 -1
- package/api/resources/productions/resources/orders/resources/deliverables/exports.d.ts +2 -0
- package/api/resources/productions/resources/orders/resources/deliverables/exports.js +21 -0
- package/api/resources/productions/resources/orders/resources/items/client/Client.js +2 -2
- package/api/resources/productions/resources/orders/resources/items/exports.d.ts +2 -0
- package/api/resources/productions/resources/orders/resources/items/exports.js +21 -0
- package/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
- package/api/resources/productions/resources/orders/resources/languages/exports.d.ts +2 -0
- package/api/resources/productions/resources/orders/resources/languages/exports.js +21 -0
- package/api/resources/productions/resources/orders/resources/media/client/Client.js +9 -9
- package/api/resources/productions/resources/orders/resources/media/exports.d.ts +2 -0
- package/api/resources/productions/resources/orders/resources/media/exports.js +21 -0
- package/api/resources/pronunciationDictionaries/client/Client.d.ts +1 -0
- package/api/resources/pronunciationDictionaries/client/Client.js +27 -27
- package/api/resources/pronunciationDictionaries/exports.d.ts +3 -0
- package/api/resources/pronunciationDictionaries/exports.js +22 -0
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +3 -3
- package/api/resources/pronunciationDictionaries/resources/rules/exports.d.ts +2 -0
- package/api/resources/pronunciationDictionaries/resources/rules/exports.js +21 -0
- package/api/resources/samples/client/Client.js +1 -1
- package/api/resources/samples/exports.d.ts +2 -0
- package/api/resources/samples/exports.js +21 -0
- package/api/resources/serviceAccounts/client/Client.js +1 -1
- package/api/resources/serviceAccounts/exports.d.ts +3 -0
- package/api/resources/serviceAccounts/exports.js +22 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/Client.d.ts +2 -6
- package/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +8 -12
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +5 -9
- package/api/resources/serviceAccounts/resources/apiKeys/exports.d.ts +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/exports.js +21 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit.d.ts +4 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled.d.ts +4 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +2 -0
- package/api/resources/speechEngine/client/Client.js +20 -23
- package/api/resources/speechEngine/exports.d.ts +2 -0
- package/api/resources/speechEngine/exports.js +21 -0
- package/api/resources/speechEngineUpstream/exports.d.ts +1 -0
- package/api/resources/speechEngineUpstream/exports.js +18 -0
- package/api/resources/speechToSpeech/client/Client.d.ts +2 -0
- package/api/resources/speechToSpeech/client/Client.js +60 -52
- package/api/resources/speechToSpeech/exports.d.ts +2 -0
- package/api/resources/speechToSpeech/exports.js +21 -0
- package/api/resources/speechToText/client/Client.js +44 -38
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -6
- package/api/resources/speechToText/exports.d.ts +3 -0
- package/api/resources/speechToText/exports.js +22 -0
- package/api/resources/speechToText/resources/transcripts/client/Client.js +2 -2
- package/api/resources/speechToText/resources/transcripts/exports.d.ts +2 -0
- package/api/resources/speechToText/resources/transcripts/exports.js +21 -0
- package/api/resources/studio/client/Client.js +2 -2
- package/api/resources/studio/exports.d.ts +3 -0
- package/api/resources/studio/exports.js +22 -0
- package/api/resources/studio/resources/projects/client/Client.js +52 -49
- package/api/resources/studio/resources/projects/exports.d.ts +3 -0
- package/api/resources/studio/resources/projects/exports.js +22 -0
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
- package/api/resources/studio/resources/projects/resources/chapters/exports.d.ts +3 -0
- package/api/resources/studio/resources/projects/resources/chapters/exports.js +22 -0
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +1 -0
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +4 -3
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/exports.d.ts +2 -0
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/exports.js +21 -0
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +14 -14
- package/api/resources/studio/resources/projects/resources/content/exports.d.ts +2 -0
- package/api/resources/studio/resources/projects/resources/content/exports.js +21 -0
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/exports.d.ts +2 -0
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/exports.js +21 -0
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +2 -0
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +6 -4
- package/api/resources/studio/resources/projects/resources/snapshots/exports.d.ts +2 -0
- package/api/resources/studio/resources/projects/resources/snapshots/exports.js +21 -0
- package/api/resources/textToDialogue/client/Client.d.ts +2 -0
- package/api/resources/textToDialogue/client/Client.js +51 -37
- package/api/resources/textToDialogue/exports.d.ts +2 -0
- package/api/resources/textToDialogue/exports.js +21 -0
- package/api/resources/textToSoundEffects/client/Client.d.ts +1 -0
- package/api/resources/textToSoundEffects/client/Client.js +11 -7
- package/api/resources/textToSoundEffects/exports.d.ts +2 -0
- package/api/resources/textToSoundEffects/exports.js +21 -0
- package/api/resources/textToSpeech/client/Client.d.ts +2 -0
- package/api/resources/textToSpeech/client/Client.js +59 -49
- package/api/resources/textToSpeech/exports.d.ts +2 -0
- package/api/resources/textToSpeech/exports.js +21 -0
- package/api/resources/textToVoice/client/Client.d.ts +2 -0
- package/api/resources/textToVoice/client/Client.js +33 -22
- package/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
- package/api/resources/textToVoice/exports.d.ts +3 -0
- package/api/resources/textToVoice/exports.js +22 -0
- package/api/resources/textToVoice/resources/preview/client/Client.d.ts +1 -0
- package/api/resources/textToVoice/resources/preview/client/Client.js +2 -1
- package/api/resources/textToVoice/resources/preview/exports.d.ts +2 -0
- package/api/resources/textToVoice/resources/preview/exports.js +21 -0
- package/api/resources/tokens/exports.d.ts +3 -0
- package/api/resources/tokens/exports.js +22 -0
- package/api/resources/tokens/resources/singleUse/client/Client.js +1 -1
- package/api/resources/tokens/resources/singleUse/exports.d.ts +2 -0
- package/api/resources/tokens/resources/singleUse/exports.js +21 -0
- package/api/resources/usage/client/Client.d.ts +2 -0
- package/api/resources/usage/client/Client.js +24 -23
- package/api/resources/usage/exports.d.ts +2 -0
- package/api/resources/usage/exports.js +21 -0
- package/api/resources/user/client/Client.js +1 -1
- package/api/resources/user/exports.d.ts +3 -0
- package/api/resources/user/exports.js +22 -0
- package/api/resources/user/resources/subscription/client/Client.js +1 -1
- package/api/resources/user/resources/subscription/exports.d.ts +2 -0
- package/api/resources/user/resources/subscription/exports.js +21 -0
- package/api/resources/v1RealtimeTranslation/exports.d.ts +1 -0
- package/api/resources/v1RealtimeTranslation/exports.js +18 -0
- package/api/resources/v1SpeechToTextRealtime/exports.d.ts +1 -0
- package/api/resources/v1SpeechToTextRealtime/exports.js +18 -0
- package/api/resources/v1TextToDialogueStreamInput/exports.d.ts +1 -0
- package/api/resources/v1TextToDialogueStreamInput/exports.js +18 -0
- package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/exports.d.ts +1 -0
- package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/exports.js +18 -0
- package/api/resources/v1TextToSpeechVoiceIdStreamInput/exports.d.ts +1 -0
- package/api/resources/v1TextToSpeechVoiceIdStreamInput/exports.js +18 -0
- package/api/resources/voices/client/Client.d.ts +3 -1
- package/api/resources/voices/client/Client.js +99 -150
- package/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +3 -3
- package/api/resources/voices/exports.d.ts +3 -0
- package/api/resources/voices/exports.js +22 -0
- package/api/resources/voices/resources/ivc/client/Client.js +15 -15
- package/api/resources/voices/resources/ivc/exports.d.ts +2 -0
- package/api/resources/voices/resources/ivc/exports.js +21 -0
- package/api/resources/voices/resources/pvc/client/Client.js +3 -3
- package/api/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
- package/api/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
- package/api/resources/voices/resources/pvc/exports.d.ts +3 -0
- package/api/resources/voices/resources/pvc/exports.js +22 -0
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +14 -14
- package/api/resources/voices/resources/pvc/resources/samples/exports.d.ts +3 -0
- package/api/resources/voices/resources/pvc/resources/samples/exports.js +22 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +8 -5
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/exports.d.ts +2 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/exports.js +21 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/exports.d.ts +3 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/exports.js +22 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/exports.d.ts +2 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/exports.js +21 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/exports.d.ts +2 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/exports.js +21 -0
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +5 -5
- package/api/resources/voices/resources/pvc/resources/verification/exports.d.ts +3 -0
- package/api/resources/voices/resources/pvc/resources/verification/exports.js +22 -0
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -5
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/exports.d.ts +2 -0
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/exports.js +21 -0
- package/api/resources/voices/resources/samples/exports.d.ts +3 -0
- package/api/resources/voices/resources/samples/exports.js +22 -0
- package/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +1 -0
- package/api/resources/voices/resources/samples/resources/audio/client/Client.js +2 -1
- package/api/resources/voices/resources/samples/resources/audio/exports.d.ts +2 -0
- package/api/resources/voices/resources/samples/resources/audio/exports.js +21 -0
- package/api/resources/voices/resources/settings/client/Client.js +3 -3
- package/api/resources/voices/resources/settings/exports.d.ts +2 -0
- package/api/resources/voices/resources/settings/exports.js +21 -0
- package/api/resources/voices/types/VoicesGetSharedRequestSort.d.ts +8 -0
- package/api/resources/voices/types/VoicesGetSharedRequestSort.js +11 -0
- package/api/resources/voices/types/index.d.ts +1 -0
- package/api/resources/voices/types/index.js +1 -0
- package/api/resources/webhooks/client/Client.js +11 -8
- package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
- package/api/resources/webhooks/exports.d.ts +2 -0
- package/api/resources/webhooks/exports.js +21 -0
- package/api/resources/workspace/exports.d.ts +3 -0
- package/api/resources/workspace/exports.js +22 -0
- package/api/resources/workspace/resources/analytics/exports.d.ts +3 -0
- package/api/resources/workspace/resources/analytics/exports.js +22 -0
- package/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +1 -1
- package/api/resources/workspace/resources/analytics/resources/requests/exports.d.ts +2 -0
- package/api/resources/workspace/resources/analytics/resources/requests/exports.js +21 -0
- package/api/resources/workspace/resources/auditLogs/client/Client.js +14 -23
- package/api/resources/workspace/resources/auditLogs/exports.d.ts +2 -0
- package/api/resources/workspace/resources/auditLogs/exports.js +21 -0
- package/api/resources/workspace/resources/authConnections/client/Client.js +4 -4
- package/api/resources/workspace/resources/authConnections/exports.d.ts +2 -0
- package/api/resources/workspace/resources/authConnections/exports.js +21 -0
- package/api/resources/workspace/resources/groups/client/Client.js +9 -4
- package/api/resources/workspace/resources/groups/exports.d.ts +3 -0
- package/api/resources/workspace/resources/groups/exports.js +22 -0
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/api/resources/workspace/resources/groups/resources/members/exports.d.ts +2 -0
- package/api/resources/workspace/resources/groups/resources/members/exports.js +21 -0
- package/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/api/resources/workspace/resources/invites/exports.d.ts +2 -0
- package/api/resources/workspace/resources/invites/exports.js +21 -0
- package/api/resources/workspace/resources/members/client/Client.js +1 -1
- package/api/resources/workspace/resources/members/exports.d.ts +2 -0
- package/api/resources/workspace/resources/members/exports.js +21 -0
- package/api/resources/workspace/resources/resources/client/Client.js +12 -7
- package/api/resources/workspace/resources/resources/exports.d.ts +2 -0
- package/api/resources/workspace/resources/resources/exports.js +21 -0
- package/api/resources/workspace/resources/usage/client/Client.js +1 -1
- package/api/resources/workspace/resources/usage/client/requests/BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePost.d.ts +3 -1
- package/api/resources/workspace/resources/usage/exports.d.ts +2 -0
- package/api/resources/workspace/resources/usage/exports.js +21 -0
- package/api/resources/workspaces/exports.d.ts +3 -0
- package/api/resources/workspaces/exports.js +22 -0
- package/api/resources/workspaces/resources/apiKeys/client/Client.d.ts +5 -5
- package/api/resources/workspaces/resources/apiKeys/client/Client.js +17 -12
- package/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysDisableRequest.d.ts +10 -0
- package/api/resources/workspaces/resources/apiKeys/client/requests/index.d.ts +1 -1
- package/api/resources/workspaces/resources/apiKeys/exports.d.ts +2 -0
- package/api/resources/workspaces/resources/apiKeys/exports.js +21 -0
- package/api/types/AgentConfig.d.ts +1 -1
- package/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/api/types/AgentTransfer.d.ts +2 -0
- package/{dist/api/types/AgentAlertingMonitorConfig.d.ts → api/types/AlertingMonitorConfig.d.ts} +1 -1
- package/api/types/AlertingSettings.d.ts +19 -0
- package/api/types/AlertingWebhookNotifier.d.ts +5 -0
- package/api/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/api/types/ArrayJsonSchemaPropertyInput.d.ts +4 -2
- package/api/types/ArrayJsonSchemaPropertyOutput.d.ts +4 -2
- package/api/types/AudioFormat.d.ts +6 -0
- package/api/types/AudioFormat.js +9 -0
- package/api/types/AudioRefChunk.d.ts +7 -0
- package/api/types/BackgroundSoundConfig.d.ts +11 -0
- package/api/types/BackgroundSoundConfigWorkflowOverride.d.ts +11 -0
- package/api/types/BackgroundSoundConfigWorkflowOverride.js +3 -0
- package/api/types/{BackgroundMusicPresetId.d.ts → BackgroundSoundPresetId.d.ts} +3 -3
- package/{dist/api/types/BackgroundMusicPresetId.js → api/types/BackgroundSoundPresetId.js} +3 -3
- package/api/types/BackgroundSoundSourceType.d.ts +4 -0
- package/api/types/BackgroundSoundSourceType.js +3 -0
- package/api/types/ChapterContentBlockResponseModelNodesItem.d.ts +1 -0
- package/api/types/ChapterContentBlockTtsNodeResponseModel.d.ts +2 -1
- package/api/types/CodeToolContextVariable.d.ts +4 -0
- package/api/types/CodeToolContextVariable.js +3 -0
- package/api/types/CompositionPlan.d.ts +8 -0
- package/api/types/CompositionPlan.js +3 -0
- package/api/types/CompositionPlanChunksItem.d.ts +2 -0
- package/api/types/CompositionPlanChunksItem.js +3 -0
- package/api/types/ConstantSchemaOverrideConstantValue.d.ts +2 -1
- package/api/types/ConstantSchemaOverrideConstantValueFourItem.d.ts +1 -0
- package/api/types/ConstantSchemaOverrideConstantValueFourItem.js +3 -0
- package/api/types/ConversationInitiationClientDataInternal.d.ts +1 -1
- package/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
- package/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
- package/api/types/ConversationSimulationSpecification.d.ts +1 -1
- package/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/api/types/CreateResponseUnitTestRequest.d.ts +1 -1
- package/api/types/CreateSimulationTestRequest.d.ts +1 -1
- package/api/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/api/types/CustomGuardrailConfig.d.ts +4 -0
- package/api/types/CustomGuardrailConfigModel.d.ts +12 -0
- package/api/types/CustomGuardrailConfigModel.js +15 -0
- package/api/types/DetailedMusicResponse.d.ts +1 -1
- package/api/types/DetailedMusicResponseCompositionPlan.d.ts +5 -0
- package/api/types/DetailedMusicResponseCompositionPlan.js +3 -0
- package/api/types/Eagerness.d.ts +6 -0
- package/api/types/Eagerness.js +9 -0
- package/api/types/EndProcedureToolConfigInput.d.ts +4 -0
- package/api/types/EndProcedureToolConfigInput.js +3 -0
- package/api/types/EndProcedureToolConfigOutput.d.ts +4 -0
- package/api/types/EndProcedureToolConfigOutput.js +3 -0
- package/api/types/EndProcedureToolErrorStatus.d.ts +5 -0
- package/api/types/EndProcedureToolErrorStatus.js +8 -0
- package/api/types/EntryBehavior.d.ts +6 -0
- package/api/types/EntryBehavior.js +9 -0
- package/api/types/FineTuningResponse.d.ts +2 -2
- package/api/types/GenerationChunk.d.ts +17 -0
- package/api/types/GenerationChunk.js +3 -0
- package/api/types/GenerationChunkConditionStrength.d.ts +7 -0
- package/api/types/GenerationChunkConditionStrength.js +10 -0
- package/api/types/GenerationChunkContextAdherence.d.ts +7 -0
- package/api/types/GenerationChunkContextAdherence.js +10 -0
- package/api/types/GetKnowledgeBaseListResponseModelDocumentsItem.d.ts +2 -2
- package/api/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/api/types/GetResponseUnitTestResponseModel.d.ts +1 -1
- package/api/types/GetSimulationTestResponseModel.d.ts +1 -1
- package/api/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
- package/api/types/InteractionBudget.d.ts +3 -1
- package/api/types/InteractionBudget.js +3 -1
- package/api/types/KnowledgeBaseContentSearchResultDocument.d.ts +2 -2
- package/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.d.ts +2 -2
- package/api/types/LoadMemoryEntryToolErrorStatus.d.ts +5 -0
- package/api/types/LoadMemoryEntryToolErrorStatus.js +8 -0
- package/api/types/LoadableMemoryEntry.d.ts +5 -0
- package/api/types/LoadableMemoryEntry.js +3 -0
- package/api/types/McpToolConfigOverrideInput.d.ts +1 -1
- package/api/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/api/types/MediaCodec.d.ts +6 -0
- package/api/types/MediaCodec.js +9 -0
- package/api/types/MusicPrompt.d.ts +3 -0
- package/api/types/MusicUploadResponse.d.ts +4 -2
- package/api/types/MusicUploadResponseCompositionPlan.d.ts +5 -0
- package/api/types/MusicUploadResponseCompositionPlan.js +3 -0
- package/api/types/OpenAiAudioConfig.d.ts +5 -0
- package/api/types/OpenAiAudioConfig.js +3 -0
- package/api/types/OpenAiAudioInputConfig.d.ts +5 -0
- package/api/types/OpenAiAudioInputConfig.js +3 -0
- package/api/types/OpenAiAudioInputFormat.d.ts +5 -0
- package/api/types/OpenAiAudioInputFormat.js +3 -0
- package/api/types/OpenAiAudioOutputConfig.d.ts +5 -0
- package/api/types/OpenAiAudioOutputConfig.js +3 -0
- package/api/types/OpenAiAudioOutputFormat.d.ts +4 -0
- package/api/types/OpenAiAudioOutputFormat.js +3 -0
- package/api/types/OpenAiFunctionTool.d.ts +5 -0
- package/api/types/OpenAiFunctionTool.js +3 -0
- package/api/types/OpenAiSessionConfig.d.ts +13 -0
- package/api/types/OpenAiSessionConfig.js +3 -0
- package/api/types/OpenAiSessionConfigMaxResponseOutputTokens.d.ts +1 -0
- package/api/types/OpenAiSessionConfigMaxResponseOutputTokens.js +3 -0
- package/api/types/OpenAiSessionConfigToolChoice.d.ts +2 -0
- package/api/types/OpenAiSessionConfigToolChoice.js +3 -0
- package/api/types/OpenAiSessionConfigToolsItem.d.ts +10 -0
- package/api/types/OpenAiSessionConfigToolsItem.js +3 -0
- package/api/types/OpenAiToolChoiceFunction.d.ts +5 -0
- package/api/types/OpenAiToolChoiceFunction.js +3 -0
- package/api/types/OpenAiToolChoiceFunctionInner.d.ts +3 -0
- package/api/types/OpenAiToolChoiceFunctionInner.js +3 -0
- package/api/types/OpenAiTurnDetection.d.ts +10 -0
- package/api/types/OpenAiTurnDetection.js +3 -0
- package/api/types/OpenAimcpTool.d.ts +8 -0
- package/api/types/OpenAimcpTool.js +3 -0
- package/api/types/OpenAimcpToolRequireApproval.d.ts +5 -0
- package/api/types/OpenAimcpToolRequireApproval.js +8 -0
- package/api/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/api/types/ProjectExtendedResponse.d.ts +9 -5
- package/api/types/ProjectResponse.d.ts +9 -5
- package/api/types/ProjectVoiceResponseModel.d.ts +1 -0
- package/api/types/RealtimeConfigSnapshot.d.ts +14 -0
- package/api/types/RealtimeConfigSnapshot.js +3 -0
- package/api/types/RealtimeConfigSnapshotParents.d.ts +3 -0
- package/api/types/RealtimeConfigSnapshotParents.js +3 -0
- package/api/types/ResponseUnitTestModel.d.ts +1 -1
- package/api/types/ReviewResponseModel.d.ts +1 -1
- package/api/types/{SafetyCommonModel.d.ts → SafetyCommonModelInput.d.ts} +1 -1
- package/api/types/SafetyCommonModelInput.js +3 -0
- package/api/types/SafetyCommonModelOutput.d.ts +8 -0
- package/api/types/SafetyCommonModelOutput.js +3 -0
- package/api/types/SimulationTestModel.d.ts +1 -1
- package/api/types/SongSourceContext.d.ts +1 -0
- package/api/types/SpeakerSeparationResponseModel.d.ts +1 -1
- package/api/types/SpeechHistoryItemResponseModelSource.d.ts +1 -0
- package/api/types/SpeechHistoryItemResponseModelSource.js +1 -0
- package/api/types/StartProcedureToolErrorStatus.d.ts +1 -0
- package/api/types/StartProcedureToolErrorStatus.js +1 -0
- package/api/types/SubmitBusinessInfoParams.d.ts +6 -0
- package/api/types/SubmitBusinessInfoParams.js +3 -0
- package/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/api/types/TextToDialogueWebsocketClientMessage.d.ts +2 -2
- package/api/types/TextToDialogueWebsocketVoiceSettings.d.ts +7 -0
- package/api/types/TextToDialogueWebsocketVoiceSettings.js +3 -0
- package/api/types/ToolCallUnitTestModel.d.ts +1 -1
- package/api/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
- package/api/types/TransferToNumberResultExotelSuccessModel.d.ts +1 -0
- package/api/types/TtsConversationalConfigInput.d.ts +2 -0
- package/api/types/TtsConversationalConfigOutput.d.ts +2 -0
- package/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
- package/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
- package/api/types/TurnDetectionType.d.ts +5 -0
- package/api/types/TurnDetectionType.js +8 -0
- package/api/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
- package/api/types/UpdateOAuth2JwtRequest.d.ts +1 -1
- package/api/types/UpdateResponseUnitTestRequest.d.ts +1 -1
- package/api/types/UpdateSimulationTestRequest.d.ts +1 -1
- package/api/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
- package/api/types/VoiceStatisticsResponseModel.d.ts +4 -2
- package/api/types/WebhookHmacSettings.d.ts +1 -1
- package/api/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -0
- package/api/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -0
- package/api/types/WorkflowStandaloneAgentNodeModelInput.d.ts +2 -0
- package/api/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +2 -0
- package/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -0
- package/api/types/index.d.ts +49 -9
- package/api/types/index.js +49 -9
- package/biome.json +1 -1
- package/core/fetcher/BinaryResponse.d.ts +1 -1
- package/core/fetcher/EndpointSupplier.d.ts +2 -2
- package/core/fetcher/Fetcher.d.ts +9 -2
- package/core/fetcher/Fetcher.js +21 -10
- package/core/fetcher/getResponseBody.js +11 -0
- package/core/fetcher/index.d.ts +2 -0
- package/core/fetcher/index.js +3 -1
- package/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/core/fetcher/makePassthroughRequest.js +135 -0
- package/core/fetcher/makeRequest.d.ts +6 -1
- package/core/fetcher/makeRequest.js +30 -9
- package/core/fetcher/requestWithRetries.js +4 -1
- package/core/file/file.js +3 -2
- package/core/headers.d.ts +2 -2
- package/core/runtime/runtime.js +8 -7
- package/core/schemas/builders/enum/enum.d.ts +1 -0
- package/core/schemas/builders/enum/enum.js +7 -0
- package/core/schemas/builders/enum/index.d.ts +1 -1
- package/core/schemas/builders/enum/index.js +2 -1
- package/core/schemas/builders/list/list.js +12 -17
- package/core/schemas/builders/object/object.js +122 -42
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +10 -3
- package/core/schemas/builders/primitives/never.d.ts +1 -1
- package/core/schemas/builders/primitives/never.js +3 -3
- package/core/schemas/builders/record/index.d.ts +2 -2
- package/core/schemas/builders/record/index.js +2 -1
- package/core/schemas/builders/record/record.d.ts +2 -1
- package/core/schemas/builders/record/record.js +63 -25
- package/core/schemas/builders/record/types.d.ts +2 -0
- package/core/schemas/builders/schema-utils/JsonError.js +2 -1
- package/core/schemas/builders/schema-utils/ParseError.js +2 -1
- package/core/schemas/builders/union/union.js +9 -12
- package/core/schemas/utils/isPlainObject.js +4 -6
- package/core/stream/Stream.d.ts +9 -0
- package/core/stream/Stream.js +100 -5
- package/core/url/QueryStringBuilder.d.ts +47 -0
- package/core/url/QueryStringBuilder.js +83 -0
- package/core/url/index.d.ts +1 -0
- package/core/url/index.js +3 -1
- package/core/url/qs.d.ts +2 -1
- package/core/url/qs.js +24 -12
- package/dist/BaseClient.d.ts +2 -2
- package/dist/BaseClient.js +2 -2
- package/dist/Client.d.ts +11 -0
- package/dist/Client.js +24 -1
- package/dist/api/resources/audioIsolation/client/Client.d.ts +2 -0
- package/dist/api/resources/audioIsolation/client/Client.js +24 -23
- package/dist/api/resources/audioIsolation/exports.d.ts +2 -0
- package/dist/api/resources/audioIsolation/exports.js +21 -0
- package/dist/api/resources/audioNative/client/Client.js +39 -39
- package/dist/api/resources/audioNative/exports.d.ts +2 -0
- package/dist/api/resources/audioNative/exports.js +21 -0
- package/dist/api/resources/conversationalAi/client/Client.d.ts +2 -0
- package/dist/api/resources/conversationalAi/client/Client.js +18 -13
- package/dist/api/resources/conversationalAi/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +50 -54
- package/dist/api/resources/conversationalAi/resources/agents/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +20 -14
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +16 -6
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +8 -10
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +8 -5
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +4 -4
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/analytics/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/analytics/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +8 -5
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +15 -16
- package/dist/api/resources/conversationalAi/resources/batchCalls/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +95 -172
- package/dist/api/resources/conversationalAi/resources/conversations/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/Client.d.ts +16 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/Client.js +64 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/index.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/index.js +15 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/RunConversationEvaluationsRequest.d.ts +12 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/RunConversationEvaluationsRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +2 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.js +5 -5
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/files/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +55 -127
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +15 -14
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/dashboard/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/dashboard/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/exotel/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/exotel/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/exotel/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +42 -66
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +6 -6
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentUpdateFileResponse.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +44 -37
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +10 -7
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +12 -11
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +8 -10
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsGetResponse.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsUpdateResponse.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/llm/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/llm/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/llm/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/llmUsage/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/llmUsage/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -5
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +3 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +4 -4
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +7 -2
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +36 -18
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersListRequest.d.ts +17 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersListRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +24 -26
- package/dist/api/resources/conversationalAi/resources/secrets/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/secrets/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/settings/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/settings/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/sipTrunk/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/sipTrunk/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +31 -41
- package/dist/api/resources/conversationalAi/resources/tests/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/tests/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js +11 -8
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/folders/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +12 -13
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +43 -49
- package/dist/api/resources/conversationalAi/resources/tools/exports.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/tools/exports.js +22 -0
- package/dist/api/resources/conversationalAi/resources/tools/resources/executions/client/Client.js +14 -23
- package/dist/api/resources/conversationalAi/resources/tools/resources/executions/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tools/resources/executions/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/twilio/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/twilio/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/users/client/Client.js +17 -26
- package/dist/api/resources/conversationalAi/resources/users/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/users/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/whatsapp/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/exports.js +21 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +5 -2
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +20 -9
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/WhatsappAccountsListRequest.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/WhatsappAccountsListRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/exports.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/exports.js +21 -0
- package/dist/api/resources/dubbing/client/Client.js +57 -56
- package/dist/api/resources/dubbing/exports.d.ts +3 -0
- package/dist/api/resources/dubbing/exports.js +22 -0
- package/dist/api/resources/dubbing/resources/audio/client/Client.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/audio/client/Client.js +2 -1
- package/dist/api/resources/dubbing/resources/audio/exports.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/audio/exports.js +21 -0
- package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +12 -0
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +18 -6
- package/dist/api/resources/dubbing/resources/resource/exports.d.ts +3 -0
- package/dist/api/resources/dubbing/resources/resource/exports.js +22 -0
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +3 -1
- package/dist/api/resources/dubbing/resources/resource/resources/language/exports.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/resource/resources/language/exports.js +21 -0
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +4 -0
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +6 -2
- package/dist/api/resources/dubbing/resources/resource/resources/segment/exports.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/resource/resources/segment/exports.js +21 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +6 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +9 -3
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/exports.d.ts +3 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/exports.js +22 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +3 -1
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/exports.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/exports.js +21 -0
- package/dist/api/resources/dubbing/resources/transcript/client/Client.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/transcript/client/Client.js +14 -5
- package/dist/api/resources/dubbing/resources/transcript/exports.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/transcript/exports.js +21 -0
- package/dist/api/resources/dubbing/resources/transcripts/client/Client.js +1 -1
- package/dist/api/resources/dubbing/resources/transcripts/exports.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/transcripts/exports.js +21 -0
- package/dist/api/resources/environmentVariables/client/Client.js +19 -22
- package/dist/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
- package/dist/api/resources/environmentVariables/exports.d.ts +2 -0
- package/dist/api/resources/environmentVariables/exports.js +21 -0
- package/dist/api/resources/forcedAlignment/client/Client.js +5 -5
- package/dist/api/resources/forcedAlignment/exports.d.ts +2 -0
- package/dist/api/resources/forcedAlignment/exports.js +21 -0
- package/dist/api/resources/history/client/Client.d.ts +2 -0
- package/dist/api/resources/history/client/Client.js +28 -37
- package/dist/api/resources/history/exports.d.ts +2 -0
- package/dist/api/resources/history/exports.js +21 -0
- package/dist/api/resources/history/types/HistoryListRequestSource.d.ts +1 -0
- package/dist/api/resources/history/types/HistoryListRequestSource.js +1 -0
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/models/exports.d.ts +2 -0
- package/dist/api/resources/models/exports.js +21 -0
- package/dist/api/resources/music/client/Client.d.ts +5 -0
- package/dist/api/resources/music/client/Client.js +102 -73
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -2
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -2
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +2 -2
- package/dist/api/resources/music/client/requests/BodyUploadMusicV1MusicUploadPost.d.ts +4 -2
- package/dist/api/resources/music/client/requests/BodyVideoToMusicV1MusicVideoToMusicPost.d.ts +1 -1
- package/dist/api/resources/music/exports.d.ts +3 -0
- package/dist/api/resources/music/exports.js +22 -0
- package/dist/api/resources/music/resources/compositionPlan/client/Client.d.ts +1 -1
- package/dist/api/resources/music/resources/compositionPlan/client/Client.js +2 -2
- package/dist/api/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +2 -2
- package/dist/api/resources/music/resources/compositionPlan/exports.d.ts +2 -0
- package/dist/api/resources/music/resources/compositionPlan/exports.js +21 -0
- package/dist/api/resources/music/resources/compositionPlan/index.d.ts +1 -0
- package/dist/api/resources/music/resources/compositionPlan/index.js +1 -0
- package/dist/api/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostModelId.d.ts +6 -0
- package/dist/api/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostModelId.js +9 -0
- package/dist/api/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostSourceCompositionPlan.d.ts +5 -0
- package/dist/api/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostSourceCompositionPlan.js +3 -0
- package/dist/api/resources/music/resources/compositionPlan/types/CompositionPlanCreateResponse.d.ts +2 -0
- package/dist/api/resources/music/resources/compositionPlan/types/CompositionPlanCreateResponse.js +3 -0
- package/dist/api/resources/music/resources/compositionPlan/types/index.d.ts +3 -0
- package/dist/api/resources/music/resources/compositionPlan/types/index.js +19 -0
- package/dist/api/resources/music/resources/index.d.ts +1 -0
- package/dist/api/resources/music/resources/index.js +1 -0
- package/dist/api/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.d.ts +5 -0
- package/dist/api/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.js +3 -0
- package/dist/api/resources/music/types/BodyComposeMusicV1MusicPostModelId.d.ts +6 -0
- package/dist/api/resources/music/types/BodyComposeMusicV1MusicPostModelId.js +9 -0
- package/dist/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.d.ts +5 -0
- package/dist/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.js +3 -0
- package/dist/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId.d.ts +6 -0
- package/dist/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId.js +9 -0
- package/dist/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts +5 -0
- package/dist/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.js +3 -0
- package/dist/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostModelId.d.ts +6 -0
- package/dist/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostModelId.js +9 -0
- package/dist/api/resources/music/types/MusicVideoToMusicRequestModelId.d.ts +6 -0
- package/dist/api/resources/music/types/MusicVideoToMusicRequestModelId.js +9 -0
- package/dist/api/resources/music/types/index.d.ts +7 -0
- package/dist/api/resources/music/types/index.js +7 -0
- package/dist/api/resources/productions/exports.d.ts +3 -0
- package/dist/api/resources/productions/exports.js +22 -0
- package/dist/api/resources/productions/resources/orders/client/Client.js +23 -33
- package/dist/api/resources/productions/resources/orders/exports.d.ts +3 -0
- package/dist/api/resources/productions/resources/orders/exports.js +22 -0
- package/dist/api/resources/productions/resources/orders/resources/deliverables/client/Client.js +1 -1
- package/dist/api/resources/productions/resources/orders/resources/deliverables/exports.d.ts +2 -0
- package/dist/api/resources/productions/resources/orders/resources/deliverables/exports.js +21 -0
- package/dist/api/resources/productions/resources/orders/resources/items/client/Client.js +2 -2
- package/dist/api/resources/productions/resources/orders/resources/items/exports.d.ts +2 -0
- package/dist/api/resources/productions/resources/orders/resources/items/exports.js +21 -0
- package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
- package/dist/api/resources/productions/resources/orders/resources/languages/exports.d.ts +2 -0
- package/dist/api/resources/productions/resources/orders/resources/languages/exports.js +21 -0
- package/dist/api/resources/productions/resources/orders/resources/media/client/Client.js +9 -9
- package/dist/api/resources/productions/resources/orders/resources/media/exports.d.ts +2 -0
- package/dist/api/resources/productions/resources/orders/resources/media/exports.js +21 -0
- package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +1 -0
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +27 -27
- package/dist/api/resources/pronunciationDictionaries/exports.d.ts +3 -0
- package/dist/api/resources/pronunciationDictionaries/exports.js +22 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +3 -3
- package/dist/api/resources/pronunciationDictionaries/resources/rules/exports.d.ts +2 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/exports.js +21 -0
- package/dist/api/resources/samples/client/Client.js +1 -1
- package/dist/api/resources/samples/exports.d.ts +2 -0
- package/dist/api/resources/samples/exports.js +21 -0
- package/dist/api/resources/serviceAccounts/client/Client.js +1 -1
- package/dist/api/resources/serviceAccounts/exports.d.ts +3 -0
- package/dist/api/resources/serviceAccounts/exports.js +22 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.d.ts +2 -6
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +8 -12
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +5 -9
- package/dist/api/resources/serviceAccounts/resources/apiKeys/exports.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/exports.js +21 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit.d.ts +4 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit.js +3 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled.d.ts +4 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled.js +3 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +2 -0
- package/dist/api/resources/speechEngine/client/Client.js +20 -23
- package/dist/api/resources/speechEngine/exports.d.ts +2 -0
- package/dist/api/resources/speechEngine/exports.js +21 -0
- package/dist/api/resources/speechEngineUpstream/exports.d.ts +1 -0
- package/dist/api/resources/speechEngineUpstream/exports.js +18 -0
- package/dist/api/resources/speechToSpeech/client/Client.d.ts +2 -0
- package/dist/api/resources/speechToSpeech/client/Client.js +60 -52
- package/dist/api/resources/speechToSpeech/exports.d.ts +2 -0
- package/dist/api/resources/speechToSpeech/exports.js +21 -0
- package/dist/api/resources/speechToText/client/Client.js +44 -38
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -6
- package/dist/api/resources/speechToText/exports.d.ts +3 -0
- package/dist/api/resources/speechToText/exports.js +22 -0
- package/dist/api/resources/speechToText/resources/transcripts/client/Client.js +2 -2
- package/dist/api/resources/speechToText/resources/transcripts/exports.d.ts +2 -0
- package/dist/api/resources/speechToText/resources/transcripts/exports.js +21 -0
- package/dist/api/resources/studio/client/Client.js +2 -2
- package/dist/api/resources/studio/exports.d.ts +3 -0
- package/dist/api/resources/studio/exports.js +22 -0
- package/dist/api/resources/studio/resources/projects/client/Client.js +52 -49
- package/dist/api/resources/studio/resources/projects/exports.d.ts +3 -0
- package/dist/api/resources/studio/resources/projects/exports.js +22 -0
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
- package/dist/api/resources/studio/resources/projects/resources/chapters/exports.d.ts +3 -0
- package/dist/api/resources/studio/resources/projects/resources/chapters/exports.js +22 -0
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +4 -3
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/exports.d.ts +2 -0
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/exports.js +21 -0
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +14 -14
- package/dist/api/resources/studio/resources/projects/resources/content/exports.d.ts +2 -0
- package/dist/api/resources/studio/resources/projects/resources/content/exports.js +21 -0
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/exports.d.ts +2 -0
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/exports.js +21 -0
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +2 -0
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +6 -4
- package/dist/api/resources/studio/resources/projects/resources/snapshots/exports.d.ts +2 -0
- package/dist/api/resources/studio/resources/projects/resources/snapshots/exports.js +21 -0
- package/dist/api/resources/textToDialogue/client/Client.d.ts +2 -0
- package/dist/api/resources/textToDialogue/client/Client.js +51 -37
- package/dist/api/resources/textToDialogue/exports.d.ts +2 -0
- package/dist/api/resources/textToDialogue/exports.js +21 -0
- package/dist/api/resources/textToSoundEffects/client/Client.d.ts +1 -0
- package/dist/api/resources/textToSoundEffects/client/Client.js +11 -7
- package/dist/api/resources/textToSoundEffects/exports.d.ts +2 -0
- package/dist/api/resources/textToSoundEffects/exports.js +21 -0
- package/dist/api/resources/textToSpeech/client/Client.d.ts +2 -0
- package/dist/api/resources/textToSpeech/client/Client.js +59 -49
- package/dist/api/resources/textToSpeech/exports.d.ts +2 -0
- package/dist/api/resources/textToSpeech/exports.js +21 -0
- package/dist/api/resources/textToVoice/client/Client.d.ts +2 -0
- package/dist/api/resources/textToVoice/client/Client.js +33 -22
- package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
- package/dist/api/resources/textToVoice/exports.d.ts +3 -0
- package/dist/api/resources/textToVoice/exports.js +22 -0
- package/dist/api/resources/textToVoice/resources/preview/client/Client.d.ts +1 -0
- package/dist/api/resources/textToVoice/resources/preview/client/Client.js +2 -1
- package/dist/api/resources/textToVoice/resources/preview/exports.d.ts +2 -0
- package/dist/api/resources/textToVoice/resources/preview/exports.js +21 -0
- package/dist/api/resources/tokens/exports.d.ts +3 -0
- package/dist/api/resources/tokens/exports.js +22 -0
- package/dist/api/resources/tokens/resources/singleUse/client/Client.js +1 -1
- package/dist/api/resources/tokens/resources/singleUse/exports.d.ts +2 -0
- package/dist/api/resources/tokens/resources/singleUse/exports.js +21 -0
- package/dist/api/resources/usage/client/Client.d.ts +2 -0
- package/dist/api/resources/usage/client/Client.js +24 -23
- package/dist/api/resources/usage/exports.d.ts +2 -0
- package/dist/api/resources/usage/exports.js +21 -0
- package/dist/api/resources/user/client/Client.js +1 -1
- package/dist/api/resources/user/exports.d.ts +3 -0
- package/dist/api/resources/user/exports.js +22 -0
- package/dist/api/resources/user/resources/subscription/client/Client.js +1 -1
- package/dist/api/resources/user/resources/subscription/exports.d.ts +2 -0
- package/dist/api/resources/user/resources/subscription/exports.js +21 -0
- package/dist/api/resources/v1RealtimeTranslation/exports.d.ts +1 -0
- package/dist/api/resources/v1RealtimeTranslation/exports.js +18 -0
- package/dist/api/resources/v1SpeechToTextRealtime/exports.d.ts +1 -0
- package/dist/api/resources/v1SpeechToTextRealtime/exports.js +18 -0
- package/dist/api/resources/v1TextToDialogueStreamInput/exports.d.ts +1 -0
- package/dist/api/resources/v1TextToDialogueStreamInput/exports.js +18 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/exports.d.ts +1 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/exports.js +18 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/exports.d.ts +1 -0
- package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/exports.js +18 -0
- package/dist/api/resources/voices/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/client/Client.js +99 -150
- package/dist/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +3 -3
- package/dist/api/resources/voices/exports.d.ts +3 -0
- package/dist/api/resources/voices/exports.js +22 -0
- package/dist/api/resources/voices/resources/ivc/client/Client.js +15 -15
- package/dist/api/resources/voices/resources/ivc/exports.d.ts +2 -0
- package/dist/api/resources/voices/resources/ivc/exports.js +21 -0
- package/dist/api/resources/voices/resources/pvc/client/Client.js +3 -3
- package/dist/api/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/exports.d.ts +3 -0
- package/dist/api/resources/voices/resources/pvc/exports.js +22 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +14 -14
- package/dist/api/resources/voices/resources/pvc/resources/samples/exports.d.ts +3 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/exports.js +22 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +8 -5
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/exports.d.ts +2 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/exports.js +21 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/exports.d.ts +3 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/exports.js +22 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/exports.d.ts +2 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/exports.js +21 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/exports.d.ts +2 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/exports.js +21 -0
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +5 -5
- package/dist/api/resources/voices/resources/pvc/resources/verification/exports.d.ts +3 -0
- package/dist/api/resources/voices/resources/pvc/resources/verification/exports.js +22 -0
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -5
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/exports.d.ts +2 -0
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/exports.js +21 -0
- package/dist/api/resources/voices/resources/samples/exports.d.ts +3 -0
- package/dist/api/resources/voices/resources/samples/exports.js +22 -0
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +1 -0
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +2 -1
- package/dist/api/resources/voices/resources/samples/resources/audio/exports.d.ts +2 -0
- package/dist/api/resources/voices/resources/samples/resources/audio/exports.js +21 -0
- package/dist/api/resources/voices/resources/settings/client/Client.js +3 -3
- package/dist/api/resources/voices/resources/settings/exports.d.ts +2 -0
- package/dist/api/resources/voices/resources/settings/exports.js +21 -0
- package/dist/api/resources/voices/types/VoicesGetSharedRequestSort.d.ts +8 -0
- package/dist/api/resources/voices/types/VoicesGetSharedRequestSort.js +11 -0
- package/dist/api/resources/voices/types/index.d.ts +1 -0
- package/dist/api/resources/voices/types/index.js +1 -0
- package/dist/api/resources/webhooks/client/Client.js +11 -8
- package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
- package/dist/api/resources/webhooks/exports.d.ts +2 -0
- package/dist/api/resources/webhooks/exports.js +21 -0
- package/dist/api/resources/workspace/exports.d.ts +3 -0
- package/dist/api/resources/workspace/exports.js +22 -0
- package/dist/api/resources/workspace/resources/analytics/exports.d.ts +3 -0
- package/dist/api/resources/workspace/resources/analytics/exports.js +22 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +1 -1
- package/dist/api/resources/workspace/resources/analytics/resources/requests/exports.d.ts +2 -0
- package/dist/api/resources/workspace/resources/analytics/resources/requests/exports.js +21 -0
- package/dist/api/resources/workspace/resources/auditLogs/client/Client.js +14 -23
- package/dist/api/resources/workspace/resources/auditLogs/exports.d.ts +2 -0
- package/dist/api/resources/workspace/resources/auditLogs/exports.js +21 -0
- package/dist/api/resources/workspace/resources/authConnections/client/Client.js +4 -4
- package/dist/api/resources/workspace/resources/authConnections/exports.d.ts +2 -0
- package/dist/api/resources/workspace/resources/authConnections/exports.js +21 -0
- package/dist/api/resources/workspace/resources/groups/client/Client.js +9 -4
- package/dist/api/resources/workspace/resources/groups/exports.d.ts +3 -0
- package/dist/api/resources/workspace/resources/groups/exports.js +22 -0
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/dist/api/resources/workspace/resources/groups/resources/members/exports.d.ts +2 -0
- package/dist/api/resources/workspace/resources/groups/resources/members/exports.js +21 -0
- package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/dist/api/resources/workspace/resources/invites/exports.d.ts +2 -0
- package/dist/api/resources/workspace/resources/invites/exports.js +21 -0
- package/dist/api/resources/workspace/resources/members/client/Client.js +1 -1
- package/dist/api/resources/workspace/resources/members/exports.d.ts +2 -0
- package/dist/api/resources/workspace/resources/members/exports.js +21 -0
- package/dist/api/resources/workspace/resources/resources/client/Client.js +12 -7
- package/dist/api/resources/workspace/resources/resources/exports.d.ts +2 -0
- package/dist/api/resources/workspace/resources/resources/exports.js +21 -0
- package/dist/api/resources/workspace/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/workspace/resources/usage/client/requests/BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePost.d.ts +3 -1
- package/dist/api/resources/workspace/resources/usage/exports.d.ts +2 -0
- package/dist/api/resources/workspace/resources/usage/exports.js +21 -0
- package/dist/api/resources/workspaces/exports.d.ts +3 -0
- package/dist/api/resources/workspaces/exports.js +22 -0
- package/dist/api/resources/workspaces/resources/apiKeys/client/Client.d.ts +5 -5
- package/dist/api/resources/workspaces/resources/apiKeys/client/Client.js +17 -12
- package/dist/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysDisableRequest.d.ts +10 -0
- package/dist/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysDisableRequest.js +3 -0
- package/dist/api/resources/workspaces/resources/apiKeys/client/requests/index.d.ts +1 -1
- package/dist/api/resources/workspaces/resources/apiKeys/exports.d.ts +2 -0
- package/dist/api/resources/workspaces/resources/apiKeys/exports.js +21 -0
- package/dist/api/types/AgentConfig.d.ts +1 -1
- package/dist/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/dist/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/dist/api/types/AgentTransfer.d.ts +2 -0
- package/{api/types/AgentAlertingMonitorConfig.d.ts → dist/api/types/AlertingMonitorConfig.d.ts} +1 -1
- package/dist/api/types/AlertingMonitorConfig.js +3 -0
- package/dist/api/types/AlertingSettings.d.ts +19 -0
- package/dist/api/types/AlertingSettings.js +3 -0
- package/dist/api/types/AlertingWebhookNotifier.d.ts +5 -0
- package/dist/api/types/AlertingWebhookNotifier.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/dist/api/types/ArrayJsonSchemaPropertyInput.d.ts +4 -2
- package/dist/api/types/ArrayJsonSchemaPropertyOutput.d.ts +4 -2
- package/dist/api/types/AudioFormat.d.ts +6 -0
- package/dist/api/types/AudioFormat.js +9 -0
- package/dist/api/types/AudioRefChunk.d.ts +7 -0
- package/dist/api/types/AudioRefChunk.js +3 -0
- package/dist/api/types/BackgroundSoundConfig.d.ts +11 -0
- package/dist/api/types/BackgroundSoundConfig.js +3 -0
- package/dist/api/types/BackgroundSoundConfigWorkflowOverride.d.ts +11 -0
- package/dist/api/types/BackgroundSoundConfigWorkflowOverride.js +3 -0
- package/dist/api/types/{BackgroundMusicPresetId.d.ts → BackgroundSoundPresetId.d.ts} +3 -3
- package/{api/types/BackgroundMusicPresetId.js → dist/api/types/BackgroundSoundPresetId.js} +3 -3
- package/dist/api/types/BackgroundSoundSourceType.d.ts +4 -0
- package/dist/api/types/BackgroundSoundSourceType.js +3 -0
- package/dist/api/types/ChapterContentBlockResponseModelNodesItem.d.ts +1 -0
- package/dist/api/types/ChapterContentBlockTtsNodeResponseModel.d.ts +2 -1
- package/dist/api/types/CodeToolContextVariable.d.ts +4 -0
- package/dist/api/types/CodeToolContextVariable.js +3 -0
- package/dist/api/types/CompositionPlan.d.ts +8 -0
- package/dist/api/types/CompositionPlan.js +3 -0
- package/dist/api/types/CompositionPlanChunksItem.d.ts +2 -0
- package/dist/api/types/CompositionPlanChunksItem.js +3 -0
- package/dist/api/types/ConstantSchemaOverrideConstantValue.d.ts +2 -1
- package/dist/api/types/ConstantSchemaOverrideConstantValueFourItem.d.ts +1 -0
- package/dist/api/types/ConstantSchemaOverrideConstantValueFourItem.js +3 -0
- package/dist/api/types/ConversationInitiationClientDataInternal.d.ts +1 -1
- package/dist/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
- package/dist/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
- package/dist/api/types/ConversationSimulationSpecification.d.ts +1 -1
- package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/dist/api/types/CreateResponseUnitTestRequest.d.ts +1 -1
- package/dist/api/types/CreateSimulationTestRequest.d.ts +1 -1
- package/dist/api/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/api/types/CustomGuardrailConfig.d.ts +4 -0
- package/dist/api/types/CustomGuardrailConfigModel.d.ts +12 -0
- package/dist/api/types/CustomGuardrailConfigModel.js +15 -0
- package/dist/api/types/DetailedMusicResponse.d.ts +1 -1
- package/dist/api/types/DetailedMusicResponseCompositionPlan.d.ts +5 -0
- package/dist/api/types/DetailedMusicResponseCompositionPlan.js +3 -0
- package/dist/api/types/Eagerness.d.ts +6 -0
- package/dist/api/types/Eagerness.js +9 -0
- package/dist/api/types/EndProcedureToolConfigInput.d.ts +4 -0
- package/dist/api/types/EndProcedureToolConfigInput.js +3 -0
- package/dist/api/types/EndProcedureToolConfigOutput.d.ts +4 -0
- package/dist/api/types/EndProcedureToolConfigOutput.js +3 -0
- package/dist/api/types/EndProcedureToolErrorStatus.d.ts +5 -0
- package/dist/api/types/EndProcedureToolErrorStatus.js +8 -0
- package/dist/api/types/EntryBehavior.d.ts +6 -0
- package/dist/api/types/EntryBehavior.js +9 -0
- package/dist/api/types/FineTuningResponse.d.ts +2 -2
- package/dist/api/types/GenerationChunk.d.ts +17 -0
- package/dist/api/types/GenerationChunk.js +3 -0
- package/dist/api/types/GenerationChunkConditionStrength.d.ts +7 -0
- package/dist/api/types/GenerationChunkConditionStrength.js +10 -0
- package/dist/api/types/GenerationChunkContextAdherence.d.ts +7 -0
- package/dist/api/types/GenerationChunkContextAdherence.js +10 -0
- package/dist/api/types/GetKnowledgeBaseListResponseModelDocumentsItem.d.ts +2 -2
- package/dist/api/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/dist/api/types/GetResponseUnitTestResponseModel.d.ts +1 -1
- package/dist/api/types/GetSimulationTestResponseModel.d.ts +1 -1
- package/dist/api/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
- package/dist/api/types/InteractionBudget.d.ts +3 -1
- package/dist/api/types/InteractionBudget.js +3 -1
- package/dist/api/types/KnowledgeBaseContentSearchResultDocument.d.ts +2 -2
- package/dist/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.d.ts +2 -2
- package/dist/api/types/LoadMemoryEntryToolErrorStatus.d.ts +5 -0
- package/dist/api/types/LoadMemoryEntryToolErrorStatus.js +8 -0
- package/dist/api/types/LoadableMemoryEntry.d.ts +5 -0
- package/dist/api/types/LoadableMemoryEntry.js +3 -0
- package/dist/api/types/McpToolConfigOverrideInput.d.ts +1 -1
- package/dist/api/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/dist/api/types/MediaCodec.d.ts +6 -0
- package/dist/api/types/MediaCodec.js +9 -0
- package/dist/api/types/MusicPrompt.d.ts +3 -0
- package/dist/api/types/MusicUploadResponse.d.ts +4 -2
- package/dist/api/types/MusicUploadResponseCompositionPlan.d.ts +5 -0
- package/dist/api/types/MusicUploadResponseCompositionPlan.js +3 -0
- package/dist/api/types/OpenAiAudioConfig.d.ts +5 -0
- package/dist/api/types/OpenAiAudioConfig.js +3 -0
- package/dist/api/types/OpenAiAudioInputConfig.d.ts +5 -0
- package/dist/api/types/OpenAiAudioInputConfig.js +3 -0
- package/dist/api/types/OpenAiAudioInputFormat.d.ts +5 -0
- package/dist/api/types/OpenAiAudioInputFormat.js +3 -0
- package/dist/api/types/OpenAiAudioOutputConfig.d.ts +5 -0
- package/dist/api/types/OpenAiAudioOutputConfig.js +3 -0
- package/dist/api/types/OpenAiAudioOutputFormat.d.ts +4 -0
- package/dist/api/types/OpenAiAudioOutputFormat.js +3 -0
- package/dist/api/types/OpenAiFunctionTool.d.ts +5 -0
- package/dist/api/types/OpenAiFunctionTool.js +3 -0
- package/dist/api/types/OpenAiSessionConfig.d.ts +13 -0
- package/dist/api/types/OpenAiSessionConfig.js +3 -0
- package/dist/api/types/OpenAiSessionConfigMaxResponseOutputTokens.d.ts +1 -0
- package/dist/api/types/OpenAiSessionConfigMaxResponseOutputTokens.js +3 -0
- package/dist/api/types/OpenAiSessionConfigToolChoice.d.ts +2 -0
- package/dist/api/types/OpenAiSessionConfigToolChoice.js +3 -0
- package/dist/api/types/OpenAiSessionConfigToolsItem.d.ts +10 -0
- package/dist/api/types/OpenAiSessionConfigToolsItem.js +3 -0
- package/dist/api/types/OpenAiToolChoiceFunction.d.ts +5 -0
- package/dist/api/types/OpenAiToolChoiceFunction.js +3 -0
- package/dist/api/types/OpenAiToolChoiceFunctionInner.d.ts +3 -0
- package/dist/api/types/OpenAiToolChoiceFunctionInner.js +3 -0
- package/dist/api/types/OpenAiTurnDetection.d.ts +10 -0
- package/dist/api/types/OpenAiTurnDetection.js +3 -0
- package/dist/api/types/OpenAimcpTool.d.ts +8 -0
- package/dist/api/types/OpenAimcpTool.js +3 -0
- package/dist/api/types/OpenAimcpToolRequireApproval.d.ts +5 -0
- package/dist/api/types/OpenAimcpToolRequireApproval.js +8 -0
- package/dist/api/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/dist/api/types/ProjectExtendedResponse.d.ts +9 -5
- package/dist/api/types/ProjectResponse.d.ts +9 -5
- package/dist/api/types/ProjectVoiceResponseModel.d.ts +1 -0
- package/dist/api/types/RealtimeConfigSnapshot.d.ts +14 -0
- package/dist/api/types/RealtimeConfigSnapshot.js +3 -0
- package/dist/api/types/RealtimeConfigSnapshotParents.d.ts +3 -0
- package/dist/api/types/RealtimeConfigSnapshotParents.js +3 -0
- package/dist/api/types/ResponseUnitTestModel.d.ts +1 -1
- package/dist/api/types/ReviewResponseModel.d.ts +1 -1
- package/dist/api/types/{SafetyCommonModel.d.ts → SafetyCommonModelInput.d.ts} +1 -1
- package/dist/api/types/SafetyCommonModelInput.js +3 -0
- package/dist/api/types/SafetyCommonModelOutput.d.ts +8 -0
- package/dist/api/types/SafetyCommonModelOutput.js +3 -0
- package/dist/api/types/SimulationTestModel.d.ts +1 -1
- package/dist/api/types/SongSourceContext.d.ts +1 -0
- package/dist/api/types/SpeakerSeparationResponseModel.d.ts +1 -1
- package/dist/api/types/SpeechHistoryItemResponseModelSource.d.ts +1 -0
- package/dist/api/types/SpeechHistoryItemResponseModelSource.js +1 -0
- package/dist/api/types/StartProcedureToolErrorStatus.d.ts +1 -0
- package/dist/api/types/StartProcedureToolErrorStatus.js +1 -0
- package/dist/api/types/SubmitBusinessInfoParams.d.ts +6 -0
- package/dist/api/types/SubmitBusinessInfoParams.js +3 -0
- package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/dist/api/types/TextToDialogueWebsocketClientMessage.d.ts +2 -2
- package/dist/api/types/TextToDialogueWebsocketVoiceSettings.d.ts +7 -0
- package/dist/api/types/TextToDialogueWebsocketVoiceSettings.js +3 -0
- package/dist/api/types/ToolCallUnitTestModel.d.ts +1 -1
- package/dist/api/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
- package/dist/api/types/TransferToNumberResultExotelSuccessModel.d.ts +1 -0
- package/dist/api/types/TtsConversationalConfigInput.d.ts +2 -0
- package/dist/api/types/TtsConversationalConfigOutput.d.ts +2 -0
- package/dist/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
- package/dist/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
- package/dist/api/types/TurnDetectionType.d.ts +5 -0
- package/dist/api/types/TurnDetectionType.js +8 -0
- package/dist/api/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
- package/dist/api/types/UpdateOAuth2JwtRequest.d.ts +1 -1
- package/dist/api/types/UpdateResponseUnitTestRequest.d.ts +1 -1
- package/dist/api/types/UpdateSimulationTestRequest.d.ts +1 -1
- package/dist/api/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/api/types/VoiceStatisticsResponseModel.d.ts +4 -2
- package/dist/api/types/WebhookHmacSettings.d.ts +1 -1
- package/dist/api/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -0
- package/dist/api/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -0
- package/dist/api/types/WorkflowStandaloneAgentNodeModelInput.d.ts +2 -0
- package/dist/api/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +2 -0
- package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -0
- package/dist/api/types/index.d.ts +49 -9
- package/dist/api/types/index.js +49 -9
- package/dist/core/fetcher/BinaryResponse.d.ts +1 -1
- package/dist/core/fetcher/EndpointSupplier.d.ts +2 -2
- package/dist/core/fetcher/Fetcher.d.ts +9 -2
- package/dist/core/fetcher/Fetcher.js +21 -10
- package/dist/core/fetcher/getResponseBody.js +11 -0
- package/dist/core/fetcher/index.d.ts +2 -0
- package/dist/core/fetcher/index.js +3 -1
- package/dist/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/core/fetcher/makePassthroughRequest.js +135 -0
- package/dist/core/fetcher/makeRequest.d.ts +6 -1
- package/dist/core/fetcher/makeRequest.js +30 -9
- package/dist/core/fetcher/requestWithRetries.js +4 -1
- package/dist/core/file/file.js +3 -2
- package/dist/core/headers.d.ts +2 -2
- package/dist/core/runtime/runtime.js +8 -7
- package/dist/core/schemas/builders/enum/enum.d.ts +1 -0
- package/dist/core/schemas/builders/enum/enum.js +7 -0
- package/dist/core/schemas/builders/enum/index.d.ts +1 -1
- package/dist/core/schemas/builders/enum/index.js +2 -1
- package/dist/core/schemas/builders/list/list.js +12 -17
- package/dist/core/schemas/builders/object/object.js +122 -42
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +10 -3
- package/dist/core/schemas/builders/primitives/never.d.ts +1 -1
- package/dist/core/schemas/builders/primitives/never.js +3 -3
- package/dist/core/schemas/builders/record/index.d.ts +2 -2
- package/dist/core/schemas/builders/record/index.js +2 -1
- package/dist/core/schemas/builders/record/record.d.ts +2 -1
- package/dist/core/schemas/builders/record/record.js +63 -25
- package/dist/core/schemas/builders/record/types.d.ts +2 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.js +2 -1
- package/dist/core/schemas/builders/schema-utils/ParseError.js +2 -1
- package/dist/core/schemas/builders/union/union.js +9 -12
- package/dist/core/schemas/utils/isPlainObject.js +4 -6
- package/dist/core/stream/Stream.d.ts +9 -0
- package/dist/core/stream/Stream.js +100 -5
- package/dist/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/core/url/QueryStringBuilder.js +83 -0
- package/dist/core/url/index.d.ts +1 -0
- package/dist/core/url/index.js +3 -1
- package/dist/core/url/qs.d.ts +2 -1
- package/dist/core/url/qs.js +24 -12
- package/dist/environments.d.ts +2 -1
- package/dist/environments.js +1 -0
- package/dist/errors/ElevenLabsError.d.ts +3 -1
- package/dist/errors/ElevenLabsError.js +4 -1
- package/dist/errors/ElevenLabsTimeoutError.d.ts +4 -1
- package/dist/errors/ElevenLabsTimeoutError.js +4 -1
- package/dist/errors/handleNonStatusCodeError.js +4 -1
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/RunConversationEvaluationsRequest.d.ts +11 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/RunConversationEvaluationsRequest.js +43 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/analysis/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/analysis/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +1 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +1 -1
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.js +1 -3
- package/dist/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
- package/dist/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +1 -1
- package/dist/serialization/resources/history/types/HistoryListRequestSource.d.ts +1 -1
- package/dist/serialization/resources/history/types/HistoryListRequestSource.js +1 -1
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +4 -3
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +4 -3
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -3
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +4 -3
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +4 -3
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +4 -3
- package/dist/serialization/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +4 -3
- package/dist/serialization/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.js +4 -3
- package/dist/serialization/resources/music/resources/compositionPlan/index.d.ts +1 -0
- package/dist/serialization/resources/music/resources/compositionPlan/index.js +1 -0
- package/dist/serialization/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostModelId.d.ts +7 -0
- package/dist/serialization/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostModelId.js +39 -0
- package/dist/serialization/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostSourceCompositionPlan.d.ts +9 -0
- package/dist/serialization/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostSourceCompositionPlan.js +41 -0
- package/dist/serialization/resources/music/resources/compositionPlan/types/CompositionPlanCreateResponse.d.ts +9 -0
- package/dist/serialization/resources/music/resources/compositionPlan/types/CompositionPlanCreateResponse.js +41 -0
- package/dist/serialization/resources/music/resources/compositionPlan/types/index.d.ts +3 -0
- package/dist/serialization/resources/music/resources/compositionPlan/types/index.js +19 -0
- package/dist/serialization/resources/music/resources/index.d.ts +1 -0
- package/dist/serialization/resources/music/resources/index.js +1 -0
- package/dist/serialization/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.d.ts +9 -0
- package/dist/serialization/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.js +41 -0
- package/dist/serialization/resources/music/types/BodyComposeMusicV1MusicPostModelId.d.ts +7 -0
- package/dist/serialization/resources/music/types/BodyComposeMusicV1MusicPostModelId.js +39 -0
- package/dist/serialization/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.d.ts +9 -0
- package/dist/serialization/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.js +41 -0
- package/dist/serialization/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId.d.ts +7 -0
- package/dist/serialization/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId.js +39 -0
- package/dist/serialization/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts +9 -0
- package/dist/serialization/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.js +41 -0
- package/dist/serialization/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostModelId.d.ts +7 -0
- package/dist/serialization/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostModelId.js +39 -0
- package/dist/serialization/resources/music/types/MusicVideoToMusicRequestModelId.d.ts +7 -0
- package/dist/serialization/resources/music/types/MusicVideoToMusicRequestModelId.js +39 -0
- package/dist/serialization/resources/music/types/index.d.ts +7 -0
- package/dist/serialization/resources/music/types/index.js +7 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +6 -4
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +6 -4
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit.d.ts +7 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit.js +42 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled.d.ts +7 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled.js +42 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +1 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +2 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +2 -0
- package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
- package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +1 -1
- package/dist/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
- package/dist/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.js +1 -1
- package/dist/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
- package/dist/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.js +1 -1
- package/dist/serialization/resources/voices/types/VoicesGetSharedRequestSort.d.ts +7 -0
- package/dist/serialization/resources/voices/types/VoicesGetSharedRequestSort.js +39 -0
- package/dist/serialization/resources/voices/types/index.d.ts +1 -0
- package/dist/serialization/resources/voices/types/index.js +1 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -1
- package/dist/serialization/resources/workspace/resources/usage/client/requests/BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePost.d.ts +1 -0
- package/dist/serialization/resources/workspace/resources/usage/client/requests/BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePost.js +1 -0
- package/dist/serialization/types/AgentConfig.d.ts +1 -1
- package/dist/serialization/types/AgentConfig.js +1 -1
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +1 -1
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +1 -1
- package/dist/serialization/types/AgentTransfer.d.ts +1 -0
- package/dist/serialization/types/AgentTransfer.js +1 -0
- package/dist/serialization/types/{AgentAlertingMonitorConfig.d.ts → AlertingMonitorConfig.d.ts} +2 -2
- package/dist/serialization/types/{AgentAlertingMonitorConfig.js → AlertingMonitorConfig.js} +2 -2
- package/dist/serialization/types/AlertingSettings.d.ts +13 -0
- package/dist/serialization/types/{AgentAlertingSettings.js → AlertingSettings.js} +6 -6
- package/dist/serialization/types/AlertingWebhookNotifier.d.ts +10 -0
- package/dist/serialization/types/AlertingWebhookNotifier.js +42 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/dist/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
- package/dist/serialization/types/ArrayJsonSchemaPropertyInput.d.ts +1 -0
- package/dist/serialization/types/ArrayJsonSchemaPropertyInput.js +1 -0
- package/dist/serialization/types/ArrayJsonSchemaPropertyOutput.d.ts +1 -0
- package/dist/serialization/types/ArrayJsonSchemaPropertyOutput.js +1 -0
- package/dist/serialization/types/AudioFormat.d.ts +7 -0
- package/{serialization/types/Monitor.js → dist/serialization/types/AudioFormat.js} +2 -2
- package/dist/serialization/types/AudioRefChunk.d.ts +11 -0
- package/dist/serialization/types/AudioRefChunk.js +43 -0
- package/dist/serialization/types/BackgroundSoundConfig.d.ts +14 -0
- package/{serialization/types/BackgroundMusicConfig.js → dist/serialization/types/BackgroundSoundConfig.js} +6 -6
- package/dist/serialization/types/BackgroundSoundConfigWorkflowOverride.d.ts +14 -0
- package/dist/serialization/types/{BackgroundMusicConfigWorkflowOverride.js → BackgroundSoundConfigWorkflowOverride.js} +6 -6
- package/{serialization/types/BackgroundMusicPresetId.d.ts → dist/serialization/types/BackgroundSoundPresetId.d.ts} +2 -2
- package/{serialization/types/BackgroundMusicPresetId.js → dist/serialization/types/BackgroundSoundPresetId.js} +2 -2
- package/dist/serialization/types/BackgroundSoundSourceType.d.ts +7 -0
- package/{serialization/types/BackgroundMusicSourceType.js → dist/serialization/types/BackgroundSoundSourceType.js} +2 -2
- package/dist/serialization/types/ChapterContentBlockTtsNodeResponseModel.d.ts +2 -1
- package/dist/serialization/types/ChapterContentBlockTtsNodeResponseModel.js +2 -1
- package/dist/serialization/types/CodeToolContextVariable.d.ts +10 -0
- package/dist/serialization/types/CodeToolContextVariable.js +42 -0
- package/dist/serialization/types/CompositionPlan.d.ts +10 -0
- package/dist/serialization/types/CompositionPlan.js +42 -0
- package/dist/serialization/types/CompositionPlanChunksItem.d.ts +9 -0
- package/dist/serialization/types/CompositionPlanChunksItem.js +41 -0
- package/dist/serialization/types/ConstantSchemaOverrideConstantValue.d.ts +2 -1
- package/dist/serialization/types/ConstantSchemaOverrideConstantValue.js +2 -0
- package/dist/serialization/types/ConstantSchemaOverrideConstantValueFourItem.d.ts +7 -0
- package/dist/serialization/types/ConstantSchemaOverrideConstantValueFourItem.js +44 -0
- package/dist/serialization/types/ConversationInitiationClientDataInternal.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationClientDataInternal.js +1 -1
- package/dist/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationClientDataRequestInput.js +1 -1
- package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.js +1 -1
- package/dist/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
- package/dist/serialization/types/ConversationSimulationSpecification.js +1 -1
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +1 -1
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +1 -1
- package/dist/serialization/types/CreateResponseUnitTestRequest.d.ts +1 -1
- package/dist/serialization/types/CreateResponseUnitTestRequest.js +1 -1
- package/dist/serialization/types/CreateSimulationTestRequest.d.ts +1 -1
- package/dist/serialization/types/CreateSimulationTestRequest.js +1 -1
- package/dist/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/serialization/types/CreateToolCallUnitTestRequest.js +1 -1
- package/dist/serialization/types/CustomGuardrailConfig.d.ts +3 -0
- package/dist/serialization/types/CustomGuardrailConfig.js +3 -0
- package/dist/serialization/types/CustomGuardrailConfigModel.d.ts +7 -0
- package/dist/serialization/types/CustomGuardrailConfigModel.js +48 -0
- package/dist/serialization/types/DetailedMusicResponse.d.ts +2 -2
- package/dist/serialization/types/DetailedMusicResponse.js +2 -2
- package/dist/serialization/types/DetailedMusicResponseCompositionPlan.d.ts +9 -0
- package/dist/serialization/types/DetailedMusicResponseCompositionPlan.js +41 -0
- package/dist/serialization/types/Eagerness.d.ts +7 -0
- package/dist/serialization/types/{Monitor.js → Eagerness.js} +2 -2
- package/dist/serialization/types/EndProcedureToolConfigInput.d.ts +10 -0
- package/dist/serialization/types/EndProcedureToolConfigInput.js +42 -0
- package/dist/serialization/types/EndProcedureToolConfigOutput.d.ts +10 -0
- package/dist/serialization/types/EndProcedureToolConfigOutput.js +42 -0
- package/dist/serialization/types/EndProcedureToolErrorStatus.d.ts +7 -0
- package/dist/serialization/types/EndProcedureToolErrorStatus.js +39 -0
- package/dist/serialization/types/EntryBehavior.d.ts +7 -0
- package/dist/serialization/types/EntryBehavior.js +39 -0
- package/dist/serialization/types/FineTuningResponse.d.ts +2 -2
- package/dist/serialization/types/FineTuningResponse.js +2 -2
- package/dist/serialization/types/GenerationChunk.d.ts +18 -0
- package/dist/serialization/types/GenerationChunk.js +50 -0
- package/dist/serialization/types/GenerationChunkConditionStrength.d.ts +7 -0
- package/dist/serialization/types/GenerationChunkConditionStrength.js +39 -0
- package/dist/serialization/types/GenerationChunkContextAdherence.d.ts +7 -0
- package/dist/serialization/types/GenerationChunkContextAdherence.js +39 -0
- package/dist/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.js +2 -0
- package/dist/serialization/types/GetResponseUnitTestResponseModel.d.ts +1 -1
- package/dist/serialization/types/GetResponseUnitTestResponseModel.js +1 -1
- package/dist/serialization/types/GetSimulationTestResponseModel.d.ts +1 -1
- package/dist/serialization/types/GetSimulationTestResponseModel.js +1 -1
- package/dist/serialization/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
- package/dist/serialization/types/GetToolCallUnitTestResponseModel.js +1 -1
- package/dist/serialization/types/InteractionBudget.d.ts +1 -1
- package/dist/serialization/types/InteractionBudget.js +1 -1
- package/dist/serialization/types/LoadMemoryEntryToolErrorStatus.d.ts +7 -0
- package/dist/serialization/types/LoadMemoryEntryToolErrorStatus.js +39 -0
- package/dist/serialization/types/LoadableMemoryEntry.d.ts +11 -0
- package/dist/serialization/types/LoadableMemoryEntry.js +43 -0
- package/dist/serialization/types/McpToolConfigOverrideInput.d.ts +1 -1
- package/dist/serialization/types/McpToolConfigOverrideInput.js +1 -1
- package/dist/serialization/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/dist/serialization/types/McpToolConfigOverrideOutput.js +1 -1
- package/dist/serialization/types/MediaCodec.d.ts +7 -0
- package/dist/serialization/types/MediaCodec.js +39 -0
- package/dist/serialization/types/MusicUploadResponse.d.ts +4 -2
- package/dist/serialization/types/MusicUploadResponse.js +4 -2
- package/dist/serialization/types/MusicUploadResponseCompositionPlan.d.ts +9 -0
- package/dist/serialization/types/MusicUploadResponseCompositionPlan.js +41 -0
- package/dist/serialization/types/OpenAiAudioConfig.d.ts +12 -0
- package/dist/serialization/types/OpenAiAudioConfig.js +44 -0
- package/dist/serialization/types/OpenAiAudioInputConfig.d.ts +12 -0
- package/dist/serialization/types/OpenAiAudioInputConfig.js +44 -0
- package/dist/serialization/types/OpenAiAudioInputFormat.d.ts +11 -0
- package/dist/serialization/types/OpenAiAudioInputFormat.js +43 -0
- package/dist/serialization/types/OpenAiAudioOutputConfig.d.ts +11 -0
- package/dist/serialization/types/OpenAiAudioOutputConfig.js +43 -0
- package/dist/serialization/types/OpenAiAudioOutputFormat.d.ts +10 -0
- package/dist/serialization/types/OpenAiAudioOutputFormat.js +42 -0
- package/dist/serialization/types/OpenAiFunctionTool.d.ts +11 -0
- package/dist/serialization/types/OpenAiFunctionTool.js +43 -0
- package/dist/serialization/types/OpenAiSessionConfig.d.ts +22 -0
- package/dist/serialization/types/OpenAiSessionConfig.js +54 -0
- package/dist/serialization/types/OpenAiSessionConfigMaxResponseOutputTokens.d.ts +7 -0
- package/dist/serialization/types/OpenAiSessionConfigMaxResponseOutputTokens.js +39 -0
- package/dist/serialization/types/OpenAiSessionConfigToolChoice.d.ts +8 -0
- package/dist/serialization/types/OpenAiSessionConfigToolChoice.js +40 -0
- package/dist/serialization/types/OpenAiSessionConfigToolsItem.d.ts +15 -0
- package/dist/serialization/types/{AgentAlertingWebhookNotifier.js → OpenAiSessionConfigToolsItem.js} +11 -5
- package/dist/serialization/types/OpenAiToolChoiceFunction.d.ts +11 -0
- package/dist/serialization/types/OpenAiToolChoiceFunction.js +43 -0
- package/dist/serialization/types/OpenAiToolChoiceFunctionInner.d.ts +9 -0
- package/dist/serialization/types/OpenAiToolChoiceFunctionInner.js +41 -0
- package/dist/serialization/types/OpenAiTurnDetection.d.ts +17 -0
- package/dist/serialization/types/OpenAiTurnDetection.js +49 -0
- package/dist/serialization/types/OpenAimcpTool.d.ts +14 -0
- package/dist/serialization/types/OpenAimcpTool.js +46 -0
- package/dist/serialization/types/OpenAimcpToolRequireApproval.d.ts +7 -0
- package/dist/serialization/types/OpenAimcpToolRequireApproval.js +39 -0
- package/dist/serialization/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/dist/serialization/types/OutboundSipTrunkConfigRequestModel.js +2 -0
- package/dist/serialization/types/ProjectExtendedResponse.d.ts +5 -3
- package/dist/serialization/types/ProjectExtendedResponse.js +5 -3
- package/dist/serialization/types/ProjectResponse.d.ts +5 -3
- package/dist/serialization/types/ProjectResponse.js +5 -3
- package/dist/serialization/types/ProjectVoiceResponseModel.d.ts +1 -0
- package/dist/serialization/types/ProjectVoiceResponseModel.js +1 -0
- package/dist/serialization/types/RealtimeConfigSnapshot.d.ts +22 -0
- package/dist/serialization/types/RealtimeConfigSnapshot.js +54 -0
- package/dist/serialization/types/RealtimeConfigSnapshotParents.d.ts +9 -0
- package/dist/serialization/types/RealtimeConfigSnapshotParents.js +41 -0
- package/dist/serialization/types/ResponseUnitTestModel.d.ts +1 -1
- package/dist/serialization/types/ResponseUnitTestModel.js +1 -1
- package/dist/serialization/types/ReviewResponseModel.d.ts +1 -1
- package/dist/serialization/types/ReviewResponseModel.js +1 -1
- package/dist/serialization/types/{SafetyCommonModel.d.ts → SafetyCommonModelInput.d.ts} +2 -2
- package/dist/serialization/types/{SafetyCommonModel.js → SafetyCommonModelInput.js} +2 -2
- package/dist/serialization/types/SafetyCommonModelOutput.d.ts +11 -0
- package/dist/serialization/types/SafetyCommonModelOutput.js +43 -0
- package/dist/serialization/types/SimulationTestModel.d.ts +1 -1
- package/dist/serialization/types/SimulationTestModel.js +1 -1
- package/dist/serialization/types/SongSourceContext.d.ts +1 -0
- package/dist/serialization/types/SongSourceContext.js +1 -0
- package/dist/serialization/types/SpeakerSeparationResponseModel.d.ts +1 -1
- package/dist/serialization/types/SpeakerSeparationResponseModel.js +1 -1
- package/dist/serialization/types/SpeechHistoryItemResponseModelSource.d.ts +1 -1
- package/dist/serialization/types/SpeechHistoryItemResponseModelSource.js +1 -0
- package/dist/serialization/types/StartProcedureToolErrorStatus.d.ts +1 -1
- package/dist/serialization/types/StartProcedureToolErrorStatus.js +1 -1
- package/dist/serialization/types/SubmitBusinessInfoParams.d.ts +9 -0
- package/dist/serialization/types/SubmitBusinessInfoParams.js +41 -0
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/dist/serialization/types/TextToDialogueWebsocketClientMessage.d.ts +2 -1
- package/dist/serialization/types/TextToDialogueWebsocketClientMessage.js +2 -1
- package/dist/serialization/types/TextToDialogueWebsocketVoiceSettings.d.ts +9 -0
- package/dist/serialization/types/TextToDialogueWebsocketVoiceSettings.js +41 -0
- package/dist/serialization/types/ToolCallUnitTestModel.d.ts +1 -1
- package/dist/serialization/types/ToolCallUnitTestModel.js +1 -1
- package/dist/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
- package/dist/serialization/types/TransferToAgentToolResultSuccessModel.js +1 -0
- package/dist/serialization/types/TransferToNumberResultExotelSuccessModel.d.ts +1 -0
- package/dist/serialization/types/TransferToNumberResultExotelSuccessModel.js +1 -0
- package/dist/serialization/types/TtsConversationalConfigInput.d.ts +1 -0
- package/dist/serialization/types/TtsConversationalConfigInput.js +1 -0
- package/dist/serialization/types/TtsConversationalConfigOutput.d.ts +1 -0
- package/dist/serialization/types/TtsConversationalConfigOutput.js +1 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +1 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +1 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +1 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +1 -0
- package/dist/serialization/types/TurnDetectionType.d.ts +7 -0
- package/dist/serialization/types/TurnDetectionType.js +39 -0
- package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
- package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.js +2 -2
- package/dist/serialization/types/UpdateOAuth2JwtRequest.d.ts +1 -1
- package/dist/serialization/types/UpdateOAuth2JwtRequest.js +1 -1
- package/dist/serialization/types/UpdateResponseUnitTestRequest.d.ts +1 -1
- package/dist/serialization/types/UpdateResponseUnitTestRequest.js +1 -1
- package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +1 -1
- package/dist/serialization/types/UpdateSimulationTestRequest.js +1 -1
- package/dist/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
- package/dist/serialization/types/UpdateToolCallUnitTestRequest.js +1 -1
- package/dist/serialization/types/VoiceStatisticsResponseModel.d.ts +2 -1
- package/dist/serialization/types/VoiceStatisticsResponseModel.js +2 -1
- package/dist/serialization/types/WebhookHmacSettings.d.ts +1 -1
- package/dist/serialization/types/WebhookHmacSettings.js +1 -1
- package/dist/serialization/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -0
- package/dist/serialization/types/WorkflowOverrideAgentNodeModelInput.js +2 -0
- package/dist/serialization/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -0
- package/dist/serialization/types/WorkflowOverrideAgentNodeModelOutput.js +2 -0
- package/dist/serialization/types/WorkflowStandaloneAgentNodeModelInput.d.ts +1 -0
- package/dist/serialization/types/WorkflowStandaloneAgentNodeModelInput.js +1 -0
- package/dist/serialization/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +1 -0
- package/dist/serialization/types/WorkflowStandaloneAgentNodeModelOutput.js +1 -0
- package/dist/serialization/types/index.d.ts +49 -9
- package/dist/serialization/types/index.js +49 -9
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/environments.d.ts +2 -1
- package/environments.js +1 -0
- package/errors/ElevenLabsError.d.ts +3 -1
- package/errors/ElevenLabsError.js +4 -1
- package/errors/ElevenLabsTimeoutError.d.ts +4 -1
- package/errors/ElevenLabsTimeoutError.js +4 -1
- package/errors/handleNonStatusCodeError.js +4 -1
- package/package.json +11 -7
- package/reference.md +133 -42
- package/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/RunConversationEvaluationsRequest.d.ts +11 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/RunConversationEvaluationsRequest.js +43 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/analysis/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/analysis/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/analysis/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +1 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +1 -1
- package/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
- package/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.js +1 -3
- package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
- package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +1 -1
- package/serialization/resources/history/types/HistoryListRequestSource.d.ts +1 -1
- package/serialization/resources/history/types/HistoryListRequestSource.js +1 -1
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +4 -3
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +4 -3
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -3
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +4 -3
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +4 -3
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +4 -3
- package/serialization/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +4 -3
- package/serialization/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.js +4 -3
- package/serialization/resources/music/resources/compositionPlan/index.d.ts +1 -0
- package/serialization/resources/music/resources/compositionPlan/index.js +1 -0
- package/serialization/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostModelId.d.ts +7 -0
- package/serialization/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostModelId.js +39 -0
- package/serialization/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostSourceCompositionPlan.d.ts +9 -0
- package/serialization/resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostSourceCompositionPlan.js +41 -0
- package/serialization/resources/music/resources/compositionPlan/types/CompositionPlanCreateResponse.d.ts +9 -0
- package/serialization/resources/music/resources/compositionPlan/types/CompositionPlanCreateResponse.js +41 -0
- package/serialization/resources/music/resources/compositionPlan/types/index.d.ts +3 -0
- package/serialization/resources/music/resources/compositionPlan/types/index.js +19 -0
- package/serialization/resources/music/resources/index.d.ts +1 -0
- package/serialization/resources/music/resources/index.js +1 -0
- package/serialization/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.d.ts +9 -0
- package/serialization/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.js +41 -0
- package/serialization/resources/music/types/BodyComposeMusicV1MusicPostModelId.d.ts +7 -0
- package/serialization/resources/music/types/BodyComposeMusicV1MusicPostModelId.js +39 -0
- package/serialization/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.d.ts +9 -0
- package/serialization/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.js +41 -0
- package/serialization/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId.d.ts +7 -0
- package/serialization/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId.js +39 -0
- package/serialization/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts +9 -0
- package/serialization/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.js +41 -0
- package/serialization/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostModelId.d.ts +7 -0
- package/serialization/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostModelId.js +39 -0
- package/serialization/resources/music/types/MusicVideoToMusicRequestModelId.d.ts +7 -0
- package/serialization/resources/music/types/MusicVideoToMusicRequestModelId.js +39 -0
- package/serialization/resources/music/types/index.d.ts +7 -0
- package/serialization/resources/music/types/index.js +7 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +6 -4
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +6 -4
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit.d.ts +7 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit.js +42 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled.d.ts +7 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled.js +42 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +1 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +2 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +2 -0
- package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
- package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +1 -1
- package/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
- package/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.js +1 -1
- package/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
- package/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.js +1 -1
- package/serialization/resources/voices/types/VoicesGetSharedRequestSort.d.ts +7 -0
- package/serialization/resources/voices/types/VoicesGetSharedRequestSort.js +39 -0
- package/serialization/resources/voices/types/index.d.ts +1 -0
- package/serialization/resources/voices/types/index.js +1 -0
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -1
- package/serialization/resources/workspace/resources/usage/client/requests/BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePost.d.ts +1 -0
- package/serialization/resources/workspace/resources/usage/client/requests/BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePost.js +1 -0
- package/serialization/types/AgentConfig.d.ts +1 -1
- package/serialization/types/AgentConfig.js +1 -1
- package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +1 -1
- package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +1 -1
- package/serialization/types/AgentTransfer.d.ts +1 -0
- package/serialization/types/AgentTransfer.js +1 -0
- package/serialization/types/{AgentAlertingMonitorConfig.d.ts → AlertingMonitorConfig.d.ts} +2 -2
- package/serialization/types/{AgentAlertingMonitorConfig.js → AlertingMonitorConfig.js} +2 -2
- package/serialization/types/AlertingSettings.d.ts +13 -0
- package/serialization/types/{AgentAlertingSettings.js → AlertingSettings.js} +6 -6
- package/serialization/types/AlertingWebhookNotifier.d.ts +10 -0
- package/serialization/types/AlertingWebhookNotifier.js +42 -0
- package/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
- package/serialization/types/ArrayJsonSchemaPropertyInput.d.ts +1 -0
- package/serialization/types/ArrayJsonSchemaPropertyInput.js +1 -0
- package/serialization/types/ArrayJsonSchemaPropertyOutput.d.ts +1 -0
- package/serialization/types/ArrayJsonSchemaPropertyOutput.js +1 -0
- package/serialization/types/AudioFormat.d.ts +7 -0
- package/serialization/types/AudioFormat.js +39 -0
- package/serialization/types/AudioRefChunk.d.ts +11 -0
- package/serialization/types/AudioRefChunk.js +43 -0
- package/serialization/types/BackgroundSoundConfig.d.ts +14 -0
- package/{dist/serialization/types/BackgroundMusicConfig.js → serialization/types/BackgroundSoundConfig.js} +6 -6
- package/serialization/types/BackgroundSoundConfigWorkflowOverride.d.ts +14 -0
- package/serialization/types/{BackgroundMusicConfigWorkflowOverride.js → BackgroundSoundConfigWorkflowOverride.js} +6 -6
- package/{dist/serialization/types/BackgroundMusicPresetId.d.ts → serialization/types/BackgroundSoundPresetId.d.ts} +2 -2
- package/{dist/serialization/types/BackgroundMusicPresetId.js → serialization/types/BackgroundSoundPresetId.js} +2 -2
- package/serialization/types/BackgroundSoundSourceType.d.ts +7 -0
- package/{dist/serialization/types/BackgroundMusicSourceType.js → serialization/types/BackgroundSoundSourceType.js} +2 -2
- package/serialization/types/ChapterContentBlockTtsNodeResponseModel.d.ts +2 -1
- package/serialization/types/ChapterContentBlockTtsNodeResponseModel.js +2 -1
- package/serialization/types/CodeToolContextVariable.d.ts +10 -0
- package/serialization/types/CodeToolContextVariable.js +42 -0
- package/serialization/types/CompositionPlan.d.ts +10 -0
- package/serialization/types/CompositionPlan.js +42 -0
- package/serialization/types/CompositionPlanChunksItem.d.ts +9 -0
- package/serialization/types/CompositionPlanChunksItem.js +41 -0
- package/serialization/types/ConstantSchemaOverrideConstantValue.d.ts +2 -1
- package/serialization/types/ConstantSchemaOverrideConstantValue.js +2 -0
- package/serialization/types/ConstantSchemaOverrideConstantValueFourItem.d.ts +7 -0
- package/serialization/types/ConstantSchemaOverrideConstantValueFourItem.js +44 -0
- package/serialization/types/ConversationInitiationClientDataInternal.d.ts +1 -1
- package/serialization/types/ConversationInitiationClientDataInternal.js +1 -1
- package/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
- package/serialization/types/ConversationInitiationClientDataRequestInput.js +1 -1
- package/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
- package/serialization/types/ConversationInitiationClientDataRequestOutput.js +1 -1
- package/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
- package/serialization/types/ConversationSimulationSpecification.js +1 -1
- package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
- package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +1 -1
- package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +1 -1
- package/serialization/types/CreateResponseUnitTestRequest.d.ts +1 -1
- package/serialization/types/CreateResponseUnitTestRequest.js +1 -1
- package/serialization/types/CreateSimulationTestRequest.d.ts +1 -1
- package/serialization/types/CreateSimulationTestRequest.js +1 -1
- package/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -1
- package/serialization/types/CreateToolCallUnitTestRequest.js +1 -1
- package/serialization/types/CustomGuardrailConfig.d.ts +3 -0
- package/serialization/types/CustomGuardrailConfig.js +3 -0
- package/serialization/types/CustomGuardrailConfigModel.d.ts +7 -0
- package/serialization/types/CustomGuardrailConfigModel.js +48 -0
- package/serialization/types/DetailedMusicResponse.d.ts +2 -2
- package/serialization/types/DetailedMusicResponse.js +2 -2
- package/serialization/types/DetailedMusicResponseCompositionPlan.d.ts +9 -0
- package/serialization/types/DetailedMusicResponseCompositionPlan.js +41 -0
- package/serialization/types/Eagerness.d.ts +7 -0
- package/serialization/types/Eagerness.js +39 -0
- package/serialization/types/EndProcedureToolConfigInput.d.ts +10 -0
- package/serialization/types/EndProcedureToolConfigInput.js +42 -0
- package/serialization/types/EndProcedureToolConfigOutput.d.ts +10 -0
- package/serialization/types/EndProcedureToolConfigOutput.js +42 -0
- package/serialization/types/EndProcedureToolErrorStatus.d.ts +7 -0
- package/serialization/types/EndProcedureToolErrorStatus.js +39 -0
- package/serialization/types/EntryBehavior.d.ts +7 -0
- package/serialization/types/EntryBehavior.js +39 -0
- package/serialization/types/FineTuningResponse.d.ts +2 -2
- package/serialization/types/FineTuningResponse.js +2 -2
- package/serialization/types/GenerationChunk.d.ts +18 -0
- package/serialization/types/GenerationChunk.js +50 -0
- package/serialization/types/GenerationChunkConditionStrength.d.ts +7 -0
- package/serialization/types/GenerationChunkConditionStrength.js +39 -0
- package/serialization/types/GenerationChunkContextAdherence.d.ts +7 -0
- package/serialization/types/GenerationChunkContextAdherence.js +39 -0
- package/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.js +2 -0
- package/serialization/types/GetResponseUnitTestResponseModel.d.ts +1 -1
- package/serialization/types/GetResponseUnitTestResponseModel.js +1 -1
- package/serialization/types/GetSimulationTestResponseModel.d.ts +1 -1
- package/serialization/types/GetSimulationTestResponseModel.js +1 -1
- package/serialization/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
- package/serialization/types/GetToolCallUnitTestResponseModel.js +1 -1
- package/serialization/types/InteractionBudget.d.ts +1 -1
- package/serialization/types/InteractionBudget.js +1 -1
- package/serialization/types/LoadMemoryEntryToolErrorStatus.d.ts +7 -0
- package/serialization/types/LoadMemoryEntryToolErrorStatus.js +39 -0
- package/serialization/types/LoadableMemoryEntry.d.ts +11 -0
- package/serialization/types/LoadableMemoryEntry.js +43 -0
- package/serialization/types/McpToolConfigOverrideInput.d.ts +1 -1
- package/serialization/types/McpToolConfigOverrideInput.js +1 -1
- package/serialization/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/serialization/types/McpToolConfigOverrideOutput.js +1 -1
- package/serialization/types/MediaCodec.d.ts +7 -0
- package/serialization/types/MediaCodec.js +39 -0
- package/serialization/types/MusicUploadResponse.d.ts +4 -2
- package/serialization/types/MusicUploadResponse.js +4 -2
- package/serialization/types/MusicUploadResponseCompositionPlan.d.ts +9 -0
- package/serialization/types/MusicUploadResponseCompositionPlan.js +41 -0
- package/serialization/types/OpenAiAudioConfig.d.ts +12 -0
- package/serialization/types/OpenAiAudioConfig.js +44 -0
- package/serialization/types/OpenAiAudioInputConfig.d.ts +12 -0
- package/serialization/types/OpenAiAudioInputConfig.js +44 -0
- package/serialization/types/OpenAiAudioInputFormat.d.ts +11 -0
- package/serialization/types/OpenAiAudioInputFormat.js +43 -0
- package/serialization/types/OpenAiAudioOutputConfig.d.ts +11 -0
- package/serialization/types/OpenAiAudioOutputConfig.js +43 -0
- package/serialization/types/OpenAiAudioOutputFormat.d.ts +10 -0
- package/serialization/types/OpenAiAudioOutputFormat.js +42 -0
- package/serialization/types/OpenAiFunctionTool.d.ts +11 -0
- package/serialization/types/OpenAiFunctionTool.js +43 -0
- package/serialization/types/OpenAiSessionConfig.d.ts +22 -0
- package/serialization/types/OpenAiSessionConfig.js +54 -0
- package/serialization/types/OpenAiSessionConfigMaxResponseOutputTokens.d.ts +7 -0
- package/serialization/types/OpenAiSessionConfigMaxResponseOutputTokens.js +39 -0
- package/serialization/types/OpenAiSessionConfigToolChoice.d.ts +8 -0
- package/serialization/types/OpenAiSessionConfigToolChoice.js +40 -0
- package/serialization/types/OpenAiSessionConfigToolsItem.d.ts +15 -0
- package/serialization/types/OpenAiSessionConfigToolsItem.js +49 -0
- package/serialization/types/OpenAiToolChoiceFunction.d.ts +11 -0
- package/serialization/types/OpenAiToolChoiceFunction.js +43 -0
- package/serialization/types/OpenAiToolChoiceFunctionInner.d.ts +9 -0
- package/serialization/types/OpenAiToolChoiceFunctionInner.js +41 -0
- package/serialization/types/OpenAiTurnDetection.d.ts +17 -0
- package/serialization/types/OpenAiTurnDetection.js +49 -0
- package/serialization/types/OpenAimcpTool.d.ts +14 -0
- package/serialization/types/OpenAimcpTool.js +46 -0
- package/serialization/types/OpenAimcpToolRequireApproval.d.ts +7 -0
- package/serialization/types/OpenAimcpToolRequireApproval.js +39 -0
- package/serialization/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/serialization/types/OutboundSipTrunkConfigRequestModel.js +2 -0
- package/serialization/types/ProjectExtendedResponse.d.ts +5 -3
- package/serialization/types/ProjectExtendedResponse.js +5 -3
- package/serialization/types/ProjectResponse.d.ts +5 -3
- package/serialization/types/ProjectResponse.js +5 -3
- package/serialization/types/ProjectVoiceResponseModel.d.ts +1 -0
- package/serialization/types/ProjectVoiceResponseModel.js +1 -0
- package/serialization/types/RealtimeConfigSnapshot.d.ts +22 -0
- package/serialization/types/RealtimeConfigSnapshot.js +54 -0
- package/serialization/types/RealtimeConfigSnapshotParents.d.ts +9 -0
- package/serialization/types/RealtimeConfigSnapshotParents.js +41 -0
- package/serialization/types/ResponseUnitTestModel.d.ts +1 -1
- package/serialization/types/ResponseUnitTestModel.js +1 -1
- package/serialization/types/ReviewResponseModel.d.ts +1 -1
- package/serialization/types/ReviewResponseModel.js +1 -1
- package/serialization/types/{SafetyCommonModel.d.ts → SafetyCommonModelInput.d.ts} +2 -2
- package/serialization/types/{SafetyCommonModel.js → SafetyCommonModelInput.js} +2 -2
- package/serialization/types/SafetyCommonModelOutput.d.ts +11 -0
- package/serialization/types/SafetyCommonModelOutput.js +43 -0
- package/serialization/types/SimulationTestModel.d.ts +1 -1
- package/serialization/types/SimulationTestModel.js +1 -1
- package/serialization/types/SongSourceContext.d.ts +1 -0
- package/serialization/types/SongSourceContext.js +1 -0
- package/serialization/types/SpeakerSeparationResponseModel.d.ts +1 -1
- package/serialization/types/SpeakerSeparationResponseModel.js +1 -1
- package/serialization/types/SpeechHistoryItemResponseModelSource.d.ts +1 -1
- package/serialization/types/SpeechHistoryItemResponseModelSource.js +1 -0
- package/serialization/types/StartProcedureToolErrorStatus.d.ts +1 -1
- package/serialization/types/StartProcedureToolErrorStatus.js +1 -1
- package/serialization/types/SubmitBusinessInfoParams.d.ts +9 -0
- package/serialization/types/SubmitBusinessInfoParams.js +41 -0
- package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/serialization/types/TextToDialogueWebsocketClientMessage.d.ts +2 -1
- package/serialization/types/TextToDialogueWebsocketClientMessage.js +2 -1
- package/serialization/types/TextToDialogueWebsocketVoiceSettings.d.ts +9 -0
- package/serialization/types/TextToDialogueWebsocketVoiceSettings.js +41 -0
- package/serialization/types/ToolCallUnitTestModel.d.ts +1 -1
- package/serialization/types/ToolCallUnitTestModel.js +1 -1
- package/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
- package/serialization/types/TransferToAgentToolResultSuccessModel.js +1 -0
- package/serialization/types/TransferToNumberResultExotelSuccessModel.d.ts +1 -0
- package/serialization/types/TransferToNumberResultExotelSuccessModel.js +1 -0
- package/serialization/types/TtsConversationalConfigInput.d.ts +1 -0
- package/serialization/types/TtsConversationalConfigInput.js +1 -0
- package/serialization/types/TtsConversationalConfigOutput.d.ts +1 -0
- package/serialization/types/TtsConversationalConfigOutput.js +1 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +1 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +1 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +1 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +1 -0
- package/serialization/types/TurnDetectionType.d.ts +7 -0
- package/serialization/types/TurnDetectionType.js +39 -0
- package/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
- package/serialization/types/UpdateOAuth2ClientCredsRequest.js +2 -2
- package/serialization/types/UpdateOAuth2JwtRequest.d.ts +1 -1
- package/serialization/types/UpdateOAuth2JwtRequest.js +1 -1
- package/serialization/types/UpdateResponseUnitTestRequest.d.ts +1 -1
- package/serialization/types/UpdateResponseUnitTestRequest.js +1 -1
- package/serialization/types/UpdateSimulationTestRequest.d.ts +1 -1
- package/serialization/types/UpdateSimulationTestRequest.js +1 -1
- package/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
- package/serialization/types/UpdateToolCallUnitTestRequest.js +1 -1
- package/serialization/types/VoiceStatisticsResponseModel.d.ts +2 -1
- package/serialization/types/VoiceStatisticsResponseModel.js +2 -1
- package/serialization/types/WebhookHmacSettings.d.ts +1 -1
- package/serialization/types/WebhookHmacSettings.js +1 -1
- package/serialization/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -0
- package/serialization/types/WorkflowOverrideAgentNodeModelInput.js +2 -0
- package/serialization/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -0
- package/serialization/types/WorkflowOverrideAgentNodeModelOutput.js +2 -0
- package/serialization/types/WorkflowStandaloneAgentNodeModelInput.d.ts +1 -0
- package/serialization/types/WorkflowStandaloneAgentNodeModelInput.js +1 -0
- package/serialization/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +1 -0
- package/serialization/types/WorkflowStandaloneAgentNodeModelOutput.js +1 -0
- package/serialization/types/index.d.ts +49 -9
- package/serialization/types/index.js +49 -9
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.d.ts +0 -10
- package/api/types/AgentAlertingSettings.d.ts +0 -9
- package/api/types/AgentAlertingWebhookNotifier.d.ts +0 -7
- package/api/types/BackgroundMusicConfig.d.ts +0 -11
- package/api/types/BackgroundMusicConfigWorkflowOverride.d.ts +0 -11
- package/api/types/BackgroundMusicSourceType.d.ts +0 -4
- package/api/types/Monitor.d.ts +0 -6
- package/api/types/Monitor.js +0 -9
- package/dist/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.d.ts +0 -10
- package/dist/api/types/AgentAlertingSettings.d.ts +0 -9
- package/dist/api/types/AgentAlertingWebhookNotifier.d.ts +0 -7
- package/dist/api/types/BackgroundMusicConfig.d.ts +0 -11
- package/dist/api/types/BackgroundMusicConfigWorkflowOverride.d.ts +0 -11
- package/dist/api/types/BackgroundMusicSourceType.d.ts +0 -4
- package/dist/api/types/Monitor.d.ts +0 -6
- package/dist/api/types/Monitor.js +0 -9
- package/dist/serialization/types/AgentAlertingSettings.d.ts +0 -13
- package/dist/serialization/types/AgentAlertingWebhookNotifier.d.ts +0 -11
- package/dist/serialization/types/BackgroundMusicConfig.d.ts +0 -14
- package/dist/serialization/types/BackgroundMusicConfigWorkflowOverride.d.ts +0 -14
- package/dist/serialization/types/BackgroundMusicSourceType.d.ts +0 -7
- package/dist/serialization/types/Monitor.d.ts +0 -7
- package/serialization/types/AgentAlertingSettings.d.ts +0 -13
- package/serialization/types/AgentAlertingWebhookNotifier.d.ts +0 -11
- package/serialization/types/AgentAlertingWebhookNotifier.js +0 -43
- package/serialization/types/BackgroundMusicConfig.d.ts +0 -14
- package/serialization/types/BackgroundMusicConfigWorkflowOverride.d.ts +0 -14
- package/serialization/types/BackgroundMusicSourceType.d.ts +0 -7
- package/serialization/types/Monitor.d.ts +0 -7
- /package/api/resources/{workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.js → conversationalAi/resources/conversations/resources/analysis/client/requests/RunConversationEvaluationsRequest.js} +0 -0
- /package/api/{types/AgentAlertingMonitorConfig.js → resources/conversationalAi/resources/phoneNumbers/client/requests/PhoneNumbersListRequest.js} +0 -0
- /package/api/{types/AgentAlertingSettings.js → resources/conversationalAi/resources/whatsappAccounts/client/requests/WhatsappAccountsListRequest.js} +0 -0
- /package/api/{types/AgentAlertingWebhookNotifier.js → resources/music/resources/compositionPlan/types/BodyGenerateCompositionPlanV1MusicPlanPostSourceCompositionPlan.js} +0 -0
- /package/api/{types/BackgroundMusicConfig.js → resources/music/resources/compositionPlan/types/CompositionPlanCreateResponse.js} +0 -0
- /package/api/{types/BackgroundMusicConfigWorkflowOverride.js → resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.js} +0 -0
- /package/api/{types/BackgroundMusicSourceType.js → resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.js} +0 -0
- /package/api/{types/SafetyCommonModel.js → resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.js} +0 -0
- /package/{dist/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.js → api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit.js} +0 -0
- /package/{dist/api/types/AgentAlertingMonitorConfig.js → api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled.js} +0 -0
- /package/{dist/api/types/AgentAlertingSettings.js → api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysDisableRequest.js} +0 -0
- /package/{dist/api/types/AgentAlertingWebhookNotifier.js → api/types/AlertingMonitorConfig.js} +0 -0
- /package/{dist/api/types/BackgroundMusicConfig.js → api/types/AlertingSettings.js} +0 -0
- /package/{dist/api/types/BackgroundMusicConfigWorkflowOverride.js → api/types/AlertingWebhookNotifier.js} +0 -0
- /package/{dist/api/types/BackgroundMusicSourceType.js → api/types/AudioRefChunk.js} +0 -0
- /package/{dist/api/types/SafetyCommonModel.js → api/types/BackgroundSoundConfig.js} +0 -0
|
@@ -13,14 +13,19 @@ export declare class PhoneNumbersClient {
|
|
|
13
13
|
/**
|
|
14
14
|
* Retrieve all Phone Numbers
|
|
15
15
|
*
|
|
16
|
+
* @param {ElevenLabs.conversationalAi.PhoneNumbersListRequest} request
|
|
16
17
|
* @param {PhoneNumbersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
18
|
*
|
|
18
19
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
19
20
|
*
|
|
20
21
|
* @example
|
|
21
|
-
* await client.conversationalAi.phoneNumbers.list(
|
|
22
|
+
* await client.conversationalAi.phoneNumbers.list({
|
|
23
|
+
* provider: "twilio",
|
|
24
|
+
* agentId: "agent_id",
|
|
25
|
+
* branchId: "branch_id"
|
|
26
|
+
* })
|
|
22
27
|
*/
|
|
23
|
-
list(requestOptions?: PhoneNumbersClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.conversationalAi.PhoneNumbersListResponseItem[]>;
|
|
28
|
+
list(request?: ElevenLabs.conversationalAi.PhoneNumbersListRequest, requestOptions?: PhoneNumbersClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.conversationalAi.PhoneNumbersListResponseItem[]>;
|
|
24
29
|
private __list;
|
|
25
30
|
/**
|
|
26
31
|
* Import Phone Number from provider configuration (Twilio, Exotel, or SIP trunk)
|
|
@@ -59,25 +59,42 @@ class PhoneNumbersClient {
|
|
|
59
59
|
/**
|
|
60
60
|
* Retrieve all Phone Numbers
|
|
61
61
|
*
|
|
62
|
+
* @param {ElevenLabs.conversationalAi.PhoneNumbersListRequest} request
|
|
62
63
|
* @param {PhoneNumbersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
64
|
*
|
|
64
65
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
65
66
|
*
|
|
66
67
|
* @example
|
|
67
|
-
* await client.conversationalAi.phoneNumbers.list(
|
|
68
|
+
* await client.conversationalAi.phoneNumbers.list({
|
|
69
|
+
* provider: "twilio",
|
|
70
|
+
* agentId: "agent_id",
|
|
71
|
+
* branchId: "branch_id"
|
|
72
|
+
* })
|
|
68
73
|
*/
|
|
69
|
-
list(requestOptions) {
|
|
70
|
-
return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
|
|
74
|
+
list(request = {}, requestOptions) {
|
|
75
|
+
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
71
76
|
}
|
|
72
|
-
__list(
|
|
73
|
-
return __awaiter(this,
|
|
77
|
+
__list() {
|
|
78
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
74
79
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
80
|
+
const { provider, agentId, branchId } = request;
|
|
81
|
+
const _queryParams = {
|
|
82
|
+
provider: provider != null
|
|
83
|
+
? serializers.TelephonyProvider.jsonOrThrow(provider, { unrecognizedObjectKeys: "strip" })
|
|
84
|
+
: undefined,
|
|
85
|
+
agent_id: agentId,
|
|
86
|
+
branch_id: branchId,
|
|
87
|
+
};
|
|
75
88
|
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);
|
|
76
89
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
77
90
|
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/phone-numbers"),
|
|
78
91
|
method: "GET",
|
|
79
92
|
headers: _headers,
|
|
80
|
-
|
|
93
|
+
queryString: core.url
|
|
94
|
+
.queryBuilder()
|
|
95
|
+
.addMany(_queryParams)
|
|
96
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
97
|
+
.build(),
|
|
81
98
|
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
99
|
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
100
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -139,7 +156,7 @@ class PhoneNumbersClient {
|
|
|
139
156
|
method: "POST",
|
|
140
157
|
headers: _headers,
|
|
141
158
|
contentType: "application/json",
|
|
142
|
-
|
|
159
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
143
160
|
requestType: "json",
|
|
144
161
|
body: serializers.conversationalAi.PhoneNumbersCreateRequestBody.jsonOrThrow(request, {
|
|
145
162
|
unrecognizedObjectKeys: "strip",
|
|
@@ -198,7 +215,7 @@ class PhoneNumbersClient {
|
|
|
198
215
|
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/phone-numbers/${core.url.encodePathParam(phone_number_id)}`),
|
|
199
216
|
method: "GET",
|
|
200
217
|
headers: _headers,
|
|
201
|
-
|
|
218
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
202
219
|
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,
|
|
203
220
|
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,
|
|
204
221
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -253,7 +270,7 @@ class PhoneNumbersClient {
|
|
|
253
270
|
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/phone-numbers/${core.url.encodePathParam(phone_number_id)}`),
|
|
254
271
|
method: "DELETE",
|
|
255
272
|
headers: _headers,
|
|
256
|
-
|
|
273
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
257
274
|
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,
|
|
258
275
|
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,
|
|
259
276
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -302,7 +319,7 @@ class PhoneNumbersClient {
|
|
|
302
319
|
method: "PATCH",
|
|
303
320
|
headers: _headers,
|
|
304
321
|
contentType: "application/json",
|
|
305
|
-
|
|
322
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
306
323
|
requestType: "json",
|
|
307
324
|
body: serializers.conversationalAi.UpdatePhoneNumberRequest.jsonOrThrow(request, {
|
|
308
325
|
unrecognizedObjectKeys: "strip",
|
|
@@ -361,19 +378,20 @@ class PhoneNumbersClient {
|
|
|
361
378
|
return __awaiter(this, arguments, void 0, function* (phone_number_id, request = {}, requestOptions) {
|
|
362
379
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
363
380
|
const { pageSize, cursor } = request;
|
|
364
|
-
const _queryParams = {
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
}
|
|
368
|
-
if (cursor != null) {
|
|
369
|
-
_queryParams.cursor = cursor;
|
|
370
|
-
}
|
|
381
|
+
const _queryParams = {
|
|
382
|
+
page_size: pageSize,
|
|
383
|
+
cursor,
|
|
384
|
+
};
|
|
371
385
|
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);
|
|
372
386
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
373
387
|
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/phone-numbers/${core.url.encodePathParam(phone_number_id)}/sip-messages`),
|
|
374
388
|
method: "GET",
|
|
375
389
|
headers: _headers,
|
|
376
|
-
|
|
390
|
+
queryString: core.url
|
|
391
|
+
.queryBuilder()
|
|
392
|
+
.addMany(_queryParams)
|
|
393
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
394
|
+
.build(),
|
|
377
395
|
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,
|
|
378
396
|
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,
|
|
379
397
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* provider: "twilio",
|
|
6
|
+
* agentId: "agent_id",
|
|
7
|
+
* branchId: "branch_id"
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface PhoneNumbersListRequest {
|
|
11
|
+
/** Filter by telephony provider */
|
|
12
|
+
provider?: ElevenLabs.TelephonyProvider;
|
|
13
|
+
/** Filter by assigned agent ID */
|
|
14
|
+
agentId?: string;
|
|
15
|
+
/** Filter by assigned branch ID */
|
|
16
|
+
branchId?: string;
|
|
17
|
+
}
|
|
@@ -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.PhoneNumbersClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "PhoneNumbersClient", { enumerable: true, get: function () { return Client_1.PhoneNumbersClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
@@ -79,25 +79,22 @@ class SecretsClient {
|
|
|
79
79
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
80
80
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
81
81
|
const { pageSize, dependencyLimit, search, cursor } = request;
|
|
82
|
-
const _queryParams = {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
if (search != null) {
|
|
90
|
-
_queryParams.search = search;
|
|
91
|
-
}
|
|
92
|
-
if (cursor != null) {
|
|
93
|
-
_queryParams.cursor = cursor;
|
|
94
|
-
}
|
|
82
|
+
const _queryParams = {
|
|
83
|
+
page_size: pageSize,
|
|
84
|
+
dependency_limit: dependencyLimit,
|
|
85
|
+
search,
|
|
86
|
+
cursor,
|
|
87
|
+
};
|
|
95
88
|
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);
|
|
96
89
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
97
90
|
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/secrets"),
|
|
98
91
|
method: "GET",
|
|
99
92
|
headers: _headers,
|
|
100
|
-
|
|
93
|
+
queryString: core.url
|
|
94
|
+
.queryBuilder()
|
|
95
|
+
.addMany(_queryParams)
|
|
96
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
97
|
+
.build(),
|
|
101
98
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
102
99
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
103
100
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -156,7 +153,7 @@ class SecretsClient {
|
|
|
156
153
|
method: "POST",
|
|
157
154
|
headers: _headers,
|
|
158
155
|
contentType: "application/json",
|
|
159
|
-
|
|
156
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
160
157
|
requestType: "json",
|
|
161
158
|
body: Object.assign(Object.assign({}, serializers.conversationalAi.PostWorkspaceSecretRequest.jsonOrThrow(request, {
|
|
162
159
|
unrecognizedObjectKeys: "strip",
|
|
@@ -215,7 +212,7 @@ class SecretsClient {
|
|
|
215
212
|
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/secrets/${core.url.encodePathParam(secret_id)}`),
|
|
216
213
|
method: "GET",
|
|
217
214
|
headers: _headers,
|
|
218
|
-
|
|
215
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
219
216
|
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,
|
|
220
217
|
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,
|
|
221
218
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -270,7 +267,7 @@ class SecretsClient {
|
|
|
270
267
|
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/secrets/${core.url.encodePathParam(secret_id)}`),
|
|
271
268
|
method: "DELETE",
|
|
272
269
|
headers: _headers,
|
|
273
|
-
|
|
270
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
274
271
|
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,
|
|
275
272
|
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,
|
|
276
273
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -322,7 +319,7 @@ class SecretsClient {
|
|
|
322
319
|
method: "PATCH",
|
|
323
320
|
headers: _headers,
|
|
324
321
|
contentType: "application/json",
|
|
325
|
-
|
|
322
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
326
323
|
requestType: "json",
|
|
327
324
|
body: Object.assign(Object.assign({}, serializers.conversationalAi.PatchWorkspaceSecretRequest.jsonOrThrow(request, {
|
|
328
325
|
unrecognizedObjectKeys: "strip",
|
|
@@ -382,19 +379,20 @@ class SecretsClient {
|
|
|
382
379
|
return __awaiter(this, arguments, void 0, function* (secret_id, resource_type, request = {}, requestOptions) {
|
|
383
380
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
384
381
|
const { pageSize, cursor } = request;
|
|
385
|
-
const _queryParams = {
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
}
|
|
389
|
-
if (cursor != null) {
|
|
390
|
-
_queryParams.cursor = cursor;
|
|
391
|
-
}
|
|
382
|
+
const _queryParams = {
|
|
383
|
+
page_size: pageSize,
|
|
384
|
+
cursor,
|
|
385
|
+
};
|
|
392
386
|
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);
|
|
393
387
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
394
388
|
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/secrets/${core.url.encodePathParam(secret_id)}/dependencies/${core.url.encodePathParam(serializers.SecretDependencyResourceType.jsonOrThrow(resource_type))}`),
|
|
395
389
|
method: "GET",
|
|
396
390
|
headers: _headers,
|
|
397
|
-
|
|
391
|
+
queryString: core.url
|
|
392
|
+
.queryBuilder()
|
|
393
|
+
.addMany(_queryParams)
|
|
394
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
395
|
+
.build(),
|
|
398
396
|
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,
|
|
399
397
|
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,
|
|
400
398
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -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.SecretsClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "SecretsClient", { enumerable: true, get: function () { return Client_1.SecretsClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
@@ -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"),
|
|
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.PatchConvAiSettingsRequest.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 SipTrunkClient {
|
|
|
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.BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost.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.SipTrunkClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "SipTrunkClient", { enumerable: true, get: function () { return Client_1.SipTrunkClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
@@ -92,7 +92,7 @@ class TestsClient {
|
|
|
92
92
|
method: "POST",
|
|
93
93
|
headers: _headers,
|
|
94
94
|
contentType: "application/json",
|
|
95
|
-
|
|
95
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
96
96
|
requestType: "json",
|
|
97
97
|
body: serializers.conversationalAi.TestsCreateRequestBody.jsonOrThrow(request, {
|
|
98
98
|
unrecognizedObjectKeys: "strip",
|
|
@@ -154,7 +154,7 @@ class TestsClient {
|
|
|
154
154
|
method: "POST",
|
|
155
155
|
headers: _headers,
|
|
156
156
|
contentType: "application/json",
|
|
157
|
-
|
|
157
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
158
158
|
requestType: "json",
|
|
159
159
|
body: serializers.conversationalAi.BodyBulkMoveTestsToFolderV1ConvaiAgentTestingBulkMovePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
160
160
|
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,
|
|
@@ -203,7 +203,7 @@ class TestsClient {
|
|
|
203
203
|
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/agent-testing/${core.url.encodePathParam(test_id)}`),
|
|
204
204
|
method: "GET",
|
|
205
205
|
headers: _headers,
|
|
206
|
-
|
|
206
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
207
207
|
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,
|
|
208
208
|
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,
|
|
209
209
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -263,7 +263,7 @@ class TestsClient {
|
|
|
263
263
|
method: "PUT",
|
|
264
264
|
headers: _headers,
|
|
265
265
|
contentType: "application/json",
|
|
266
|
-
|
|
266
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
267
267
|
requestType: "json",
|
|
268
268
|
body: serializers.conversationalAi.TestsUpdateRequestBody.jsonOrThrow(request, {
|
|
269
269
|
unrecognizedObjectKeys: "strip",
|
|
@@ -322,7 +322,7 @@ class TestsClient {
|
|
|
322
322
|
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/agent-testing/${core.url.encodePathParam(test_id)}`),
|
|
323
323
|
method: "DELETE",
|
|
324
324
|
headers: _headers,
|
|
325
|
-
|
|
325
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
326
326
|
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,
|
|
327
327
|
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,
|
|
328
328
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -372,7 +372,7 @@ class TestsClient {
|
|
|
372
372
|
method: "POST",
|
|
373
373
|
headers: _headers,
|
|
374
374
|
contentType: "application/json",
|
|
375
|
-
|
|
375
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
376
376
|
requestType: "json",
|
|
377
377
|
body: serializers.conversationalAi.ListTestsByIdsRequestModel.jsonOrThrow(request, {
|
|
378
378
|
unrecognizedObjectKeys: "strip",
|
|
@@ -436,46 +436,36 @@ class TestsClient {
|
|
|
436
436
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
437
437
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
438
438
|
const { cursor, pageSize, search, parentFolderId, types, includeFolders, sortMode, sharingMode } = request;
|
|
439
|
-
const _queryParams = {
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
}
|
|
460
|
-
if (includeFolders != null) {
|
|
461
|
-
_queryParams.include_folders = includeFolders.toString();
|
|
462
|
-
}
|
|
463
|
-
if (sortMode != null) {
|
|
464
|
-
_queryParams.sort_mode = serializers.conversationalAi.TestsListRequestSortMode.jsonOrThrow(sortMode, {
|
|
465
|
-
unrecognizedObjectKeys: "strip",
|
|
466
|
-
});
|
|
467
|
-
}
|
|
468
|
-
if (sharingMode != null) {
|
|
469
|
-
_queryParams.sharing_mode = serializers.TestSharingMode.jsonOrThrow(sharingMode, {
|
|
470
|
-
unrecognizedObjectKeys: "strip",
|
|
471
|
-
});
|
|
472
|
-
}
|
|
439
|
+
const _queryParams = {
|
|
440
|
+
cursor,
|
|
441
|
+
page_size: pageSize,
|
|
442
|
+
search,
|
|
443
|
+
parent_folder_id: parentFolderId,
|
|
444
|
+
types: Array.isArray(types)
|
|
445
|
+
? types.map((item) => serializers.TestType.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }))
|
|
446
|
+
: types != null
|
|
447
|
+
? serializers.TestType.jsonOrThrow(types, { unrecognizedObjectKeys: "strip" })
|
|
448
|
+
: undefined,
|
|
449
|
+
include_folders: includeFolders,
|
|
450
|
+
sort_mode: sortMode != null
|
|
451
|
+
? serializers.conversationalAi.TestsListRequestSortMode.jsonOrThrow(sortMode, {
|
|
452
|
+
unrecognizedObjectKeys: "strip",
|
|
453
|
+
})
|
|
454
|
+
: undefined,
|
|
455
|
+
sharing_mode: sharingMode != null
|
|
456
|
+
? serializers.TestSharingMode.jsonOrThrow(sharingMode, { unrecognizedObjectKeys: "strip" })
|
|
457
|
+
: undefined,
|
|
458
|
+
};
|
|
473
459
|
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);
|
|
474
460
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
475
461
|
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/agent-testing"),
|
|
476
462
|
method: "GET",
|
|
477
463
|
headers: _headers,
|
|
478
|
-
|
|
464
|
+
queryString: core.url
|
|
465
|
+
.queryBuilder()
|
|
466
|
+
.addMany(_queryParams)
|
|
467
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
468
|
+
.build(),
|
|
479
469
|
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,
|
|
480
470
|
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,
|
|
481
471
|
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.TestsClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "TestsClient", { enumerable: true, get: function () { return Client_1.TestsClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
22
|
+
__exportStar(require("./resources/index"), exports);
|