@elevenlabs/elevenlabs-js 2.25.1 → 2.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.fern/metadata.json +2 -2
- package/BaseClient.d.ts +5 -1
- package/BaseClient.js +48 -0
- package/Client.d.ts +76 -76
- package/Client.js +29 -49
- package/api/errors/BadRequestError.js +5 -1
- package/api/errors/ConflictError.js +5 -1
- package/api/errors/ForbiddenError.js +5 -1
- package/api/errors/NotFoundError.js +5 -1
- package/api/errors/TooEarlyError.js +5 -1
- package/api/errors/UnauthorizedError.js +5 -1
- package/api/errors/UnprocessableEntityError.js +5 -1
- package/api/resources/audioIsolation/client/Client.d.ts +8 -8
- package/api/resources/audioIsolation/client/Client.js +9 -35
- package/api/resources/audioNative/client/Client.d.ts +12 -12
- package/api/resources/audioNative/client/Client.js +13 -53
- package/api/resources/conversationalAi/client/Client.d.ts +59 -56
- package/api/resources/conversationalAi/client/Client.js +47 -96
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +36 -36
- package/api/resources/conversationalAi/resources/agents/client/Client.js +29 -153
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +11 -11
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +10 -22
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/analytics/client/Client.d.ts +12 -0
- package/api/resources/conversationalAi/resources/analytics/client/Client.js +16 -0
- package/api/resources/conversationalAi/resources/analytics/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/analytics/client/index.js +2 -0
- package/api/resources/conversationalAi/resources/analytics/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/analytics/index.js +18 -0
- package/api/resources/conversationalAi/resources/analytics/resources/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/analytics/resources/index.js +41 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.d.ts +28 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +127 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.d.ts +10 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.js +17 -0
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +16 -16
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +17 -85
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +25 -22
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +32 -88
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +9 -0
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +7 -7
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +8 -20
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +9 -9
- package/api/resources/conversationalAi/resources/dashboard/client/Client.js +7 -6
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +10 -10
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +11 -37
- package/api/resources/conversationalAi/resources/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/index.js +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +14 -14
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +11 -23
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +25 -25
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +24 -134
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +28 -28
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +21 -89
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +10 -10
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +11 -37
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.d.ts +14 -14
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +15 -69
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +16 -16
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +17 -85
- package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +14 -14
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +15 -69
- package/api/resources/conversationalAi/resources/settings/client/Client.d.ts +10 -10
- package/api/resources/conversationalAi/resources/settings/client/Client.js +11 -37
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/tests/client/Client.d.ts +21 -21
- package/api/resources/conversationalAi/resources/tests/client/Client.js +20 -102
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +12 -12
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +13 -53
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +18 -18
- package/api/resources/conversationalAi/resources/tools/client/Client.js +19 -101
- package/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +25 -8
- package/api/resources/conversationalAi/resources/twilio/client/Client.js +67 -20
- package/api/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.d.ts +16 -0
- package/api/resources/conversationalAi/resources/twilio/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/twilio/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/twilio/index.js +1 -0
- package/api/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.d.ts +5 -0
- package/api/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.js +8 -0
- package/api/resources/conversationalAi/resources/twilio/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/twilio/types/index.js +17 -0
- package/api/resources/dubbing/client/Client.d.ts +23 -23
- package/api/resources/dubbing/client/Client.js +18 -72
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -2
- package/api/resources/dubbing/resources/audio/client/Client.d.ts +7 -7
- package/api/resources/dubbing/resources/audio/client/Client.js +8 -20
- package/api/resources/dubbing/resources/resource/client/Client.d.ts +43 -26
- package/api/resources/dubbing/resources/resource/client/Client.js +87 -88
- package/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +11 -0
- package/api/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +8 -8
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +9 -21
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +10 -10
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +11 -37
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +25 -13
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +73 -37
- package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +16 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +8 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +8 -8
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +9 -21
- package/api/resources/dubbing/resources/transcript/client/Client.d.ts +8 -8
- package/api/resources/dubbing/resources/transcript/client/Client.js +9 -21
- package/api/resources/forcedAlignment/client/Client.d.ts +8 -8
- package/api/resources/forcedAlignment/client/Client.js +9 -21
- package/api/resources/history/client/Client.d.ts +14 -14
- package/api/resources/history/client/Client.js +15 -83
- package/api/resources/models/client/Client.d.ts +8 -8
- package/api/resources/models/client/Client.js +9 -21
- package/api/resources/music/client/Client.d.ts +13 -13
- package/api/resources/music/client/Client.js +15 -66
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -0
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -0
- package/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +2 -0
- package/api/resources/music/resources/compositionPlan/client/Client.d.ts +8 -8
- package/api/resources/music/resources/compositionPlan/client/Client.js +9 -21
- package/api/resources/pronunciationDictionaries/client/Client.d.ts +20 -20
- package/api/resources/pronunciationDictionaries/client/Client.js +19 -101
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +10 -10
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +11 -37
- package/api/resources/samples/client/Client.d.ts +8 -8
- package/api/resources/samples/client/Client.js +9 -21
- package/api/resources/serviceAccounts/client/Client.d.ts +11 -11
- package/api/resources/serviceAccounts/client/Client.js +10 -22
- package/api/resources/serviceAccounts/resources/apiKeys/client/Client.d.ts +16 -16
- package/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +17 -71
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -1
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +1 -1
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +1 -1
- package/api/resources/serviceAccounts/resources/apiKeys/types/{BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts → BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts} +2 -2
- package/{dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js → api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js} +2 -2
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
- package/api/resources/serviceAccounts/resources/apiKeys/types/{BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts → BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts} +2 -2
- package/{dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js → api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js} +2 -2
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +2 -2
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +2 -2
- package/api/resources/speechToSpeech/client/Client.d.ts +8 -8
- package/api/resources/speechToSpeech/client/Client.js +9 -35
- package/api/resources/speechToText/client/Client.d.ts +11 -11
- package/api/resources/speechToText/client/Client.js +10 -22
- package/api/resources/speechToText/resources/transcripts/client/Client.d.ts +10 -10
- package/api/resources/speechToText/resources/transcripts/client/Client.js +11 -37
- package/api/resources/studio/client/Client.d.ts +12 -11
- package/api/resources/studio/client/Client.js +11 -22
- package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +1 -0
- package/api/resources/studio/resources/projects/client/Client.d.ts +30 -30
- package/api/resources/studio/resources/projects/client/Client.js +28 -105
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +8 -0
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +21 -21
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +20 -102
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +11 -11
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +12 -52
- package/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +8 -8
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +9 -21
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +8 -8
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +9 -21
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +12 -12
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +13 -67
- package/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -0
- package/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -0
- package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSource.d.ts +1 -1
- package/api/resources/studio/types/{BodyCreatePodcastV1StudioPodcastsPostSourceItem.d.ts → BodyCreatePodcastV1StudioPodcastsPostSourceTwoItem.d.ts} +2 -2
- package/api/resources/studio/types/index.d.ts +1 -1
- package/api/resources/studio/types/index.js +1 -1
- package/api/resources/textToDialogue/client/Client.d.ts +11 -11
- package/api/resources/textToDialogue/client/Client.js +12 -66
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +1 -1
- package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.js +1 -1
- package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.js +1 -1
- package/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +1 -1
- package/api/resources/textToSoundEffects/client/Client.d.ts +7 -7
- package/api/resources/textToSoundEffects/client/Client.js +8 -20
- package/api/resources/textToSpeech/client/Client.d.ts +11 -11
- package/api/resources/textToSpeech/client/Client.js +12 -66
- package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.js +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.js +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.js +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.js +1 -1
- package/api/resources/textToVoice/client/Client.d.ts +17 -17
- package/api/resources/textToVoice/client/Client.js +16 -70
- package/api/resources/textToVoice/resources/preview/client/Client.d.ts +7 -7
- package/api/resources/textToVoice/resources/preview/client/Client.js +8 -20
- package/api/resources/tokens/client/Client.d.ts +9 -9
- package/api/resources/tokens/client/Client.js +7 -6
- package/api/resources/tokens/resources/singleUse/client/Client.d.ts +8 -8
- package/api/resources/tokens/resources/singleUse/client/Client.js +9 -21
- package/api/resources/usage/client/Client.d.ts +8 -8
- package/api/resources/usage/client/Client.js +9 -21
- package/api/resources/user/client/Client.d.ts +11 -11
- package/api/resources/user/client/Client.js +10 -22
- package/api/resources/user/resources/subscription/client/Client.d.ts +8 -8
- package/api/resources/user/resources/subscription/client/Client.js +9 -21
- package/api/resources/voices/client/Client.d.ts +34 -34
- package/api/resources/voices/client/Client.js +27 -137
- package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +2 -2
- package/api/resources/voices/resources/ivc/client/Client.d.ts +8 -8
- package/api/resources/voices/resources/ivc/client/Client.js +9 -21
- package/api/resources/voices/resources/pvc/client/Client.d.ts +18 -18
- package/api/resources/voices/resources/pvc/client/Client.js +15 -55
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +21 -21
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +16 -56
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +8 -8
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +9 -21
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +13 -13
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +12 -38
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +8 -8
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +9 -21
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +8 -8
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +9 -21
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +11 -11
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +10 -22
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +10 -10
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +11 -37
- package/api/resources/voices/resources/samples/client/Client.d.ts +9 -9
- package/api/resources/voices/resources/samples/client/Client.js +7 -6
- package/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +7 -7
- package/api/resources/voices/resources/samples/resources/audio/client/Client.js +8 -20
- package/api/resources/voices/resources/settings/client/Client.d.ts +12 -12
- package/api/resources/voices/resources/settings/client/Client.js +13 -53
- package/api/resources/webhooks/client/Client.d.ts +57 -8
- package/api/resources/webhooks/client/Client.js +208 -20
- package/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +15 -0
- package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +13 -0
- package/api/resources/webhooks/client/requests/index.d.ts +2 -0
- package/api/resources/workspace/client/Client.d.ts +18 -18
- package/api/resources/workspace/client/Client.js +10 -9
- package/api/resources/workspace/resources/groups/client/Client.d.ts +11 -11
- package/api/resources/workspace/resources/groups/client/Client.js +10 -22
- package/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +10 -10
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +11 -37
- package/api/resources/workspace/resources/invites/client/Client.d.ts +12 -12
- package/api/resources/workspace/resources/invites/client/Client.js +13 -53
- package/api/resources/workspace/resources/members/client/Client.d.ts +8 -8
- package/api/resources/workspace/resources/members/client/Client.js +9 -21
- package/api/resources/workspace/resources/resources/client/Client.d.ts +12 -12
- package/api/resources/workspace/resources/resources/client/Client.js +13 -53
- package/api/types/AgentDefinitionSource.d.ts +1 -0
- package/api/types/AgentDefinitionSource.js +1 -0
- package/api/types/AgentWorkflowRequestModel.d.ts +2 -0
- package/api/types/AgentWorkflowResponseModel.d.ts +2 -0
- package/api/types/BackupLlmDefault.d.ts +3 -1
- package/api/types/BackupLlmDisabled.d.ts +3 -1
- package/api/types/BackupLlmOverride.d.ts +1 -0
- package/api/types/BillingPeriod.d.ts +7 -0
- package/api/types/{SubscriptionResponseModelBillingPeriod.js → BillingPeriod.js} +4 -2
- package/api/types/CharacterRefreshPeriod.d.ts +7 -0
- package/api/types/{SubscriptionResponseModelCharacterRefreshPeriod.js → CharacterRefreshPeriod.js} +4 -2
- package/api/types/ClientEvent.d.ts +1 -0
- package/api/types/ClientEvent.js +1 -0
- package/api/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +14 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +0 -1
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +0 -1
- package/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.d.ts +7 -0
- package/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.js +3 -0
- package/{dist/api/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts → api/types/ConversationHistoryTranscriptToolCallCommonModelInput.d.ts} +2 -2
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelInput.js +3 -0
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.d.ts +16 -0
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.js +3 -0
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelOutput.d.ts +9 -0
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelOutput.js +3 -0
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.d.ts +16 -0
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.js +3 -0
- package/api/types/ConversationHistoryTranscriptToolCallWebhookDetails.d.ts +1 -0
- package/api/types/CustomLlm.d.ts +2 -0
- package/api/types/CustomLlmapiType.d.ts +5 -0
- package/api/types/CustomLlmapiType.js +8 -0
- package/api/types/DeleteWorkspaceWebhookResponseModel.d.ts +4 -0
- package/api/types/DeleteWorkspaceWebhookResponseModel.js +3 -0
- package/api/types/DetailedMusicResponse.d.ts +2 -0
- package/{dist/api/types/DiscountResposneModel.d.ts → api/types/DiscountResponseModel.d.ts} +1 -1
- package/api/types/DiscountResponseModel.js +3 -0
- package/api/types/DubbingResource.d.ts +2 -2
- package/api/types/DubbingTranscriptUtterance.d.ts +2 -1
- package/api/types/DubbingTranscriptWord.d.ts +2 -2
- package/api/types/GetLiveCountResponse.d.ts +4 -0
- package/api/types/GetLiveCountResponse.js +3 -0
- package/api/types/GetVoicesV2Response.d.ts +4 -0
- package/api/types/InvoiceResponse.d.ts +1 -1
- package/api/types/MultipartMusicResponse.d.ts +1 -1
- package/api/types/MusicPrompt.d.ts +2 -2
- package/api/types/PatchWorkspaceWebhookResponseModel.d.ts +4 -0
- package/api/types/PatchWorkspaceWebhookResponseModel.js +3 -0
- package/api/types/PendingSubscriptionSwitchResponseModel.d.ts +1 -1
- package/api/types/PodcastTextSource.d.ts +2 -0
- package/api/types/PodcastUrlSource.d.ts +2 -0
- package/api/types/ProjectExtendedResponseModelSourceType.d.ts +1 -0
- package/api/types/ProjectExtendedResponseModelSourceType.js +1 -0
- package/api/types/ProjectResponseModelSourceType.d.ts +1 -0
- package/api/types/ProjectResponseModelSourceType.js +1 -0
- package/api/types/RagConfig.d.ts +2 -0
- package/api/types/RagConfigWorkflowOverride.d.ts +2 -0
- package/api/types/SegmentMigrationResponse.d.ts +3 -0
- package/api/types/SegmentMigrationResponse.js +3 -0
- package/api/types/SongSection.d.ts +2 -2
- package/api/types/SpeakerCreatedResponse.d.ts +4 -0
- package/api/types/SpeakerCreatedResponse.js +3 -0
- package/api/types/Subscription.d.ts +2 -2
- package/api/types/SubscriptionResponse.d.ts +2 -2
- package/api/types/SystemToolConfigInput.d.ts +2 -0
- package/api/types/SystemToolConfigOutput.d.ts +2 -0
- package/api/types/TtsConversationalConfigInput.d.ts +0 -2
- package/api/types/TtsConversationalConfigOutput.d.ts +0 -2
- package/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
- package/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
- package/api/types/WebhookHmacSettings.d.ts +11 -0
- package/api/types/WebhookHmacSettings.js +3 -0
- package/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -5
- package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -5
- package/api/types/WhatsAppConversationInfo.d.ts +2 -0
- package/api/types/WhatsAppConversationInfoDirection.d.ts +6 -0
- package/api/types/WhatsAppConversationInfoDirection.js +9 -0
- package/api/types/WidgetTextContents.d.ts +14 -0
- package/api/types/WordTimestamp.d.ts +5 -0
- package/api/types/WordTimestamp.js +3 -0
- package/api/types/WorkflowToolNestedToolsStepModelInput.d.ts +1 -1
- package/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +1 -1
- package/api/types/WorkflowToolNestedToolsStepModelOutput.d.ts +1 -1
- package/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +1 -1
- package/api/types/WorkspaceCreateWebhookResponseModel.d.ts +4 -0
- package/api/types/WorkspaceCreateWebhookResponseModel.js +3 -0
- package/api/types/index.d.ts +19 -8
- package/api/types/index.js +19 -8
- package/core/fetcher/BinaryResponse.d.ts +6 -7
- package/core/fetcher/Fetcher.d.ts +5 -1
- package/core/fetcher/Fetcher.js +2 -1
- package/core/fetcher/getResponseBody.js +18 -4
- package/core/fetcher/signals.d.ts +1 -1
- package/core/runtime/runtime.js +11 -10
- package/core/schemas/builders/object/object.js +14 -1
- package/dist/BaseClient.d.ts +5 -1
- package/dist/BaseClient.js +48 -0
- package/dist/Client.d.ts +76 -76
- package/dist/Client.js +29 -49
- package/dist/api/errors/BadRequestError.js +5 -1
- package/dist/api/errors/ConflictError.js +5 -1
- package/dist/api/errors/ForbiddenError.js +5 -1
- package/dist/api/errors/NotFoundError.js +5 -1
- package/dist/api/errors/TooEarlyError.js +5 -1
- package/dist/api/errors/UnauthorizedError.js +5 -1
- package/dist/api/errors/UnprocessableEntityError.js +5 -1
- package/dist/api/resources/audioIsolation/client/Client.d.ts +8 -8
- package/dist/api/resources/audioIsolation/client/Client.js +9 -35
- package/dist/api/resources/audioNative/client/Client.d.ts +12 -12
- package/dist/api/resources/audioNative/client/Client.js +13 -53
- package/dist/api/resources/conversationalAi/client/Client.d.ts +59 -56
- package/dist/api/resources/conversationalAi/client/Client.js +47 -96
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +36 -36
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +29 -153
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +11 -11
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +10 -22
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/analytics/client/Client.d.ts +12 -0
- package/dist/api/resources/conversationalAi/resources/analytics/client/Client.js +16 -0
- package/dist/api/resources/conversationalAi/resources/analytics/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/analytics/client/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/index.js +18 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/index.js +41 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.d.ts +28 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +127 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +16 -16
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +17 -85
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +25 -22
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +32 -88
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +9 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +7 -7
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +8 -20
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +9 -9
- package/dist/api/resources/conversationalAi/resources/dashboard/client/Client.js +7 -6
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +10 -10
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +11 -37
- package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/index.js +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +14 -14
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +11 -23
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +25 -25
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +24 -134
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +28 -28
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +21 -89
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +10 -10
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +11 -37
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.d.ts +14 -14
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +15 -69
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +16 -16
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +17 -85
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +14 -14
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +15 -69
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.d.ts +10 -10
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +11 -37
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.d.ts +21 -21
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +20 -102
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +12 -12
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +13 -53
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +18 -18
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +19 -101
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +25 -8
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +67 -20
- package/dist/api/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.d.ts +16 -0
- package/dist/api/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/twilio/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/twilio/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/twilio/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.d.ts +5 -0
- package/dist/api/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.js +8 -0
- package/dist/api/resources/conversationalAi/resources/twilio/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/twilio/types/index.js +17 -0
- package/dist/api/resources/dubbing/client/Client.d.ts +23 -23
- package/dist/api/resources/dubbing/client/Client.js +18 -72
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -2
- package/dist/api/resources/dubbing/resources/audio/client/Client.d.ts +7 -7
- package/dist/api/resources/dubbing/resources/audio/client/Client.js +8 -20
- package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +43 -26
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +87 -88
- package/dist/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +11 -0
- package/dist/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +3 -0
- package/dist/api/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +8 -8
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +9 -21
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +10 -10
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +11 -37
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +25 -13
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +73 -37
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +16 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +3 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +8 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +8 -8
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +9 -21
- package/dist/api/resources/dubbing/resources/transcript/client/Client.d.ts +8 -8
- package/dist/api/resources/dubbing/resources/transcript/client/Client.js +9 -21
- package/dist/api/resources/forcedAlignment/client/Client.d.ts +8 -8
- package/dist/api/resources/forcedAlignment/client/Client.js +9 -21
- package/dist/api/resources/history/client/Client.d.ts +14 -14
- package/dist/api/resources/history/client/Client.js +15 -83
- package/dist/api/resources/models/client/Client.d.ts +8 -8
- package/dist/api/resources/models/client/Client.js +9 -21
- package/dist/api/resources/music/client/Client.d.ts +13 -13
- package/dist/api/resources/music/client/Client.js +15 -66
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -0
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -0
- package/dist/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +2 -0
- package/dist/api/resources/music/resources/compositionPlan/client/Client.d.ts +8 -8
- package/dist/api/resources/music/resources/compositionPlan/client/Client.js +9 -21
- package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +20 -20
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +19 -101
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +10 -10
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +11 -37
- package/dist/api/resources/samples/client/Client.d.ts +8 -8
- package/dist/api/resources/samples/client/Client.js +9 -21
- package/dist/api/resources/serviceAccounts/client/Client.d.ts +11 -11
- package/dist/api/resources/serviceAccounts/client/Client.js +10 -22
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.d.ts +16 -16
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +17 -71
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +1 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +1 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/{BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts → BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts} +2 -2
- package/{api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js → dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js} +2 -2
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/{BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts → BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts} +2 -2
- package/{api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js → dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js} +2 -2
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +2 -2
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +2 -2
- package/dist/api/resources/speechToSpeech/client/Client.d.ts +8 -8
- package/dist/api/resources/speechToSpeech/client/Client.js +9 -35
- package/dist/api/resources/speechToText/client/Client.d.ts +11 -11
- package/dist/api/resources/speechToText/client/Client.js +10 -22
- package/dist/api/resources/speechToText/resources/transcripts/client/Client.d.ts +10 -10
- package/dist/api/resources/speechToText/resources/transcripts/client/Client.js +11 -37
- package/dist/api/resources/studio/client/Client.d.ts +12 -11
- package/dist/api/resources/studio/client/Client.js +11 -22
- package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/client/Client.d.ts +30 -30
- package/dist/api/resources/studio/resources/projects/client/Client.js +28 -105
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +8 -0
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +21 -21
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +20 -102
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +11 -11
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +12 -52
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +8 -8
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +9 -21
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +8 -8
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +9 -21
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +12 -12
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +13 -67
- package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -0
- package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSource.d.ts +1 -1
- package/dist/api/resources/studio/types/{BodyCreatePodcastV1StudioPodcastsPostSourceItem.d.ts → BodyCreatePodcastV1StudioPodcastsPostSourceTwoItem.d.ts} +2 -2
- package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceTwoItem.js +3 -0
- package/dist/api/resources/studio/types/index.d.ts +1 -1
- package/dist/api/resources/studio/types/index.js +1 -1
- package/dist/api/resources/textToDialogue/client/Client.d.ts +11 -11
- package/dist/api/resources/textToDialogue/client/Client.js +12 -66
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +1 -1
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.js +1 -1
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.js +1 -1
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +1 -1
- package/dist/api/resources/textToSoundEffects/client/Client.d.ts +7 -7
- package/dist/api/resources/textToSoundEffects/client/Client.js +8 -20
- package/dist/api/resources/textToSpeech/client/Client.d.ts +11 -11
- package/dist/api/resources/textToSpeech/client/Client.js +12 -66
- package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.js +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.js +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.js +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.js +1 -1
- package/dist/api/resources/textToVoice/client/Client.d.ts +17 -17
- package/dist/api/resources/textToVoice/client/Client.js +16 -70
- package/dist/api/resources/textToVoice/resources/preview/client/Client.d.ts +7 -7
- package/dist/api/resources/textToVoice/resources/preview/client/Client.js +8 -20
- package/dist/api/resources/tokens/client/Client.d.ts +9 -9
- package/dist/api/resources/tokens/client/Client.js +7 -6
- package/dist/api/resources/tokens/resources/singleUse/client/Client.d.ts +8 -8
- package/dist/api/resources/tokens/resources/singleUse/client/Client.js +9 -21
- package/dist/api/resources/usage/client/Client.d.ts +8 -8
- package/dist/api/resources/usage/client/Client.js +9 -21
- package/dist/api/resources/user/client/Client.d.ts +11 -11
- package/dist/api/resources/user/client/Client.js +10 -22
- package/dist/api/resources/user/resources/subscription/client/Client.d.ts +8 -8
- package/dist/api/resources/user/resources/subscription/client/Client.js +9 -21
- package/dist/api/resources/voices/client/Client.d.ts +34 -34
- package/dist/api/resources/voices/client/Client.js +27 -137
- package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +2 -2
- package/dist/api/resources/voices/resources/ivc/client/Client.d.ts +8 -8
- package/dist/api/resources/voices/resources/ivc/client/Client.js +9 -21
- package/dist/api/resources/voices/resources/pvc/client/Client.d.ts +18 -18
- package/dist/api/resources/voices/resources/pvc/client/Client.js +15 -55
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +21 -21
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +16 -56
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +8 -8
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +9 -21
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +13 -13
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +12 -38
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +8 -8
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +9 -21
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +8 -8
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +9 -21
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +11 -11
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +10 -22
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +10 -10
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +11 -37
- package/dist/api/resources/voices/resources/samples/client/Client.d.ts +9 -9
- package/dist/api/resources/voices/resources/samples/client/Client.js +7 -6
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +7 -7
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +8 -20
- package/dist/api/resources/voices/resources/settings/client/Client.d.ts +12 -12
- package/dist/api/resources/voices/resources/settings/client/Client.js +13 -53
- package/dist/api/resources/webhooks/client/Client.d.ts +57 -8
- package/dist/api/resources/webhooks/client/Client.js +208 -20
- package/dist/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +15 -0
- package/dist/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +3 -0
- package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +13 -0
- package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +3 -0
- package/dist/api/resources/webhooks/client/requests/index.d.ts +2 -0
- package/dist/api/resources/workspace/client/Client.d.ts +18 -18
- package/dist/api/resources/workspace/client/Client.js +10 -9
- package/dist/api/resources/workspace/resources/groups/client/Client.d.ts +11 -11
- package/dist/api/resources/workspace/resources/groups/client/Client.js +10 -22
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +10 -10
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +11 -37
- package/dist/api/resources/workspace/resources/invites/client/Client.d.ts +12 -12
- package/dist/api/resources/workspace/resources/invites/client/Client.js +13 -53
- package/dist/api/resources/workspace/resources/members/client/Client.d.ts +8 -8
- package/dist/api/resources/workspace/resources/members/client/Client.js +9 -21
- package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +12 -12
- package/dist/api/resources/workspace/resources/resources/client/Client.js +13 -53
- package/dist/api/types/AgentDefinitionSource.d.ts +1 -0
- package/dist/api/types/AgentDefinitionSource.js +1 -0
- package/dist/api/types/AgentWorkflowRequestModel.d.ts +2 -0
- package/dist/api/types/AgentWorkflowResponseModel.d.ts +2 -0
- package/dist/api/types/BackupLlmDefault.d.ts +3 -1
- package/dist/api/types/BackupLlmDisabled.d.ts +3 -1
- package/dist/api/types/BackupLlmOverride.d.ts +1 -0
- package/dist/api/types/BillingPeriod.d.ts +7 -0
- package/{api/types/ExtendedSubscriptionResponseModelBillingPeriod.js → dist/api/types/BillingPeriod.js} +4 -2
- package/dist/api/types/CharacterRefreshPeriod.d.ts +7 -0
- package/{api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js → dist/api/types/CharacterRefreshPeriod.js} +4 -2
- package/dist/api/types/ClientEvent.d.ts +1 -0
- package/dist/api/types/ClientEvent.js +1 -0
- package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +14 -0
- package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +0 -1
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +0 -1
- package/dist/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.d.ts +7 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.js +3 -0
- package/{api/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts → dist/api/types/ConversationHistoryTranscriptToolCallCommonModelInput.d.ts} +2 -2
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelInput.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.d.ts +16 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelOutput.d.ts +9 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelOutput.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.d.ts +16 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallWebhookDetails.d.ts +1 -0
- package/dist/api/types/CustomLlm.d.ts +2 -0
- package/dist/api/types/CustomLlmapiType.d.ts +5 -0
- package/dist/api/types/CustomLlmapiType.js +8 -0
- package/dist/api/types/DeleteWorkspaceWebhookResponseModel.d.ts +4 -0
- package/dist/api/types/DeleteWorkspaceWebhookResponseModel.js +3 -0
- package/dist/api/types/DetailedMusicResponse.d.ts +2 -0
- package/{api/types/DiscountResposneModel.d.ts → dist/api/types/DiscountResponseModel.d.ts} +1 -1
- package/dist/api/types/DiscountResponseModel.js +3 -0
- package/dist/api/types/DubbingResource.d.ts +2 -2
- package/dist/api/types/DubbingTranscriptUtterance.d.ts +2 -1
- package/dist/api/types/DubbingTranscriptWord.d.ts +2 -2
- package/dist/api/types/GetLiveCountResponse.d.ts +4 -0
- package/dist/api/types/GetLiveCountResponse.js +3 -0
- package/dist/api/types/GetVoicesV2Response.d.ts +4 -0
- package/dist/api/types/InvoiceResponse.d.ts +1 -1
- package/dist/api/types/MultipartMusicResponse.d.ts +1 -1
- package/dist/api/types/MusicPrompt.d.ts +2 -2
- package/dist/api/types/PatchWorkspaceWebhookResponseModel.d.ts +4 -0
- package/dist/api/types/PatchWorkspaceWebhookResponseModel.js +3 -0
- package/dist/api/types/PendingSubscriptionSwitchResponseModel.d.ts +1 -1
- package/dist/api/types/PodcastTextSource.d.ts +2 -0
- package/dist/api/types/PodcastUrlSource.d.ts +2 -0
- package/dist/api/types/ProjectExtendedResponseModelSourceType.d.ts +1 -0
- package/dist/api/types/ProjectExtendedResponseModelSourceType.js +1 -0
- package/dist/api/types/ProjectResponseModelSourceType.d.ts +1 -0
- package/dist/api/types/ProjectResponseModelSourceType.js +1 -0
- package/dist/api/types/RagConfig.d.ts +2 -0
- package/dist/api/types/RagConfigWorkflowOverride.d.ts +2 -0
- package/dist/api/types/SegmentMigrationResponse.d.ts +3 -0
- package/dist/api/types/SegmentMigrationResponse.js +3 -0
- package/dist/api/types/SongSection.d.ts +2 -2
- package/dist/api/types/SpeakerCreatedResponse.d.ts +4 -0
- package/dist/api/types/SpeakerCreatedResponse.js +3 -0
- package/dist/api/types/Subscription.d.ts +2 -2
- package/dist/api/types/SubscriptionResponse.d.ts +2 -2
- package/dist/api/types/SystemToolConfigInput.d.ts +2 -0
- package/dist/api/types/SystemToolConfigOutput.d.ts +2 -0
- package/dist/api/types/TtsConversationalConfigInput.d.ts +0 -2
- package/dist/api/types/TtsConversationalConfigOutput.d.ts +0 -2
- package/dist/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
- package/dist/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
- package/dist/api/types/WebhookHmacSettings.d.ts +11 -0
- package/dist/api/types/WebhookHmacSettings.js +3 -0
- package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -5
- package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -5
- package/dist/api/types/WhatsAppConversationInfo.d.ts +2 -0
- package/dist/api/types/WhatsAppConversationInfoDirection.d.ts +6 -0
- package/dist/api/types/WhatsAppConversationInfoDirection.js +9 -0
- package/dist/api/types/WidgetTextContents.d.ts +14 -0
- package/dist/api/types/WordTimestamp.d.ts +5 -0
- package/dist/api/types/WordTimestamp.js +3 -0
- package/dist/api/types/WorkflowToolNestedToolsStepModelInput.d.ts +1 -1
- package/dist/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +1 -1
- package/dist/api/types/WorkflowToolNestedToolsStepModelOutput.d.ts +1 -1
- package/dist/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +1 -1
- package/dist/api/types/WorkspaceCreateWebhookResponseModel.d.ts +4 -0
- package/dist/api/types/WorkspaceCreateWebhookResponseModel.js +3 -0
- package/dist/api/types/index.d.ts +19 -8
- package/dist/api/types/index.js +19 -8
- package/dist/core/fetcher/BinaryResponse.d.ts +6 -7
- package/dist/core/fetcher/Fetcher.d.ts +5 -1
- package/dist/core/fetcher/Fetcher.js +2 -1
- package/dist/core/fetcher/getResponseBody.js +18 -4
- package/dist/core/fetcher/signals.d.ts +1 -1
- package/dist/core/runtime/runtime.js +11 -10
- package/dist/core/schemas/builders/object/object.js +14 -1
- package/dist/errors/ElevenLabsError.js +5 -1
- package/dist/errors/ElevenLabsTimeoutError.js +5 -1
- package/dist/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/errors/handleNonStatusCodeError.js +65 -0
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.d.ts +15 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.js +47 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/twilio/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.d.ts +7 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.js +39 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/types/index.js +17 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +10 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +42 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/index.js +3 -1
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +13 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +45 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +4 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.js +4 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.js +3 -1
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +1 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +2 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +2 -2
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +2 -2
- package/{serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts → dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts} +2 -2
- package/{serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js → dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js} +2 -2
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +2 -2
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +2 -2
- package/{serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts → dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts} +2 -2
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/{BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js → BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js} +2 -2
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +2 -2
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +2 -2
- package/dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -1
- package/dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -1
- package/dist/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSource.d.ts +2 -2
- package/dist/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSource.js +2 -2
- package/dist/serialization/resources/studio/types/{BodyCreatePodcastV1StudioPodcastsPostSourceItem.d.ts → BodyCreatePodcastV1StudioPodcastsPostSourceTwoItem.d.ts} +3 -3
- package/{serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceItem.js → dist/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceTwoItem.js} +2 -2
- package/dist/serialization/resources/studio/types/index.d.ts +1 -1
- package/dist/serialization/resources/studio/types/index.js +1 -1
- package/dist/serialization/resources/webhooks/client/index.d.ts +1 -0
- package/dist/serialization/resources/webhooks/client/index.js +17 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +10 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +42 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +10 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +42 -0
- package/dist/serialization/resources/webhooks/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/webhooks/client/requests/index.js +7 -0
- package/dist/serialization/resources/webhooks/index.d.ts +1 -0
- package/dist/serialization/resources/webhooks/index.js +17 -0
- package/dist/serialization/types/AgentDefinitionSource.d.ts +1 -1
- package/dist/serialization/types/AgentDefinitionSource.js +1 -1
- package/dist/serialization/types/AgentWorkflowRequestModel.d.ts +1 -0
- package/dist/serialization/types/AgentWorkflowRequestModel.js +1 -0
- package/dist/serialization/types/AgentWorkflowResponseModel.d.ts +1 -0
- package/dist/serialization/types/AgentWorkflowResponseModel.js +1 -0
- package/dist/serialization/types/BackupLlmDefault.d.ts +3 -1
- package/dist/serialization/types/BackupLlmDefault.js +3 -1
- package/dist/serialization/types/BackupLlmDisabled.d.ts +3 -1
- package/dist/serialization/types/BackupLlmDisabled.js +3 -1
- package/dist/serialization/types/BackupLlmOverride.d.ts +1 -0
- package/dist/serialization/types/BackupLlmOverride.js +1 -0
- package/dist/serialization/types/BillingPeriod.d.ts +7 -0
- package/dist/serialization/types/{SubscriptionResponseModelBillingPeriod.js → BillingPeriod.js} +2 -2
- package/dist/serialization/types/CharacterRefreshPeriod.d.ts +7 -0
- package/dist/serialization/types/{ExtendedSubscriptionResponseModelBillingPeriod.js → CharacterRefreshPeriod.js} +2 -2
- package/dist/serialization/types/ClientEvent.d.ts +1 -1
- package/dist/serialization/types/ClientEvent.js +1 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +20 -0
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +52 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +2 -1
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +2 -1
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.d.ts +13 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.js +45 -0
- package/dist/serialization/types/{ConversationHistoryTranscriptToolCallCommonModel.d.ts → ConversationHistoryTranscriptToolCallCommonModelInput.d.ts} +4 -4
- package/{serialization/types/ConversationHistoryTranscriptToolCallCommonModel.js → dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelInput.js} +4 -4
- package/{serialization/types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.d.ts → dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.d.ts} +7 -3
- package/dist/serialization/types/{ConversationHistoryTranscriptToolCallCommonModelToolDetails.js → ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.js} +4 -2
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutput.d.ts +16 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutput.js +48 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.d.ts +23 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.js +53 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallWebhookDetails.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallWebhookDetails.js +1 -0
- package/dist/serialization/types/CustomLlm.d.ts +2 -0
- package/dist/serialization/types/CustomLlm.js +2 -0
- package/dist/serialization/types/CustomLlmapiType.d.ts +7 -0
- package/{serialization/types/SubscriptionResponseModelBillingPeriod.js → dist/serialization/types/CustomLlmapiType.js} +2 -2
- package/dist/serialization/types/DeleteWorkspaceWebhookResponseModel.d.ts +9 -0
- package/{serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.js → dist/serialization/types/DeleteWorkspaceWebhookResponseModel.js} +4 -2
- package/dist/serialization/types/DetailedMusicResponse.d.ts +2 -0
- package/dist/serialization/types/DetailedMusicResponse.js +2 -0
- package/{serialization/types/DiscountResposneModel.d.ts → dist/serialization/types/DiscountResponseModel.d.ts} +2 -2
- package/dist/serialization/types/{DiscountResposneModel.js → DiscountResponseModel.js} +2 -2
- package/dist/serialization/types/DubbingResource.d.ts +2 -2
- package/dist/serialization/types/DubbingResource.js +2 -2
- package/dist/serialization/types/DubbingTranscriptUtterance.d.ts +2 -1
- package/dist/serialization/types/DubbingTranscriptUtterance.js +2 -1
- package/dist/serialization/types/DubbingTranscriptWord.d.ts +2 -2
- package/dist/serialization/types/DubbingTranscriptWord.js +2 -2
- package/dist/serialization/types/GetLiveCountResponse.d.ts +9 -0
- package/dist/serialization/types/GetLiveCountResponse.js +41 -0
- package/dist/serialization/types/InvoiceResponse.d.ts +2 -2
- package/dist/serialization/types/InvoiceResponse.js +2 -2
- package/dist/serialization/types/PatchWorkspaceWebhookResponseModel.d.ts +9 -0
- package/dist/serialization/types/PatchWorkspaceWebhookResponseModel.js +41 -0
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -2
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.js +2 -2
- package/dist/serialization/types/PodcastTextSource.d.ts +1 -0
- package/dist/serialization/types/PodcastTextSource.js +1 -0
- package/dist/serialization/types/PodcastUrlSource.d.ts +1 -0
- package/dist/serialization/types/PodcastUrlSource.js +1 -0
- package/dist/serialization/types/ProjectExtendedResponseModelSourceType.d.ts +1 -1
- package/dist/serialization/types/ProjectExtendedResponseModelSourceType.js +1 -1
- package/dist/serialization/types/ProjectResponseModelSourceType.d.ts +1 -1
- package/dist/serialization/types/ProjectResponseModelSourceType.js +1 -1
- package/dist/serialization/types/RagConfig.d.ts +1 -0
- package/dist/serialization/types/RagConfig.js +1 -0
- package/dist/serialization/types/RagConfigWorkflowOverride.d.ts +1 -0
- package/dist/serialization/types/RagConfigWorkflowOverride.js +1 -0
- package/dist/serialization/types/SegmentMigrationResponse.d.ts +9 -0
- package/dist/serialization/types/SegmentMigrationResponse.js +41 -0
- package/dist/serialization/types/SpeakerCreatedResponse.d.ts +10 -0
- package/dist/serialization/types/{PendingSubscriptionSwitchResponseModelNextBillingPeriod.js → SpeakerCreatedResponse.js} +5 -2
- package/dist/serialization/types/Subscription.d.ts +4 -4
- package/dist/serialization/types/Subscription.js +4 -4
- package/dist/serialization/types/SubscriptionResponse.d.ts +4 -4
- package/dist/serialization/types/SubscriptionResponse.js +4 -4
- package/dist/serialization/types/SystemToolConfigInput.d.ts +1 -0
- package/dist/serialization/types/SystemToolConfigInput.js +1 -0
- package/dist/serialization/types/SystemToolConfigOutput.d.ts +1 -0
- package/dist/serialization/types/SystemToolConfigOutput.js +1 -0
- package/dist/serialization/types/TtsConversationalConfigInput.d.ts +0 -2
- package/dist/serialization/types/TtsConversationalConfigInput.js +0 -2
- package/dist/serialization/types/TtsConversationalConfigOutput.d.ts +0 -2
- package/dist/serialization/types/TtsConversationalConfigOutput.js +0 -2
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +0 -2
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +0 -2
- package/dist/serialization/types/WebhookHmacSettings.d.ts +11 -0
- package/dist/serialization/types/WebhookHmacSettings.js +43 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -1
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +3 -3
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -1
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +3 -3
- package/dist/serialization/types/WhatsAppConversationInfo.d.ts +2 -0
- package/dist/serialization/types/WhatsAppConversationInfo.js +2 -0
- package/dist/serialization/types/WhatsAppConversationInfoDirection.d.ts +7 -0
- package/dist/serialization/types/WhatsAppConversationInfoDirection.js +39 -0
- package/dist/serialization/types/WidgetTextContents.d.ts +7 -0
- package/dist/serialization/types/WidgetTextContents.js +7 -0
- package/dist/serialization/types/WordTimestamp.d.ts +11 -0
- package/dist/serialization/types/WordTimestamp.js +43 -0
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelInput.d.ts +2 -2
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelInput.js +2 -2
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +2 -1
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +2 -0
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutput.d.ts +2 -2
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutput.js +2 -2
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +2 -1
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +2 -0
- package/dist/serialization/types/WorkspaceCreateWebhookResponseModel.d.ts +10 -0
- package/dist/serialization/types/WorkspaceCreateWebhookResponseModel.js +42 -0
- package/dist/serialization/types/index.d.ts +19 -8
- package/dist/serialization/types/index.js +19 -8
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/ElevenLabsClient.d.ts +1 -1
- package/dist/wrapper/music.d.ts +4 -4
- package/dist/wrapper/music.js +1 -1
- package/dist/wrapper/realtime/connection.d.ts +110 -6
- package/dist/wrapper/realtime/connection.js +74 -2
- package/dist/wrapper/realtime/index.d.ts +1 -1
- package/dist/wrapper/realtime/scribe.d.ts +2 -2
- package/dist/wrapper/speechToText.d.ts +1 -1
- package/dist/wrapper/speechToText.js +1 -1
- package/dist/wrapper/webhooks.d.ts +1 -1
- package/dist/wrapper/webhooks.js +1 -1
- package/errors/ElevenLabsError.js +5 -1
- package/errors/ElevenLabsTimeoutError.js +5 -1
- package/errors/handleNonStatusCodeError.d.ts +2 -0
- package/errors/handleNonStatusCodeError.js +65 -0
- package/package.json +1 -1
- package/reference.md +690 -216
- package/serialization/resources/conversationalAi/resources/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.d.ts +15 -0
- package/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.js +47 -0
- package/serialization/resources/conversationalAi/resources/twilio/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/twilio/client/requests/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/twilio/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/twilio/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.d.ts +7 -0
- package/serialization/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.js +39 -0
- package/serialization/resources/conversationalAi/resources/twilio/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/twilio/types/index.js +17 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +10 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +42 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/index.js +3 -1
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +13 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +45 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +4 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.js +4 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.js +3 -1
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +1 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +2 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +2 -2
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +2 -2
- package/{dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts → serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts} +2 -2
- package/{dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js → serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js} +2 -2
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +2 -2
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +2 -2
- package/{dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts → serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts} +2 -2
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/{BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js → BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js} +2 -2
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +2 -2
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +2 -2
- package/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -1
- package/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -1
- package/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSource.d.ts +2 -2
- package/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSource.js +2 -2
- package/serialization/resources/studio/types/{BodyCreatePodcastV1StudioPodcastsPostSourceItem.d.ts → BodyCreatePodcastV1StudioPodcastsPostSourceTwoItem.d.ts} +3 -3
- package/{dist/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceItem.js → serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceTwoItem.js} +2 -2
- package/serialization/resources/studio/types/index.d.ts +1 -1
- package/serialization/resources/studio/types/index.js +1 -1
- package/serialization/resources/webhooks/client/index.d.ts +1 -0
- package/serialization/resources/webhooks/client/index.js +17 -0
- package/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +10 -0
- package/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +42 -0
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +10 -0
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +42 -0
- package/serialization/resources/webhooks/client/requests/index.d.ts +2 -0
- package/serialization/resources/webhooks/client/requests/index.js +7 -0
- package/serialization/resources/webhooks/index.d.ts +1 -0
- package/serialization/resources/webhooks/index.js +17 -0
- package/serialization/types/AgentDefinitionSource.d.ts +1 -1
- package/serialization/types/AgentDefinitionSource.js +1 -1
- package/serialization/types/AgentWorkflowRequestModel.d.ts +1 -0
- package/serialization/types/AgentWorkflowRequestModel.js +1 -0
- package/serialization/types/AgentWorkflowResponseModel.d.ts +1 -0
- package/serialization/types/AgentWorkflowResponseModel.js +1 -0
- package/serialization/types/BackupLlmDefault.d.ts +3 -1
- package/serialization/types/BackupLlmDefault.js +3 -1
- package/serialization/types/BackupLlmDisabled.d.ts +3 -1
- package/serialization/types/BackupLlmDisabled.js +3 -1
- package/serialization/types/BackupLlmOverride.d.ts +1 -0
- package/serialization/types/BackupLlmOverride.js +1 -0
- package/serialization/types/BillingPeriod.d.ts +7 -0
- package/serialization/types/BillingPeriod.js +39 -0
- package/serialization/types/CharacterRefreshPeriod.d.ts +7 -0
- package/serialization/types/CharacterRefreshPeriod.js +39 -0
- package/serialization/types/ClientEvent.d.ts +1 -1
- package/serialization/types/ClientEvent.js +1 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +20 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +52 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +2 -1
- package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +2 -1
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
- package/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.d.ts +13 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.js +45 -0
- package/serialization/types/{ConversationHistoryTranscriptToolCallCommonModel.d.ts → ConversationHistoryTranscriptToolCallCommonModelInput.d.ts} +4 -4
- package/{dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.js → serialization/types/ConversationHistoryTranscriptToolCallCommonModelInput.js} +4 -4
- package/{dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.d.ts → serialization/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.d.ts} +7 -3
- package/serialization/types/{ConversationHistoryTranscriptToolCallCommonModelToolDetails.js → ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.js} +4 -2
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutput.d.ts +16 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutput.js +48 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.d.ts +23 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.js +53 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallWebhookDetails.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallWebhookDetails.js +1 -0
- package/serialization/types/CustomLlm.d.ts +2 -0
- package/serialization/types/CustomLlm.js +2 -0
- package/serialization/types/CustomLlmapiType.d.ts +7 -0
- package/serialization/types/CustomLlmapiType.js +39 -0
- package/serialization/types/DeleteWorkspaceWebhookResponseModel.d.ts +9 -0
- package/serialization/types/DeleteWorkspaceWebhookResponseModel.js +41 -0
- package/serialization/types/DetailedMusicResponse.d.ts +2 -0
- package/serialization/types/DetailedMusicResponse.js +2 -0
- package/{dist/serialization/types/DiscountResposneModel.d.ts → serialization/types/DiscountResponseModel.d.ts} +2 -2
- package/serialization/types/{DiscountResposneModel.js → DiscountResponseModel.js} +2 -2
- package/serialization/types/DubbingResource.d.ts +2 -2
- package/serialization/types/DubbingResource.js +2 -2
- package/serialization/types/DubbingTranscriptUtterance.d.ts +2 -1
- package/serialization/types/DubbingTranscriptUtterance.js +2 -1
- package/serialization/types/DubbingTranscriptWord.d.ts +2 -2
- package/serialization/types/DubbingTranscriptWord.js +2 -2
- package/serialization/types/GetLiveCountResponse.d.ts +9 -0
- package/serialization/types/GetLiveCountResponse.js +41 -0
- package/serialization/types/InvoiceResponse.d.ts +2 -2
- package/serialization/types/InvoiceResponse.js +2 -2
- package/serialization/types/PatchWorkspaceWebhookResponseModel.d.ts +9 -0
- package/serialization/types/PatchWorkspaceWebhookResponseModel.js +41 -0
- package/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -2
- package/serialization/types/PendingSubscriptionSwitchResponseModel.js +2 -2
- package/serialization/types/PodcastTextSource.d.ts +1 -0
- package/serialization/types/PodcastTextSource.js +1 -0
- package/serialization/types/PodcastUrlSource.d.ts +1 -0
- package/serialization/types/PodcastUrlSource.js +1 -0
- package/serialization/types/ProjectExtendedResponseModelSourceType.d.ts +1 -1
- package/serialization/types/ProjectExtendedResponseModelSourceType.js +1 -1
- package/serialization/types/ProjectResponseModelSourceType.d.ts +1 -1
- package/serialization/types/ProjectResponseModelSourceType.js +1 -1
- package/serialization/types/RagConfig.d.ts +1 -0
- package/serialization/types/RagConfig.js +1 -0
- package/serialization/types/RagConfigWorkflowOverride.d.ts +1 -0
- package/serialization/types/RagConfigWorkflowOverride.js +1 -0
- package/serialization/types/SegmentMigrationResponse.d.ts +9 -0
- package/serialization/types/SegmentMigrationResponse.js +41 -0
- package/serialization/types/SpeakerCreatedResponse.d.ts +10 -0
- package/{dist/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js → serialization/types/SpeakerCreatedResponse.js} +5 -2
- package/serialization/types/Subscription.d.ts +4 -4
- package/serialization/types/Subscription.js +4 -4
- package/serialization/types/SubscriptionResponse.d.ts +4 -4
- package/serialization/types/SubscriptionResponse.js +4 -4
- package/serialization/types/SystemToolConfigInput.d.ts +1 -0
- package/serialization/types/SystemToolConfigInput.js +1 -0
- package/serialization/types/SystemToolConfigOutput.d.ts +1 -0
- package/serialization/types/SystemToolConfigOutput.js +1 -0
- package/serialization/types/TtsConversationalConfigInput.d.ts +0 -2
- package/serialization/types/TtsConversationalConfigInput.js +0 -2
- package/serialization/types/TtsConversationalConfigOutput.d.ts +0 -2
- package/serialization/types/TtsConversationalConfigOutput.js +0 -2
- package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
- package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +0 -2
- package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
- package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +0 -2
- package/serialization/types/WebhookHmacSettings.d.ts +11 -0
- package/serialization/types/WebhookHmacSettings.js +43 -0
- package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -1
- package/serialization/types/WebhookToolApiSchemaConfigInput.js +3 -3
- package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -1
- package/serialization/types/WebhookToolApiSchemaConfigOutput.js +3 -3
- package/serialization/types/WhatsAppConversationInfo.d.ts +2 -0
- package/serialization/types/WhatsAppConversationInfo.js +2 -0
- package/serialization/types/WhatsAppConversationInfoDirection.d.ts +7 -0
- package/serialization/types/WhatsAppConversationInfoDirection.js +39 -0
- package/serialization/types/WidgetTextContents.d.ts +7 -0
- package/serialization/types/WidgetTextContents.js +7 -0
- package/serialization/types/WordTimestamp.d.ts +11 -0
- package/serialization/types/WordTimestamp.js +43 -0
- package/serialization/types/WorkflowToolNestedToolsStepModelInput.d.ts +2 -2
- package/serialization/types/WorkflowToolNestedToolsStepModelInput.js +2 -2
- package/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +2 -1
- package/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +2 -0
- package/serialization/types/WorkflowToolNestedToolsStepModelOutput.d.ts +2 -2
- package/serialization/types/WorkflowToolNestedToolsStepModelOutput.js +2 -2
- package/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +2 -1
- package/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +2 -0
- package/serialization/types/WorkspaceCreateWebhookResponseModel.d.ts +10 -0
- package/serialization/types/WorkspaceCreateWebhookResponseModel.js +42 -0
- package/serialization/types/index.d.ts +19 -8
- package/serialization/types/index.js +19 -8
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/ElevenLabsClient.d.ts +1 -1
- package/wrapper/music.d.ts +4 -4
- package/wrapper/music.js +1 -1
- package/wrapper/realtime/connection.d.ts +110 -6
- package/wrapper/realtime/connection.js +74 -2
- package/wrapper/realtime/index.d.ts +1 -1
- package/wrapper/realtime/scribe.d.ts +2 -2
- package/wrapper/speechToText.d.ts +1 -1
- package/wrapper/speechToText.js +1 -1
- package/wrapper/webhooks.d.ts +1 -1
- package/wrapper/webhooks.js +1 -1
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.d.ts +0 -13
- package/api/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +0 -5
- package/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -5
- package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +0 -6
- package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +0 -9
- package/api/types/SubscriptionResponseModelBillingPeriod.d.ts +0 -5
- package/api/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -5
- package/core/fetcher/ResponseWithBody.d.ts +0 -4
- package/core/fetcher/ResponseWithBody.js +0 -6
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.d.ts +0 -13
- package/dist/api/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +0 -5
- package/dist/api/types/ExtendedSubscriptionResponseModelBillingPeriod.js +0 -8
- package/dist/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -5
- package/dist/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +0 -8
- package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +0 -6
- package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +0 -9
- package/dist/api/types/SubscriptionResponseModelBillingPeriod.d.ts +0 -5
- package/dist/api/types/SubscriptionResponseModelBillingPeriod.js +0 -8
- package/dist/api/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -5
- package/dist/api/types/SubscriptionResponseModelCharacterRefreshPeriod.js +0 -8
- package/dist/core/fetcher/ResponseWithBody.d.ts +0 -4
- package/dist/core/fetcher/ResponseWithBody.js +0 -6
- package/dist/serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +0 -7
- package/dist/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -7
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +0 -7
- package/dist/serialization/types/SubscriptionResponseModelBillingPeriod.d.ts +0 -7
- package/dist/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -7
- package/dist/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.js +0 -39
- package/serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +0 -7
- package/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -7
- package/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +0 -39
- package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +0 -7
- package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +0 -39
- package/serialization/types/SubscriptionResponseModelBillingPeriod.d.ts +0 -7
- package/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -7
- package/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.js +0 -39
- /package/api/resources/{studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceItem.js → conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.js} +0 -0
- /package/api/{types/ConversationHistoryTranscriptToolCallCommonModel.js → resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.js} +0 -0
- /package/api/{types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.js → resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js} +0 -0
- /package/api/{types/DiscountResposneModel.js → resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js} +0 -0
- /package/{dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceItem.js → api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceTwoItem.js} +0 -0
- /package/{dist/api/types/ConversationHistoryTranscriptToolCallCommonModel.js → api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js} +0 -0
- /package/{dist/api/types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.js → api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js} +0 -0
- /package/{dist/api/types/DiscountResposneModel.js → api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js} +0 -0
|
@@ -146,6 +146,7 @@ __exportStar(require("./BatchCallRecipientStatus"), exports);
|
|
|
146
146
|
__exportStar(require("./BatchCallResponse"), exports);
|
|
147
147
|
__exportStar(require("./BatchCallStatus"), exports);
|
|
148
148
|
__exportStar(require("./BatchCallWhatsAppParams"), exports);
|
|
149
|
+
__exportStar(require("./BillingPeriod"), exports);
|
|
149
150
|
__exportStar(require("./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge"), exports);
|
|
150
151
|
__exportStar(require("./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender"), exports);
|
|
151
152
|
__exportStar(require("./BreakdownTypes"), exports);
|
|
@@ -191,6 +192,7 @@ __exportStar(require("./ChapterWithContentResponseModel"), exports);
|
|
|
191
192
|
__exportStar(require("./ChapterWithContentResponseModelState"), exports);
|
|
192
193
|
__exportStar(require("./CharacterAlignmentModel"), exports);
|
|
193
194
|
__exportStar(require("./CharacterAlignmentResponseModel"), exports);
|
|
195
|
+
__exportStar(require("./CharacterRefreshPeriod"), exports);
|
|
194
196
|
__exportStar(require("./CharacterUsageResponse"), exports);
|
|
195
197
|
__exportStar(require("./ClientEvent"), exports);
|
|
196
198
|
__exportStar(require("./ClientToolConfigInput"), exports);
|
|
@@ -231,6 +233,7 @@ __exportStar(require("./ConversationHistoryMultivoiceMessagePartModel"), exports
|
|
|
231
233
|
__exportStar(require("./ConversationHistoryRagUsageCommonModel"), exports);
|
|
232
234
|
__exportStar(require("./ConversationHistorySipTrunkingPhoneCallModel"), exports);
|
|
233
235
|
__exportStar(require("./ConversationHistorySipTrunkingPhoneCallModelDirection"), exports);
|
|
236
|
+
__exportStar(require("./ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel"), exports);
|
|
234
237
|
__exportStar(require("./ConversationHistoryTranscriptCommonModelInput"), exports);
|
|
235
238
|
__exportStar(require("./ConversationHistoryTranscriptCommonModelInputRole"), exports);
|
|
236
239
|
__exportStar(require("./ConversationHistoryTranscriptCommonModelInputSourceMedium"), exports);
|
|
@@ -243,9 +246,12 @@ __exportStar(require("./ConversationHistoryTranscriptOtherToolsResultCommonModel
|
|
|
243
246
|
__exportStar(require("./ConversationHistoryTranscriptOtherToolsResultCommonModelType"), exports);
|
|
244
247
|
__exportStar(require("./ConversationHistoryTranscriptSystemToolResultCommonModel"), exports);
|
|
245
248
|
__exportStar(require("./ConversationHistoryTranscriptSystemToolResultCommonModelResult"), exports);
|
|
249
|
+
__exportStar(require("./ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails"), exports);
|
|
246
250
|
__exportStar(require("./ConversationHistoryTranscriptToolCallClientDetails"), exports);
|
|
247
|
-
__exportStar(require("./
|
|
248
|
-
__exportStar(require("./
|
|
251
|
+
__exportStar(require("./ConversationHistoryTranscriptToolCallCommonModelInput"), exports);
|
|
252
|
+
__exportStar(require("./ConversationHistoryTranscriptToolCallCommonModelInputToolDetails"), exports);
|
|
253
|
+
__exportStar(require("./ConversationHistoryTranscriptToolCallCommonModelOutput"), exports);
|
|
254
|
+
__exportStar(require("./ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails"), exports);
|
|
249
255
|
__exportStar(require("./ConversationHistoryTranscriptToolCallMcpDetails"), exports);
|
|
250
256
|
__exportStar(require("./ConversationHistoryTranscriptToolCallWebhookDetails"), exports);
|
|
251
257
|
__exportStar(require("./ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput"), exports);
|
|
@@ -285,6 +291,7 @@ __exportStar(require("./CreateTranscriptRequest"), exports);
|
|
|
285
291
|
__exportStar(require("./CreateTwilioPhoneNumberRequest"), exports);
|
|
286
292
|
__exportStar(require("./CreateUnitTestResponseModel"), exports);
|
|
287
293
|
__exportStar(require("./CustomLlm"), exports);
|
|
294
|
+
__exportStar(require("./CustomLlmapiType"), exports);
|
|
288
295
|
__exportStar(require("./CustomLlmRequestHeadersValue"), exports);
|
|
289
296
|
__exportStar(require("./DashboardCallSuccessChartModel"), exports);
|
|
290
297
|
__exportStar(require("./DashboardCriteriaChartModel"), exports);
|
|
@@ -302,6 +309,7 @@ __exportStar(require("./DeleteVoiceResponseModel"), exports);
|
|
|
302
309
|
__exportStar(require("./DeleteVoiceSampleResponseModel"), exports);
|
|
303
310
|
__exportStar(require("./DeleteWorkspaceGroupMemberResponseModel"), exports);
|
|
304
311
|
__exportStar(require("./DeleteWorkspaceInviteResponseModel"), exports);
|
|
312
|
+
__exportStar(require("./DeleteWorkspaceWebhookResponseModel"), exports);
|
|
305
313
|
__exportStar(require("./DependentAvailableAgentIdentifier"), exports);
|
|
306
314
|
__exportStar(require("./DependentAvailableAgentIdentifierAccessLevel"), exports);
|
|
307
315
|
__exportStar(require("./DependentAvailableToolIdentifier"), exports);
|
|
@@ -312,7 +320,7 @@ __exportStar(require("./DependentUnknownToolIdentifier"), exports);
|
|
|
312
320
|
__exportStar(require("./DetailedMusicResponse"), exports);
|
|
313
321
|
__exportStar(require("./DialogueInput"), exports);
|
|
314
322
|
__exportStar(require("./DialogueInputResponseModel"), exports);
|
|
315
|
-
__exportStar(require("./
|
|
323
|
+
__exportStar(require("./DiscountResponseModel"), exports);
|
|
316
324
|
__exportStar(require("./DocumentUsageModeEnum"), exports);
|
|
317
325
|
__exportStar(require("./DocxExportOptions"), exports);
|
|
318
326
|
__exportStar(require("./DoDubbingResponse"), exports);
|
|
@@ -348,8 +356,6 @@ __exportStar(require("./EvaluationSettings"), exports);
|
|
|
348
356
|
__exportStar(require("./EvaluationSuccessResult"), exports);
|
|
349
357
|
__exportStar(require("./ExactParameterEvaluationStrategy"), exports);
|
|
350
358
|
__exportStar(require("./ExportOptions"), exports);
|
|
351
|
-
__exportStar(require("./ExtendedSubscriptionResponseModelBillingPeriod"), exports);
|
|
352
|
-
__exportStar(require("./ExtendedSubscriptionResponseModelCharacterRefreshPeriod"), exports);
|
|
353
359
|
__exportStar(require("./ExtendedSubscriptionResponseModelCurrency"), exports);
|
|
354
360
|
__exportStar(require("./ExtendedSubscriptionResponseModelPendingChange"), exports);
|
|
355
361
|
__exportStar(require("./FeatureStatusCommonModel"), exports);
|
|
@@ -393,6 +399,7 @@ __exportStar(require("./GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsIt
|
|
|
393
399
|
__exportStar(require("./GetKnowledgeBaseTextResponseModel"), exports);
|
|
394
400
|
__exportStar(require("./GetKnowledgeBaseUrlResponseModel"), exports);
|
|
395
401
|
__exportStar(require("./GetLibraryVoicesResponse"), exports);
|
|
402
|
+
__exportStar(require("./GetLiveCountResponse"), exports);
|
|
396
403
|
__exportStar(require("./GetPhoneNumberInboundSipTrunkConfigResponseModel"), exports);
|
|
397
404
|
__exportStar(require("./GetPhoneNumberOutboundSipTrunkConfigResponseModel"), exports);
|
|
398
405
|
__exportStar(require("./GetPhoneNumberResponse"), exports);
|
|
@@ -506,10 +513,10 @@ __exportStar(require("./OutboundCallRecipient"), exports);
|
|
|
506
513
|
__exportStar(require("./OutboundCallRecipientResponseModel"), exports);
|
|
507
514
|
__exportStar(require("./OutboundSipTrunkConfigRequestModel"), exports);
|
|
508
515
|
__exportStar(require("./OutputFormat"), exports);
|
|
516
|
+
__exportStar(require("./PatchWorkspaceWebhookResponseModel"), exports);
|
|
509
517
|
__exportStar(require("./PdfExportOptions"), exports);
|
|
510
518
|
__exportStar(require("./PendingCancellationResponseModel"), exports);
|
|
511
519
|
__exportStar(require("./PendingSubscriptionSwitchResponseModel"), exports);
|
|
512
|
-
__exportStar(require("./PendingSubscriptionSwitchResponseModelNextBillingPeriod"), exports);
|
|
513
520
|
__exportStar(require("./PendingSubscriptionSwitchResponseModelNextTier"), exports);
|
|
514
521
|
__exportStar(require("./PhoneNumberAgentInfo"), exports);
|
|
515
522
|
__exportStar(require("./PhoneNumberDynamicVariableTransferDestination"), exports);
|
|
@@ -623,6 +630,7 @@ __exportStar(require("./SegmentCreateResponse"), exports);
|
|
|
623
630
|
__exportStar(require("./SegmentDeleteResponse"), exports);
|
|
624
631
|
__exportStar(require("./SegmentDubResponse"), exports);
|
|
625
632
|
__exportStar(require("./SegmentedJsonExportOptions"), exports);
|
|
633
|
+
__exportStar(require("./SegmentMigrationResponse"), exports);
|
|
626
634
|
__exportStar(require("./SegmentSubtitleFrame"), exports);
|
|
627
635
|
__exportStar(require("./SegmentTranscriptionResponse"), exports);
|
|
628
636
|
__exportStar(require("./SegmentTranslationResponse"), exports);
|
|
@@ -651,6 +659,7 @@ __exportStar(require("./SongMetadata"), exports);
|
|
|
651
659
|
__exportStar(require("./SongSection"), exports);
|
|
652
660
|
__exportStar(require("./SortDirection"), exports);
|
|
653
661
|
__exportStar(require("./SpeakerAudioResponseModel"), exports);
|
|
662
|
+
__exportStar(require("./SpeakerCreatedResponse"), exports);
|
|
654
663
|
__exportStar(require("./SpeakerResponseModel"), exports);
|
|
655
664
|
__exportStar(require("./SpeakerSegment"), exports);
|
|
656
665
|
__exportStar(require("./SpeakerSeparationResponseModel"), exports);
|
|
@@ -672,8 +681,6 @@ __exportStar(require("./StreamingAudioChunkWithTimestampsAndVoiceSegmentsRespons
|
|
|
672
681
|
__exportStar(require("./StreamingAudioChunkWithTimestampsResponse"), exports);
|
|
673
682
|
__exportStar(require("./Subscription"), exports);
|
|
674
683
|
__exportStar(require("./SubscriptionResponse"), exports);
|
|
675
|
-
__exportStar(require("./SubscriptionResponseModelBillingPeriod"), exports);
|
|
676
|
-
__exportStar(require("./SubscriptionResponseModelCharacterRefreshPeriod"), exports);
|
|
677
684
|
__exportStar(require("./SubscriptionResponseModelCurrency"), exports);
|
|
678
685
|
__exportStar(require("./SubscriptionStatusType"), exports);
|
|
679
686
|
__exportStar(require("./SuggestedAudioTag"), exports);
|
|
@@ -792,6 +799,7 @@ __exportStar(require("./VoiceSharingState"), exports);
|
|
|
792
799
|
__exportStar(require("./VoiceVerificationResponse"), exports);
|
|
793
800
|
__exportStar(require("./WebhookAuthMethodType"), exports);
|
|
794
801
|
__exportStar(require("./WebhookEventType"), exports);
|
|
802
|
+
__exportStar(require("./WebhookHmacSettings"), exports);
|
|
795
803
|
__exportStar(require("./WebhookToolApiSchemaConfigInput"), exports);
|
|
796
804
|
__exportStar(require("./WebhookToolApiSchemaConfigInputContentType"), exports);
|
|
797
805
|
__exportStar(require("./WebhookToolApiSchemaConfigInputMethod"), exports);
|
|
@@ -804,6 +812,7 @@ __exportStar(require("./WebhookToolConfigInput"), exports);
|
|
|
804
812
|
__exportStar(require("./WebhookToolConfigOutput"), exports);
|
|
805
813
|
__exportStar(require("./WebhookUsageType"), exports);
|
|
806
814
|
__exportStar(require("./WhatsAppConversationInfo"), exports);
|
|
815
|
+
__exportStar(require("./WhatsAppConversationInfoDirection"), exports);
|
|
807
816
|
__exportStar(require("./WidgetConfig"), exports);
|
|
808
817
|
__exportStar(require("./WidgetConfigInputAvatar"), exports);
|
|
809
818
|
__exportStar(require("./WidgetConfigOutputAvatar"), exports);
|
|
@@ -818,6 +827,7 @@ __exportStar(require("./WidgetLanguagePresetResponse"), exports);
|
|
|
818
827
|
__exportStar(require("./WidgetPlacement"), exports);
|
|
819
828
|
__exportStar(require("./WidgetStyles"), exports);
|
|
820
829
|
__exportStar(require("./WidgetTextContents"), exports);
|
|
830
|
+
__exportStar(require("./WordTimestamp"), exports);
|
|
821
831
|
__exportStar(require("./WorkflowEdgeModelInput"), exports);
|
|
822
832
|
__exportStar(require("./WorkflowEdgeModelInputBackwardCondition"), exports);
|
|
823
833
|
__exportStar(require("./WorkflowEdgeModelInputForwardCondition"), exports);
|
|
@@ -865,6 +875,7 @@ __exportStar(require("./WorkspaceApiKeyResponseModel"), exports);
|
|
|
865
875
|
__exportStar(require("./WorkspaceApiKeyResponseModelPermissionsItem"), exports);
|
|
866
876
|
__exportStar(require("./WorkspaceBatchCallsResponse"), exports);
|
|
867
877
|
__exportStar(require("./WorkspaceCreateApiKeyResponseModel"), exports);
|
|
878
|
+
__exportStar(require("./WorkspaceCreateWebhookResponseModel"), exports);
|
|
868
879
|
__exportStar(require("./WorkspaceGroupByNameResponseModel"), exports);
|
|
869
880
|
__exportStar(require("./WorkspaceResourceType"), exports);
|
|
870
881
|
__exportStar(require("./WorkspaceServiceAccountListResponseModel"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v2.
|
|
1
|
+
export declare const SDK_VERSION = "v2.27.0";
|
package/version.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElevenLabsClient as FernClient } from "../Client";
|
|
2
2
|
import type * as core from "../core";
|
|
3
3
|
import { WebhooksClient } from "./webhooks";
|
|
4
|
-
import {
|
|
4
|
+
import { MusicClient as GeneratedMusic } from "../api/resources/music/client/Client";
|
|
5
5
|
import { SpeechToText } from "./speechToText";
|
|
6
6
|
export declare namespace ElevenLabsClient {
|
|
7
7
|
interface Options extends FernClient.Options {
|
package/wrapper/music.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MusicClient as GeneratedMusic } from "../api/resources/music/client/Client";
|
|
2
|
+
import { CompositionPlanClient } from "../api/resources/music/resources/compositionPlan/client/Client";
|
|
2
3
|
import type * as ElevenLabs from "../api";
|
|
3
|
-
import type { CompositionPlan } from "../api/resources/music/resources/compositionPlan/client/Client";
|
|
4
4
|
import * as core from "../core";
|
|
5
5
|
export declare namespace Music {
|
|
6
6
|
interface Options extends GeneratedMusic.Options {
|
|
@@ -17,7 +17,7 @@ export interface SongMetadata {
|
|
|
17
17
|
}
|
|
18
18
|
export interface MultipartResponse {
|
|
19
19
|
json: {
|
|
20
|
-
compositionPlan:
|
|
20
|
+
compositionPlan: ElevenLabs.MusicPrompt;
|
|
21
21
|
songMetadata: SongMetadata;
|
|
22
22
|
};
|
|
23
23
|
audio: Buffer;
|
|
@@ -31,7 +31,7 @@ export declare class Music {
|
|
|
31
31
|
/**
|
|
32
32
|
* Get the composition plan client
|
|
33
33
|
*/
|
|
34
|
-
get compositionPlan():
|
|
34
|
+
get compositionPlan(): CompositionPlanClient;
|
|
35
35
|
/**
|
|
36
36
|
* Compose a song from a prompt or a composition plan.
|
|
37
37
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
package/wrapper/music.js
CHANGED
|
@@ -48,7 +48,7 @@ const core = __importStar(require("../core"));
|
|
|
48
48
|
class Music {
|
|
49
49
|
constructor(options = {}) {
|
|
50
50
|
this._options = options;
|
|
51
|
-
this._client = new Client_1.
|
|
51
|
+
this._client = new Client_1.MusicClient(options);
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
54
|
* Get the composition plan client
|
|
@@ -6,6 +6,7 @@ export interface InputAudioChunk {
|
|
|
6
6
|
audio_base_64: string;
|
|
7
7
|
commit: boolean;
|
|
8
8
|
sample_rate: number;
|
|
9
|
+
previous_text?: string;
|
|
9
10
|
}
|
|
10
11
|
export type WordsItemType = "word" | "spacing";
|
|
11
12
|
export interface WordsItem {
|
|
@@ -61,7 +62,56 @@ export interface QuotaExceededErrorMessage {
|
|
|
61
62
|
message_type: "quota_exceeded";
|
|
62
63
|
error: string;
|
|
63
64
|
}
|
|
64
|
-
export
|
|
65
|
+
export interface CommitThrottledErrorMessage {
|
|
66
|
+
message_type: "commit_throttled";
|
|
67
|
+
error: string;
|
|
68
|
+
}
|
|
69
|
+
export interface TranscriberErrorMessage {
|
|
70
|
+
message_type: "transcriber_error";
|
|
71
|
+
error: string;
|
|
72
|
+
}
|
|
73
|
+
export interface UnacceptedTermsErrorMessage {
|
|
74
|
+
message_type: "unaccepted_terms_error";
|
|
75
|
+
error: string;
|
|
76
|
+
}
|
|
77
|
+
export interface RateLimitedErrorMessage {
|
|
78
|
+
message_type: "rate_limited";
|
|
79
|
+
error: string;
|
|
80
|
+
}
|
|
81
|
+
export interface InputErrorMessage {
|
|
82
|
+
message_type: "input_error";
|
|
83
|
+
error: string;
|
|
84
|
+
}
|
|
85
|
+
export interface QueueOverflowErrorMessage {
|
|
86
|
+
message_type: "queue_overflow";
|
|
87
|
+
error: string;
|
|
88
|
+
}
|
|
89
|
+
export interface ResourceExhaustedErrorMessage {
|
|
90
|
+
message_type: "resource_exhausted";
|
|
91
|
+
error: string;
|
|
92
|
+
}
|
|
93
|
+
export interface SessionTimeLimitExceededErrorMessage {
|
|
94
|
+
message_type: "session_time_limit_exceeded";
|
|
95
|
+
error: string;
|
|
96
|
+
}
|
|
97
|
+
export interface ChunkSizeExceededErrorMessage {
|
|
98
|
+
message_type: "chunk_size_exceeded";
|
|
99
|
+
error: string;
|
|
100
|
+
}
|
|
101
|
+
export interface InsufficientAudioActivityErrorMessage {
|
|
102
|
+
message_type: "insufficient_audio_activity";
|
|
103
|
+
error: string;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Union type for all server error messages.
|
|
107
|
+
*/
|
|
108
|
+
export type ServerErrorMessage = ErrorMessage | AuthErrorMessage | QuotaExceededErrorMessage | CommitThrottledErrorMessage | TranscriberErrorMessage | UnacceptedTermsErrorMessage | RateLimitedErrorMessage | InputErrorMessage | QueueOverflowErrorMessage | ResourceExhaustedErrorMessage | SessionTimeLimitExceededErrorMessage | ChunkSizeExceededErrorMessage | InsufficientAudioActivityErrorMessage;
|
|
109
|
+
export type WebSocketMessage = SessionStartedMessage | PartialTranscriptMessage | CommittedTranscriptMessage | CommittedTranscriptWithTimestampsMessage | ServerErrorMessage;
|
|
110
|
+
/**
|
|
111
|
+
* Union type for all possible error payloads emitted by the ERROR event.
|
|
112
|
+
* Includes server error messages and native WebSocket errors.
|
|
113
|
+
*/
|
|
114
|
+
export type RealtimeErrorPayload = ServerErrorMessage | Error;
|
|
65
115
|
/**
|
|
66
116
|
* Events emitted by the RealtimeConnection.
|
|
67
117
|
*/
|
|
@@ -74,7 +124,7 @@ export declare enum RealtimeEvents {
|
|
|
74
124
|
COMMITTED_TRANSCRIPT = "committed_transcript",
|
|
75
125
|
/** Emitted when a committed transcript with timestamps is available */
|
|
76
126
|
COMMITTED_TRANSCRIPT_WITH_TIMESTAMPS = "committed_transcript_with_timestamps",
|
|
77
|
-
/** Emitted when an error occurs */
|
|
127
|
+
/** Emitted when an error occurs - can be any error message from the server or a native WebSocket error */
|
|
78
128
|
ERROR = "error",
|
|
79
129
|
/** Emitted when an auth error occurs */
|
|
80
130
|
AUTH_ERROR = "auth_error",
|
|
@@ -83,7 +133,51 @@ export declare enum RealtimeEvents {
|
|
|
83
133
|
/** Emitted when the WebSocket connection is opened */
|
|
84
134
|
OPEN = "open",
|
|
85
135
|
/** Emitted when the WebSocket connection is closed */
|
|
86
|
-
CLOSE = "close"
|
|
136
|
+
CLOSE = "close",
|
|
137
|
+
/** Emitted when a commit throttled error occurs */
|
|
138
|
+
COMMIT_THROTTLED = "commit_throttled",
|
|
139
|
+
/** Emitted when a transcriber error occurs */
|
|
140
|
+
TRANSCRIBER_ERROR = "transcriber_error",
|
|
141
|
+
/** Emitted when a unaccepted terms error occurs */
|
|
142
|
+
UNACCEPTED_TERMS_ERROR = "unaccepted_terms_error",
|
|
143
|
+
/** Emitted when a rate limited error occurs */
|
|
144
|
+
RATE_LIMITED = "rate_limited",
|
|
145
|
+
/** Emitted when a input error occurs */
|
|
146
|
+
INPUT_ERROR = "input_error",
|
|
147
|
+
/** Emitted when a queue overflow error occurs */
|
|
148
|
+
QUEUE_OVERFLOW = "queue_overflow",
|
|
149
|
+
/** Emitted when a resource exhausted error occurs */
|
|
150
|
+
RESOURCE_EXHAUSTED = "resource_exhausted",
|
|
151
|
+
/** Emitted when a session time limit exceeded error occurs */
|
|
152
|
+
SESSION_TIME_LIMIT_EXCEEDED = "session_time_limit_exceeded",
|
|
153
|
+
/** Emitted when a chunk size exceeded error occurs */
|
|
154
|
+
CHUNK_SIZE_EXCEEDED = "chunk_size_exceeded",
|
|
155
|
+
/** Emitted when a insufficient audio activity error occurs */
|
|
156
|
+
INSUFFICIENT_AUDIO_ACTIVITY = "insufficient_audio_activity"
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Type-safe event map for RealtimeConnection events.
|
|
160
|
+
*/
|
|
161
|
+
export interface RealtimeEventMap {
|
|
162
|
+
[RealtimeEvents.SESSION_STARTED]: SessionStartedMessage;
|
|
163
|
+
[RealtimeEvents.PARTIAL_TRANSCRIPT]: PartialTranscriptMessage;
|
|
164
|
+
[RealtimeEvents.COMMITTED_TRANSCRIPT]: CommittedTranscriptMessage;
|
|
165
|
+
[RealtimeEvents.COMMITTED_TRANSCRIPT_WITH_TIMESTAMPS]: CommittedTranscriptWithTimestampsMessage;
|
|
166
|
+
[RealtimeEvents.ERROR]: RealtimeErrorPayload;
|
|
167
|
+
[RealtimeEvents.AUTH_ERROR]: AuthErrorMessage;
|
|
168
|
+
[RealtimeEvents.QUOTA_EXCEEDED]: QuotaExceededErrorMessage;
|
|
169
|
+
[RealtimeEvents.OPEN]: undefined;
|
|
170
|
+
[RealtimeEvents.CLOSE]: undefined;
|
|
171
|
+
[RealtimeEvents.COMMIT_THROTTLED]: CommitThrottledErrorMessage;
|
|
172
|
+
[RealtimeEvents.TRANSCRIBER_ERROR]: TranscriberErrorMessage;
|
|
173
|
+
[RealtimeEvents.UNACCEPTED_TERMS_ERROR]: UnacceptedTermsErrorMessage;
|
|
174
|
+
[RealtimeEvents.RATE_LIMITED]: RateLimitedErrorMessage;
|
|
175
|
+
[RealtimeEvents.INPUT_ERROR]: InputErrorMessage;
|
|
176
|
+
[RealtimeEvents.QUEUE_OVERFLOW]: QueueOverflowErrorMessage;
|
|
177
|
+
[RealtimeEvents.RESOURCE_EXHAUSTED]: ResourceExhaustedErrorMessage;
|
|
178
|
+
[RealtimeEvents.SESSION_TIME_LIMIT_EXCEEDED]: SessionTimeLimitExceededErrorMessage;
|
|
179
|
+
[RealtimeEvents.CHUNK_SIZE_EXCEEDED]: ChunkSizeExceededErrorMessage;
|
|
180
|
+
[RealtimeEvents.INSUFFICIENT_AUDIO_ACTIVITY]: InsufficientAudioActivityErrorMessage;
|
|
87
181
|
}
|
|
88
182
|
/**
|
|
89
183
|
* Manages a real-time transcription WebSocket connection.
|
|
@@ -154,9 +248,18 @@ export declare class RealtimeConnection {
|
|
|
154
248
|
* connection.on(RealtimeEvents.COMMITTED_TRANSCRIPT, (data) => {
|
|
155
249
|
* console.log("Final:", data.transcript);
|
|
156
250
|
* });
|
|
251
|
+
*
|
|
252
|
+
* connection.on(RealtimeEvents.ERROR, (error) => {
|
|
253
|
+
* // error can be any error message type or native Error
|
|
254
|
+
* if ('message_type' in error) {
|
|
255
|
+
* console.error("Server error:", error.message_type, error.error);
|
|
256
|
+
* } else {
|
|
257
|
+
* console.error("WebSocket error:", error.message);
|
|
258
|
+
* }
|
|
259
|
+
* });
|
|
157
260
|
* ```
|
|
158
261
|
*/
|
|
159
|
-
on(event:
|
|
262
|
+
on<E extends RealtimeEvents>(event: E, listener: (data: RealtimeEventMap[E]) => void): void;
|
|
160
263
|
/**
|
|
161
264
|
* Removes an event listener for the specified event.
|
|
162
265
|
*
|
|
@@ -172,7 +275,7 @@ export declare class RealtimeConnection {
|
|
|
172
275
|
* connection.off(RealtimeEvents.PARTIAL_TRANSCRIPT, handler);
|
|
173
276
|
* ```
|
|
174
277
|
*/
|
|
175
|
-
off(event:
|
|
278
|
+
off<E extends RealtimeEvents>(event: E, listener: (data: RealtimeEventMap[E]) => void): void;
|
|
176
279
|
/**
|
|
177
280
|
* Sends audio data to the transcription service.
|
|
178
281
|
*
|
|
@@ -180,7 +283,7 @@ export declare class RealtimeConnection {
|
|
|
180
283
|
* @param data.audioBase64 - Base64-encoded audio data
|
|
181
284
|
* @param data.commit - Whether to commit the transcription after this chunk. You likely want to use connection.commit() instead (default: false)
|
|
182
285
|
* @param data.sampleRate - Sample rate of the audio (default: configured sample rate)
|
|
183
|
-
*
|
|
286
|
+
* @param data.previousText - Send text context to the model. Can only be sent alongside the first audio chunk. If sent in a subsequent chunk, an error will be returned.
|
|
184
287
|
* @throws {Error} If the WebSocket connection is not open
|
|
185
288
|
*
|
|
186
289
|
* @example
|
|
@@ -201,6 +304,7 @@ export declare class RealtimeConnection {
|
|
|
201
304
|
audioBase64: string;
|
|
202
305
|
commit?: boolean;
|
|
203
306
|
sampleRate?: number;
|
|
307
|
+
previousText?: string;
|
|
204
308
|
}): void;
|
|
205
309
|
/**
|
|
206
310
|
* Commits the segment, triggering a COMMITTED_TRANSCRIPT event and clearing the buffer.
|
|
@@ -19,7 +19,7 @@ var RealtimeEvents;
|
|
|
19
19
|
RealtimeEvents["COMMITTED_TRANSCRIPT"] = "committed_transcript";
|
|
20
20
|
/** Emitted when a committed transcript with timestamps is available */
|
|
21
21
|
RealtimeEvents["COMMITTED_TRANSCRIPT_WITH_TIMESTAMPS"] = "committed_transcript_with_timestamps";
|
|
22
|
-
/** Emitted when an error occurs */
|
|
22
|
+
/** Emitted when an error occurs - can be any error message from the server or a native WebSocket error */
|
|
23
23
|
RealtimeEvents["ERROR"] = "error";
|
|
24
24
|
/** Emitted when an auth error occurs */
|
|
25
25
|
RealtimeEvents["AUTH_ERROR"] = "auth_error";
|
|
@@ -29,6 +29,26 @@ var RealtimeEvents;
|
|
|
29
29
|
RealtimeEvents["OPEN"] = "open";
|
|
30
30
|
/** Emitted when the WebSocket connection is closed */
|
|
31
31
|
RealtimeEvents["CLOSE"] = "close";
|
|
32
|
+
/** Emitted when a commit throttled error occurs */
|
|
33
|
+
RealtimeEvents["COMMIT_THROTTLED"] = "commit_throttled";
|
|
34
|
+
/** Emitted when a transcriber error occurs */
|
|
35
|
+
RealtimeEvents["TRANSCRIBER_ERROR"] = "transcriber_error";
|
|
36
|
+
/** Emitted when a unaccepted terms error occurs */
|
|
37
|
+
RealtimeEvents["UNACCEPTED_TERMS_ERROR"] = "unaccepted_terms_error";
|
|
38
|
+
/** Emitted when a rate limited error occurs */
|
|
39
|
+
RealtimeEvents["RATE_LIMITED"] = "rate_limited";
|
|
40
|
+
/** Emitted when a input error occurs */
|
|
41
|
+
RealtimeEvents["INPUT_ERROR"] = "input_error";
|
|
42
|
+
/** Emitted when a queue overflow error occurs */
|
|
43
|
+
RealtimeEvents["QUEUE_OVERFLOW"] = "queue_overflow";
|
|
44
|
+
/** Emitted when a resource exhausted error occurs */
|
|
45
|
+
RealtimeEvents["RESOURCE_EXHAUSTED"] = "resource_exhausted";
|
|
46
|
+
/** Emitted when a session time limit exceeded error occurs */
|
|
47
|
+
RealtimeEvents["SESSION_TIME_LIMIT_EXCEEDED"] = "session_time_limit_exceeded";
|
|
48
|
+
/** Emitted when a chunk size exceeded error occurs */
|
|
49
|
+
RealtimeEvents["CHUNK_SIZE_EXCEEDED"] = "chunk_size_exceeded";
|
|
50
|
+
/** Emitted when a insufficient audio activity error occurs */
|
|
51
|
+
RealtimeEvents["INSUFFICIENT_AUDIO_ACTIVITY"] = "insufficient_audio_activity";
|
|
32
52
|
})(RealtimeEvents || (exports.RealtimeEvents = RealtimeEvents = {}));
|
|
33
53
|
/**
|
|
34
54
|
* Manages a real-time transcription WebSocket connection.
|
|
@@ -108,9 +128,51 @@ class RealtimeConnection {
|
|
|
108
128
|
break;
|
|
109
129
|
case "auth_error":
|
|
110
130
|
this.eventEmitter.emit(RealtimeEvents.AUTH_ERROR, data);
|
|
131
|
+
this.eventEmitter.emit(RealtimeEvents.ERROR, data);
|
|
111
132
|
break;
|
|
112
133
|
case "quota_exceeded":
|
|
113
134
|
this.eventEmitter.emit(RealtimeEvents.QUOTA_EXCEEDED, data);
|
|
135
|
+
this.eventEmitter.emit(RealtimeEvents.ERROR, data);
|
|
136
|
+
break;
|
|
137
|
+
case "commit_throttled":
|
|
138
|
+
this.eventEmitter.emit(RealtimeEvents.COMMIT_THROTTLED, data);
|
|
139
|
+
this.eventEmitter.emit(RealtimeEvents.ERROR, data);
|
|
140
|
+
break;
|
|
141
|
+
case "transcriber_error":
|
|
142
|
+
this.eventEmitter.emit(RealtimeEvents.TRANSCRIBER_ERROR, data);
|
|
143
|
+
this.eventEmitter.emit(RealtimeEvents.ERROR, data);
|
|
144
|
+
break;
|
|
145
|
+
case "unaccepted_terms_error":
|
|
146
|
+
this.eventEmitter.emit(RealtimeEvents.UNACCEPTED_TERMS_ERROR, data);
|
|
147
|
+
this.eventEmitter.emit(RealtimeEvents.ERROR, data);
|
|
148
|
+
break;
|
|
149
|
+
case "rate_limited":
|
|
150
|
+
this.eventEmitter.emit(RealtimeEvents.RATE_LIMITED, data);
|
|
151
|
+
this.eventEmitter.emit(RealtimeEvents.ERROR, data);
|
|
152
|
+
break;
|
|
153
|
+
case "input_error":
|
|
154
|
+
this.eventEmitter.emit(RealtimeEvents.INPUT_ERROR, data);
|
|
155
|
+
this.eventEmitter.emit(RealtimeEvents.ERROR, data);
|
|
156
|
+
break;
|
|
157
|
+
case "queue_overflow":
|
|
158
|
+
this.eventEmitter.emit(RealtimeEvents.QUEUE_OVERFLOW, data);
|
|
159
|
+
this.eventEmitter.emit(RealtimeEvents.ERROR, data);
|
|
160
|
+
break;
|
|
161
|
+
case "resource_exhausted":
|
|
162
|
+
this.eventEmitter.emit(RealtimeEvents.RESOURCE_EXHAUSTED, data);
|
|
163
|
+
this.eventEmitter.emit(RealtimeEvents.ERROR, data);
|
|
164
|
+
break;
|
|
165
|
+
case "session_time_limit_exceeded":
|
|
166
|
+
this.eventEmitter.emit(RealtimeEvents.SESSION_TIME_LIMIT_EXCEEDED, data);
|
|
167
|
+
this.eventEmitter.emit(RealtimeEvents.ERROR, data);
|
|
168
|
+
break;
|
|
169
|
+
case "chunk_size_exceeded":
|
|
170
|
+
this.eventEmitter.emit(RealtimeEvents.CHUNK_SIZE_EXCEEDED, data);
|
|
171
|
+
this.eventEmitter.emit(RealtimeEvents.ERROR, data);
|
|
172
|
+
break;
|
|
173
|
+
case "insufficient_audio_activity":
|
|
174
|
+
this.eventEmitter.emit(RealtimeEvents.INSUFFICIENT_AUDIO_ACTIVITY, data);
|
|
175
|
+
this.eventEmitter.emit(RealtimeEvents.ERROR, data);
|
|
114
176
|
break;
|
|
115
177
|
}
|
|
116
178
|
});
|
|
@@ -148,6 +210,15 @@ class RealtimeConnection {
|
|
|
148
210
|
* connection.on(RealtimeEvents.COMMITTED_TRANSCRIPT, (data) => {
|
|
149
211
|
* console.log("Final:", data.transcript);
|
|
150
212
|
* });
|
|
213
|
+
*
|
|
214
|
+
* connection.on(RealtimeEvents.ERROR, (error) => {
|
|
215
|
+
* // error can be any error message type or native Error
|
|
216
|
+
* if ('message_type' in error) {
|
|
217
|
+
* console.error("Server error:", error.message_type, error.error);
|
|
218
|
+
* } else {
|
|
219
|
+
* console.error("WebSocket error:", error.message);
|
|
220
|
+
* }
|
|
221
|
+
* });
|
|
151
222
|
* ```
|
|
152
223
|
*/
|
|
153
224
|
on(event, listener) {
|
|
@@ -178,7 +249,7 @@ class RealtimeConnection {
|
|
|
178
249
|
* @param data.audioBase64 - Base64-encoded audio data
|
|
179
250
|
* @param data.commit - Whether to commit the transcription after this chunk. You likely want to use connection.commit() instead (default: false)
|
|
180
251
|
* @param data.sampleRate - Sample rate of the audio (default: configured sample rate)
|
|
181
|
-
*
|
|
252
|
+
* @param data.previousText - Send text context to the model. Can only be sent alongside the first audio chunk. If sent in a subsequent chunk, an error will be returned.
|
|
182
253
|
* @throws {Error} If the WebSocket connection is not open
|
|
183
254
|
*
|
|
184
255
|
* @example
|
|
@@ -205,6 +276,7 @@ class RealtimeConnection {
|
|
|
205
276
|
audio_base_64: data.audioBase64,
|
|
206
277
|
commit: (_a = data.commit) !== null && _a !== void 0 ? _a : false,
|
|
207
278
|
sample_rate: (_b = data.sampleRate) !== null && _b !== void 0 ? _b : this.currentSampleRate,
|
|
279
|
+
previous_text: data.previousText,
|
|
208
280
|
};
|
|
209
281
|
this.websocket.send(JSON.stringify(message));
|
|
210
282
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { RealtimeConnection, RealtimeEvents, type Config, type InputAudioChunk, type WordsItem, type WordsItemType, type CommittedTranscriptMessage, type CommittedTranscriptWithTimestampsMessage, type PartialTranscriptMessage, type SessionStartedMessage } from "./connection";
|
|
1
|
+
export { RealtimeConnection, RealtimeEvents, type Config, type InputAudioChunk, type WordsItem, type WordsItemType, type CommittedTranscriptMessage, type CommittedTranscriptWithTimestampsMessage, type PartialTranscriptMessage, type SessionStartedMessage, type ServerErrorMessage, type AuthErrorMessage, type QuotaExceededErrorMessage, type CommitThrottledErrorMessage, type TranscriberErrorMessage, type UnacceptedTermsErrorMessage, type RateLimitedErrorMessage, type InputErrorMessage, type QueueOverflowErrorMessage, type ResourceExhaustedErrorMessage, type SessionTimeLimitExceededErrorMessage, type ChunkSizeExceededErrorMessage, type InsufficientAudioActivityErrorMessage, } from "./connection";
|
|
2
2
|
export { ScribeRealtime, AudioFormat, CommitStrategy, type AudioOptions, type UrlOptions } from "./scribe";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SpeechToTextClient } from "../../api/resources/speechToText/client/Client";
|
|
2
2
|
import { RealtimeConnection } from "./connection";
|
|
3
3
|
export declare enum AudioFormat {
|
|
4
4
|
PCM_8000 = "pcm_8000",
|
|
@@ -79,7 +79,7 @@ export interface UrlOptions extends BaseOptions {
|
|
|
79
79
|
*/
|
|
80
80
|
export declare class ScribeRealtime {
|
|
81
81
|
private options;
|
|
82
|
-
constructor(options?:
|
|
82
|
+
constructor(options?: SpeechToTextClient.Options);
|
|
83
83
|
private getWebSocketUri;
|
|
84
84
|
private checkFfmpegInstalled;
|
|
85
85
|
private buildWebSocketUri;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SpeechToTextClient as GeneratedSpeechToText } from "../api/resources/speechToText/client/Client";
|
|
2
2
|
import { ScribeRealtime } from "./realtime";
|
|
3
3
|
export declare class SpeechToText extends GeneratedSpeechToText {
|
|
4
4
|
private _realtime;
|
package/wrapper/speechToText.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SpeechToText = void 0;
|
|
4
4
|
const Client_1 = require("../api/resources/speechToText/client/Client");
|
|
5
5
|
const realtime_1 = require("./realtime");
|
|
6
|
-
class SpeechToText extends Client_1.
|
|
6
|
+
class SpeechToText extends Client_1.SpeechToTextClient {
|
|
7
7
|
get realtime() {
|
|
8
8
|
if (!this._realtime) {
|
|
9
9
|
this._realtime = new realtime_1.ScribeRealtime(this._options);
|
package/wrapper/webhooks.d.ts
CHANGED
package/wrapper/webhooks.js
CHANGED
|
@@ -32,7 +32,7 @@ function hmacSHA256(key, message) {
|
|
|
32
32
|
/**
|
|
33
33
|
* Extended webhook client that includes both auto-generated API methods and custom functionality
|
|
34
34
|
*/
|
|
35
|
-
class WebhooksClient extends Client_1.
|
|
35
|
+
class WebhooksClient extends Client_1.WebhooksClient {
|
|
36
36
|
/**
|
|
37
37
|
* Constructs a webhook event object from a payload and signature.
|
|
38
38
|
* Verifies the webhook signature to ensure the event came from ElevenLabs.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type * as ElevenLabs from "../index";
|
|
2
|
-
export type ConversationHistoryTranscriptToolCallCommonModelToolDetails = ElevenLabs.ConversationHistoryTranscriptToolCallCommonModelToolDetails.Client | ElevenLabs.ConversationHistoryTranscriptToolCallCommonModelToolDetails.Mcp | ElevenLabs.ConversationHistoryTranscriptToolCallCommonModelToolDetails.Webhook;
|
|
3
|
-
export declare namespace ConversationHistoryTranscriptToolCallCommonModelToolDetails {
|
|
4
|
-
interface Client extends ElevenLabs.ConversationHistoryTranscriptToolCallClientDetails {
|
|
5
|
-
type: "client";
|
|
6
|
-
}
|
|
7
|
-
interface Mcp extends ElevenLabs.ConversationHistoryTranscriptToolCallMcpDetails {
|
|
8
|
-
type: "mcp";
|
|
9
|
-
}
|
|
10
|
-
interface Webhook extends ElevenLabs.ConversationHistoryTranscriptToolCallWebhookDetails {
|
|
11
|
-
type: "webhook";
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const ExtendedSubscriptionResponseModelBillingPeriod: {
|
|
2
|
-
readonly MonthlyPeriod: "monthly_period";
|
|
3
|
-
readonly AnnualPeriod: "annual_period";
|
|
4
|
-
};
|
|
5
|
-
export type ExtendedSubscriptionResponseModelBillingPeriod = (typeof ExtendedSubscriptionResponseModelBillingPeriod)[keyof typeof ExtendedSubscriptionResponseModelBillingPeriod];
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const ExtendedSubscriptionResponseModelCharacterRefreshPeriod: {
|
|
2
|
-
readonly MonthlyPeriod: "monthly_period";
|
|
3
|
-
readonly AnnualPeriod: "annual_period";
|
|
4
|
-
};
|
|
5
|
-
export type ExtendedSubscriptionResponseModelCharacterRefreshPeriod = (typeof ExtendedSubscriptionResponseModelCharacterRefreshPeriod)[keyof typeof ExtendedSubscriptionResponseModelCharacterRefreshPeriod];
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/** The billing period to change to. */
|
|
2
|
-
export declare const PendingSubscriptionSwitchResponseModelNextBillingPeriod: {
|
|
3
|
-
readonly MonthlyPeriod: "monthly_period";
|
|
4
|
-
readonly AnnualPeriod: "annual_period";
|
|
5
|
-
};
|
|
6
|
-
export type PendingSubscriptionSwitchResponseModelNextBillingPeriod = (typeof PendingSubscriptionSwitchResponseModelNextBillingPeriod)[keyof typeof PendingSubscriptionSwitchResponseModelNextBillingPeriod];
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.PendingSubscriptionSwitchResponseModelNextBillingPeriod = void 0;
|
|
5
|
-
/** The billing period to change to. */
|
|
6
|
-
exports.PendingSubscriptionSwitchResponseModelNextBillingPeriod = {
|
|
7
|
-
MonthlyPeriod: "monthly_period",
|
|
8
|
-
AnnualPeriod: "annual_period",
|
|
9
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const SubscriptionResponseModelBillingPeriod: {
|
|
2
|
-
readonly MonthlyPeriod: "monthly_period";
|
|
3
|
-
readonly AnnualPeriod: "annual_period";
|
|
4
|
-
};
|
|
5
|
-
export type SubscriptionResponseModelBillingPeriod = (typeof SubscriptionResponseModelBillingPeriod)[keyof typeof SubscriptionResponseModelBillingPeriod];
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const SubscriptionResponseModelCharacterRefreshPeriod: {
|
|
2
|
-
readonly MonthlyPeriod: "monthly_period";
|
|
3
|
-
readonly AnnualPeriod: "annual_period";
|
|
4
|
-
};
|
|
5
|
-
export type SubscriptionResponseModelCharacterRefreshPeriod = (typeof SubscriptionResponseModelCharacterRefreshPeriod)[keyof typeof SubscriptionResponseModelCharacterRefreshPeriod];
|