@elevenlabs/elevenlabs-js 2.2.0 → 2.4.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/Client.d.ts +9 -4
- package/Client.js +60 -12
- package/README.md +4 -11
- package/api/resources/audioIsolation/client/Client.d.ts +5 -4
- package/api/resources/audioIsolation/client/Client.js +5 -8
- package/api/resources/audioIsolation/client/index.d.ts +1 -0
- package/api/resources/audioNative/client/Client.d.ts +3 -1
- package/api/resources/audioNative/client/Client.js +7 -14
- package/api/resources/audioNative/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/client/Client.d.ts +9 -1
- package/api/resources/conversationalAi/client/Client.js +31 -36
- package/api/resources/conversationalAi/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +17 -1
- package/api/resources/conversationalAi/resources/agents/client/Client.js +89 -34
- package/api/resources/conversationalAi/resources/agents/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +11 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +3 -6
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +3 -6
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +3 -6
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +11 -28
- package/api/resources/conversationalAi/resources/batchCalls/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -24
- package/api/resources/conversationalAi/resources/conversations/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +4 -3
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +3 -6
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +2 -0
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +5 -10
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/index.d.ts +4 -0
- package/api/resources/conversationalAi/resources/index.js +5 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -6
- package/api/resources/conversationalAi/resources/knowledgeBase/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +17 -40
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +3 -6
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +85 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +298 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/index.js +18 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +49 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +142 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +14 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +5 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/index.js +44 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +64 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +214 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +21 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +46 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +134 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.js +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.js +17 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +11 -26
- package/api/resources/conversationalAi/resources/phoneNumbers/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +7 -16
- package/api/resources/conversationalAi/resources/secrets/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/settings/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/settings/client/Client.js +5 -10
- package/api/resources/conversationalAi/resources/settings/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/sipTrunk/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +126 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.js +506 -0
- package/api/resources/conversationalAi/resources/tools/client/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tools/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +17 -0
- package/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tools/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/tools/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tools/index.js +17 -0
- package/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/twilio/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/twilio/client/index.d.ts +1 -0
- package/api/resources/dubbing/client/Client.d.ts +3 -1
- package/api/resources/dubbing/client/Client.js +10 -16
- package/api/resources/dubbing/client/index.d.ts +1 -0
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
- package/api/resources/dubbing/resources/audio/client/Client.d.ts +4 -3
- package/api/resources/dubbing/resources/audio/client/Client.js +3 -6
- package/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -1
- package/api/resources/dubbing/resources/resource/client/Client.js +11 -22
- package/api/resources/dubbing/resources/resource/client/index.d.ts +1 -0
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +3 -1
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +3 -4
- package/api/resources/dubbing/resources/resource/resources/language/client/index.d.ts +1 -0
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +3 -1
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +5 -10
- package/api/resources/dubbing/resources/resource/resources/segment/client/index.d.ts +1 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +3 -1
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +5 -10
- package/api/resources/dubbing/resources/resource/resources/speaker/client/index.d.ts +1 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +3 -1
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +3 -4
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/index.d.ts +1 -0
- package/api/resources/dubbing/resources/transcript/client/Client.d.ts +3 -1
- package/api/resources/dubbing/resources/transcript/client/Client.js +3 -6
- package/api/resources/dubbing/resources/transcript/client/index.d.ts +1 -0
- package/api/resources/forcedAlignment/client/Client.d.ts +3 -1
- package/api/resources/forcedAlignment/client/Client.js +3 -4
- package/api/resources/forcedAlignment/client/index.d.ts +1 -0
- package/api/resources/history/client/Client.d.ts +5 -4
- package/api/resources/history/client/Client.js +11 -28
- package/api/resources/history/client/index.d.ts +1 -0
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/models/client/Client.d.ts +3 -1
- package/api/resources/models/client/Client.js +3 -6
- package/api/resources/pronunciationDictionaries/client/Client.d.ts +4 -3
- package/api/resources/pronunciationDictionaries/client/Client.js +11 -26
- package/api/resources/pronunciationDictionaries/client/index.d.ts +1 -0
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +3 -1
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +5 -8
- package/api/resources/pronunciationDictionaries/resources/rules/client/index.d.ts +1 -0
- package/api/resources/samples/client/Client.d.ts +3 -1
- package/api/resources/samples/client/Client.js +3 -6
- package/api/resources/speechToSpeech/client/Client.d.ts +5 -4
- package/api/resources/speechToSpeech/client/Client.js +5 -8
- package/api/resources/speechToSpeech/client/index.d.ts +1 -0
- package/api/resources/speechToText/client/Client.d.ts +4 -4
- package/api/resources/speechToText/client/Client.js +46 -10
- package/api/resources/speechToText/client/index.d.ts +1 -0
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
- package/api/resources/studio/client/Client.d.ts +4 -2
- package/api/resources/studio/client/Client.js +4 -5
- package/api/resources/studio/client/index.d.ts +1 -0
- package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +58 -3
- package/api/resources/studio/resources/projects/client/Client.d.ts +3 -1
- package/api/resources/studio/resources/projects/client/Client.js +16 -32
- package/api/resources/studio/resources/projects/client/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +59 -2
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +3 -1
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +13 -32
- package/api/resources/studio/resources/projects/resources/chapters/client/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/resources/chapters/client/requests/BodyCreateChapterV1StudioProjectsProjectIdChaptersPost.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +4 -3
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +7 -16
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +3 -1
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +3 -4
- package/api/resources/studio/resources/projects/resources/content/client/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +3 -1
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +3 -4
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +5 -4
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +9 -22
- package/api/resources/studio/resources/projects/resources/snapshots/client/index.d.ts +1 -0
- package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostDurationScale.d.ts +1 -1
- package/api/resources/textToDialogue/client/Client.d.ts +5 -4
- package/api/resources/textToDialogue/client/Client.js +5 -8
- package/api/resources/textToDialogue/client/index.d.ts +1 -0
- package/api/resources/textToSoundEffects/client/Client.d.ts +4 -3
- package/api/resources/textToSoundEffects/client/Client.js +3 -4
- package/api/resources/textToSoundEffects/client/index.d.ts +1 -0
- package/api/resources/textToSpeech/client/Client.d.ts +5 -4
- package/api/resources/textToSpeech/client/Client.js +9 -16
- package/api/resources/textToSpeech/client/index.d.ts +1 -0
- package/api/resources/textToVoice/client/Client.d.ts +35 -1
- package/api/resources/textToVoice/client/Client.js +167 -8
- package/api/resources/textToVoice/client/index.d.ts +1 -0
- package/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +23 -0
- package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +36 -0
- package/api/resources/textToVoice/client/requests/index.d.ts +2 -0
- package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +28 -0
- package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +27 -0
- package/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +11 -0
- package/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +10 -0
- package/api/resources/textToVoice/types/index.d.ts +2 -0
- package/api/resources/textToVoice/types/index.js +2 -0
- package/api/resources/usage/client/Client.d.ts +3 -1
- package/api/resources/usage/client/Client.js +3 -6
- package/api/resources/usage/client/index.d.ts +1 -0
- package/api/resources/user/client/Client.d.ts +3 -1
- package/api/resources/user/client/Client.js +3 -6
- package/api/resources/user/resources/subscription/client/Client.d.ts +3 -1
- package/api/resources/user/resources/subscription/client/Client.js +3 -6
- package/api/resources/voices/client/Client.d.ts +4 -2
- package/api/resources/voices/client/Client.js +18 -43
- package/api/resources/voices/client/index.d.ts +1 -0
- package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
- package/api/resources/voices/resources/ivc/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/ivc/client/Client.js +3 -4
- package/api/resources/voices/resources/ivc/client/index.d.ts +1 -0
- package/api/resources/voices/resources/pvc/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/client/Client.js +7 -12
- package/api/resources/voices/resources/pvc/client/index.d.ts +1 -0
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +7 -14
- package/api/resources/voices/resources/pvc/resources/samples/client/index.d.ts +1 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +3 -6
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +5 -12
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +3 -6
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +3 -6
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +3 -4
- package/api/resources/voices/resources/pvc/resources/verification/client/index.d.ts +1 -0
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -10
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/index.d.ts +1 -0
- package/api/resources/voices/resources/samples/client/Client.d.ts +2 -0
- package/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +4 -3
- package/api/resources/voices/resources/samples/resources/audio/client/Client.js +3 -6
- package/api/resources/voices/resources/settings/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/settings/client/Client.js +7 -16
- package/api/resources/webhooks/client/Client.d.ts +48 -0
- package/api/resources/webhooks/client/Client.js +142 -0
- package/api/resources/webhooks/client/index.d.ts +2 -0
- package/api/resources/webhooks/client/index.js +17 -0
- package/api/resources/webhooks/client/requests/WebhooksListRequest.d.ts +15 -0
- package/api/resources/webhooks/client/requests/index.d.ts +1 -0
- package/api/resources/webhooks/client/requests/index.js +2 -0
- package/api/resources/webhooks/index.d.ts +1 -0
- package/api/resources/webhooks/index.js +17 -0
- package/api/resources/workspace/client/Client.d.ts +69 -0
- package/api/resources/workspace/client/Client.js +326 -0
- package/api/resources/workspace/client/index.d.ts +1 -0
- package/api/resources/workspace/client/index.js +15 -0
- package/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +13 -0
- package/api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
- package/api/resources/workspace/client/requests/index.d.ts +2 -0
- package/api/resources/workspace/client/requests/index.js +2 -0
- package/api/resources/workspace/resources/groups/client/Client.d.ts +3 -1
- package/api/resources/workspace/resources/groups/client/Client.js +3 -6
- package/api/resources/workspace/resources/groups/client/index.d.ts +1 -0
- package/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +3 -1
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +5 -8
- package/api/resources/workspace/resources/groups/resources/members/client/index.d.ts +1 -0
- package/api/resources/workspace/resources/invites/client/Client.d.ts +3 -1
- package/api/resources/workspace/resources/invites/client/Client.js +7 -12
- package/api/resources/workspace/resources/invites/client/index.d.ts +1 -0
- package/api/resources/workspace/resources/members/client/Client.d.ts +3 -1
- package/api/resources/workspace/resources/members/client/Client.js +5 -8
- package/api/resources/workspace/resources/members/client/index.d.ts +1 -0
- package/api/resources/workspace/resources/resources/client/Client.d.ts +3 -1
- package/api/resources/workspace/resources/resources/client/Client.js +7 -14
- package/api/resources/workspace/resources/resources/client/index.d.ts +1 -0
- package/api/types/AddProjectRequest.d.ts +60 -3
- package/api/types/AgentCallLimits.d.ts +2 -0
- package/api/types/AgentConfigOverride.d.ts +1 -1
- package/api/types/AgentConfigOverrideConfig.d.ts +1 -1
- package/api/types/AsrProvider.d.ts +5 -1
- package/api/types/AsrProvider.js +5 -0
- package/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +1 -1
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +57 -2
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +1 -1
- package/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +2 -2
- package/api/types/BuiltInToolsInput.d.ts +16 -0
- package/api/types/BuiltInToolsOutput.d.ts +16 -0
- package/api/types/ChapterContentBlockInputModel.d.ts +1 -1
- package/api/types/ClientEvent.d.ts +4 -2
- package/api/types/ClientEvent.js +3 -1
- package/api/types/ClientToolConfigInput.d.ts +0 -1
- package/api/types/ClientToolConfigOutput.d.ts +0 -1
- package/api/types/ConvAiStoredSecretDependencies.d.ts +1 -1
- package/api/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +13 -0
- package/api/types/ConvAiUserSecretDbModel.d.ts +12 -0
- package/api/types/ConversationChargingCommonModel.d.ts +3 -0
- package/api/types/ConversationSimulationSpecification.d.ts +1 -0
- package/api/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +4 -0
- package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
- package/api/types/DefaultSharingPreferencesResponseModel.d.ts +8 -0
- package/api/types/GetToolDependentAgentsResponseModel.d.ts +9 -0
- package/api/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +13 -0
- package/api/types/IntegrationType.d.ts +8 -0
- package/api/types/IntegrationType.js +10 -0
- package/api/types/InvoiceResponse.d.ts +2 -0
- package/api/types/ListMcpToolsResponseModel.d.ts +15 -0
- package/api/types/McpApprovalPolicy.d.ts +12 -0
- package/api/types/McpApprovalPolicy.js +11 -0
- package/api/types/McpServerConfigInput.d.ts +19 -0
- package/api/types/McpServerConfigInputRequestHeadersValue.d.ts +5 -0
- package/api/types/McpServerConfigInputSecretToken.d.ts +8 -0
- package/api/types/McpServerConfigInputUrl.d.ts +8 -0
- package/api/types/McpServerConfigOutput.d.ts +19 -0
- package/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +5 -0
- package/api/types/McpServerConfigOutputRequestHeadersValue.js +5 -0
- package/api/types/McpServerConfigOutputSecretToken.d.ts +8 -0
- package/api/types/McpServerConfigOutputSecretToken.js +5 -0
- package/api/types/McpServerConfigOutputUrl.d.ts +8 -0
- package/api/types/McpServerConfigOutputUrl.js +5 -0
- package/api/types/McpServerMetadataResponseModel.d.ts +7 -0
- package/api/types/McpServerMetadataResponseModel.js +5 -0
- package/api/types/McpServerResponseModel.d.ts +17 -0
- package/api/types/McpServerResponseModel.js +5 -0
- package/api/types/McpServerResponseModelDependentAgentsItem.d.ts +13 -0
- package/api/types/McpServerResponseModelDependentAgentsItem.js +5 -0
- package/api/types/McpServerTransport.d.ts +11 -0
- package/api/types/McpServerTransport.js +10 -0
- package/api/types/McpServersResponseModel.d.ts +10 -0
- package/api/types/McpServersResponseModel.js +5 -0
- package/api/types/McpToolApprovalHash.d.ts +15 -0
- package/api/types/McpToolApprovalHash.js +5 -0
- package/api/types/McpToolApprovalPolicy.d.ts +11 -0
- package/api/types/McpToolApprovalPolicy.js +10 -0
- package/api/types/McpToolConfigInput.d.ts +11 -4
- package/api/types/McpToolConfigOutput.d.ts +11 -4
- package/api/types/PromptAgent.d.ts +1 -27
- package/api/types/PromptAgentApiModelInput.d.ts +32 -0
- package/api/types/PromptAgentApiModelInput.js +5 -0
- package/{dist/api/types/PromptAgentInputToolsItem.d.ts → api/types/PromptAgentApiModelInputToolsItem.d.ts} +2 -5
- package/api/types/PromptAgentApiModelInputToolsItem.js +5 -0
- package/api/types/PromptAgentApiModelOutput.d.ts +32 -0
- package/api/types/PromptAgentApiModelOutput.js +5 -0
- package/api/types/{PromptAgentOutputToolsItem.d.ts → PromptAgentApiModelOutputToolsItem.d.ts} +2 -5
- package/api/types/PromptAgentApiModelOutputToolsItem.js +5 -0
- package/api/types/{PromptAgentOverride.d.ts → PromptAgentApiModelOverride.d.ts} +1 -1
- package/api/types/PromptAgentApiModelOverride.js +5 -0
- package/api/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +1 -1
- package/api/types/PromptAgentApiModelOverrideConfig.js +5 -0
- package/api/types/PromptAgentDbModel.d.ts +3 -2
- package/api/types/SubscriptionStatusType.d.ts +2 -3
- package/api/types/SubscriptionStatusType.js +1 -2
- package/api/types/SupportedVoice.d.ts +4 -0
- package/api/types/SystemToolConfigInput.d.ts +0 -1
- package/api/types/SystemToolConfigOutput.d.ts +0 -1
- package/api/types/Tool.d.ts +15 -0
- package/api/types/Tool.js +5 -0
- package/api/types/ToolAnnotations.d.ts +22 -0
- package/api/types/ToolAnnotations.js +5 -0
- package/api/types/ToolRequestModel.d.ts +8 -0
- package/api/types/ToolRequestModel.js +5 -0
- package/api/types/{PromptAgentDbModelToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -6
- package/api/types/ToolRequestModelToolConfig.js +5 -0
- package/api/types/ToolResponseModel.d.ts +10 -0
- package/api/types/ToolResponseModel.js +5 -0
- package/{dist/api/types/PromptAgentOutputToolsItem.d.ts → api/types/ToolResponseModelToolConfig.d.ts} +2 -5
- package/api/types/ToolResponseModelToolConfig.js +5 -0
- package/api/types/ToolsResponseModel.d.ts +7 -0
- package/api/types/ToolsResponseModel.js +5 -0
- package/api/types/TransferToNumberToolConfig.d.ts +2 -0
- package/api/types/User.d.ts +1 -1
- package/api/types/VoiceDesignPreviewResponse.d.ts +2 -0
- package/api/types/VoicePreviewResponseModel.d.ts +4 -0
- package/api/types/WebhookAuthMethodType.d.ts +8 -0
- package/api/types/WebhookAuthMethodType.js +10 -0
- package/api/types/WebhookToolConfigInput.d.ts +0 -1
- package/api/types/WebhookToolConfigOutput.d.ts +0 -1
- package/api/types/WebhookUsageType.d.ts +10 -0
- package/api/types/WebhookUsageType.js +12 -0
- package/api/types/WidgetConfig.d.ts +2 -0
- package/api/types/WidgetConfigResponse.d.ts +2 -0
- package/api/types/WidgetStyles.d.ts +45 -0
- package/api/types/WidgetStyles.js +5 -0
- package/api/types/WorkspaceGroupPermission.d.ts +22 -0
- package/api/types/WorkspaceGroupPermission.js +24 -0
- package/api/types/WorkspaceGroupResponseModel.d.ts +10 -0
- package/api/types/WorkspaceGroupResponseModel.js +5 -0
- package/api/types/WorkspaceResourceType.d.ts +2 -2
- package/api/types/WorkspaceResourceType.js +1 -1
- package/api/types/WorkspaceWebhookListResponseModel.d.ts +8 -0
- package/api/types/WorkspaceWebhookListResponseModel.js +5 -0
- package/api/types/WorkspaceWebhookResponseModel.d.ts +26 -0
- package/api/types/WorkspaceWebhookResponseModel.js +5 -0
- package/api/types/WorkspaceWebhookUsageResponseModel.d.ts +7 -0
- package/api/types/WorkspaceWebhookUsageResponseModel.js +5 -0
- package/api/types/index.d.ts +48 -15
- package/api/types/index.js +48 -15
- package/core/fetcher/Fetcher.d.ts +2 -1
- package/core/fetcher/Fetcher.js +22 -9
- package/core/form-data-utils/FormDataWrapper.js +5 -4
- package/core/form-data-utils/toReadableStream.d.ts +1 -0
- package/core/form-data-utils/toReadableStream.js +28 -0
- package/core/headers.d.ts +3 -0
- package/core/headers.js +29 -0
- package/core/index.d.ts +1 -1
- package/core/index.js +1 -1
- package/core/runtime/runtime.js +0 -1
- package/{dist/core/streaming-fetcher → core/stream}/Stream.d.ts +1 -2
- package/dist/Client.d.ts +9 -4
- package/dist/Client.js +60 -12
- package/dist/api/resources/audioIsolation/client/Client.d.ts +5 -4
- package/dist/api/resources/audioIsolation/client/Client.js +5 -8
- package/dist/api/resources/audioIsolation/client/index.d.ts +1 -0
- package/dist/api/resources/audioNative/client/Client.d.ts +3 -1
- package/dist/api/resources/audioNative/client/Client.js +7 -14
- package/dist/api/resources/audioNative/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/client/Client.d.ts +9 -1
- package/dist/api/resources/conversationalAi/client/Client.js +31 -36
- package/dist/api/resources/conversationalAi/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +17 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +89 -34
- package/dist/api/resources/conversationalAi/resources/agents/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +11 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +5 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +3 -6
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +3 -6
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +3 -6
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +11 -28
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -24
- package/dist/api/resources/conversationalAi/resources/conversations/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +4 -3
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +3 -6
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +5 -10
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/index.d.ts +4 -0
- package/dist/api/resources/conversationalAi/resources/index.js +5 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -6
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +17 -40
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +3 -6
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +85 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +298 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js +5 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/index.js +18 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +49 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +142 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +14 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js +5 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +5 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.js +44 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +64 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +214 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +21 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js +5 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +46 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +134 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +11 -26
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +7 -16
- package/dist/api/resources/conversationalAi/resources/secrets/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +5 -10
- package/dist/api/resources/conversationalAi/resources/settings/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +126 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +506 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +17 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.js +5 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/tools/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tools/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/twilio/client/index.d.ts +1 -0
- package/dist/api/resources/dubbing/client/Client.d.ts +3 -1
- package/dist/api/resources/dubbing/client/Client.js +10 -16
- package/dist/api/resources/dubbing/client/index.d.ts +1 -0
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/audio/client/Client.d.ts +4 -3
- package/dist/api/resources/dubbing/resources/audio/client/Client.js +3 -6
- package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -1
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +11 -22
- package/dist/api/resources/dubbing/resources/resource/client/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +3 -1
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +3 -4
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +3 -1
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +5 -10
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +3 -1
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +5 -10
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +3 -1
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +3 -4
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/transcript/client/Client.d.ts +3 -1
- package/dist/api/resources/dubbing/resources/transcript/client/Client.js +3 -6
- package/dist/api/resources/dubbing/resources/transcript/client/index.d.ts +1 -0
- package/dist/api/resources/forcedAlignment/client/Client.d.ts +3 -1
- package/dist/api/resources/forcedAlignment/client/Client.js +3 -4
- package/dist/api/resources/forcedAlignment/client/index.d.ts +1 -0
- package/dist/api/resources/history/client/Client.d.ts +5 -4
- package/dist/api/resources/history/client/Client.js +11 -28
- package/dist/api/resources/history/client/index.d.ts +1 -0
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/models/client/Client.d.ts +3 -1
- package/dist/api/resources/models/client/Client.js +3 -6
- package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +4 -3
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +11 -26
- package/dist/api/resources/pronunciationDictionaries/client/index.d.ts +1 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +3 -1
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +5 -8
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/index.d.ts +1 -0
- package/dist/api/resources/samples/client/Client.d.ts +3 -1
- package/dist/api/resources/samples/client/Client.js +3 -6
- package/dist/api/resources/speechToSpeech/client/Client.d.ts +5 -4
- package/dist/api/resources/speechToSpeech/client/Client.js +5 -8
- package/dist/api/resources/speechToSpeech/client/index.d.ts +1 -0
- package/dist/api/resources/speechToText/client/Client.d.ts +4 -4
- package/dist/api/resources/speechToText/client/Client.js +46 -10
- package/dist/api/resources/speechToText/client/index.d.ts +1 -0
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
- package/dist/api/resources/studio/client/Client.d.ts +4 -2
- package/dist/api/resources/studio/client/Client.js +4 -5
- package/dist/api/resources/studio/client/index.d.ts +1 -0
- package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +58 -3
- package/dist/api/resources/studio/resources/projects/client/Client.d.ts +3 -1
- package/dist/api/resources/studio/resources/projects/client/Client.js +16 -32
- package/dist/api/resources/studio/resources/projects/client/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +59 -2
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +3 -1
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +13 -32
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/requests/BodyCreateChapterV1StudioProjectsProjectIdChaptersPost.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +4 -3
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +7 -16
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +3 -1
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +3 -4
- package/dist/api/resources/studio/resources/projects/resources/content/client/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +3 -1
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +3 -4
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +5 -4
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +9 -22
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/index.d.ts +1 -0
- package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostDurationScale.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/Client.d.ts +5 -4
- package/dist/api/resources/textToDialogue/client/Client.js +5 -8
- package/dist/api/resources/textToDialogue/client/index.d.ts +1 -0
- package/dist/api/resources/textToSoundEffects/client/Client.d.ts +4 -3
- package/dist/api/resources/textToSoundEffects/client/Client.js +3 -4
- package/dist/api/resources/textToSoundEffects/client/index.d.ts +1 -0
- package/dist/api/resources/textToSpeech/client/Client.d.ts +5 -4
- package/dist/api/resources/textToSpeech/client/Client.js +9 -16
- package/dist/api/resources/textToSpeech/client/index.d.ts +1 -0
- package/dist/api/resources/textToVoice/client/Client.d.ts +35 -1
- package/dist/api/resources/textToVoice/client/Client.js +167 -8
- package/dist/api/resources/textToVoice/client/index.d.ts +1 -0
- package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +23 -0
- package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +5 -0
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +36 -0
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +5 -0
- package/dist/api/resources/textToVoice/client/requests/index.d.ts +2 -0
- package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +28 -0
- package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +27 -0
- package/dist/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +11 -0
- package/dist/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +10 -0
- package/dist/api/resources/textToVoice/types/index.d.ts +2 -0
- package/dist/api/resources/textToVoice/types/index.js +2 -0
- package/dist/api/resources/usage/client/Client.d.ts +3 -1
- package/dist/api/resources/usage/client/Client.js +3 -6
- package/dist/api/resources/usage/client/index.d.ts +1 -0
- package/dist/api/resources/user/client/Client.d.ts +3 -1
- package/dist/api/resources/user/client/Client.js +3 -6
- package/dist/api/resources/user/resources/subscription/client/Client.d.ts +3 -1
- package/dist/api/resources/user/resources/subscription/client/Client.js +3 -6
- package/dist/api/resources/voices/client/Client.d.ts +4 -2
- package/dist/api/resources/voices/client/Client.js +18 -43
- package/dist/api/resources/voices/client/index.d.ts +1 -0
- package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
- package/dist/api/resources/voices/resources/ivc/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/ivc/client/Client.js +3 -4
- package/dist/api/resources/voices/resources/ivc/client/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/pvc/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/client/Client.js +7 -12
- package/dist/api/resources/voices/resources/pvc/client/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +7 -14
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +3 -6
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +5 -12
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +3 -6
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +3 -6
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +3 -4
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -10
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/samples/client/Client.d.ts +2 -0
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +4 -3
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +3 -6
- package/dist/api/resources/voices/resources/settings/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/settings/client/Client.js +7 -16
- package/dist/api/resources/webhooks/client/Client.d.ts +48 -0
- package/dist/api/resources/webhooks/client/Client.js +142 -0
- package/dist/api/resources/webhooks/client/index.d.ts +2 -0
- package/dist/api/resources/webhooks/client/index.js +17 -0
- package/dist/api/resources/webhooks/client/requests/WebhooksListRequest.d.ts +15 -0
- package/dist/api/resources/webhooks/client/requests/WebhooksListRequest.js +5 -0
- package/dist/api/resources/webhooks/client/requests/index.d.ts +1 -0
- package/dist/api/resources/webhooks/client/requests/index.js +2 -0
- package/dist/api/resources/webhooks/index.d.ts +1 -0
- package/dist/api/resources/webhooks/index.js +17 -0
- package/dist/api/resources/workspace/client/Client.d.ts +69 -0
- package/dist/api/resources/workspace/client/Client.js +326 -0
- package/dist/api/resources/workspace/client/index.d.ts +1 -0
- package/dist/api/resources/workspace/client/index.js +15 -0
- package/dist/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +13 -0
- package/dist/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +5 -0
- package/dist/api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
- package/dist/api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js +5 -0
- package/dist/api/resources/workspace/client/requests/index.d.ts +2 -0
- package/dist/api/resources/workspace/client/requests/index.js +2 -0
- package/dist/api/resources/workspace/resources/groups/client/Client.d.ts +3 -1
- package/dist/api/resources/workspace/resources/groups/client/Client.js +3 -6
- package/dist/api/resources/workspace/resources/groups/client/index.d.ts +1 -0
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +3 -1
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +5 -8
- package/dist/api/resources/workspace/resources/groups/resources/members/client/index.d.ts +1 -0
- package/dist/api/resources/workspace/resources/invites/client/Client.d.ts +3 -1
- package/dist/api/resources/workspace/resources/invites/client/Client.js +7 -12
- package/dist/api/resources/workspace/resources/invites/client/index.d.ts +1 -0
- package/dist/api/resources/workspace/resources/members/client/Client.d.ts +3 -1
- package/dist/api/resources/workspace/resources/members/client/Client.js +5 -8
- package/dist/api/resources/workspace/resources/members/client/index.d.ts +1 -0
- package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +3 -1
- package/dist/api/resources/workspace/resources/resources/client/Client.js +7 -14
- package/dist/api/resources/workspace/resources/resources/client/index.d.ts +1 -0
- package/dist/api/types/AddProjectRequest.d.ts +60 -3
- package/dist/api/types/AgentCallLimits.d.ts +2 -0
- package/dist/api/types/AgentConfigOverride.d.ts +1 -1
- package/dist/api/types/AgentConfigOverrideConfig.d.ts +1 -1
- package/dist/api/types/AsrProvider.d.ts +5 -1
- package/dist/api/types/AsrProvider.js +5 -0
- package/dist/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +1 -1
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +57 -2
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +1 -1
- package/dist/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +2 -2
- package/dist/api/types/BuiltInToolsInput.d.ts +16 -0
- package/dist/api/types/BuiltInToolsInput.js +5 -0
- package/dist/api/types/BuiltInToolsOutput.d.ts +16 -0
- package/dist/api/types/BuiltInToolsOutput.js +5 -0
- package/dist/api/types/ChapterContentBlockInputModel.d.ts +1 -1
- package/dist/api/types/ClientEvent.d.ts +4 -2
- package/dist/api/types/ClientEvent.js +3 -1
- package/dist/api/types/ClientToolConfigInput.d.ts +0 -1
- package/dist/api/types/ClientToolConfigOutput.d.ts +0 -1
- package/dist/api/types/ConvAiStoredSecretDependencies.d.ts +1 -1
- package/dist/api/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +13 -0
- package/dist/api/types/ConvAiStoredSecretDependenciesAgentsItem.js +5 -0
- package/dist/api/types/ConvAiUserSecretDbModel.d.ts +12 -0
- package/dist/api/types/ConvAiUserSecretDbModel.js +5 -0
- package/dist/api/types/ConversationChargingCommonModel.d.ts +3 -0
- package/dist/api/types/ConversationSimulationSpecification.d.ts +1 -0
- package/dist/api/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +4 -0
- package/dist/api/types/ConversationSimulationSpecificationDynamicVariablesValue.js +5 -0
- package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
- package/dist/api/types/DefaultSharingPreferencesResponseModel.d.ts +8 -0
- package/dist/api/types/DefaultSharingPreferencesResponseModel.js +5 -0
- package/dist/api/types/GetToolDependentAgentsResponseModel.d.ts +9 -0
- package/dist/api/types/GetToolDependentAgentsResponseModel.js +5 -0
- package/dist/api/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +13 -0
- package/dist/api/types/GetToolDependentAgentsResponseModelAgentsItem.js +5 -0
- package/dist/api/types/IntegrationType.d.ts +8 -0
- package/dist/api/types/IntegrationType.js +10 -0
- package/dist/api/types/InvoiceResponse.d.ts +2 -0
- package/dist/api/types/ListMcpToolsResponseModel.d.ts +15 -0
- package/dist/api/types/ListMcpToolsResponseModel.js +5 -0
- package/dist/api/types/McpApprovalPolicy.d.ts +12 -0
- package/dist/api/types/McpApprovalPolicy.js +11 -0
- package/dist/api/types/McpServerConfigInput.d.ts +19 -0
- package/dist/api/types/McpServerConfigInput.js +5 -0
- package/dist/api/types/McpServerConfigInputRequestHeadersValue.d.ts +5 -0
- package/dist/api/types/McpServerConfigInputRequestHeadersValue.js +5 -0
- package/dist/api/types/McpServerConfigInputSecretToken.d.ts +8 -0
- package/dist/api/types/McpServerConfigInputSecretToken.js +5 -0
- package/dist/api/types/McpServerConfigInputUrl.d.ts +8 -0
- package/dist/api/types/McpServerConfigInputUrl.js +5 -0
- package/dist/api/types/McpServerConfigOutput.d.ts +19 -0
- package/dist/api/types/McpServerConfigOutput.js +5 -0
- package/dist/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +5 -0
- package/dist/api/types/McpServerConfigOutputRequestHeadersValue.js +5 -0
- package/dist/api/types/McpServerConfigOutputSecretToken.d.ts +8 -0
- package/dist/api/types/McpServerConfigOutputSecretToken.js +5 -0
- package/dist/api/types/McpServerConfigOutputUrl.d.ts +8 -0
- package/dist/api/types/McpServerConfigOutputUrl.js +5 -0
- package/dist/api/types/McpServerMetadataResponseModel.d.ts +7 -0
- package/dist/api/types/McpServerMetadataResponseModel.js +5 -0
- package/dist/api/types/McpServerResponseModel.d.ts +17 -0
- package/dist/api/types/McpServerResponseModel.js +5 -0
- package/dist/api/types/McpServerResponseModelDependentAgentsItem.d.ts +13 -0
- package/dist/api/types/McpServerResponseModelDependentAgentsItem.js +5 -0
- package/dist/api/types/McpServerTransport.d.ts +11 -0
- package/dist/api/types/McpServerTransport.js +10 -0
- package/dist/api/types/McpServersResponseModel.d.ts +10 -0
- package/dist/api/types/McpServersResponseModel.js +5 -0
- package/dist/api/types/McpToolApprovalHash.d.ts +15 -0
- package/dist/api/types/McpToolApprovalHash.js +5 -0
- package/dist/api/types/McpToolApprovalPolicy.d.ts +11 -0
- package/dist/api/types/McpToolApprovalPolicy.js +10 -0
- package/dist/api/types/McpToolConfigInput.d.ts +11 -4
- package/dist/api/types/McpToolConfigOutput.d.ts +11 -4
- package/dist/api/types/PromptAgent.d.ts +1 -27
- package/dist/api/types/PromptAgentApiModelInput.d.ts +32 -0
- package/dist/api/types/PromptAgentApiModelInput.js +5 -0
- package/{api/types/PromptAgentInputToolsItem.d.ts → dist/api/types/PromptAgentApiModelInputToolsItem.d.ts} +2 -5
- package/dist/api/types/PromptAgentApiModelInputToolsItem.js +5 -0
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +32 -0
- package/dist/api/types/PromptAgentApiModelOutput.js +5 -0
- package/dist/api/types/PromptAgentApiModelOutputToolsItem.d.ts +22 -0
- package/dist/api/types/PromptAgentApiModelOutputToolsItem.js +5 -0
- package/dist/api/types/{PromptAgentOverride.d.ts → PromptAgentApiModelOverride.d.ts} +1 -1
- package/dist/api/types/PromptAgentApiModelOverride.js +5 -0
- package/dist/api/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +1 -1
- package/dist/api/types/PromptAgentApiModelOverrideConfig.js +5 -0
- package/dist/api/types/PromptAgentDbModel.d.ts +3 -2
- package/dist/api/types/SubscriptionStatusType.d.ts +2 -3
- package/dist/api/types/SubscriptionStatusType.js +1 -2
- package/dist/api/types/SupportedVoice.d.ts +4 -0
- package/dist/api/types/SystemToolConfigInput.d.ts +0 -1
- package/dist/api/types/SystemToolConfigOutput.d.ts +0 -1
- package/dist/api/types/Tool.d.ts +15 -0
- package/dist/api/types/Tool.js +5 -0
- package/dist/api/types/ToolAnnotations.d.ts +22 -0
- package/dist/api/types/ToolAnnotations.js +5 -0
- package/dist/api/types/ToolRequestModel.d.ts +8 -0
- package/dist/api/types/ToolRequestModel.js +5 -0
- package/dist/api/types/{PromptAgentDbModelToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -6
- package/dist/api/types/ToolRequestModelToolConfig.js +5 -0
- package/dist/api/types/ToolResponseModel.d.ts +10 -0
- package/dist/api/types/ToolResponseModel.js +5 -0
- package/dist/api/types/ToolResponseModelToolConfig.d.ts +22 -0
- package/dist/api/types/ToolResponseModelToolConfig.js +5 -0
- package/dist/api/types/ToolsResponseModel.d.ts +7 -0
- package/dist/api/types/ToolsResponseModel.js +5 -0
- package/dist/api/types/TransferToNumberToolConfig.d.ts +2 -0
- package/dist/api/types/User.d.ts +1 -1
- package/dist/api/types/VoiceDesignPreviewResponse.d.ts +2 -0
- package/dist/api/types/VoicePreviewResponseModel.d.ts +4 -0
- package/dist/api/types/WebhookAuthMethodType.d.ts +8 -0
- package/dist/api/types/WebhookAuthMethodType.js +10 -0
- package/dist/api/types/WebhookToolConfigInput.d.ts +0 -1
- package/dist/api/types/WebhookToolConfigOutput.d.ts +0 -1
- package/dist/api/types/WebhookUsageType.d.ts +10 -0
- package/dist/api/types/WebhookUsageType.js +12 -0
- package/dist/api/types/WidgetConfig.d.ts +2 -0
- package/dist/api/types/WidgetConfigResponse.d.ts +2 -0
- package/dist/api/types/WidgetStyles.d.ts +45 -0
- package/dist/api/types/WidgetStyles.js +5 -0
- package/dist/api/types/WorkspaceGroupPermission.d.ts +22 -0
- package/dist/api/types/WorkspaceGroupPermission.js +24 -0
- package/dist/api/types/WorkspaceGroupResponseModel.d.ts +10 -0
- package/dist/api/types/WorkspaceGroupResponseModel.js +5 -0
- package/dist/api/types/WorkspaceResourceType.d.ts +2 -2
- package/dist/api/types/WorkspaceResourceType.js +1 -1
- package/dist/api/types/WorkspaceWebhookListResponseModel.d.ts +8 -0
- package/dist/api/types/WorkspaceWebhookListResponseModel.js +5 -0
- package/dist/api/types/WorkspaceWebhookResponseModel.d.ts +26 -0
- package/dist/api/types/WorkspaceWebhookResponseModel.js +5 -0
- package/dist/api/types/WorkspaceWebhookUsageResponseModel.d.ts +7 -0
- package/dist/api/types/WorkspaceWebhookUsageResponseModel.js +5 -0
- package/dist/api/types/index.d.ts +48 -15
- package/dist/api/types/index.js +48 -15
- package/dist/core/fetcher/Fetcher.d.ts +2 -1
- package/dist/core/fetcher/Fetcher.js +22 -9
- package/dist/core/form-data-utils/FormDataWrapper.js +5 -4
- package/dist/core/form-data-utils/toReadableStream.d.ts +1 -0
- package/dist/core/form-data-utils/toReadableStream.js +28 -0
- package/dist/core/headers.d.ts +3 -0
- package/dist/core/headers.js +29 -0
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +1 -1
- package/dist/core/runtime/runtime.js +0 -1
- package/{core/streaming-fetcher → dist/core/stream}/Stream.d.ts +1 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +12 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +43 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +13 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js +44 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.js +18 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +13 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js +44 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +4 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +43 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +16 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js +47 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +1 -0
- package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +16 -0
- package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +47 -0
- package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +22 -0
- package/dist/serialization/{types/NativeMcpToolConfigInput.js → resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +14 -13
- package/dist/serialization/resources/textToVoice/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/textToVoice/client/requests/index.js +5 -1
- package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +10 -0
- package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +10 -0
- package/dist/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +41 -0
- package/dist/serialization/resources/textToVoice/types/index.d.ts +2 -0
- package/dist/serialization/resources/textToVoice/types/index.js +2 -0
- package/dist/serialization/resources/workspace/client/getShareOptions.d.ts +11 -0
- package/dist/serialization/resources/workspace/client/getShareOptions.js +42 -0
- package/dist/serialization/resources/workspace/client/index.d.ts +2 -0
- package/dist/serialization/resources/workspace/client/index.js +41 -0
- package/dist/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +12 -0
- package/dist/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +43 -0
- package/dist/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
- package/dist/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js +43 -0
- package/dist/serialization/resources/workspace/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/workspace/client/requests/index.js +7 -0
- package/dist/serialization/resources/workspace/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/index.js +1 -0
- package/dist/serialization/types/AddProjectRequest.d.ts +1 -0
- package/dist/serialization/types/AddProjectRequest.js +1 -0
- package/dist/serialization/types/AgentCallLimits.d.ts +1 -0
- package/dist/serialization/types/AgentCallLimits.js +1 -0
- package/dist/serialization/types/AgentConfigOverride.d.ts +2 -2
- package/dist/serialization/types/AgentConfigOverride.js +2 -2
- package/dist/serialization/types/AgentConfigOverrideConfig.d.ts +2 -2
- package/dist/serialization/types/AgentConfigOverrideConfig.js +2 -2
- package/dist/serialization/types/AsrProvider.d.ts +1 -1
- package/dist/serialization/types/AsrProvider.js +1 -1
- package/dist/serialization/types/BuiltInToolsInput.d.ts +17 -0
- package/dist/serialization/types/BuiltInToolsInput.js +48 -0
- package/dist/serialization/types/BuiltInToolsOutput.d.ts +17 -0
- package/dist/serialization/types/BuiltInToolsOutput.js +48 -0
- package/dist/serialization/types/ChapterContentBlockInputModel.d.ts +1 -1
- package/dist/serialization/types/ChapterContentBlockInputModel.js +1 -1
- package/dist/serialization/types/ClientEvent.d.ts +1 -1
- package/dist/serialization/types/ClientEvent.js +3 -1
- package/dist/serialization/types/ClientToolConfigInput.d.ts +0 -1
- package/dist/serialization/types/ClientToolConfigInput.js +0 -1
- package/dist/serialization/types/ClientToolConfigOutput.d.ts +0 -1
- package/dist/serialization/types/ClientToolConfigOutput.js +0 -1
- package/dist/serialization/types/ConvAiStoredSecretDependencies.d.ts +2 -2
- package/dist/serialization/types/ConvAiStoredSecretDependencies.js +2 -2
- package/dist/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +18 -0
- package/dist/serialization/types/{ConvAiStoredSecretDependenciesAgentToolsItem.js → ConvAiStoredSecretDependenciesAgentsItem.js} +6 -6
- package/dist/serialization/types/ConvAiUserSecretDbModel.d.ts +15 -0
- package/dist/serialization/types/ConvAiUserSecretDbModel.js +46 -0
- package/dist/serialization/types/ConversationChargingCommonModel.d.ts +3 -0
- package/dist/serialization/types/ConversationChargingCommonModel.js +3 -0
- package/dist/serialization/types/ConversationSimulationSpecification.d.ts +2 -0
- package/dist/serialization/types/ConversationSimulationSpecification.js +4 -0
- package/dist/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +10 -0
- package/{serialization/types/McpApprovalRequiredModel.js → dist/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.js} +6 -5
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
- package/dist/serialization/types/DefaultSharingPreferencesResponseModel.d.ts +13 -0
- package/dist/serialization/types/DefaultSharingPreferencesResponseModel.js +44 -0
- package/dist/serialization/types/GetToolDependentAgentsResponseModel.d.ts +15 -0
- package/dist/serialization/types/{GetSharedSoundGenerationsResponseModel.js → GetToolDependentAgentsResponseModel.js} +5 -5
- package/dist/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +18 -0
- package/{serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.js → dist/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.js} +6 -6
- package/dist/serialization/types/IntegrationType.d.ts +10 -0
- package/{serialization/types/DependentUnknownAgentToolIdentifier.js → dist/serialization/types/IntegrationType.js} +2 -2
- package/dist/serialization/types/InvoiceResponse.d.ts +1 -0
- package/dist/serialization/types/InvoiceResponse.js +1 -0
- package/dist/serialization/types/ListMcpToolsResponseModel.d.ts +15 -0
- package/dist/serialization/types/ListMcpToolsResponseModel.js +46 -0
- package/dist/serialization/types/McpApprovalPolicy.d.ts +10 -0
- package/dist/serialization/types/McpApprovalPolicy.js +41 -0
- package/dist/serialization/types/McpServerConfigInput.d.ts +25 -0
- package/{serialization/types/NativeMcpToolConfigInput.js → dist/serialization/types/McpServerConfigInput.js} +15 -11
- package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +11 -0
- package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.js +42 -0
- package/dist/serialization/types/McpServerConfigInputSecretToken.d.ts +12 -0
- package/dist/serialization/types/McpServerConfigInputSecretToken.js +43 -0
- package/dist/serialization/types/McpServerConfigInputUrl.d.ts +11 -0
- package/dist/serialization/types/{McpApprovalRequiredModel.js → McpServerConfigInputUrl.js} +3 -6
- package/dist/serialization/types/McpServerConfigOutput.d.ts +25 -0
- package/dist/serialization/types/McpServerConfigOutput.js +56 -0
- package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +11 -0
- package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.js +42 -0
- package/dist/serialization/types/McpServerConfigOutputSecretToken.d.ts +12 -0
- package/dist/serialization/types/McpServerConfigOutputSecretToken.js +43 -0
- package/dist/serialization/types/McpServerConfigOutputUrl.d.ts +11 -0
- package/dist/serialization/types/McpServerConfigOutputUrl.js +42 -0
- package/dist/serialization/types/McpServerMetadataResponseModel.d.ts +13 -0
- package/dist/serialization/types/McpServerMetadataResponseModel.js +44 -0
- package/dist/serialization/types/McpServerResponseModel.d.ts +20 -0
- package/dist/serialization/types/McpServerResponseModel.js +51 -0
- package/dist/serialization/types/McpServerResponseModelDependentAgentsItem.d.ts +18 -0
- package/dist/serialization/types/McpServerResponseModelDependentAgentsItem.js +51 -0
- package/dist/serialization/types/McpServerTransport.d.ts +10 -0
- package/dist/serialization/types/{DependentUnknownAgentToolIdentifier.js → McpServerTransport.js} +2 -2
- package/dist/serialization/types/McpServersResponseModel.d.ts +13 -0
- package/dist/serialization/types/McpServersResponseModel.js +44 -0
- package/dist/serialization/types/McpToolApprovalHash.d.ts +15 -0
- package/dist/serialization/types/McpToolApprovalHash.js +46 -0
- package/dist/serialization/types/McpToolApprovalPolicy.d.ts +10 -0
- package/dist/serialization/types/McpToolApprovalPolicy.js +41 -0
- package/dist/serialization/types/McpToolConfigInput.d.ts +7 -3
- package/dist/serialization/types/McpToolConfigInput.js +7 -3
- package/dist/serialization/types/McpToolConfigOutput.d.ts +7 -3
- package/dist/serialization/types/McpToolConfigOutput.js +7 -3
- package/dist/serialization/types/PromptAgent.d.ts +2 -20
- package/dist/serialization/types/PromptAgent.js +1 -19
- package/dist/serialization/types/PromptAgentApiModelInput.d.ts +30 -0
- package/dist/serialization/types/PromptAgentApiModelInput.js +61 -0
- package/dist/serialization/types/{PromptAgentInputToolsItem.d.ts → PromptAgentApiModelInputToolsItem.d.ts} +3 -7
- package/{serialization/types/PromptAgentInputToolsItem.js → dist/serialization/types/PromptAgentApiModelInputToolsItem.js} +2 -4
- package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +30 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.js +61 -0
- package/{serialization/types/PromptAgentOutputToolsItem.d.ts → dist/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts} +3 -7
- package/dist/serialization/types/{PromptAgentOutputToolsItem.js → PromptAgentApiModelOutputToolsItem.js} +2 -4
- package/{serialization/types/PromptAgentOverride.d.ts → dist/serialization/types/PromptAgentApiModelOverride.d.ts} +2 -2
- package/{serialization/types/PromptAgentOverride.js → dist/serialization/types/PromptAgentApiModelOverride.js} +2 -2
- package/{serialization/types/PromptAgentOverrideConfig.d.ts → dist/serialization/types/PromptAgentApiModelOverrideConfig.d.ts} +2 -2
- package/dist/serialization/types/{PromptAgentOverrideConfig.js → PromptAgentApiModelOverrideConfig.js} +2 -2
- package/dist/serialization/types/PromptAgentDbModel.d.ts +3 -2
- package/dist/serialization/types/PromptAgentDbModel.js +3 -2
- package/dist/serialization/types/SubscriptionStatusType.d.ts +1 -1
- package/dist/serialization/types/SubscriptionStatusType.js +1 -2
- package/dist/serialization/types/SupportedVoice.d.ts +5 -0
- package/dist/serialization/types/SupportedVoice.js +5 -0
- package/dist/serialization/types/SystemToolConfigInput.d.ts +0 -1
- package/dist/serialization/types/SystemToolConfigInput.js +0 -1
- package/dist/serialization/types/SystemToolConfigOutput.d.ts +0 -1
- package/dist/serialization/types/SystemToolConfigOutput.js +0 -1
- package/dist/serialization/types/Tool.d.ts +17 -0
- package/dist/serialization/types/Tool.js +49 -0
- package/dist/serialization/types/ToolAnnotations.d.ts +17 -0
- package/dist/serialization/types/ToolAnnotations.js +49 -0
- package/dist/serialization/types/ToolRequestModel.d.ts +13 -0
- package/dist/serialization/types/ToolRequestModel.js +44 -0
- package/{serialization/types/PromptAgentInputToolsItem.d.ts → dist/serialization/types/ToolRequestModelToolConfig.d.ts} +3 -7
- package/dist/serialization/types/{PromptAgentInputToolsItem.js → ToolRequestModelToolConfig.js} +2 -4
- package/dist/serialization/types/ToolResponseModel.d.ts +16 -0
- package/dist/serialization/types/ToolResponseModel.js +47 -0
- package/dist/serialization/types/{PromptAgentOutputToolsItem.d.ts → ToolResponseModelToolConfig.d.ts} +3 -7
- package/{serialization/types/PromptAgentOutputToolsItem.js → dist/serialization/types/ToolResponseModelToolConfig.js} +2 -4
- package/dist/serialization/types/ToolsResponseModel.d.ts +13 -0
- package/dist/serialization/types/ToolsResponseModel.js +44 -0
- package/dist/serialization/types/TransferToNumberToolConfig.d.ts +1 -0
- package/dist/serialization/types/TransferToNumberToolConfig.js +1 -0
- package/dist/serialization/types/WebhookAuthMethodType.d.ts +10 -0
- package/dist/serialization/types/WebhookAuthMethodType.js +41 -0
- package/dist/serialization/types/WebhookToolConfigInput.d.ts +0 -1
- package/dist/serialization/types/WebhookToolConfigInput.js +0 -1
- package/dist/serialization/types/WebhookToolConfigOutput.d.ts +0 -1
- package/dist/serialization/types/WebhookToolConfigOutput.js +0 -1
- package/dist/serialization/types/WebhookUsageType.d.ts +10 -0
- package/dist/serialization/types/{DependentAvailableAgentToolIdentifierAccessLevel.js → WebhookUsageType.js} +7 -2
- package/dist/serialization/types/WidgetConfig.d.ts +2 -0
- package/dist/serialization/types/WidgetConfig.js +2 -0
- package/dist/serialization/types/WidgetConfigResponse.d.ts +2 -0
- package/dist/serialization/types/WidgetConfigResponse.js +2 -0
- package/dist/serialization/types/WidgetStyles.d.ts +31 -0
- package/dist/serialization/types/WidgetStyles.js +62 -0
- package/dist/serialization/types/WorkspaceGroupPermission.d.ts +10 -0
- package/dist/serialization/types/WorkspaceGroupPermission.js +58 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.js +47 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +1 -1
- package/dist/serialization/types/WorkspaceWebhookListResponseModel.d.ts +13 -0
- package/dist/serialization/types/WorkspaceWebhookListResponseModel.js +44 -0
- package/dist/serialization/types/WorkspaceWebhookResponseModel.d.ts +23 -0
- package/dist/serialization/types/{NativeMcpToolConfigOutput.js → WorkspaceWebhookResponseModel.js} +13 -11
- package/dist/serialization/types/WorkspaceWebhookUsageResponseModel.d.ts +13 -0
- package/dist/serialization/types/WorkspaceWebhookUsageResponseModel.js +44 -0
- package/dist/serialization/types/index.d.ts +48 -15
- package/dist/serialization/types/index.js +48 -15
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/ElevenLabsClient.d.ts +4 -3
- package/dist/wrapper/ElevenLabsClient.js +6 -1
- package/dist/wrapper/webhooks.d.ts +4 -3
- package/dist/wrapper/webhooks.js +68 -46
- package/jest.config.mjs +1 -0
- package/package.json +6 -4
- package/reference.md +1868 -479
- package/scripts/rename-to-esm-files.js +10 -2
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +12 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +43 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +13 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js +44 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/index.js +18 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +13 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js +44 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +4 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +43 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +16 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js +47 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +1 -0
- package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +16 -0
- package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +47 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +22 -0
- package/{dist/serialization/types/DependentAvailableAgentToolIdentifier.js → serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +14 -9
- package/serialization/resources/textToVoice/client/requests/index.d.ts +2 -0
- package/serialization/resources/textToVoice/client/requests/index.js +5 -1
- package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +10 -0
- package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +61 -0
- package/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +10 -0
- package/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +41 -0
- package/serialization/resources/textToVoice/types/index.d.ts +2 -0
- package/serialization/resources/textToVoice/types/index.js +2 -0
- package/serialization/resources/workspace/client/getShareOptions.d.ts +11 -0
- package/serialization/resources/workspace/client/getShareOptions.js +42 -0
- package/serialization/resources/workspace/client/index.d.ts +2 -0
- package/serialization/resources/workspace/client/index.js +41 -0
- package/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +12 -0
- package/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +43 -0
- package/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
- package/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js +43 -0
- package/serialization/resources/workspace/client/requests/index.d.ts +2 -0
- package/serialization/resources/workspace/client/requests/index.js +7 -0
- package/serialization/resources/workspace/index.d.ts +1 -0
- package/serialization/resources/workspace/index.js +1 -0
- package/serialization/types/AddProjectRequest.d.ts +1 -0
- package/serialization/types/AddProjectRequest.js +1 -0
- package/serialization/types/AgentCallLimits.d.ts +1 -0
- package/serialization/types/AgentCallLimits.js +1 -0
- package/serialization/types/AgentConfigOverride.d.ts +2 -2
- package/serialization/types/AgentConfigOverride.js +2 -2
- package/serialization/types/AgentConfigOverrideConfig.d.ts +2 -2
- package/serialization/types/AgentConfigOverrideConfig.js +2 -2
- package/serialization/types/AsrProvider.d.ts +1 -1
- package/serialization/types/AsrProvider.js +1 -1
- package/serialization/types/BuiltInToolsInput.d.ts +17 -0
- package/serialization/types/BuiltInToolsInput.js +48 -0
- package/serialization/types/BuiltInToolsOutput.d.ts +17 -0
- package/serialization/types/BuiltInToolsOutput.js +48 -0
- package/serialization/types/ChapterContentBlockInputModel.d.ts +1 -1
- package/serialization/types/ChapterContentBlockInputModel.js +1 -1
- package/serialization/types/ClientEvent.d.ts +1 -1
- package/serialization/types/ClientEvent.js +3 -1
- package/serialization/types/ClientToolConfigInput.d.ts +0 -1
- package/serialization/types/ClientToolConfigInput.js +0 -1
- package/serialization/types/ClientToolConfigOutput.d.ts +0 -1
- package/serialization/types/ClientToolConfigOutput.js +0 -1
- package/serialization/types/ConvAiStoredSecretDependencies.d.ts +2 -2
- package/serialization/types/ConvAiStoredSecretDependencies.js +2 -2
- package/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +18 -0
- package/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.js +51 -0
- package/serialization/types/ConvAiUserSecretDbModel.d.ts +15 -0
- package/serialization/types/ConvAiUserSecretDbModel.js +46 -0
- package/serialization/types/ConversationChargingCommonModel.d.ts +3 -0
- package/serialization/types/ConversationChargingCommonModel.js +3 -0
- package/serialization/types/ConversationSimulationSpecification.d.ts +2 -0
- package/serialization/types/ConversationSimulationSpecification.js +4 -0
- package/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +10 -0
- package/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.js +46 -0
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
- package/serialization/types/DefaultSharingPreferencesResponseModel.d.ts +13 -0
- package/serialization/types/DefaultSharingPreferencesResponseModel.js +44 -0
- package/serialization/types/GetToolDependentAgentsResponseModel.d.ts +15 -0
- package/serialization/types/{GetSharedSoundGenerationsResponseModel.js → GetToolDependentAgentsResponseModel.js} +5 -5
- package/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +18 -0
- package/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.js +51 -0
- package/serialization/types/IntegrationType.d.ts +10 -0
- package/serialization/types/IntegrationType.js +41 -0
- package/serialization/types/InvoiceResponse.d.ts +1 -0
- package/serialization/types/InvoiceResponse.js +1 -0
- package/serialization/types/ListMcpToolsResponseModel.d.ts +15 -0
- package/serialization/types/ListMcpToolsResponseModel.js +46 -0
- package/serialization/types/McpApprovalPolicy.d.ts +10 -0
- package/serialization/types/McpApprovalPolicy.js +41 -0
- package/serialization/types/McpServerConfigInput.d.ts +25 -0
- package/serialization/types/McpServerConfigInput.js +56 -0
- package/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +11 -0
- package/serialization/types/McpServerConfigInputRequestHeadersValue.js +42 -0
- package/serialization/types/McpServerConfigInputSecretToken.d.ts +12 -0
- package/serialization/types/McpServerConfigInputSecretToken.js +43 -0
- package/serialization/types/McpServerConfigInputUrl.d.ts +11 -0
- package/serialization/types/McpServerConfigInputUrl.js +42 -0
- package/serialization/types/McpServerConfigOutput.d.ts +25 -0
- package/serialization/types/McpServerConfigOutput.js +56 -0
- package/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +11 -0
- package/serialization/types/McpServerConfigOutputRequestHeadersValue.js +42 -0
- package/serialization/types/McpServerConfigOutputSecretToken.d.ts +12 -0
- package/serialization/types/McpServerConfigOutputSecretToken.js +43 -0
- package/serialization/types/McpServerConfigOutputUrl.d.ts +11 -0
- package/serialization/types/McpServerConfigOutputUrl.js +42 -0
- package/serialization/types/McpServerMetadataResponseModel.d.ts +13 -0
- package/serialization/types/McpServerMetadataResponseModel.js +44 -0
- package/serialization/types/McpServerResponseModel.d.ts +20 -0
- package/serialization/types/McpServerResponseModel.js +51 -0
- package/serialization/types/McpServerResponseModelDependentAgentsItem.d.ts +18 -0
- package/serialization/types/McpServerResponseModelDependentAgentsItem.js +51 -0
- package/serialization/types/McpServerTransport.d.ts +10 -0
- package/serialization/types/McpServerTransport.js +41 -0
- package/serialization/types/McpServersResponseModel.d.ts +13 -0
- package/serialization/types/McpServersResponseModel.js +44 -0
- package/serialization/types/McpToolApprovalHash.d.ts +15 -0
- package/serialization/types/McpToolApprovalHash.js +46 -0
- package/serialization/types/McpToolApprovalPolicy.d.ts +10 -0
- package/serialization/types/McpToolApprovalPolicy.js +41 -0
- package/serialization/types/McpToolConfigInput.d.ts +7 -3
- package/serialization/types/McpToolConfigInput.js +7 -3
- package/serialization/types/McpToolConfigOutput.d.ts +7 -3
- package/serialization/types/McpToolConfigOutput.js +7 -3
- package/serialization/types/PromptAgent.d.ts +2 -20
- package/serialization/types/PromptAgent.js +1 -19
- package/serialization/types/PromptAgentApiModelInput.d.ts +30 -0
- package/serialization/types/PromptAgentApiModelInput.js +61 -0
- package/{dist/serialization/types/PromptAgentDbModelToolsItem.d.ts → serialization/types/PromptAgentApiModelInputToolsItem.d.ts} +3 -7
- package/{dist/serialization/types/PromptAgentDbModelToolsItem.js → serialization/types/PromptAgentApiModelInputToolsItem.js} +2 -4
- package/serialization/types/PromptAgentApiModelOutput.d.ts +30 -0
- package/serialization/types/PromptAgentApiModelOutput.js +61 -0
- package/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +26 -0
- package/serialization/types/PromptAgentApiModelOutputToolsItem.js +55 -0
- package/{dist/serialization/types/PromptAgentOverride.d.ts → serialization/types/PromptAgentApiModelOverride.d.ts} +2 -2
- package/{dist/serialization/types/PromptAgentOverride.js → serialization/types/PromptAgentApiModelOverride.js} +2 -2
- package/{dist/serialization/types/PromptAgentOverrideConfig.d.ts → serialization/types/PromptAgentApiModelOverrideConfig.d.ts} +2 -2
- package/serialization/types/{PromptAgentOverrideConfig.js → PromptAgentApiModelOverrideConfig.js} +2 -2
- package/serialization/types/PromptAgentDbModel.d.ts +3 -2
- package/serialization/types/PromptAgentDbModel.js +3 -2
- package/serialization/types/SubscriptionStatusType.d.ts +1 -1
- package/serialization/types/SubscriptionStatusType.js +1 -2
- package/serialization/types/SupportedVoice.d.ts +5 -0
- package/serialization/types/SupportedVoice.js +5 -0
- package/serialization/types/SystemToolConfigInput.d.ts +0 -1
- package/serialization/types/SystemToolConfigInput.js +0 -1
- package/serialization/types/SystemToolConfigOutput.d.ts +0 -1
- package/serialization/types/SystemToolConfigOutput.js +0 -1
- package/serialization/types/Tool.d.ts +17 -0
- package/serialization/types/Tool.js +49 -0
- package/serialization/types/ToolAnnotations.d.ts +17 -0
- package/serialization/types/ToolAnnotations.js +49 -0
- package/serialization/types/ToolRequestModel.d.ts +13 -0
- package/serialization/types/ToolRequestModel.js +44 -0
- package/serialization/types/{PromptAgentDbModelToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -7
- package/serialization/types/{PromptAgentDbModelToolsItem.js → ToolRequestModelToolConfig.js} +2 -4
- package/serialization/types/ToolResponseModel.d.ts +16 -0
- package/serialization/types/ToolResponseModel.js +47 -0
- package/serialization/types/ToolResponseModelToolConfig.d.ts +26 -0
- package/serialization/types/ToolResponseModelToolConfig.js +55 -0
- package/serialization/types/ToolsResponseModel.d.ts +13 -0
- package/serialization/types/ToolsResponseModel.js +44 -0
- package/serialization/types/TransferToNumberToolConfig.d.ts +1 -0
- package/serialization/types/TransferToNumberToolConfig.js +1 -0
- package/serialization/types/WebhookAuthMethodType.d.ts +10 -0
- package/serialization/types/WebhookAuthMethodType.js +41 -0
- package/serialization/types/WebhookToolConfigInput.d.ts +0 -1
- package/serialization/types/WebhookToolConfigInput.js +0 -1
- package/serialization/types/WebhookToolConfigOutput.d.ts +0 -1
- package/serialization/types/WebhookToolConfigOutput.js +0 -1
- package/serialization/types/WebhookUsageType.d.ts +10 -0
- package/serialization/types/WebhookUsageType.js +46 -0
- package/serialization/types/WidgetConfig.d.ts +2 -0
- package/serialization/types/WidgetConfig.js +2 -0
- package/serialization/types/WidgetConfigResponse.d.ts +2 -0
- package/serialization/types/WidgetConfigResponse.js +2 -0
- package/serialization/types/WidgetStyles.d.ts +31 -0
- package/serialization/types/WidgetStyles.js +62 -0
- package/serialization/types/WorkspaceGroupPermission.d.ts +10 -0
- package/serialization/types/WorkspaceGroupPermission.js +58 -0
- package/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
- package/serialization/types/WorkspaceGroupResponseModel.js +47 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +1 -1
- package/serialization/types/WorkspaceWebhookListResponseModel.d.ts +13 -0
- package/serialization/types/WorkspaceWebhookListResponseModel.js +44 -0
- package/serialization/types/WorkspaceWebhookResponseModel.d.ts +23 -0
- package/serialization/types/{NativeMcpToolConfigOutput.js → WorkspaceWebhookResponseModel.js} +13 -11
- package/serialization/types/WorkspaceWebhookUsageResponseModel.d.ts +13 -0
- package/serialization/types/WorkspaceWebhookUsageResponseModel.js +44 -0
- package/serialization/types/index.d.ts +48 -15
- package/serialization/types/index.js +48 -15
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/ElevenLabsClient.d.ts +4 -3
- package/wrapper/ElevenLabsClient.js +6 -1
- package/wrapper/webhooks.d.ts +4 -3
- package/wrapper/webhooks.js +68 -46
- package/.mock/asyncapi.yml +0 -856
- package/.mock/definition/__package__.yml +0 -8340
- package/.mock/definition/api.yml +0 -24
- package/.mock/definition/audioIsolation.yml +0 -83
- package/.mock/definition/audioNative.yml +0 -198
- package/.mock/definition/conversationalAi/agents/knowledgeBase.yml +0 -32
- package/.mock/definition/conversationalAi/agents/link.yml +0 -40
- package/.mock/definition/conversationalAi/agents/llmUsage.yml +0 -51
- package/.mock/definition/conversationalAi/agents/widget/avatar.yml +0 -44
- package/.mock/definition/conversationalAi/agents/widget.yml +0 -107
- package/.mock/definition/conversationalAi/agents.yml +0 -671
- package/.mock/definition/conversationalAi/batchCalls.yml +0 -222
- package/.mock/definition/conversationalAi/conversations/audio.yml +0 -28
- package/.mock/definition/conversationalAi/conversations/feedback.yml +0 -47
- package/.mock/definition/conversationalAi/conversations.yml +0 -165
- package/.mock/definition/conversationalAi/dashboard/settings.yml +0 -73
- package/.mock/definition/conversationalAi/knowledgeBase/document.yml +0 -52
- package/.mock/definition/conversationalAi/knowledgeBase/documents/chunk.yml +0 -42
- package/.mock/definition/conversationalAi/knowledgeBase/documents.yml +0 -355
- package/.mock/definition/conversationalAi/knowledgeBase.yml +0 -88
- package/.mock/definition/conversationalAi/llmUsage.yml +0 -52
- package/.mock/definition/conversationalAi/phoneNumbers.yml +0 -206
- package/.mock/definition/conversationalAi/secrets.yml +0 -100
- package/.mock/definition/conversationalAi/settings.yml +0 -81
- package/.mock/definition/conversationalAi/sipTrunk.yml +0 -45
- package/.mock/definition/conversationalAi/twilio.yml +0 -45
- package/.mock/definition/conversationalAi.yml +0 -192
- package/.mock/definition/dubbing/audio.yml +0 -35
- package/.mock/definition/dubbing/resource/language.yml +0 -43
- package/.mock/definition/dubbing/resource/segment.yml +0 -83
- package/.mock/definition/dubbing/resource/speaker/segment.yml +0 -54
- package/.mock/definition/dubbing/resource/speaker.yml +0 -91
- package/.mock/definition/dubbing/resource.yml +0 -271
- package/.mock/definition/dubbing/transcript.yml +0 -48
- package/.mock/definition/dubbing.yml +0 -170
- package/.mock/definition/forcedAlignment.yml +0 -60
- package/.mock/definition/history.yml +0 -270
- package/.mock/definition/models.yml +0 -49
- package/.mock/definition/pronunciationDictionaries/rules.yml +0 -99
- package/.mock/definition/pronunciationDictionaries.yml +0 -262
- package/.mock/definition/samples.yml +0 -46
- package/.mock/definition/speechToSpeech.yml +0 -324
- package/.mock/definition/speechToText.yml +0 -189
- package/.mock/definition/studio/projects/chapters/snapshots.yml +0 -141
- package/.mock/definition/studio/projects/chapters.yml +0 -289
- package/.mock/definition/studio/projects/content.yml +0 -94
- package/.mock/definition/studio/projects/pronunciationDictionaries.yml +0 -70
- package/.mock/definition/studio/projects/snapshots.yml +0 -140
- package/.mock/definition/studio/projects.yml +0 -579
- package/.mock/definition/studio.yml +0 -216
- package/.mock/definition/textToDialogue.yml +0 -213
- package/.mock/definition/textToSoundEffects.yml +0 -92
- package/.mock/definition/textToSpeech.yml +0 -959
- package/.mock/definition/textToVoice.yml +0 -355
- package/.mock/definition/usage.yml +0 -73
- package/.mock/definition/user/subscription.yml +0 -50
- package/.mock/definition/user.yml +0 -86
- package/.mock/definition/v1TextToSpeechVoiceIdMultiStreamInput.yml +0 -252
- package/.mock/definition/v1TextToSpeechVoiceIdStreamInput.yml +0 -207
- package/.mock/definition/voices/ivc.yml +0 -57
- package/.mock/definition/voices/pvc/samples/audio.yml +0 -44
- package/.mock/definition/voices/pvc/samples/speakers/audio.yml +0 -48
- package/.mock/definition/voices/pvc/samples/speakers.yml +0 -81
- package/.mock/definition/voices/pvc/samples/waveform.yml +0 -44
- package/.mock/definition/voices/pvc/samples.yml +0 -159
- package/.mock/definition/voices/pvc/verification/captcha.yml +0 -62
- package/.mock/definition/voices/pvc/verification.yml +0 -47
- package/.mock/definition/voices/pvc.yml +0 -137
- package/.mock/definition/voices/samples/audio.yml +0 -35
- package/.mock/definition/voices/settings.yml +0 -105
- package/.mock/definition/voices.yml +0 -907
- package/.mock/definition/workspace/groups/members.yml +0 -80
- package/.mock/definition/workspace/groups.yml +0 -40
- package/.mock/definition/workspace/invites.yml +0 -141
- package/.mock/definition/workspace/members.yml +0 -83
- package/.mock/definition/workspace/resources.yml +0 -184
- package/.mock/fern.config.json +0 -4
- package/.mock/openapi.json +0 -39184
- package/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -13
- package/api/types/DependentAvailableAgentToolIdentifier.d.ts +0 -11
- package/api/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -9
- package/api/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -11
- package/api/types/DependentUnknownAgentToolIdentifier.d.ts +0 -9
- package/api/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -9
- package/api/types/McpApprovalRequiredModel.d.ts +0 -12
- package/api/types/McpApprovalRequiredModel.js +0 -11
- package/api/types/NativeMcpToolConfigInput.d.ts +0 -22
- package/api/types/NativeMcpToolConfigOutput.d.ts +0 -22
- package/api/types/SharedSoundGenerationResponseModel.d.ts +0 -17
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/dist/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -13
- package/dist/api/types/DependentAvailableAgentToolIdentifier.d.ts +0 -11
- package/dist/api/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -9
- package/dist/api/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -11
- package/dist/api/types/DependentUnknownAgentToolIdentifier.d.ts +0 -9
- package/dist/api/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -9
- package/dist/api/types/McpApprovalRequiredModel.d.ts +0 -12
- package/dist/api/types/McpApprovalRequiredModel.js +0 -11
- package/dist/api/types/NativeMcpToolConfigInput.d.ts +0 -22
- package/dist/api/types/NativeMcpToolConfigOutput.d.ts +0 -22
- package/dist/api/types/SharedSoundGenerationResponseModel.d.ts +0 -17
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/dist/serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -18
- package/dist/serialization/types/DependentAvailableAgentToolIdentifier.d.ts +0 -17
- package/dist/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -10
- package/dist/serialization/types/DependentUnknownAgentToolIdentifier.d.ts +0 -11
- package/dist/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -15
- package/dist/serialization/types/McpApprovalRequiredModel.d.ts +0 -10
- package/dist/serialization/types/NativeMcpToolConfigInput.d.ts +0 -20
- package/dist/serialization/types/NativeMcpToolConfigOutput.d.ts +0 -20
- package/dist/serialization/types/SharedSoundGenerationResponseModel.d.ts +0 -23
- package/dist/serialization/types/SharedSoundGenerationResponseModel.js +0 -54
- package/serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -18
- package/serialization/types/DependentAvailableAgentToolIdentifier.d.ts +0 -17
- package/serialization/types/DependentAvailableAgentToolIdentifier.js +0 -48
- package/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -10
- package/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -41
- package/serialization/types/DependentUnknownAgentToolIdentifier.d.ts +0 -11
- package/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -15
- package/serialization/types/McpApprovalRequiredModel.d.ts +0 -10
- package/serialization/types/NativeMcpToolConfigInput.d.ts +0 -20
- package/serialization/types/NativeMcpToolConfigOutput.d.ts +0 -20
- package/serialization/types/SharedSoundGenerationResponseModel.d.ts +0 -23
- package/serialization/types/SharedSoundGenerationResponseModel.js +0 -54
- /package/api/{types/ConvAiStoredSecretDependenciesAgentToolsItem.js → resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js} +0 -0
- /package/api/{types/DependentAvailableAgentToolIdentifier.js → resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js} +0 -0
- /package/api/{types/DependentUnknownAgentToolIdentifier.js → resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js} +0 -0
- /package/api/{types/GetSharedSoundGenerationsResponseModel.js → resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js} +0 -0
- /package/api/{types/NativeMcpToolConfigInput.js → resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.js} +0 -0
- /package/api/{types/NativeMcpToolConfigOutput.js → resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js} +0 -0
- /package/api/{types/PromptAgentDbModelToolsItem.js → resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +0 -0
- /package/api/{types/PromptAgentInputToolsItem.js → resources/webhooks/client/requests/WebhooksListRequest.js} +0 -0
- /package/api/{types/PromptAgentOutputToolsItem.js → resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js} +0 -0
- /package/api/{types/PromptAgentOverride.js → resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js} +0 -0
- /package/api/types/{PromptAgentOverrideConfig.js → BuiltInToolsInput.js} +0 -0
- /package/api/types/{SharedSoundGenerationResponseModel.js → BuiltInToolsOutput.js} +0 -0
- /package/{dist/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.js → api/types/ConvAiStoredSecretDependenciesAgentsItem.js} +0 -0
- /package/{dist/api/types/DependentAvailableAgentToolIdentifier.js → api/types/ConvAiUserSecretDbModel.js} +0 -0
- /package/{dist/api/types/DependentUnknownAgentToolIdentifier.js → api/types/ConversationSimulationSpecificationDynamicVariablesValue.js} +0 -0
- /package/{dist/api/types/GetSharedSoundGenerationsResponseModel.js → api/types/DefaultSharingPreferencesResponseModel.js} +0 -0
- /package/{dist/api/types/NativeMcpToolConfigInput.js → api/types/GetToolDependentAgentsResponseModel.js} +0 -0
- /package/{dist/api/types/NativeMcpToolConfigOutput.js → api/types/GetToolDependentAgentsResponseModelAgentsItem.js} +0 -0
- /package/{dist/api/types/PromptAgentDbModelToolsItem.js → api/types/ListMcpToolsResponseModel.js} +0 -0
- /package/{dist/api/types/PromptAgentInputToolsItem.js → api/types/McpServerConfigInput.js} +0 -0
- /package/{dist/api/types/PromptAgentOutputToolsItem.js → api/types/McpServerConfigInputRequestHeadersValue.js} +0 -0
- /package/{dist/api/types/PromptAgentOverride.js → api/types/McpServerConfigInputSecretToken.js} +0 -0
- /package/{dist/api/types/PromptAgentOverrideConfig.js → api/types/McpServerConfigInputUrl.js} +0 -0
- /package/{dist/api/types/SharedSoundGenerationResponseModel.js → api/types/McpServerConfigOutput.js} +0 -0
- /package/core/{streaming-fetcher → stream}/Stream.js +0 -0
- /package/core/{streaming-fetcher → stream}/index.d.ts +0 -0
- /package/core/{streaming-fetcher → stream}/index.js +0 -0
- /package/dist/core/{streaming-fetcher → stream}/Stream.js +0 -0
- /package/dist/core/{streaming-fetcher → stream}/index.d.ts +0 -0
- /package/dist/core/{streaming-fetcher → stream}/index.js +0 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
39
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
40
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
41
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
42
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
43
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
44
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
+
};
|
|
50
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
+
exports.Webhooks = void 0;
|
|
52
|
+
const environments = __importStar(require("../../../../environments"));
|
|
53
|
+
const core = __importStar(require("../../../../core"));
|
|
54
|
+
const ElevenLabs = __importStar(require("../../../index"));
|
|
55
|
+
const headers_js_1 = require("../../../../core/headers.js");
|
|
56
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
57
|
+
const serializers = __importStar(require("../../../../serialization/index"));
|
|
58
|
+
const errors = __importStar(require("../../../../errors/index"));
|
|
59
|
+
class Webhooks {
|
|
60
|
+
constructor(_options = {}) {
|
|
61
|
+
this._options = _options;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* List all webhooks for a workspace
|
|
65
|
+
*
|
|
66
|
+
* @param {ElevenLabs.WebhooksListRequest} request
|
|
67
|
+
* @param {Webhooks.RequestOptions} requestOptions - Request-specific configuration.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* await client.webhooks.list({
|
|
73
|
+
* includeUsages: false
|
|
74
|
+
* })
|
|
75
|
+
*/
|
|
76
|
+
list(request = {}, requestOptions) {
|
|
77
|
+
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
78
|
+
}
|
|
79
|
+
__list() {
|
|
80
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
81
|
+
var _a, _b, _c;
|
|
82
|
+
const { includeUsages } = request;
|
|
83
|
+
const _queryParams = {};
|
|
84
|
+
if (includeUsages != null) {
|
|
85
|
+
_queryParams["include_usages"] = includeUsages.toString();
|
|
86
|
+
}
|
|
87
|
+
const _response = yield core.fetcher({
|
|
88
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, "v1/workspace/webhooks"),
|
|
89
|
+
method: "GET",
|
|
90
|
+
headers: (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
91
|
+
queryParameters: _queryParams,
|
|
92
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
93
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
94
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
95
|
+
});
|
|
96
|
+
if (_response.ok) {
|
|
97
|
+
return {
|
|
98
|
+
data: serializers.WorkspaceWebhookListResponseModel.parseOrThrow(_response.body, {
|
|
99
|
+
unrecognizedObjectKeys: "passthrough",
|
|
100
|
+
allowUnrecognizedUnionMembers: true,
|
|
101
|
+
allowUnrecognizedEnumValues: true,
|
|
102
|
+
breadcrumbsPrefix: ["response"],
|
|
103
|
+
}),
|
|
104
|
+
rawResponse: _response.rawResponse,
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
if (_response.error.reason === "status-code") {
|
|
108
|
+
switch (_response.error.statusCode) {
|
|
109
|
+
case 422:
|
|
110
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
111
|
+
unrecognizedObjectKeys: "passthrough",
|
|
112
|
+
allowUnrecognizedUnionMembers: true,
|
|
113
|
+
allowUnrecognizedEnumValues: true,
|
|
114
|
+
breadcrumbsPrefix: ["response"],
|
|
115
|
+
}), _response.rawResponse);
|
|
116
|
+
default:
|
|
117
|
+
throw new errors.ElevenLabsError({
|
|
118
|
+
statusCode: _response.error.statusCode,
|
|
119
|
+
body: _response.error.body,
|
|
120
|
+
rawResponse: _response.rawResponse,
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
switch (_response.error.reason) {
|
|
125
|
+
case "non-json":
|
|
126
|
+
throw new errors.ElevenLabsError({
|
|
127
|
+
statusCode: _response.error.statusCode,
|
|
128
|
+
body: _response.error.rawBody,
|
|
129
|
+
rawResponse: _response.rawResponse,
|
|
130
|
+
});
|
|
131
|
+
case "timeout":
|
|
132
|
+
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling GET /v1/workspace/webhooks.");
|
|
133
|
+
case "unknown":
|
|
134
|
+
throw new errors.ElevenLabsError({
|
|
135
|
+
message: _response.error.errorMessage,
|
|
136
|
+
rawResponse: _response.rawResponse,
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
exports.Webhooks = Webhooks;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* includeUsages: false
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface WebhooksListRequest {
|
|
11
|
+
/**
|
|
12
|
+
* Whether to include active usages of the webhook, only usable by admins
|
|
13
|
+
*/
|
|
14
|
+
includeUsages?: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type WebhooksListRequest } from "./WebhooksListRequest";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "../../../../environments";
|
|
5
5
|
import * as core from "../../../../core";
|
|
6
|
+
import * as ElevenLabs from "../../../index";
|
|
6
7
|
import { Groups } from "../resources/groups/client/Client";
|
|
7
8
|
import { Invites } from "../resources/invites/client/Client";
|
|
8
9
|
import { Members } from "../resources/members/client/Client";
|
|
@@ -14,6 +15,20 @@ export declare namespace Workspace {
|
|
|
14
15
|
baseUrl?: core.Supplier<string>;
|
|
15
16
|
/** Override the xi-api-key header */
|
|
16
17
|
apiKey?: core.Supplier<string | undefined>;
|
|
18
|
+
/** Additional headers to include in requests. */
|
|
19
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
20
|
+
}
|
|
21
|
+
interface RequestOptions {
|
|
22
|
+
/** The maximum time to wait for a response in seconds. */
|
|
23
|
+
timeoutInSeconds?: number;
|
|
24
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
25
|
+
maxRetries?: number;
|
|
26
|
+
/** A hook to abort the request. */
|
|
27
|
+
abortSignal?: AbortSignal;
|
|
28
|
+
/** Override the xi-api-key header */
|
|
29
|
+
apiKey?: string | undefined;
|
|
30
|
+
/** Additional headers to include in the request. */
|
|
31
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
17
32
|
}
|
|
18
33
|
}
|
|
19
34
|
export declare class Workspace {
|
|
@@ -27,4 +42,58 @@ export declare class Workspace {
|
|
|
27
42
|
get invites(): Invites;
|
|
28
43
|
get members(): Members;
|
|
29
44
|
get resources(): Resources;
|
|
45
|
+
/**
|
|
46
|
+
* Update user auto provisioning settings for the workspace.
|
|
47
|
+
*
|
|
48
|
+
* @param {ElevenLabs.BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost} request
|
|
49
|
+
* @param {Workspace.RequestOptions} requestOptions - Request-specific configuration.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* await client.workspace.updateUserAutoProvisioning({
|
|
55
|
+
* enabled: true
|
|
56
|
+
* })
|
|
57
|
+
*/
|
|
58
|
+
updateUserAutoProvisioning(request: ElevenLabs.BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost, requestOptions?: Workspace.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
59
|
+
private __updateUserAutoProvisioning;
|
|
60
|
+
/**
|
|
61
|
+
* Get the user's default sharing preferences.
|
|
62
|
+
*
|
|
63
|
+
* @param {Workspace.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* await client.workspace.getDefaultSharingPreferences()
|
|
69
|
+
*/
|
|
70
|
+
getDefaultSharingPreferences(requestOptions?: Workspace.RequestOptions): core.HttpResponsePromise<ElevenLabs.DefaultSharingPreferencesResponseModel>;
|
|
71
|
+
private __getDefaultSharingPreferences;
|
|
72
|
+
/**
|
|
73
|
+
* Update the user's default sharing preferences.
|
|
74
|
+
*
|
|
75
|
+
* @param {ElevenLabs.BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost} request
|
|
76
|
+
* @param {Workspace.RequestOptions} requestOptions - Request-specific configuration.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* await client.workspace.updateDefaultSharingPreferences({
|
|
82
|
+
* defaultSharingGroups: ["default_sharing_groups"]
|
|
83
|
+
* })
|
|
84
|
+
*/
|
|
85
|
+
updateDefaultSharingPreferences(request: ElevenLabs.BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost, requestOptions?: Workspace.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
86
|
+
private __updateDefaultSharingPreferences;
|
|
87
|
+
/**
|
|
88
|
+
* Get the share options for a workspace.
|
|
89
|
+
*
|
|
90
|
+
* @param {Workspace.RequestOptions} requestOptions - Request-specific configuration.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* await client.workspace.getShareOptions()
|
|
96
|
+
*/
|
|
97
|
+
getShareOptions(requestOptions?: Workspace.RequestOptions): core.HttpResponsePromise<ElevenLabs.ShareOptionResponseModel[]>;
|
|
98
|
+
private __getShareOptions;
|
|
30
99
|
}
|
|
@@ -2,8 +2,60 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
39
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
40
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
41
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
42
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
43
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
44
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
+
};
|
|
5
50
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
51
|
exports.Workspace = void 0;
|
|
52
|
+
const environments = __importStar(require("../../../../environments"));
|
|
53
|
+
const core = __importStar(require("../../../../core"));
|
|
54
|
+
const ElevenLabs = __importStar(require("../../../index"));
|
|
55
|
+
const headers_js_1 = require("../../../../core/headers.js");
|
|
56
|
+
const serializers = __importStar(require("../../../../serialization/index"));
|
|
57
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
58
|
+
const errors = __importStar(require("../../../../errors/index"));
|
|
7
59
|
const Client_1 = require("../resources/groups/client/Client");
|
|
8
60
|
const Client_2 = require("../resources/invites/client/Client");
|
|
9
61
|
const Client_3 = require("../resources/members/client/Client");
|
|
@@ -28,5 +80,279 @@ class Workspace {
|
|
|
28
80
|
var _a;
|
|
29
81
|
return ((_a = this._resources) !== null && _a !== void 0 ? _a : (this._resources = new Client_4.Resources(this._options)));
|
|
30
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* Update user auto provisioning settings for the workspace.
|
|
85
|
+
*
|
|
86
|
+
* @param {ElevenLabs.BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost} request
|
|
87
|
+
* @param {Workspace.RequestOptions} requestOptions - Request-specific configuration.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* await client.workspace.updateUserAutoProvisioning({
|
|
93
|
+
* enabled: true
|
|
94
|
+
* })
|
|
95
|
+
*/
|
|
96
|
+
updateUserAutoProvisioning(request, requestOptions) {
|
|
97
|
+
return core.HttpResponsePromise.fromPromise(this.__updateUserAutoProvisioning(request, requestOptions));
|
|
98
|
+
}
|
|
99
|
+
__updateUserAutoProvisioning(request, requestOptions) {
|
|
100
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
101
|
+
var _a, _b, _c;
|
|
102
|
+
const _response = yield core.fetcher({
|
|
103
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, "v1/workspace/user-auto-provisioning"),
|
|
104
|
+
method: "POST",
|
|
105
|
+
headers: (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
106
|
+
contentType: "application/json",
|
|
107
|
+
requestType: "json",
|
|
108
|
+
body: serializers.BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.jsonOrThrow(request, {
|
|
109
|
+
unrecognizedObjectKeys: "strip",
|
|
110
|
+
}),
|
|
111
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
112
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
113
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
114
|
+
});
|
|
115
|
+
if (_response.ok) {
|
|
116
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
117
|
+
}
|
|
118
|
+
if (_response.error.reason === "status-code") {
|
|
119
|
+
switch (_response.error.statusCode) {
|
|
120
|
+
case 422:
|
|
121
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
122
|
+
unrecognizedObjectKeys: "passthrough",
|
|
123
|
+
allowUnrecognizedUnionMembers: true,
|
|
124
|
+
allowUnrecognizedEnumValues: true,
|
|
125
|
+
breadcrumbsPrefix: ["response"],
|
|
126
|
+
}), _response.rawResponse);
|
|
127
|
+
default:
|
|
128
|
+
throw new errors.ElevenLabsError({
|
|
129
|
+
statusCode: _response.error.statusCode,
|
|
130
|
+
body: _response.error.body,
|
|
131
|
+
rawResponse: _response.rawResponse,
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
switch (_response.error.reason) {
|
|
136
|
+
case "non-json":
|
|
137
|
+
throw new errors.ElevenLabsError({
|
|
138
|
+
statusCode: _response.error.statusCode,
|
|
139
|
+
body: _response.error.rawBody,
|
|
140
|
+
rawResponse: _response.rawResponse,
|
|
141
|
+
});
|
|
142
|
+
case "timeout":
|
|
143
|
+
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/workspace/user-auto-provisioning.");
|
|
144
|
+
case "unknown":
|
|
145
|
+
throw new errors.ElevenLabsError({
|
|
146
|
+
message: _response.error.errorMessage,
|
|
147
|
+
rawResponse: _response.rawResponse,
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Get the user's default sharing preferences.
|
|
154
|
+
*
|
|
155
|
+
* @param {Workspace.RequestOptions} requestOptions - Request-specific configuration.
|
|
156
|
+
*
|
|
157
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
158
|
+
*
|
|
159
|
+
* @example
|
|
160
|
+
* await client.workspace.getDefaultSharingPreferences()
|
|
161
|
+
*/
|
|
162
|
+
getDefaultSharingPreferences(requestOptions) {
|
|
163
|
+
return core.HttpResponsePromise.fromPromise(this.__getDefaultSharingPreferences(requestOptions));
|
|
164
|
+
}
|
|
165
|
+
__getDefaultSharingPreferences(requestOptions) {
|
|
166
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
167
|
+
var _a, _b, _c;
|
|
168
|
+
const _response = yield core.fetcher({
|
|
169
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, "v1/workspace/default-sharing-preferences"),
|
|
170
|
+
method: "GET",
|
|
171
|
+
headers: (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
172
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
173
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
174
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
175
|
+
});
|
|
176
|
+
if (_response.ok) {
|
|
177
|
+
return {
|
|
178
|
+
data: serializers.DefaultSharingPreferencesResponseModel.parseOrThrow(_response.body, {
|
|
179
|
+
unrecognizedObjectKeys: "passthrough",
|
|
180
|
+
allowUnrecognizedUnionMembers: true,
|
|
181
|
+
allowUnrecognizedEnumValues: true,
|
|
182
|
+
breadcrumbsPrefix: ["response"],
|
|
183
|
+
}),
|
|
184
|
+
rawResponse: _response.rawResponse,
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
if (_response.error.reason === "status-code") {
|
|
188
|
+
switch (_response.error.statusCode) {
|
|
189
|
+
case 422:
|
|
190
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
191
|
+
unrecognizedObjectKeys: "passthrough",
|
|
192
|
+
allowUnrecognizedUnionMembers: true,
|
|
193
|
+
allowUnrecognizedEnumValues: true,
|
|
194
|
+
breadcrumbsPrefix: ["response"],
|
|
195
|
+
}), _response.rawResponse);
|
|
196
|
+
default:
|
|
197
|
+
throw new errors.ElevenLabsError({
|
|
198
|
+
statusCode: _response.error.statusCode,
|
|
199
|
+
body: _response.error.body,
|
|
200
|
+
rawResponse: _response.rawResponse,
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
switch (_response.error.reason) {
|
|
205
|
+
case "non-json":
|
|
206
|
+
throw new errors.ElevenLabsError({
|
|
207
|
+
statusCode: _response.error.statusCode,
|
|
208
|
+
body: _response.error.rawBody,
|
|
209
|
+
rawResponse: _response.rawResponse,
|
|
210
|
+
});
|
|
211
|
+
case "timeout":
|
|
212
|
+
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling GET /v1/workspace/default-sharing-preferences.");
|
|
213
|
+
case "unknown":
|
|
214
|
+
throw new errors.ElevenLabsError({
|
|
215
|
+
message: _response.error.errorMessage,
|
|
216
|
+
rawResponse: _response.rawResponse,
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Update the user's default sharing preferences.
|
|
223
|
+
*
|
|
224
|
+
* @param {ElevenLabs.BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost} request
|
|
225
|
+
* @param {Workspace.RequestOptions} requestOptions - Request-specific configuration.
|
|
226
|
+
*
|
|
227
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
228
|
+
*
|
|
229
|
+
* @example
|
|
230
|
+
* await client.workspace.updateDefaultSharingPreferences({
|
|
231
|
+
* defaultSharingGroups: ["default_sharing_groups"]
|
|
232
|
+
* })
|
|
233
|
+
*/
|
|
234
|
+
updateDefaultSharingPreferences(request, requestOptions) {
|
|
235
|
+
return core.HttpResponsePromise.fromPromise(this.__updateDefaultSharingPreferences(request, requestOptions));
|
|
236
|
+
}
|
|
237
|
+
__updateDefaultSharingPreferences(request, requestOptions) {
|
|
238
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
239
|
+
var _a, _b, _c;
|
|
240
|
+
const _response = yield core.fetcher({
|
|
241
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, "v1/workspace/default-sharing-preferences"),
|
|
242
|
+
method: "POST",
|
|
243
|
+
headers: (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
244
|
+
contentType: "application/json",
|
|
245
|
+
requestType: "json",
|
|
246
|
+
body: serializers.BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
247
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
248
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
249
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
250
|
+
});
|
|
251
|
+
if (_response.ok) {
|
|
252
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
253
|
+
}
|
|
254
|
+
if (_response.error.reason === "status-code") {
|
|
255
|
+
switch (_response.error.statusCode) {
|
|
256
|
+
case 422:
|
|
257
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
258
|
+
unrecognizedObjectKeys: "passthrough",
|
|
259
|
+
allowUnrecognizedUnionMembers: true,
|
|
260
|
+
allowUnrecognizedEnumValues: true,
|
|
261
|
+
breadcrumbsPrefix: ["response"],
|
|
262
|
+
}), _response.rawResponse);
|
|
263
|
+
default:
|
|
264
|
+
throw new errors.ElevenLabsError({
|
|
265
|
+
statusCode: _response.error.statusCode,
|
|
266
|
+
body: _response.error.body,
|
|
267
|
+
rawResponse: _response.rawResponse,
|
|
268
|
+
});
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
switch (_response.error.reason) {
|
|
272
|
+
case "non-json":
|
|
273
|
+
throw new errors.ElevenLabsError({
|
|
274
|
+
statusCode: _response.error.statusCode,
|
|
275
|
+
body: _response.error.rawBody,
|
|
276
|
+
rawResponse: _response.rawResponse,
|
|
277
|
+
});
|
|
278
|
+
case "timeout":
|
|
279
|
+
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/workspace/default-sharing-preferences.");
|
|
280
|
+
case "unknown":
|
|
281
|
+
throw new errors.ElevenLabsError({
|
|
282
|
+
message: _response.error.errorMessage,
|
|
283
|
+
rawResponse: _response.rawResponse,
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
});
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* Get the share options for a workspace.
|
|
290
|
+
*
|
|
291
|
+
* @param {Workspace.RequestOptions} requestOptions - Request-specific configuration.
|
|
292
|
+
*
|
|
293
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
294
|
+
*
|
|
295
|
+
* @example
|
|
296
|
+
* await client.workspace.getShareOptions()
|
|
297
|
+
*/
|
|
298
|
+
getShareOptions(requestOptions) {
|
|
299
|
+
return core.HttpResponsePromise.fromPromise(this.__getShareOptions(requestOptions));
|
|
300
|
+
}
|
|
301
|
+
__getShareOptions(requestOptions) {
|
|
302
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
303
|
+
var _a, _b, _c;
|
|
304
|
+
const _response = yield core.fetcher({
|
|
305
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, "v1/workspace/share-options"),
|
|
306
|
+
method: "GET",
|
|
307
|
+
headers: (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
308
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
309
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
310
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
311
|
+
});
|
|
312
|
+
if (_response.ok) {
|
|
313
|
+
return {
|
|
314
|
+
data: serializers.workspace.getShareOptions.Response.parseOrThrow(_response.body, {
|
|
315
|
+
unrecognizedObjectKeys: "passthrough",
|
|
316
|
+
allowUnrecognizedUnionMembers: true,
|
|
317
|
+
allowUnrecognizedEnumValues: true,
|
|
318
|
+
breadcrumbsPrefix: ["response"],
|
|
319
|
+
}),
|
|
320
|
+
rawResponse: _response.rawResponse,
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
if (_response.error.reason === "status-code") {
|
|
324
|
+
switch (_response.error.statusCode) {
|
|
325
|
+
case 422:
|
|
326
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
327
|
+
unrecognizedObjectKeys: "passthrough",
|
|
328
|
+
allowUnrecognizedUnionMembers: true,
|
|
329
|
+
allowUnrecognizedEnumValues: true,
|
|
330
|
+
breadcrumbsPrefix: ["response"],
|
|
331
|
+
}), _response.rawResponse);
|
|
332
|
+
default:
|
|
333
|
+
throw new errors.ElevenLabsError({
|
|
334
|
+
statusCode: _response.error.statusCode,
|
|
335
|
+
body: _response.error.body,
|
|
336
|
+
rawResponse: _response.rawResponse,
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
switch (_response.error.reason) {
|
|
341
|
+
case "non-json":
|
|
342
|
+
throw new errors.ElevenLabsError({
|
|
343
|
+
statusCode: _response.error.statusCode,
|
|
344
|
+
body: _response.error.rawBody,
|
|
345
|
+
rawResponse: _response.rawResponse,
|
|
346
|
+
});
|
|
347
|
+
case "timeout":
|
|
348
|
+
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling GET /v1/workspace/share-options.");
|
|
349
|
+
case "unknown":
|
|
350
|
+
throw new errors.ElevenLabsError({
|
|
351
|
+
message: _response.error.errorMessage,
|
|
352
|
+
rawResponse: _response.rawResponse,
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
}
|
|
31
357
|
}
|
|
32
358
|
exports.Workspace = Workspace;
|
|
@@ -1,2 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|