@elevenlabs/elevenlabs-js 2.51.0 → 2.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.fern/metadata.json +8 -3
- package/.fern/replay.lock +14 -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/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +4 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +4 -1
- 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 +11 -6
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +40 -22
- 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 -59
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +0 -2
- 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/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- 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/speechEngineUpstream/index.d.ts +1 -0
- package/api/resources/speechEngineUpstream/index.js +17 -0
- package/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +5 -0
- package/api/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +5 -0
- package/api/resources/speechEngineUpstream/types/index.d.ts +2 -0
- package/api/resources/speechEngineUpstream/types/index.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 +3 -0
- package/api/resources/textToDialogue/client/Client.js +56 -29
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +3 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +3 -0
- 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/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +1 -1
- 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 +32 -30
- package/api/resources/voices/client/Client.js +159 -210
- 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/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +4 -1
- 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/AgentResponsePayload.d.ts +25 -0
- 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/AnalysisProperty.d.ts +6 -4
- package/api/types/AnalysisPropertyConstantValue.d.ts +1 -1
- package/api/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/api/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +4 -1
- package/api/types/ArrayJsonSchemaPropertyInput.d.ts +4 -2
- package/api/types/ArrayJsonSchemaPropertyOutput.d.ts +4 -2
- package/api/types/AsrProvider.d.ts +2 -0
- package/api/types/AsrProvider.js +2 -0
- 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/{BackgroundMusicPresetId.d.ts → BackgroundSoundPresetId.d.ts} +3 -3
- package/api/types/{BackgroundMusicPresetId.js → BackgroundSoundPresetId.js} +3 -3
- package/api/types/BackgroundSoundSourceType.d.ts +4 -0
- package/api/types/BaseTurnConfig.d.ts +1 -0
- package/api/types/ChapterContentBlockResponseModelNodesItem.d.ts +1 -0
- package/api/types/ChapterContentBlockTtsNodeResponseModel.d.ts +2 -1
- package/api/types/ClosePayload.d.ts +7 -0
- 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/DirectPublishingReadResponseModel.d.ts +1 -0
- package/api/types/DynamicVariablesConfigInput.d.ts +1 -1
- package/api/types/DynamicVariablesConfigOutput.d.ts +1 -1
- package/api/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
- package/api/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
- package/api/types/Eagerness.d.ts +6 -0
- package/api/types/Eagerness.js +9 -0
- package/api/types/EndProcedureToolConfigInput.d.ts +4 -0
- package/api/types/EndProcedureToolConfigInput.js +3 -0
- package/api/types/EndProcedureToolConfigOutput.d.ts +4 -0
- package/api/types/EndProcedureToolConfigOutput.js +3 -0
- package/api/types/EndProcedureToolErrorStatus.d.ts +5 -0
- package/api/types/EndProcedureToolErrorStatus.js +8 -0
- package/api/types/EntryBehavior.d.ts +6 -0
- package/api/types/EntryBehavior.js +9 -0
- package/api/types/ErrorPayload.d.ts +9 -0
- package/api/types/ErrorPayload.js +3 -0
- package/api/types/ExternalFileSyncInfo.d.ts +20 -0
- package/api/types/ExternalFileSyncInfo.js +3 -0
- package/api/types/ExternalFolderSyncInfo.d.ts +18 -0
- package/api/types/ExternalFolderSyncInfo.js +3 -0
- package/api/types/ExternalSyncType.d.ts +1 -0
- package/api/types/ExternalSyncType.js +3 -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/GetConversationResponseModel.d.ts +1 -0
- package/api/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseListResponseModelDocumentsItem.d.ts +2 -2
- package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
- 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/InitPayload.d.ts +9 -0
- package/api/types/InitPayload.js +3 -0
- 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/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
- package/api/types/LiteralJsonSchemaProperty.d.ts +7 -5
- package/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
- 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/McpToolConfigOverrideInputInputOverridesValue.d.ts +4 -1
- package/api/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/api/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +4 -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/OmitSchemaOverride.d.ts +1 -0
- package/api/types/OmitSchemaOverride.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/PingPayload.d.ts +7 -0
- package/api/types/PingPayload.js +3 -0
- package/api/types/PongPayload.d.ts +7 -0
- package/api/types/PongPayload.js +3 -0
- package/{dist/api/types/ProcedureAtVersion.d.ts → api/types/ProcedureAtVersionInput.d.ts} +2 -1
- package/api/types/ProcedureAtVersionInput.js +3 -0
- package/api/types/ProcedureAtVersionOutput.d.ts +15 -0
- package/api/types/ProcedureAtVersionOutput.js +3 -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/{dist/api/types/SafetyCommonModel.d.ts → api/types/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/SoftTimeoutConfig.d.ts +5 -1
- package/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
- package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +5 -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/StartProcedureToolConfigInput.d.ts +4 -0
- package/api/types/StartProcedureToolConfigInput.js +3 -0
- package/api/types/StartProcedureToolConfigOutput.d.ts +4 -0
- package/api/types/StartProcedureToolConfigOutput.js +3 -0
- package/api/types/StartProcedureToolErrorStatus.d.ts +6 -0
- package/{dist/api/types/LoadProcedureToolErrorStatus.js → api/types/StartProcedureToolErrorStatus.js} +3 -2
- package/api/types/SubmitBusinessInfoParams.d.ts +6 -0
- package/api/types/SubmitBusinessInfoParams.js +3 -0
- package/api/types/SystemToolConfigInputParams.d.ts +7 -4
- package/api/types/SystemToolConfigOutputParams.d.ts +7 -4
- package/api/types/TextToDialogueWebsocketClientMessage.d.ts +2 -2
- package/api/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +4 -0
- package/api/types/TextToDialogueWebsocketFinalAudioForTurn.js +3 -0
- 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/TranscriptMessage.d.ts +10 -0
- package/api/types/TranscriptMessage.js +3 -0
- package/api/types/TranscriptMessageRole.d.ts +6 -0
- package/api/types/TranscriptMessageRole.js +9 -0
- 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/TurnConfig.d.ts +1 -0
- package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/api/types/TurnDetectionType.d.ts +5 -0
- package/api/types/TurnDetectionType.js +8 -0
- package/api/types/UpdateBookingPageAppearanceParams.d.ts +3 -0
- package/api/types/UpdateBookingPageAppearanceParams.js +3 -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/UrlSecretAuthResponse.d.ts +7 -0
- package/api/types/UrlSecretAuthResponse.js +3 -0
- package/api/types/UserTranscriptPayload.d.ts +20 -0
- package/api/types/UserTranscriptPayload.js +3 -0
- package/api/types/VoiceStatisticsResponseModel.d.ts +4 -2
- package/api/types/WebhookHmacSettings.d.ts +1 -1
- package/api/types/WebhookUsageType.d.ts +1 -0
- package/api/types/WebhookUsageType.js +1 -0
- 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 +70 -13
- package/api/types/index.js +70 -13
- 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/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +4 -1
- 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 +11 -6
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +40 -22
- 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 -59
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +0 -2
- 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/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- 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/speechEngineUpstream/index.d.ts +1 -0
- package/dist/api/resources/speechEngineUpstream/index.js +17 -0
- package/dist/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +5 -0
- package/dist/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +3 -0
- package/dist/api/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +5 -0
- package/dist/api/resources/speechEngineUpstream/types/SendUpstreamMessage.js +3 -0
- package/dist/api/resources/speechEngineUpstream/types/index.d.ts +2 -0
- package/dist/api/resources/speechEngineUpstream/types/index.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 +3 -0
- package/dist/api/resources/textToDialogue/client/Client.js +56 -29
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +3 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +3 -0
- 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/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +1 -1
- 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 +32 -30
- package/dist/api/resources/voices/client/Client.js +159 -210
- 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/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +4 -1
- 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/AgentResponsePayload.d.ts +25 -0
- package/dist/api/types/AgentResponsePayload.js +3 -0
- 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/AnalysisProperty.d.ts +6 -4
- package/dist/api/types/AnalysisPropertyConstantValue.d.ts +1 -1
- package/dist/api/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/dist/api/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +4 -1
- package/dist/api/types/ArrayJsonSchemaPropertyInput.d.ts +4 -2
- package/dist/api/types/ArrayJsonSchemaPropertyOutput.d.ts +4 -2
- package/dist/api/types/AsrProvider.d.ts +2 -0
- package/dist/api/types/AsrProvider.js +2 -0
- 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/dist/api/types/{BackgroundMusicPresetId.js → 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/BaseTurnConfig.d.ts +1 -0
- package/dist/api/types/ChapterContentBlockResponseModelNodesItem.d.ts +1 -0
- package/dist/api/types/ChapterContentBlockTtsNodeResponseModel.d.ts +2 -1
- package/dist/api/types/ClosePayload.d.ts +7 -0
- package/dist/api/types/ClosePayload.js +3 -0
- 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/DirectPublishingReadResponseModel.d.ts +1 -0
- package/dist/api/types/DynamicVariablesConfigInput.d.ts +1 -1
- package/dist/api/types/DynamicVariablesConfigOutput.d.ts +1 -1
- package/dist/api/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
- package/dist/api/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
- package/dist/api/types/Eagerness.d.ts +6 -0
- package/dist/api/types/Eagerness.js +9 -0
- package/dist/api/types/EndProcedureToolConfigInput.d.ts +4 -0
- package/dist/api/types/EndProcedureToolConfigInput.js +3 -0
- package/dist/api/types/EndProcedureToolConfigOutput.d.ts +4 -0
- package/dist/api/types/EndProcedureToolConfigOutput.js +3 -0
- package/dist/api/types/EndProcedureToolErrorStatus.d.ts +5 -0
- package/dist/api/types/EndProcedureToolErrorStatus.js +8 -0
- package/dist/api/types/EntryBehavior.d.ts +6 -0
- package/dist/api/types/EntryBehavior.js +9 -0
- package/dist/api/types/ErrorPayload.d.ts +9 -0
- package/dist/api/types/ErrorPayload.js +3 -0
- package/dist/api/types/ExternalFileSyncInfo.d.ts +20 -0
- package/dist/api/types/ExternalFileSyncInfo.js +3 -0
- package/dist/api/types/ExternalFolderSyncInfo.d.ts +18 -0
- package/dist/api/types/ExternalFolderSyncInfo.js +3 -0
- package/dist/api/types/ExternalSyncType.d.ts +1 -0
- package/dist/api/types/ExternalSyncType.js +3 -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/GetConversationResponseModel.d.ts +1 -0
- package/dist/api/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseListResponseModelDocumentsItem.d.ts +2 -2
- package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
- 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/InitPayload.d.ts +9 -0
- package/dist/api/types/InitPayload.js +3 -0
- 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/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
- package/dist/api/types/LiteralJsonSchemaProperty.d.ts +7 -5
- package/dist/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
- 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/McpToolConfigOverrideInputInputOverridesValue.d.ts +4 -1
- package/dist/api/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/dist/api/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +4 -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/OmitSchemaOverride.d.ts +1 -0
- package/dist/api/types/OmitSchemaOverride.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/PingPayload.d.ts +7 -0
- package/dist/api/types/PingPayload.js +3 -0
- package/dist/api/types/PongPayload.d.ts +7 -0
- package/dist/api/types/PongPayload.js +3 -0
- package/{api/types/ProcedureAtVersion.d.ts → dist/api/types/ProcedureAtVersionInput.d.ts} +2 -1
- package/dist/api/types/ProcedureAtVersionInput.js +3 -0
- package/dist/api/types/ProcedureAtVersionOutput.d.ts +15 -0
- package/dist/api/types/ProcedureAtVersionOutput.js +3 -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/{api/types/SafetyCommonModel.d.ts → dist/api/types/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/SoftTimeoutConfig.d.ts +5 -1
- package/dist/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
- package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +5 -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/StartProcedureToolConfigInput.d.ts +4 -0
- package/dist/api/types/StartProcedureToolConfigInput.js +3 -0
- package/dist/api/types/StartProcedureToolConfigOutput.d.ts +4 -0
- package/dist/api/types/StartProcedureToolConfigOutput.js +3 -0
- package/dist/api/types/StartProcedureToolErrorStatus.d.ts +6 -0
- package/{api/types/LoadProcedureToolErrorStatus.js → dist/api/types/StartProcedureToolErrorStatus.js} +3 -2
- package/dist/api/types/SubmitBusinessInfoParams.d.ts +6 -0
- package/dist/api/types/SubmitBusinessInfoParams.js +3 -0
- package/dist/api/types/SystemToolConfigInputParams.d.ts +7 -4
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +7 -4
- package/dist/api/types/TextToDialogueWebsocketClientMessage.d.ts +2 -2
- package/dist/api/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +4 -0
- package/dist/api/types/TextToDialogueWebsocketFinalAudioForTurn.js +3 -0
- 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/TranscriptMessage.d.ts +10 -0
- package/dist/api/types/TranscriptMessage.js +3 -0
- package/dist/api/types/TranscriptMessageRole.d.ts +6 -0
- package/dist/api/types/TranscriptMessageRole.js +9 -0
- 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/TurnConfig.d.ts +1 -0
- package/dist/api/types/TurnConfigWorkflowOverride.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/UpdateBookingPageAppearanceParams.d.ts +3 -0
- package/dist/api/types/UpdateBookingPageAppearanceParams.js +3 -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/UrlSecretAuthResponse.d.ts +7 -0
- package/dist/api/types/UrlSecretAuthResponse.js +3 -0
- package/dist/api/types/UserTranscriptPayload.d.ts +20 -0
- package/dist/api/types/UserTranscriptPayload.js +3 -0
- package/dist/api/types/VoiceStatisticsResponseModel.d.ts +4 -2
- package/dist/api/types/WebhookHmacSettings.d.ts +1 -1
- package/dist/api/types/WebhookUsageType.d.ts +1 -0
- package/dist/api/types/WebhookUsageType.js +1 -0
- 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 +70 -13
- package/dist/api/types/index.js +70 -13
- 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/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +5 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +5 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +2 -0
- 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/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -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/speechEngineUpstream/index.d.ts +1 -0
- package/dist/serialization/resources/speechEngineUpstream/index.js +17 -0
- package/dist/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +12 -0
- package/dist/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +50 -0
- package/dist/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +9 -0
- package/dist/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.js +41 -0
- package/dist/serialization/resources/speechEngineUpstream/types/index.d.ts +2 -0
- package/dist/serialization/resources/speechEngineUpstream/types/index.js +18 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- 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/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +2 -1
- package/dist/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.js +2 -0
- 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/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +5 -1
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +2 -0
- 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/AgentResponsePayload.d.ts +12 -0
- package/dist/serialization/types/AgentResponsePayload.js +44 -0
- 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/AnalysisProperty.d.ts +1 -0
- package/dist/serialization/types/AnalysisProperty.js +1 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/dist/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
- package/dist/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +5 -1
- package/dist/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.js +2 -0
- 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/dist/serialization/types/{LoadProcedureToolErrorStatus.js → 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/BaseTurnConfig.d.ts +2 -0
- package/dist/serialization/types/BaseTurnConfig.js +2 -0
- package/dist/serialization/types/ChapterContentBlockTtsNodeResponseModel.d.ts +2 -1
- package/dist/serialization/types/ChapterContentBlockTtsNodeResponseModel.js +2 -1
- package/dist/serialization/types/ClosePayload.d.ts +9 -0
- package/{serialization/types/LoadProcedureToolErrorStatus.js → dist/serialization/types/ClosePayload.js} +4 -2
- 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/DirectPublishingReadResponseModel.d.ts +1 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -0
- package/dist/serialization/types/DynamicVariablesConfigInput.d.ts +1 -1
- package/dist/serialization/types/DynamicVariablesConfigInput.js +1 -1
- package/dist/serialization/types/DynamicVariablesConfigOutput.d.ts +1 -1
- package/dist/serialization/types/DynamicVariablesConfigOutput.js +1 -1
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.js +1 -1
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.js +1 -1
- package/dist/serialization/types/Eagerness.d.ts +7 -0
- package/dist/serialization/types/Eagerness.js +39 -0
- package/dist/serialization/types/EndProcedureToolConfigInput.d.ts +10 -0
- package/{serialization/types/LoadProcedureToolConfigInput.js → dist/serialization/types/EndProcedureToolConfigInput.js} +4 -4
- 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/ErrorPayload.d.ts +10 -0
- package/dist/serialization/types/ErrorPayload.js +42 -0
- package/dist/serialization/types/ExternalFileSyncInfo.d.ts +16 -0
- package/dist/serialization/types/ExternalFileSyncInfo.js +48 -0
- package/dist/serialization/types/ExternalFolderSyncInfo.d.ts +15 -0
- package/dist/serialization/types/ExternalFolderSyncInfo.js +47 -0
- package/dist/serialization/types/ExternalSyncType.d.ts +7 -0
- package/dist/serialization/types/ExternalSyncType.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/GetConversationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetConversationResponseModel.js +1 -0
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.js +3 -0
- package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.js +3 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +3 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +3 -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/InitPayload.d.ts +10 -0
- package/dist/serialization/types/InitPayload.js +42 -0
- package/dist/serialization/types/InteractionBudget.d.ts +1 -1
- package/dist/serialization/types/InteractionBudget.js +1 -1
- package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
- package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- 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/McpToolConfigOverrideInputInputOverridesValue.d.ts +5 -1
- package/dist/serialization/types/McpToolConfigOverrideInputInputOverridesValue.js +2 -0
- package/dist/serialization/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/dist/serialization/types/McpToolConfigOverrideOutput.js +1 -1
- package/dist/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +5 -1
- package/dist/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.js +2 -0
- 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/OmitSchemaOverride.d.ts +7 -0
- package/dist/serialization/types/OmitSchemaOverride.js +39 -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/OpenAiSessionConfigToolsItem.js +49 -0
- 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/PingPayload.d.ts +9 -0
- package/dist/serialization/types/PingPayload.js +41 -0
- package/dist/serialization/types/PongPayload.d.ts +9 -0
- package/dist/serialization/types/PongPayload.js +41 -0
- package/dist/serialization/types/{ProcedureAtVersion.d.ts → ProcedureAtVersionInput.d.ts} +4 -2
- package/dist/serialization/types/{ProcedureAtVersion.js → ProcedureAtVersionInput.js} +4 -2
- package/dist/serialization/types/ProcedureAtVersionOutput.d.ts +17 -0
- package/dist/serialization/types/ProcedureAtVersionOutput.js +49 -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/{serialization/types/SafetyCommonModel.d.ts → dist/serialization/types/SafetyCommonModelInput.d.ts} +2 -2
- package/{serialization/types/SafetyCommonModel.js → dist/serialization/types/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/SoftTimeoutConfig.d.ts +2 -0
- package/dist/serialization/types/SoftTimeoutConfig.js +2 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +2 -0
- 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/StartProcedureToolConfigInput.d.ts +10 -0
- package/dist/serialization/types/{LoadProcedureToolConfigOutput.js → StartProcedureToolConfigInput.js} +4 -4
- package/dist/serialization/types/StartProcedureToolConfigOutput.d.ts +10 -0
- package/dist/serialization/types/StartProcedureToolConfigOutput.js +42 -0
- package/dist/serialization/types/StartProcedureToolErrorStatus.d.ts +7 -0
- package/dist/serialization/types/{Monitor.js → StartProcedureToolErrorStatus.js} +2 -2
- package/dist/serialization/types/SubmitBusinessInfoParams.d.ts +9 -0
- package/dist/serialization/types/SubmitBusinessInfoParams.js +41 -0
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +9 -5
- package/dist/serialization/types/SystemToolConfigInputParams.js +4 -2
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +9 -5
- package/dist/serialization/types/SystemToolConfigOutputParams.js +4 -2
- package/dist/serialization/types/TextToDialogueWebsocketClientMessage.d.ts +2 -1
- package/dist/serialization/types/TextToDialogueWebsocketClientMessage.js +2 -1
- package/dist/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +9 -0
- package/dist/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.js +41 -0
- 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/TranscriptMessage.d.ts +11 -0
- package/dist/serialization/types/TranscriptMessage.js +43 -0
- package/dist/serialization/types/TranscriptMessageRole.d.ts +7 -0
- package/dist/serialization/types/TranscriptMessageRole.js +39 -0
- 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/TurnConfig.d.ts +2 -0
- package/dist/serialization/types/TurnConfig.js +2 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.js +2 -0
- package/dist/serialization/types/TurnDetectionType.d.ts +7 -0
- package/dist/serialization/types/TurnDetectionType.js +39 -0
- package/dist/serialization/types/UpdateBookingPageAppearanceParams.d.ts +9 -0
- package/dist/serialization/types/UpdateBookingPageAppearanceParams.js +41 -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/UrlSecretAuthResponse.d.ts +13 -0
- package/dist/serialization/types/{AgentAlertingWebhookNotifier.js → UrlSecretAuthResponse.js} +7 -5
- package/dist/serialization/types/UserTranscriptPayload.d.ts +12 -0
- package/dist/serialization/types/UserTranscriptPayload.js +44 -0
- 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/WebhookUsageType.d.ts +1 -1
- package/dist/serialization/types/WebhookUsageType.js +1 -0
- 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 +70 -13
- package/dist/serialization/types/index.js +70 -13
- 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 +177 -84
- 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/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +5 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +2 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +5 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +2 -0
- 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/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -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/speechEngineUpstream/index.d.ts +1 -0
- package/serialization/resources/speechEngineUpstream/index.js +17 -0
- package/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +12 -0
- package/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +50 -0
- package/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +9 -0
- package/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.js +41 -0
- package/serialization/resources/speechEngineUpstream/types/index.d.ts +2 -0
- package/serialization/resources/speechEngineUpstream/types/index.js +18 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
- package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +1 -1
- package/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +2 -1
- package/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.js +2 -0
- 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/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +5 -1
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +2 -0
- 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/AgentResponsePayload.d.ts +12 -0
- package/serialization/types/AgentResponsePayload.js +44 -0
- 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/AnalysisProperty.d.ts +1 -0
- package/serialization/types/AnalysisProperty.js +1 -0
- package/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
- package/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
- package/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +5 -1
- package/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.js +2 -0
- 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/BaseTurnConfig.d.ts +2 -0
- package/serialization/types/BaseTurnConfig.js +2 -0
- package/serialization/types/ChapterContentBlockTtsNodeResponseModel.d.ts +2 -1
- package/serialization/types/ChapterContentBlockTtsNodeResponseModel.js +2 -1
- package/serialization/types/ClosePayload.d.ts +9 -0
- package/serialization/types/ClosePayload.js +41 -0
- 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/DirectPublishingReadResponseModel.d.ts +1 -0
- package/serialization/types/DirectPublishingReadResponseModel.js +1 -0
- package/serialization/types/DynamicVariablesConfigInput.d.ts +1 -1
- package/serialization/types/DynamicVariablesConfigInput.js +1 -1
- package/serialization/types/DynamicVariablesConfigOutput.d.ts +1 -1
- package/serialization/types/DynamicVariablesConfigOutput.js +1 -1
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.js +1 -1
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.js +1 -1
- package/serialization/types/Eagerness.d.ts +7 -0
- package/serialization/types/Eagerness.js +39 -0
- package/serialization/types/EndProcedureToolConfigInput.d.ts +10 -0
- package/{dist/serialization/types/LoadProcedureToolConfigInput.js → serialization/types/EndProcedureToolConfigInput.js} +4 -4
- 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/ErrorPayload.d.ts +10 -0
- package/serialization/types/ErrorPayload.js +42 -0
- package/serialization/types/ExternalFileSyncInfo.d.ts +16 -0
- package/serialization/types/ExternalFileSyncInfo.js +48 -0
- package/serialization/types/ExternalFolderSyncInfo.d.ts +15 -0
- package/serialization/types/ExternalFolderSyncInfo.js +47 -0
- package/serialization/types/ExternalSyncType.d.ts +7 -0
- package/serialization/types/ExternalSyncType.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/GetConversationResponseModel.d.ts +1 -0
- package/serialization/types/GetConversationResponseModel.js +1 -0
- package/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +3 -0
- package/serialization/types/GetKnowledgeBaseFileResponseModel.js +3 -0
- package/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +3 -0
- package/serialization/types/GetKnowledgeBaseFolderResponseModel.js +3 -0
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +3 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +3 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +3 -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/InitPayload.d.ts +10 -0
- package/serialization/types/InitPayload.js +42 -0
- package/serialization/types/InteractionBudget.d.ts +1 -1
- package/serialization/types/InteractionBudget.js +1 -1
- package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
- package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
- package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- 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/McpToolConfigOverrideInputInputOverridesValue.d.ts +5 -1
- package/serialization/types/McpToolConfigOverrideInputInputOverridesValue.js +2 -0
- package/serialization/types/McpToolConfigOverrideOutput.d.ts +1 -1
- package/serialization/types/McpToolConfigOverrideOutput.js +1 -1
- package/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +5 -1
- package/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.js +2 -0
- 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/OmitSchemaOverride.d.ts +7 -0
- package/serialization/types/OmitSchemaOverride.js +39 -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/PingPayload.d.ts +9 -0
- package/serialization/types/PingPayload.js +41 -0
- package/serialization/types/PongPayload.d.ts +9 -0
- package/serialization/types/PongPayload.js +41 -0
- package/serialization/types/{ProcedureAtVersion.d.ts → ProcedureAtVersionInput.d.ts} +4 -2
- package/serialization/types/{ProcedureAtVersion.js → ProcedureAtVersionInput.js} +4 -2
- package/serialization/types/ProcedureAtVersionOutput.d.ts +17 -0
- package/serialization/types/ProcedureAtVersionOutput.js +49 -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/{dist/serialization/types/SafetyCommonModel.d.ts → serialization/types/SafetyCommonModelInput.d.ts} +2 -2
- package/{dist/serialization/types/SafetyCommonModel.js → serialization/types/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/SoftTimeoutConfig.d.ts +2 -0
- package/serialization/types/SoftTimeoutConfig.js +2 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +2 -0
- 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/StartProcedureToolConfigInput.d.ts +10 -0
- package/serialization/types/{LoadProcedureToolConfigOutput.js → StartProcedureToolConfigInput.js} +4 -4
- package/serialization/types/StartProcedureToolConfigOutput.d.ts +10 -0
- package/serialization/types/StartProcedureToolConfigOutput.js +42 -0
- package/serialization/types/StartProcedureToolErrorStatus.d.ts +7 -0
- package/serialization/types/StartProcedureToolErrorStatus.js +39 -0
- package/serialization/types/SubmitBusinessInfoParams.d.ts +9 -0
- package/serialization/types/SubmitBusinessInfoParams.js +41 -0
- package/serialization/types/SystemToolConfigInputParams.d.ts +9 -5
- package/serialization/types/SystemToolConfigInputParams.js +4 -2
- package/serialization/types/SystemToolConfigOutputParams.d.ts +9 -5
- package/serialization/types/SystemToolConfigOutputParams.js +4 -2
- package/serialization/types/TextToDialogueWebsocketClientMessage.d.ts +2 -1
- package/serialization/types/TextToDialogueWebsocketClientMessage.js +2 -1
- package/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +9 -0
- package/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.js +41 -0
- 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/TranscriptMessage.d.ts +11 -0
- package/serialization/types/TranscriptMessage.js +43 -0
- package/serialization/types/TranscriptMessageRole.d.ts +7 -0
- package/serialization/types/TranscriptMessageRole.js +39 -0
- 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/TurnConfig.d.ts +2 -0
- package/serialization/types/TurnConfig.js +2 -0
- package/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/serialization/types/TurnConfigWorkflowOverride.js +2 -0
- package/serialization/types/TurnDetectionType.d.ts +7 -0
- package/serialization/types/TurnDetectionType.js +39 -0
- package/serialization/types/UpdateBookingPageAppearanceParams.d.ts +9 -0
- package/serialization/types/UpdateBookingPageAppearanceParams.js +41 -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/UrlSecretAuthResponse.d.ts +13 -0
- package/serialization/types/UrlSecretAuthResponse.js +45 -0
- package/serialization/types/UserTranscriptPayload.d.ts +12 -0
- package/serialization/types/UserTranscriptPayload.js +44 -0
- 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/WebhookUsageType.d.ts +1 -1
- package/serialization/types/WebhookUsageType.js +1 -0
- 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 +70 -13
- package/serialization/types/index.js +70 -13
- 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/LoadProcedureToolConfigInput.d.ts +0 -4
- package/api/types/LoadProcedureToolConfigOutput.d.ts +0 -4
- package/api/types/LoadProcedureToolErrorStatus.d.ts +0 -5
- 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/LoadProcedureToolConfigInput.d.ts +0 -4
- package/dist/api/types/LoadProcedureToolConfigOutput.d.ts +0 -4
- package/dist/api/types/LoadProcedureToolErrorStatus.d.ts +0 -5
- 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/LoadProcedureToolConfigInput.d.ts +0 -10
- package/dist/serialization/types/LoadProcedureToolConfigOutput.d.ts +0 -10
- package/dist/serialization/types/LoadProcedureToolErrorStatus.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/LoadProcedureToolConfigInput.d.ts +0 -10
- package/serialization/types/LoadProcedureToolConfigOutput.d.ts +0 -10
- package/serialization/types/LoadProcedureToolErrorStatus.d.ts +0 -7
- package/serialization/types/Monitor.d.ts +0 -7
- package/serialization/types/Monitor.js +0 -39
- /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/LoadProcedureToolConfigInput.js → resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.js} +0 -0
- /package/api/{types/LoadProcedureToolConfigOutput.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchCharacterLimit.js} +0 -0
- /package/api/{types/ProcedureAtVersion.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchIsEnabled.js} +0 -0
- /package/api/{types/SafetyCommonModel.js → resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js} +0 -0
- /package/{dist/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.js → api/resources/speechEngineUpstream/types/SendUpstreamMessage.js} +0 -0
- /package/{dist/api/types/AgentAlertingMonitorConfig.js → api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysDisableRequest.js} +0 -0
- /package/{dist/api/types/AgentAlertingSettings.js → api/types/AgentResponsePayload.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/LoadProcedureToolConfigInput.js → api/types/BackgroundSoundConfig.js} +0 -0
- /package/{dist/api/types/LoadProcedureToolConfigOutput.js → api/types/BackgroundSoundConfigWorkflowOverride.js} +0 -0
- /package/{dist/api/types/ProcedureAtVersion.js → api/types/BackgroundSoundSourceType.js} +0 -0
- /package/{dist/api/types/SafetyCommonModel.js → api/types/ClosePayload.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type Schema } from "../../Schema
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
2
|
export declare const never: () => Schema<never, never>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.never = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
exports.never = (0,
|
|
4
|
+
const Schema_1 = require("../../Schema");
|
|
5
|
+
const createIdentitySchemaCreator_1 = require("../../utils/createIdentitySchemaCreator");
|
|
6
|
+
exports.never = (0, createIdentitySchemaCreator_1.createIdentitySchemaCreator)(Schema_1.SchemaType.NEVER, (_value, { breadcrumbsPrefix = [] } = {}) => ({
|
|
7
7
|
ok: false,
|
|
8
8
|
errors: [
|
|
9
9
|
{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { record } from "./record";
|
|
2
|
-
export type { BaseRecordSchema, RecordSchema } from "./types";
|
|
1
|
+
export { partialRecord, record } from "./record";
|
|
2
|
+
export type { BasePartialRecordSchema, BaseRecordSchema, PartialRecordSchema, RecordSchema } from "./types";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.record = void 0;
|
|
3
|
+
exports.record = exports.partialRecord = void 0;
|
|
4
4
|
var record_1 = require("./record");
|
|
5
|
+
Object.defineProperty(exports, "partialRecord", { enumerable: true, get: function () { return record_1.partialRecord; } });
|
|
5
6
|
Object.defineProperty(exports, "record", { enumerable: true, get: function () { return record_1.record; } });
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { type Schema } from "../../Schema";
|
|
2
|
-
import type { RecordSchema } from "./types";
|
|
2
|
+
import type { PartialRecordSchema, RecordSchema } from "./types";
|
|
3
3
|
export declare function record<RawKey extends string | number, RawValue, ParsedValue, ParsedKey extends string | number>(keySchema: Schema<RawKey, ParsedKey>, valueSchema: Schema<RawValue, ParsedValue>): RecordSchema<RawKey, RawValue, ParsedKey, ParsedValue>;
|
|
4
|
+
export declare function partialRecord<RawKey extends string | number, RawValue, ParsedValue, ParsedKey extends string | number>(keySchema: Schema<RawKey, ParsedKey>, valueSchema: Schema<RawValue, ParsedValue>): PartialRecordSchema<RawKey, RawValue, ParsedKey, ParsedValue>;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.record = record;
|
|
4
|
+
exports.partialRecord = partialRecord;
|
|
4
5
|
const Schema_1 = require("../../Schema");
|
|
5
|
-
const entries_1 = require("../../utils/entries");
|
|
6
6
|
const getErrorMessageForIncorrectType_1 = require("../../utils/getErrorMessageForIncorrectType");
|
|
7
7
|
const isPlainObject_1 = require("../../utils/isPlainObject");
|
|
8
8
|
const maybeSkipValidation_1 = require("../../utils/maybeSkipValidation");
|
|
9
9
|
const index_1 = require("../schema-utils/index");
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
11
|
+
const _hasOwn = Object.prototype.hasOwnProperty;
|
|
10
12
|
function record(keySchema, valueSchema) {
|
|
11
13
|
const baseSchema = {
|
|
12
14
|
parse: (raw, opts) => {
|
|
@@ -43,6 +45,42 @@ function record(keySchema, valueSchema) {
|
|
|
43
45
|
};
|
|
44
46
|
return Object.assign(Object.assign({}, (0, maybeSkipValidation_1.maybeSkipValidation)(baseSchema)), (0, index_1.getSchemaUtils)(baseSchema));
|
|
45
47
|
}
|
|
48
|
+
function partialRecord(keySchema, valueSchema) {
|
|
49
|
+
const baseSchema = {
|
|
50
|
+
parse: (raw, opts) => {
|
|
51
|
+
return validateAndTransformRecord({
|
|
52
|
+
value: raw,
|
|
53
|
+
isKeyNumeric: keySchema.getType() === Schema_1.SchemaType.NUMBER,
|
|
54
|
+
transformKey: (key) => {
|
|
55
|
+
var _a;
|
|
56
|
+
return keySchema.parse(key, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), `${key} (key)`] }));
|
|
57
|
+
},
|
|
58
|
+
transformValue: (value, key) => {
|
|
59
|
+
var _a;
|
|
60
|
+
return valueSchema.parse(value, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), `${key}`] }));
|
|
61
|
+
},
|
|
62
|
+
breadcrumbsPrefix: opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix,
|
|
63
|
+
});
|
|
64
|
+
},
|
|
65
|
+
json: (parsed, opts) => {
|
|
66
|
+
return validateAndTransformRecord({
|
|
67
|
+
value: parsed,
|
|
68
|
+
isKeyNumeric: keySchema.getType() === Schema_1.SchemaType.NUMBER,
|
|
69
|
+
transformKey: (key) => {
|
|
70
|
+
var _a;
|
|
71
|
+
return keySchema.json(key, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), `${key} (key)`] }));
|
|
72
|
+
},
|
|
73
|
+
transformValue: (value, key) => {
|
|
74
|
+
var _a;
|
|
75
|
+
return valueSchema.json(value, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), `${key}`] }));
|
|
76
|
+
},
|
|
77
|
+
breadcrumbsPrefix: opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix,
|
|
78
|
+
});
|
|
79
|
+
},
|
|
80
|
+
getType: () => Schema_1.SchemaType.RECORD,
|
|
81
|
+
};
|
|
82
|
+
return Object.assign(Object.assign({}, (0, maybeSkipValidation_1.maybeSkipValidation)(baseSchema)), (0, index_1.getSchemaUtils)(baseSchema));
|
|
83
|
+
}
|
|
46
84
|
function validateAndTransformRecord({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [], }) {
|
|
47
85
|
if (!(0, isPlainObject_1.isPlainObject)(value)) {
|
|
48
86
|
return {
|
|
@@ -55,11 +93,16 @@ function validateAndTransformRecord({ value, isKeyNumeric, transformKey, transfo
|
|
|
55
93
|
],
|
|
56
94
|
};
|
|
57
95
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
96
|
+
const result = {};
|
|
97
|
+
const errors = [];
|
|
98
|
+
for (const stringKey in value) {
|
|
99
|
+
if (!_hasOwn.call(value, stringKey)) {
|
|
100
|
+
continue;
|
|
101
|
+
}
|
|
102
|
+
const entryValue = value[stringKey];
|
|
103
|
+
if (entryValue === undefined) {
|
|
104
|
+
continue;
|
|
61
105
|
}
|
|
62
|
-
const acc = accPromise;
|
|
63
106
|
let key = stringKey;
|
|
64
107
|
if (isKeyNumeric) {
|
|
65
108
|
const numberKey = stringKey.length > 0 ? Number(stringKey) : NaN;
|
|
@@ -68,26 +111,21 @@ function validateAndTransformRecord({ value, isKeyNumeric, transformKey, transfo
|
|
|
68
111
|
}
|
|
69
112
|
}
|
|
70
113
|
const transformedKey = transformKey(key);
|
|
71
|
-
const transformedValue = transformValue(
|
|
72
|
-
if (
|
|
73
|
-
|
|
74
|
-
ok: true,
|
|
75
|
-
value: Object.assign(Object.assign({}, acc.value), { [transformedKey.value]: transformedValue.value }),
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
const errors = [];
|
|
79
|
-
if (!acc.ok) {
|
|
80
|
-
errors.push(...acc.errors);
|
|
114
|
+
const transformedValue = transformValue(entryValue, key);
|
|
115
|
+
if (transformedKey.ok && transformedValue.ok) {
|
|
116
|
+
result[transformedKey.value] = transformedValue.value;
|
|
81
117
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
118
|
+
else {
|
|
119
|
+
if (!transformedKey.ok) {
|
|
120
|
+
errors.push(...transformedKey.errors);
|
|
121
|
+
}
|
|
122
|
+
if (!transformedValue.ok) {
|
|
123
|
+
errors.push(...transformedValue.errors);
|
|
124
|
+
}
|
|
87
125
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
126
|
+
}
|
|
127
|
+
if (errors.length === 0) {
|
|
128
|
+
return { ok: true, value: result };
|
|
129
|
+
}
|
|
130
|
+
return { ok: false, errors };
|
|
93
131
|
}
|
|
@@ -2,3 +2,5 @@ import type { BaseSchema } from "../../Schema";
|
|
|
2
2
|
import type { SchemaUtils } from "../schema-utils/index";
|
|
3
3
|
export type RecordSchema<RawKey extends string | number, RawValue, ParsedKey extends string | number, ParsedValue> = BaseRecordSchema<RawKey, RawValue, ParsedKey, ParsedValue> & SchemaUtils<Record<RawKey, RawValue>, Record<ParsedKey, ParsedValue>>;
|
|
4
4
|
export type BaseRecordSchema<RawKey extends string | number, RawValue, ParsedKey extends string | number, ParsedValue> = BaseSchema<Record<RawKey, RawValue>, Record<ParsedKey, ParsedValue>>;
|
|
5
|
+
export type PartialRecordSchema<RawKey extends string | number, RawValue, ParsedKey extends string | number, ParsedValue> = BasePartialRecordSchema<RawKey, RawValue, ParsedKey, ParsedValue> & SchemaUtils<Record<RawKey, RawValue>, Partial<Record<ParsedKey, ParsedValue>>>;
|
|
6
|
+
export type BasePartialRecordSchema<RawKey extends string | number, RawValue, ParsedKey extends string | number, ParsedValue> = BaseSchema<Record<RawKey, RawValue>, Partial<Record<ParsedKey, ParsedValue>>>;
|
|
@@ -6,7 +6,8 @@ class JsonError extends Error {
|
|
|
6
6
|
constructor(errors) {
|
|
7
7
|
super(errors.map(stringifyValidationErrors_1.stringifyValidationError).join("; "));
|
|
8
8
|
this.errors = errors;
|
|
9
|
-
Object.setPrototypeOf(this,
|
|
9
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
10
|
+
this.name = this.constructor.name;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
13
|
exports.JsonError = JsonError;
|
|
@@ -6,7 +6,8 @@ class ParseError extends Error {
|
|
|
6
6
|
constructor(errors) {
|
|
7
7
|
super(errors.map(stringifyValidationErrors_1.stringifyValidationError).join("; "));
|
|
8
8
|
this.errors = errors;
|
|
9
|
-
Object.setPrototypeOf(this,
|
|
9
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
10
|
+
this.name = this.constructor.name;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
13
|
exports.ParseError = ParseError;
|
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
-
t[p] = s[p];
|
|
6
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
-
t[p[i]] = s[p[i]];
|
|
10
|
-
}
|
|
11
|
-
return t;
|
|
12
|
-
};
|
|
13
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
3
|
exports.union = union;
|
|
15
4
|
const Schema_1 = require("../../Schema");
|
|
@@ -20,6 +9,8 @@ const maybeSkipValidation_1 = require("../../utils/maybeSkipValidation");
|
|
|
20
9
|
const index_1 = require("../enum/index");
|
|
21
10
|
const object_like_1 = require("../object-like");
|
|
22
11
|
const index_2 = require("../schema-utils/index");
|
|
12
|
+
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
13
|
+
const _hasOwn = Object.prototype.hasOwnProperty;
|
|
23
14
|
function union(discriminant, union) {
|
|
24
15
|
const rawDiscriminant = typeof discriminant === "string" ? discriminant : discriminant.rawDiscriminant;
|
|
25
16
|
const parsedDiscriminant = typeof discriminant === "string"
|
|
@@ -79,7 +70,13 @@ function transformAndValidateUnion({ value, discriminant, transformedDiscriminan
|
|
|
79
70
|
],
|
|
80
71
|
};
|
|
81
72
|
}
|
|
82
|
-
const
|
|
73
|
+
const discriminantValue = value[discriminant];
|
|
74
|
+
const additionalProperties = {};
|
|
75
|
+
for (const key in value) {
|
|
76
|
+
if (_hasOwn.call(value, key) && key !== discriminant) {
|
|
77
|
+
additionalProperties[key] = value[key];
|
|
78
|
+
}
|
|
79
|
+
}
|
|
83
80
|
if (discriminantValue == null) {
|
|
84
81
|
return {
|
|
85
82
|
ok: false,
|
|
@@ -6,12 +6,10 @@ function isPlainObject(value) {
|
|
|
6
6
|
if (typeof value !== "object" || value === null) {
|
|
7
7
|
return false;
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
const proto = Object.getPrototypeOf(value);
|
|
10
|
+
if (proto === null) {
|
|
10
11
|
return true;
|
|
11
12
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
proto = Object.getPrototypeOf(proto);
|
|
15
|
-
}
|
|
16
|
-
return Object.getPrototypeOf(value) === proto;
|
|
13
|
+
// Check that the prototype chain has exactly one level (i.e., proto is Object.prototype)
|
|
14
|
+
return Object.getPrototypeOf(proto) === null;
|
|
17
15
|
}
|
package/core/stream/Stream.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export declare namespace Stream {
|
|
|
20
20
|
interface SseEvent {
|
|
21
21
|
type: "sse";
|
|
22
22
|
streamTerminator?: string;
|
|
23
|
+
eventDiscriminator?: string;
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
26
|
export declare class Stream<T> implements AsyncIterable<T> {
|
|
@@ -32,12 +33,20 @@ export declare class Stream<T> implements AsyncIterable<T> {
|
|
|
32
33
|
private prefix;
|
|
33
34
|
private messageTerminator;
|
|
34
35
|
private streamTerminator;
|
|
36
|
+
private eventDiscriminator;
|
|
35
37
|
private controller;
|
|
36
38
|
private decoder;
|
|
37
39
|
constructor({ stream, parse, eventShape, signal }: Stream.Args & {
|
|
38
40
|
parse: (val: unknown) => Promise<T>;
|
|
39
41
|
});
|
|
40
42
|
private iterMessages;
|
|
43
|
+
private iterDataMessages;
|
|
44
|
+
private iterSseEvents;
|
|
45
|
+
/**
|
|
46
|
+
* Parses and returns a single SSE event, or returns null if the event is a stream terminator.
|
|
47
|
+
*/
|
|
48
|
+
private dispatchSseEvent;
|
|
49
|
+
private injectDiscriminator;
|
|
41
50
|
[Symbol.asyncIterator](): AsyncIterator<T, void, unknown>;
|
|
42
51
|
private decodeChunk;
|
|
43
52
|
}
|
package/core/stream/Stream.js
CHANGED
|
@@ -16,6 +16,11 @@ var __asyncValues = (this && this.__asyncValues) || function (o) {
|
|
|
16
16
|
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
17
17
|
};
|
|
18
18
|
var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }
|
|
19
|
+
var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {
|
|
20
|
+
var i, p;
|
|
21
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
22
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
|
23
|
+
};
|
|
19
24
|
var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
|
|
20
25
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
21
26
|
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
@@ -31,8 +36,10 @@ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _ar
|
|
|
31
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
37
|
exports.Stream = void 0;
|
|
33
38
|
exports.readableStreamAsyncIterable = readableStreamAsyncIterable;
|
|
39
|
+
const json_1 = require("../json");
|
|
34
40
|
const runtime_1 = require("../runtime");
|
|
35
41
|
const DATA_PREFIX = "data:";
|
|
42
|
+
const EVENT_PREFIX = "event:";
|
|
36
43
|
class Stream {
|
|
37
44
|
constructor({ stream, parse, eventShape, signal }) {
|
|
38
45
|
this.controller = new AbortController();
|
|
@@ -42,6 +49,7 @@ class Stream {
|
|
|
42
49
|
this.prefix = DATA_PREFIX;
|
|
43
50
|
this.messageTerminator = "\n";
|
|
44
51
|
this.streamTerminator = eventShape.streamTerminator;
|
|
52
|
+
this.eventDiscriminator = eventShape.eventDiscriminator;
|
|
45
53
|
}
|
|
46
54
|
else {
|
|
47
55
|
this.messageTerminator = eventShape.messageTerminator;
|
|
@@ -54,8 +62,17 @@ class Stream {
|
|
|
54
62
|
}
|
|
55
63
|
iterMessages() {
|
|
56
64
|
return __asyncGenerator(this, arguments, function* iterMessages_1() {
|
|
65
|
+
if (this.eventDiscriminator != null) {
|
|
66
|
+
yield __await(yield* __asyncDelegator(__asyncValues(this.iterSseEvents())));
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
yield __await(yield* __asyncDelegator(__asyncValues(this.iterDataMessages())));
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
iterDataMessages() {
|
|
74
|
+
return __asyncGenerator(this, arguments, function* iterDataMessages_1() {
|
|
57
75
|
var _a, e_1, _b, _c;
|
|
58
|
-
this.controller.signal;
|
|
59
76
|
const stream = readableStreamAsyncIterable(this.stream);
|
|
60
77
|
let buf = "";
|
|
61
78
|
let prefixSeen = false;
|
|
@@ -83,7 +100,7 @@ class Stream {
|
|
|
83
100
|
if (this.streamTerminator != null && line.includes(this.streamTerminator)) {
|
|
84
101
|
return yield __await(void 0);
|
|
85
102
|
}
|
|
86
|
-
const message = yield __await(this.parse(
|
|
103
|
+
const message = yield __await(this.parse((0, json_1.fromJson)(line)));
|
|
87
104
|
yield yield __await(message);
|
|
88
105
|
prefixSeen = false;
|
|
89
106
|
}
|
|
@@ -98,9 +115,87 @@ class Stream {
|
|
|
98
115
|
}
|
|
99
116
|
});
|
|
100
117
|
}
|
|
118
|
+
iterSseEvents() {
|
|
119
|
+
return __asyncGenerator(this, arguments, function* iterSseEvents_1() {
|
|
120
|
+
var _a, e_2, _b, _c;
|
|
121
|
+
const stream = readableStreamAsyncIterable(this.stream);
|
|
122
|
+
let buf = "";
|
|
123
|
+
let eventType;
|
|
124
|
+
let dataValue;
|
|
125
|
+
try {
|
|
126
|
+
for (var _d = true, stream_2 = __asyncValues(stream), stream_2_1; stream_2_1 = yield __await(stream_2.next()), _a = stream_2_1.done, !_a; _d = true) {
|
|
127
|
+
_c = stream_2_1.value;
|
|
128
|
+
_d = false;
|
|
129
|
+
const chunk = _c;
|
|
130
|
+
buf += this.decodeChunk(chunk);
|
|
131
|
+
let terminatorIndex;
|
|
132
|
+
while ((terminatorIndex = buf.indexOf("\n")) >= 0) {
|
|
133
|
+
const line = buf.slice(0, terminatorIndex).replace(/\r$/, "");
|
|
134
|
+
buf = buf.slice(terminatorIndex + 1);
|
|
135
|
+
if (!line.trim()) {
|
|
136
|
+
if (dataValue != null) {
|
|
137
|
+
const message = yield __await(this.dispatchSseEvent(dataValue, eventType));
|
|
138
|
+
if (message == null) {
|
|
139
|
+
return yield __await(void 0);
|
|
140
|
+
}
|
|
141
|
+
yield yield __await(message);
|
|
142
|
+
}
|
|
143
|
+
eventType = undefined;
|
|
144
|
+
dataValue = undefined;
|
|
145
|
+
continue;
|
|
146
|
+
}
|
|
147
|
+
if (line.startsWith(EVENT_PREFIX)) {
|
|
148
|
+
eventType = line.slice(EVENT_PREFIX.length).trim();
|
|
149
|
+
}
|
|
150
|
+
else if (line.startsWith(DATA_PREFIX)) {
|
|
151
|
+
const val = line.slice(DATA_PREFIX.length).trim();
|
|
152
|
+
dataValue = dataValue != null ? `${dataValue}\n${val}` : val;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
158
|
+
finally {
|
|
159
|
+
try {
|
|
160
|
+
if (!_d && !_a && (_b = stream_2.return)) yield __await(_b.call(stream_2));
|
|
161
|
+
}
|
|
162
|
+
finally { if (e_2) throw e_2.error; }
|
|
163
|
+
}
|
|
164
|
+
if (dataValue != null) {
|
|
165
|
+
const message = yield __await(this.dispatchSseEvent(dataValue, eventType));
|
|
166
|
+
if (message != null) {
|
|
167
|
+
yield yield __await(message);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Parses and returns a single SSE event, or returns null if the event is a stream terminator.
|
|
174
|
+
*/
|
|
175
|
+
dispatchSseEvent(dataValue, eventType) {
|
|
176
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
177
|
+
if (this.streamTerminator != null && dataValue.includes(this.streamTerminator)) {
|
|
178
|
+
return null;
|
|
179
|
+
}
|
|
180
|
+
return this.parse(this.injectDiscriminator((0, json_1.fromJson)(dataValue), eventType));
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
injectDiscriminator(parsed, eventType) {
|
|
184
|
+
if (this.eventDiscriminator == null || eventType == null) {
|
|
185
|
+
return parsed;
|
|
186
|
+
}
|
|
187
|
+
if (parsed == null || typeof parsed !== "object" || Array.isArray(parsed)) {
|
|
188
|
+
return parsed;
|
|
189
|
+
}
|
|
190
|
+
const obj = parsed;
|
|
191
|
+
if (this.eventDiscriminator in obj) {
|
|
192
|
+
return parsed;
|
|
193
|
+
}
|
|
194
|
+
return Object.assign({ [this.eventDiscriminator]: eventType }, obj);
|
|
195
|
+
}
|
|
101
196
|
[Symbol.asyncIterator]() {
|
|
102
197
|
return __asyncGenerator(this, arguments, function* _a() {
|
|
103
|
-
var _b,
|
|
198
|
+
var _b, e_3, _c, _d;
|
|
104
199
|
try {
|
|
105
200
|
for (var _e = true, _f = __asyncValues(this.iterMessages()), _g; _g = yield __await(_f.next()), _b = _g.done, !_b; _e = true) {
|
|
106
201
|
_d = _g.value;
|
|
@@ -109,12 +204,12 @@ class Stream {
|
|
|
109
204
|
yield yield __await(message);
|
|
110
205
|
}
|
|
111
206
|
}
|
|
112
|
-
catch (
|
|
207
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
113
208
|
finally {
|
|
114
209
|
try {
|
|
115
210
|
if (!_e && !_b && (_c = _f.return)) yield __await(_c.call(_f));
|
|
116
211
|
}
|
|
117
|
-
finally { if (
|
|
212
|
+
finally { if (e_3) throw e_3.error; }
|
|
118
213
|
}
|
|
119
214
|
});
|
|
120
215
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Creates a fluent builder for constructing URL query strings.
|
|
3
|
+
*
|
|
4
|
+
* Each `.add()` call serializes its value immediately (like C#'s builder),
|
|
5
|
+
* so no format tracking is needed — the style is applied at add-time.
|
|
6
|
+
*
|
|
7
|
+
* Usage (generated code):
|
|
8
|
+
*
|
|
9
|
+
* const qs = core.url.queryBuilder()
|
|
10
|
+
* .add("limit", limit)
|
|
11
|
+
* .add("tags", tags, { style: "comma" }) // explode: false
|
|
12
|
+
* .mergeAdditional(requestOptions?.queryParams)
|
|
13
|
+
* .build();
|
|
14
|
+
*/
|
|
15
|
+
export declare function queryBuilder(): QueryStringBuilder;
|
|
16
|
+
declare class QueryStringBuilder {
|
|
17
|
+
private parts;
|
|
18
|
+
/**
|
|
19
|
+
* Adds a query parameter, serializing it immediately.
|
|
20
|
+
*
|
|
21
|
+
* By default arrays use "repeat" format (`key=a&key=b`).
|
|
22
|
+
* Pass `{ style: "comma" }` for OpenAPI `explode: false` parameters
|
|
23
|
+
* to get comma-separated values (`key=a,b,c`).
|
|
24
|
+
*
|
|
25
|
+
* Null / undefined values are silently skipped.
|
|
26
|
+
*/
|
|
27
|
+
add(key: string, value: unknown, options?: {
|
|
28
|
+
style?: "comma";
|
|
29
|
+
}): this;
|
|
30
|
+
/**
|
|
31
|
+
* Adds multiple query parameters at once from a record.
|
|
32
|
+
* All parameters use the default "repeat" array format.
|
|
33
|
+
* Null / undefined values are silently skipped.
|
|
34
|
+
*/
|
|
35
|
+
addMany(params: Record<string, unknown>): this;
|
|
36
|
+
/**
|
|
37
|
+
* Merges additional query parameters supplied at call-time via
|
|
38
|
+
* `requestOptions.queryParams`. Overrides existing keys (last-write-wins).
|
|
39
|
+
*/
|
|
40
|
+
mergeAdditional(additionalParams?: Record<string, unknown>): this;
|
|
41
|
+
/**
|
|
42
|
+
* Returns the assembled query string (without the leading `?`).
|
|
43
|
+
* Returns an empty string when no parameters were added.
|
|
44
|
+
*/
|
|
45
|
+
build(): string;
|
|
46
|
+
}
|
|
47
|
+
export {};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.queryBuilder = queryBuilder;
|
|
4
|
+
const qs_1 = require("./qs");
|
|
5
|
+
/**
|
|
6
|
+
* Creates a fluent builder for constructing URL query strings.
|
|
7
|
+
*
|
|
8
|
+
* Each `.add()` call serializes its value immediately (like C#'s builder),
|
|
9
|
+
* so no format tracking is needed — the style is applied at add-time.
|
|
10
|
+
*
|
|
11
|
+
* Usage (generated code):
|
|
12
|
+
*
|
|
13
|
+
* const qs = core.url.queryBuilder()
|
|
14
|
+
* .add("limit", limit)
|
|
15
|
+
* .add("tags", tags, { style: "comma" }) // explode: false
|
|
16
|
+
* .mergeAdditional(requestOptions?.queryParams)
|
|
17
|
+
* .build();
|
|
18
|
+
*/
|
|
19
|
+
function queryBuilder() {
|
|
20
|
+
return new QueryStringBuilder();
|
|
21
|
+
}
|
|
22
|
+
class QueryStringBuilder {
|
|
23
|
+
constructor() {
|
|
24
|
+
this.parts = new Map();
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Adds a query parameter, serializing it immediately.
|
|
28
|
+
*
|
|
29
|
+
* By default arrays use "repeat" format (`key=a&key=b`).
|
|
30
|
+
* Pass `{ style: "comma" }` for OpenAPI `explode: false` parameters
|
|
31
|
+
* to get comma-separated values (`key=a,b,c`).
|
|
32
|
+
*
|
|
33
|
+
* Null / undefined values are silently skipped.
|
|
34
|
+
*/
|
|
35
|
+
add(key, value, options) {
|
|
36
|
+
if (value === undefined || value === null) {
|
|
37
|
+
return this;
|
|
38
|
+
}
|
|
39
|
+
const serialized = (0, qs_1.toQueryString)({ [key]: value }, { arrayFormat: (options === null || options === void 0 ? void 0 : options.style) === "comma" ? "comma" : "repeat" });
|
|
40
|
+
if (serialized.length > 0) {
|
|
41
|
+
this.parts.set(key, serialized);
|
|
42
|
+
}
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Adds multiple query parameters at once from a record.
|
|
47
|
+
* All parameters use the default "repeat" array format.
|
|
48
|
+
* Null / undefined values are silently skipped.
|
|
49
|
+
*/
|
|
50
|
+
addMany(params) {
|
|
51
|
+
if (params != null) {
|
|
52
|
+
for (const [key, value] of Object.entries(params)) {
|
|
53
|
+
this.add(key, value);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Merges additional query parameters supplied at call-time via
|
|
60
|
+
* `requestOptions.queryParams`. Overrides existing keys (last-write-wins).
|
|
61
|
+
*/
|
|
62
|
+
mergeAdditional(additionalParams) {
|
|
63
|
+
if (additionalParams != null) {
|
|
64
|
+
for (const [key, value] of Object.entries(additionalParams)) {
|
|
65
|
+
if (value === undefined || value === null) {
|
|
66
|
+
continue;
|
|
67
|
+
}
|
|
68
|
+
const serialized = (0, qs_1.toQueryString)({ [key]: value }, { arrayFormat: "repeat" });
|
|
69
|
+
if (serialized.length > 0) {
|
|
70
|
+
this.parts.set(key, serialized);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Returns the assembled query string (without the leading `?`).
|
|
78
|
+
* Returns an empty string when no parameters were added.
|
|
79
|
+
*/
|
|
80
|
+
build() {
|
|
81
|
+
return [...this.parts.values()].join("&");
|
|
82
|
+
}
|
|
83
|
+
}
|
package/core/url/index.d.ts
CHANGED
package/core/url/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toQueryString = exports.join = exports.encodePathParam = void 0;
|
|
3
|
+
exports.toQueryString = exports.queryBuilder = exports.join = exports.encodePathParam = void 0;
|
|
4
4
|
var encodePathParam_1 = require("./encodePathParam");
|
|
5
5
|
Object.defineProperty(exports, "encodePathParam", { enumerable: true, get: function () { return encodePathParam_1.encodePathParam; } });
|
|
6
6
|
var join_1 = require("./join");
|
|
7
7
|
Object.defineProperty(exports, "join", { enumerable: true, get: function () { return join_1.join; } });
|
|
8
|
+
var QueryStringBuilder_1 = require("./QueryStringBuilder");
|
|
9
|
+
Object.defineProperty(exports, "queryBuilder", { enumerable: true, get: function () { return QueryStringBuilder_1.queryBuilder; } });
|
|
8
10
|
var qs_1 = require("./qs");
|
|
9
11
|
Object.defineProperty(exports, "toQueryString", { enumerable: true, get: function () { return qs_1.toQueryString; } });
|
package/core/url/qs.d.ts
CHANGED
package/core/url/qs.js
CHANGED
|
@@ -26,19 +26,31 @@ function stringifyObject(obj, prefix = "", options) {
|
|
|
26
26
|
if (value.length === 0) {
|
|
27
27
|
continue;
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
const effectiveFormat = options.arrayFormat;
|
|
30
|
+
if (effectiveFormat === "comma") {
|
|
31
|
+
const encodedKey = options.encode ? encodeURIComponent(fullKey) : fullKey;
|
|
32
|
+
const encodedValues = value
|
|
33
|
+
.filter((item) => item !== undefined && item !== null)
|
|
34
|
+
.map((item) => encodeValue(item, options.encode));
|
|
35
|
+
if (encodedValues.length > 0) {
|
|
36
|
+
parts.push(`${encodedKey}=${encodedValues.join(",")}`);
|
|
33
37
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
for (let i = 0; i < value.length; i++) {
|
|
41
|
+
const item = value[i];
|
|
42
|
+
if (item === undefined) {
|
|
43
|
+
continue;
|
|
44
|
+
}
|
|
45
|
+
if (typeof item === "object" && !Array.isArray(item) && item !== null) {
|
|
46
|
+
const arrayKey = effectiveFormat === "indices" ? `${fullKey}[${i}]` : fullKey;
|
|
47
|
+
parts.push(...stringifyObject(item, arrayKey, options));
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
const arrayKey = effectiveFormat === "indices" ? `${fullKey}[${i}]` : fullKey;
|
|
51
|
+
const encodedKey = options.encode ? encodeURIComponent(arrayKey) : arrayKey;
|
|
52
|
+
parts.push(`${encodedKey}=${encodeValue(item, options.encode)}`);
|
|
53
|
+
}
|
|
42
54
|
}
|
|
43
55
|
}
|
|
44
56
|
}
|