@elevenlabs/elevenlabs-js 2.26.0 → 2.28.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 +69 -69
- package/api/resources/conversationalAi/client/Client.js +55 -109
- 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 +9 -9
- package/api/resources/conversationalAi/resources/analytics/client/Client.js +7 -6
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +9 -21
- 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 +22 -22
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +19 -87
- 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 +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +36 -14
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +92 -23
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.d.ts +15 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +9 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/index.js +1 -0
- 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 +28 -25
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +32 -134
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePost.d.ts +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost.d.ts +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.d.ts +2 -0
- 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/knowledgeBase/resources/documents/resources/index.d.ts +3 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +7 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.d.ts +26 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +130 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/SummariesGetRequest.d.ts +8 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/index.js +18 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/SummariesGetResponseValue.d.ts +10 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/index.js +17 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsGetResponse.d.ts +4 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsUpdateResponse.d.ts +4 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/types/KnowledgeBaseGetOrCreateRagIndexesResponseValue.d.ts +10 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/types/index.js +17 -0
- 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/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 +28 -28
- package/api/resources/dubbing/resources/resource/client/Client.js +23 -105
- 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 +15 -15
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +14 -54
- package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +6 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +6 -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 +23 -105
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +7 -1
- 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/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 +14 -14
- package/api/resources/webhooks/client/Client.js +15 -69
- 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/AgentConfig.d.ts +2 -0
- package/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
- package/api/types/AgentConfigApiModelWorkflowOverrideOutput.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/BatchCallDetailedResponse.d.ts +1 -0
- package/api/types/BatchCallResponse.d.ts +1 -0
- package/api/types/BatchCallWhatsAppParams.d.ts +1 -1
- package/api/types/BatchFailureResponseModel.d.ts +5 -0
- package/api/types/BillingPeriod.d.ts +7 -0
- package/api/types/{SubscriptionResponseModelBillingPeriod.js → BillingPeriod.js} +2 -2
- package/api/types/CharacterRefreshPeriod.d.ts +7 -0
- package/{dist/api/types/SubscriptionResponseModelBillingPeriod.js → api/types/CharacterRefreshPeriod.js} +2 -2
- 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/ConversationTokenDbModel.d.ts +2 -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/GetKnowledgeBaseFileResponseModel.d.ts +4 -0
- package/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +13 -0
- package/api/types/GetKnowledgeBaseFolderResponseModel.js +3 -0
- package/api/types/GetKnowledgeBaseListResponseModelDocumentsItem.d.ts +4 -1
- package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +12 -0
- package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.js +3 -0
- package/api/types/GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.d.ts +10 -0
- package/api/types/GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.js +3 -0
- package/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseTextResponseModel.d.ts +4 -0
- package/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +5 -1
- package/api/types/GetOrCreateRagIndexRequestModel.d.ts +9 -0
- package/api/types/GetOrCreateRagIndexRequestModel.js +3 -0
- package/api/types/GetVoicesV2Response.d.ts +4 -0
- package/api/types/InvoiceResponse.d.ts +1 -1
- package/api/types/KnowledgeBaseDocumentType.d.ts +1 -0
- package/api/types/KnowledgeBaseDocumentType.js +1 -0
- package/api/types/KnowledgeBaseFolderPathSegmentResponseModel.d.ts +4 -0
- package/api/types/KnowledgeBaseFolderPathSegmentResponseModel.js +3 -0
- package/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModel.d.ts +4 -0
- package/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModel.js +3 -0
- package/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.d.ts +16 -0
- package/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.js +3 -0
- package/api/types/MultipartMusicResponse.d.ts +1 -1
- 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/RagConfig.d.ts +2 -0
- package/api/types/RagConfigWorkflowOverride.d.ts +2 -0
- package/api/types/RagIndexBatchSuccessfulResponseModel.d.ts +4 -0
- package/api/types/RagIndexBatchSuccessfulResponseModel.js +3 -0
- package/api/types/RagIndexStatus.d.ts +1 -0
- package/api/types/RagIndexStatus.js +1 -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/WhatsAppConversationInfo.d.ts +3 -1
- package/api/types/WhatsAppConversationInfoDirection.d.ts +6 -0
- package/api/types/WhatsAppConversationInfoDirection.js +9 -0
- package/api/types/WidgetConfig.d.ts +2 -0
- package/api/types/WidgetConfigResponse.d.ts +2 -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/WorkspaceResourceType.d.ts +1 -0
- package/api/types/WorkspaceResourceType.js +1 -0
- package/api/types/index.d.ts +20 -8
- package/api/types/index.js +20 -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 +69 -69
- package/dist/api/resources/conversationalAi/client/Client.js +55 -109
- 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 +9 -9
- package/dist/api/resources/conversationalAi/resources/analytics/client/Client.js +7 -6
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +9 -21
- 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 +22 -22
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +19 -87
- 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 +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +36 -14
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +92 -23
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.d.ts +15 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +9 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/index.js +1 -0
- 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 +28 -25
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +32 -134
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePost.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.d.ts +2 -0
- 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/knowledgeBase/resources/documents/resources/index.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +7 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.d.ts +26 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +130 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/SummariesGetRequest.d.ts +8 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/SummariesGetRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/index.js +18 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/SummariesGetResponseValue.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/SummariesGetResponseValue.js +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsGetResponse.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsUpdateResponse.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/types/KnowledgeBaseGetOrCreateRagIndexesResponseValue.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/types/KnowledgeBaseGetOrCreateRagIndexesResponseValue.js +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/types/index.js +17 -0
- 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/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 +28 -28
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +23 -105
- 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 +15 -15
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +14 -54
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +6 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +6 -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 +23 -105
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +7 -1
- 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/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 +14 -14
- package/dist/api/resources/webhooks/client/Client.js +15 -69
- 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/AgentConfig.d.ts +2 -0
- package/dist/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
- package/dist/api/types/AgentConfigApiModelWorkflowOverrideOutput.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/BatchCallDetailedResponse.d.ts +1 -0
- package/dist/api/types/BatchCallResponse.d.ts +1 -0
- package/dist/api/types/BatchCallWhatsAppParams.d.ts +1 -1
- package/dist/api/types/BatchFailureResponseModel.d.ts +5 -0
- package/dist/api/types/BatchFailureResponseModel.js +3 -0
- package/dist/api/types/BillingPeriod.d.ts +7 -0
- package/{api/types/ExtendedSubscriptionResponseModelBillingPeriod.js → dist/api/types/BillingPeriod.js} +2 -2
- package/dist/api/types/CharacterRefreshPeriod.d.ts +7 -0
- package/dist/api/types/{ExtendedSubscriptionResponseModelBillingPeriod.js → CharacterRefreshPeriod.js} +2 -2
- 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/ConversationTokenDbModel.d.ts +2 -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/GetKnowledgeBaseFileResponseModel.d.ts +4 -0
- package/dist/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +13 -0
- package/dist/api/types/GetKnowledgeBaseFolderResponseModel.js +3 -0
- package/dist/api/types/GetKnowledgeBaseListResponseModelDocumentsItem.d.ts +4 -1
- package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +12 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.js +3 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.d.ts +10 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.js +3 -0
- package/dist/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseTextResponseModel.d.ts +4 -0
- package/dist/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +5 -1
- package/dist/api/types/GetOrCreateRagIndexRequestModel.d.ts +9 -0
- package/dist/api/types/GetOrCreateRagIndexRequestModel.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/KnowledgeBaseDocumentType.d.ts +1 -0
- package/dist/api/types/KnowledgeBaseDocumentType.js +1 -0
- package/dist/api/types/KnowledgeBaseFolderPathSegmentResponseModel.d.ts +4 -0
- package/dist/api/types/KnowledgeBaseFolderPathSegmentResponseModel.js +3 -0
- package/dist/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModel.d.ts +4 -0
- package/dist/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModel.js +3 -0
- package/dist/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.d.ts +16 -0
- package/dist/api/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.js +3 -0
- package/dist/api/types/MultipartMusicResponse.d.ts +1 -1
- 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/RagConfig.d.ts +2 -0
- package/dist/api/types/RagConfigWorkflowOverride.d.ts +2 -0
- package/dist/api/types/RagIndexBatchSuccessfulResponseModel.d.ts +4 -0
- package/dist/api/types/RagIndexBatchSuccessfulResponseModel.js +3 -0
- package/dist/api/types/RagIndexStatus.d.ts +1 -0
- package/dist/api/types/RagIndexStatus.js +1 -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/WhatsAppConversationInfo.d.ts +3 -1
- package/dist/api/types/WhatsAppConversationInfoDirection.d.ts +6 -0
- package/dist/api/types/WhatsAppConversationInfoDirection.js +9 -0
- package/dist/api/types/WidgetConfig.d.ts +2 -0
- package/dist/api/types/WidgetConfigResponse.d.ts +2 -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/WorkspaceResourceType.d.ts +1 -0
- package/dist/api/types/WorkspaceResourceType.js +1 -0
- package/dist/api/types/index.d.ts +20 -8
- package/dist/api/types/index.js +20 -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 +3 -0
- package/dist/serialization/resources/conversationalAi/resources/index.js +3 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/client/getOrCreateRagIndexes.d.ts +8 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/client/getOrCreateRagIndexes.js +40 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/client/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/client/index.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.d.ts +10 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.js +42 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/index.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/get.d.ts +8 -0
- package/{serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.js → dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/get.js} +4 -3
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/index.js +37 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/index.js +18 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/SummariesGetResponseValue.d.ts +15 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/SummariesGetResponseValue.js +49 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsGetResponse.d.ts +5 -1
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsGetResponse.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsUpdateResponse.d.ts +5 -1
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsUpdateResponse.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/types/KnowledgeBaseGetOrCreateRagIndexesResponseValue.d.ts +15 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/types/KnowledgeBaseGetOrCreateRagIndexesResponseValue.js +49 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/types/index.js +17 -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/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +3 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +3 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +3 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.js +3 -0
- 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/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/types/AgentConfig.d.ts +1 -0
- package/dist/serialization/types/AgentConfig.js +1 -0
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -0
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +1 -0
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -0
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.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/BatchCallDetailedResponse.d.ts +1 -0
- package/dist/serialization/types/BatchCallDetailedResponse.js +1 -0
- package/dist/serialization/types/BatchCallResponse.d.ts +1 -0
- package/dist/serialization/types/BatchCallResponse.js +1 -0
- package/dist/serialization/types/BatchCallWhatsAppParams.d.ts +1 -1
- package/dist/serialization/types/BatchCallWhatsAppParams.js +1 -1
- package/dist/serialization/types/BatchFailureResponseModel.d.ts +11 -0
- package/dist/serialization/types/BatchFailureResponseModel.js +43 -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/{serialization/types/SubscriptionResponseModelBillingPeriod.js → dist/serialization/types/CharacterRefreshPeriod.js} +2 -2
- 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/ConversationTokenDbModel.d.ts +1 -0
- package/dist/serialization/types/ConversationTokenDbModel.js +1 -0
- 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/GetKnowledgeBaseFileResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.js +3 -0
- package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +20 -0
- package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.js +52 -0
- package/dist/serialization/types/GetKnowledgeBaseListResponseModelDocumentsItem.d.ts +5 -1
- package/dist/serialization/types/GetKnowledgeBaseListResponseModelDocumentsItem.js +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +1 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +20 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +52 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.d.ts +15 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.js +49 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +1 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +1 -0
- package/dist/serialization/types/GetKnowledgeBaseTextResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetKnowledgeBaseTextResponseModel.js +3 -0
- package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +4 -1
- package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.js +4 -1
- package/dist/serialization/types/GetOrCreateRagIndexRequestModel.d.ts +12 -0
- package/dist/serialization/types/GetOrCreateRagIndexRequestModel.js +44 -0
- package/dist/serialization/types/InvoiceResponse.d.ts +2 -2
- package/dist/serialization/types/InvoiceResponse.js +2 -2
- package/dist/serialization/types/KnowledgeBaseDocumentType.d.ts +1 -1
- package/dist/serialization/types/KnowledgeBaseDocumentType.js +1 -1
- package/dist/serialization/types/KnowledgeBaseFolderPathSegmentResponseModel.d.ts +10 -0
- package/dist/serialization/types/{SubscriptionResponseModelCharacterRefreshPeriod.js → KnowledgeBaseFolderPathSegmentResponseModel.js} +5 -2
- package/dist/serialization/types/KnowledgeBaseSummaryBatchSuccessfulResponseModel.d.ts +10 -0
- package/dist/serialization/types/KnowledgeBaseSummaryBatchSuccessfulResponseModel.js +42 -0
- package/dist/serialization/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.d.ts +23 -0
- package/dist/serialization/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.js +53 -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/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/RagIndexBatchSuccessfulResponseModel.d.ts +10 -0
- package/dist/serialization/types/RagIndexBatchSuccessfulResponseModel.js +42 -0
- package/dist/serialization/types/RagIndexStatus.d.ts +1 -1
- package/dist/serialization/types/RagIndexStatus.js +1 -0
- 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/WhatsAppConversationInfo.d.ts +3 -1
- package/dist/serialization/types/WhatsAppConversationInfo.js +3 -1
- package/dist/serialization/types/WhatsAppConversationInfoDirection.d.ts +7 -0
- package/dist/serialization/types/{ExtendedSubscriptionResponseModelBillingPeriod.js → WhatsAppConversationInfoDirection.js} +2 -2
- package/dist/serialization/types/WidgetConfig.d.ts +1 -0
- package/dist/serialization/types/WidgetConfig.js +1 -0
- package/dist/serialization/types/WidgetConfigResponse.d.ts +1 -0
- package/dist/serialization/types/WidgetConfigResponse.js +1 -0
- package/dist/serialization/types/WordTimestamp.d.ts +11 -0
- package/dist/serialization/types/{PendingSubscriptionSwitchResponseModelNextBillingPeriod.js → WordTimestamp.js} +6 -2
- 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/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +1 -0
- package/dist/serialization/types/index.d.ts +20 -8
- package/dist/serialization/types/index.js +20 -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/scribe.d.ts +2 -2
- package/dist/wrapper/realtime/scribe.js +3 -0
- 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 +451 -247
- package/serialization/resources/conversationalAi/resources/index.d.ts +3 -0
- package/serialization/resources/conversationalAi/resources/index.js +3 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/client/getOrCreateRagIndexes.d.ts +8 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/client/getOrCreateRagIndexes.js +40 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/client/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/client/index.js +41 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.d.ts +10 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.js +42 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/index.js +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost.js +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.js +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +41 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/get.d.ts +8 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/get.js +40 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/index.js +37 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/index.js +18 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/SummariesGetResponseValue.d.ts +15 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/SummariesGetResponseValue.js +49 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsGetResponse.d.ts +5 -1
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsGetResponse.js +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsUpdateResponse.d.ts +5 -1
- package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/types/DocumentsUpdateResponse.js +2 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/types/KnowledgeBaseGetOrCreateRagIndexesResponseValue.d.ts +15 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/types/KnowledgeBaseGetOrCreateRagIndexesResponseValue.js +49 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/knowledgeBase/types/index.js +17 -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/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +3 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +3 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +3 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.js +3 -0
- 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/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/types/AgentConfig.d.ts +1 -0
- package/serialization/types/AgentConfig.js +1 -0
- package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -0
- package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +1 -0
- package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -0
- package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.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/BatchCallDetailedResponse.d.ts +1 -0
- package/serialization/types/BatchCallDetailedResponse.js +1 -0
- package/serialization/types/BatchCallResponse.d.ts +1 -0
- package/serialization/types/BatchCallResponse.js +1 -0
- package/serialization/types/BatchCallWhatsAppParams.d.ts +1 -1
- package/serialization/types/BatchCallWhatsAppParams.js +1 -1
- package/serialization/types/BatchFailureResponseModel.d.ts +11 -0
- package/serialization/types/BatchFailureResponseModel.js +43 -0
- package/serialization/types/BillingPeriod.d.ts +7 -0
- package/serialization/types/{ExtendedSubscriptionResponseModelBillingPeriod.js → BillingPeriod.js} +2 -2
- package/serialization/types/CharacterRefreshPeriod.d.ts +7 -0
- package/serialization/types/CharacterRefreshPeriod.js +39 -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/ConversationTokenDbModel.d.ts +1 -0
- package/serialization/types/ConversationTokenDbModel.js +1 -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/GetKnowledgeBaseFileResponseModel.d.ts +3 -0
- package/serialization/types/GetKnowledgeBaseFileResponseModel.js +3 -0
- package/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +20 -0
- package/serialization/types/GetKnowledgeBaseFolderResponseModel.js +52 -0
- package/serialization/types/GetKnowledgeBaseListResponseModelDocumentsItem.d.ts +5 -1
- package/serialization/types/GetKnowledgeBaseListResponseModelDocumentsItem.js +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -0
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +1 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +20 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +52 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.d.ts +15 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.js +49 -0
- package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -0
- package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +1 -0
- package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -0
- package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +1 -0
- package/serialization/types/GetKnowledgeBaseTextResponseModel.d.ts +3 -0
- package/serialization/types/GetKnowledgeBaseTextResponseModel.js +3 -0
- package/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +4 -1
- package/serialization/types/GetKnowledgeBaseUrlResponseModel.js +4 -1
- package/serialization/types/GetOrCreateRagIndexRequestModel.d.ts +12 -0
- package/serialization/types/GetOrCreateRagIndexRequestModel.js +44 -0
- package/serialization/types/InvoiceResponse.d.ts +2 -2
- package/serialization/types/InvoiceResponse.js +2 -2
- package/serialization/types/KnowledgeBaseDocumentType.d.ts +1 -1
- package/serialization/types/KnowledgeBaseDocumentType.js +1 -1
- package/serialization/types/KnowledgeBaseFolderPathSegmentResponseModel.d.ts +10 -0
- package/serialization/types/KnowledgeBaseFolderPathSegmentResponseModel.js +42 -0
- package/serialization/types/KnowledgeBaseSummaryBatchSuccessfulResponseModel.d.ts +10 -0
- package/serialization/types/KnowledgeBaseSummaryBatchSuccessfulResponseModel.js +42 -0
- package/serialization/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.d.ts +23 -0
- package/serialization/types/KnowledgeBaseSummaryBatchSuccessfulResponseModelData.js +53 -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/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/RagIndexBatchSuccessfulResponseModel.d.ts +10 -0
- package/serialization/types/RagIndexBatchSuccessfulResponseModel.js +42 -0
- package/serialization/types/RagIndexStatus.d.ts +1 -1
- package/serialization/types/RagIndexStatus.js +1 -0
- 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/WhatsAppConversationInfo.d.ts +3 -1
- package/serialization/types/WhatsAppConversationInfo.js +3 -1
- package/serialization/types/WhatsAppConversationInfoDirection.d.ts +7 -0
- package/serialization/types/WhatsAppConversationInfoDirection.js +39 -0
- package/serialization/types/WidgetConfig.d.ts +1 -0
- package/serialization/types/WidgetConfig.js +1 -0
- package/serialization/types/WidgetConfigResponse.d.ts +1 -0
- package/serialization/types/WidgetConfigResponse.js +1 -0
- package/serialization/types/WordTimestamp.d.ts +11 -0
- package/{dist/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js → serialization/types/WordTimestamp.js} +6 -2
- 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/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +1 -0
- package/serialization/types/index.d.ts +20 -8
- package/serialization/types/index.js +20 -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/scribe.d.ts +2 -2
- package/wrapper/realtime/scribe.js +3 -0
- 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 -7
- package/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -7
- package/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +0 -10
- package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +0 -8
- package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +0 -11
- package/api/types/SubscriptionResponseModelBillingPeriod.d.ts +0 -7
- package/api/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -7
- package/api/types/SubscriptionResponseModelCharacterRefreshPeriod.js +0 -10
- 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 -7
- package/dist/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -7
- package/dist/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +0 -10
- package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +0 -8
- package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +0 -11
- package/dist/api/types/SubscriptionResponseModelBillingPeriod.d.ts +0 -7
- package/dist/api/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -7
- package/dist/api/types/SubscriptionResponseModelCharacterRefreshPeriod.js +0 -10
- 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/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/api/resources/{studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceItem.js → conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.js} +0 -0
- /package/api/{types/ConversationHistoryTranscriptToolCallCommonModel.js → resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/requests/SummariesGetRequest.js} +0 -0
- /package/api/{types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.js → resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/types/SummariesGetResponseValue.js} +0 -0
- /package/api/{types/DiscountResposneModel.js → resources/conversationalAi/resources/knowledgeBase/types/KnowledgeBaseGetOrCreateRagIndexesResponseValue.js} +0 -0
- /package/{dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceItem.js → api/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.js} +0 -0
- /package/{dist/api/types/ConversationHistoryTranscriptToolCallCommonModel.js → api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceTwoItem.js} +0 -0
- /package/{dist/api/types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.js → api/types/BatchFailureResponseModel.js} +0 -0
- /package/{dist/api/types/DiscountResposneModel.js → api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js} +0 -0
|
@@ -43,10 +43,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
exports.
|
|
46
|
+
exports.ProjectsClient = void 0;
|
|
47
|
+
const BaseClient_1 = require("../../../../../../BaseClient");
|
|
47
48
|
const core = __importStar(require("../../../../../../core"));
|
|
48
49
|
const headers_1 = require("../../../../../../core/headers");
|
|
49
50
|
const environments = __importStar(require("../../../../../../environments"));
|
|
51
|
+
const handleNonStatusCodeError_1 = require("../../../../../../errors/handleNonStatusCodeError");
|
|
50
52
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
51
53
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
52
54
|
const ElevenLabs = __importStar(require("../../../../../index"));
|
|
@@ -54,30 +56,30 @@ const Client_1 = require("../resources/chapters/client/Client");
|
|
|
54
56
|
const Client_2 = require("../resources/content/client/Client");
|
|
55
57
|
const Client_3 = require("../resources/pronunciationDictionaries/client/Client");
|
|
56
58
|
const Client_4 = require("../resources/snapshots/client/Client");
|
|
57
|
-
class
|
|
58
|
-
constructor(
|
|
59
|
-
this._options =
|
|
59
|
+
class ProjectsClient {
|
|
60
|
+
constructor(options = {}) {
|
|
61
|
+
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
60
62
|
}
|
|
61
63
|
get pronunciationDictionaries() {
|
|
62
64
|
var _a;
|
|
63
|
-
return ((_a = this._pronunciationDictionaries) !== null && _a !== void 0 ? _a : (this._pronunciationDictionaries = new Client_3.
|
|
65
|
+
return ((_a = this._pronunciationDictionaries) !== null && _a !== void 0 ? _a : (this._pronunciationDictionaries = new Client_3.PronunciationDictionariesClient(this._options)));
|
|
64
66
|
}
|
|
65
67
|
get content() {
|
|
66
68
|
var _a;
|
|
67
|
-
return ((_a = this._content) !== null && _a !== void 0 ? _a : (this._content = new Client_2.
|
|
69
|
+
return ((_a = this._content) !== null && _a !== void 0 ? _a : (this._content = new Client_2.ContentClient(this._options)));
|
|
68
70
|
}
|
|
69
71
|
get snapshots() {
|
|
70
72
|
var _a;
|
|
71
|
-
return ((_a = this._snapshots) !== null && _a !== void 0 ? _a : (this._snapshots = new Client_4.
|
|
73
|
+
return ((_a = this._snapshots) !== null && _a !== void 0 ? _a : (this._snapshots = new Client_4.SnapshotsClient(this._options)));
|
|
72
74
|
}
|
|
73
75
|
get chapters() {
|
|
74
76
|
var _a;
|
|
75
|
-
return ((_a = this._chapters) !== null && _a !== void 0 ? _a : (this._chapters = new Client_1.
|
|
77
|
+
return ((_a = this._chapters) !== null && _a !== void 0 ? _a : (this._chapters = new Client_1.ChaptersClient(this._options)));
|
|
76
78
|
}
|
|
77
79
|
/**
|
|
78
80
|
* Returns a list of your Studio projects with metadata.
|
|
79
81
|
*
|
|
80
|
-
* @param {
|
|
82
|
+
* @param {ProjectsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
81
83
|
*
|
|
82
84
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
83
85
|
*
|
|
@@ -130,28 +132,14 @@ class Projects {
|
|
|
130
132
|
});
|
|
131
133
|
}
|
|
132
134
|
}
|
|
133
|
-
|
|
134
|
-
case "non-json":
|
|
135
|
-
throw new errors.ElevenLabsError({
|
|
136
|
-
statusCode: _response.error.statusCode,
|
|
137
|
-
body: _response.error.rawBody,
|
|
138
|
-
rawResponse: _response.rawResponse,
|
|
139
|
-
});
|
|
140
|
-
case "timeout":
|
|
141
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling GET /v1/studio/projects.");
|
|
142
|
-
case "unknown":
|
|
143
|
-
throw new errors.ElevenLabsError({
|
|
144
|
-
message: _response.error.errorMessage,
|
|
145
|
-
rawResponse: _response.rawResponse,
|
|
146
|
-
});
|
|
147
|
-
}
|
|
135
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/studio/projects");
|
|
148
136
|
});
|
|
149
137
|
}
|
|
150
138
|
/**
|
|
151
139
|
* Creates a new Studio project, it can be either initialized as blank, from a document or from a URL.
|
|
152
140
|
*
|
|
153
141
|
* @param {ElevenLabs.studio.BodyCreateStudioProjectV1StudioProjectsPost} request
|
|
154
|
-
* @param {
|
|
142
|
+
* @param {ProjectsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
155
143
|
*
|
|
156
144
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
157
145
|
*
|
|
@@ -306,21 +294,7 @@ class Projects {
|
|
|
306
294
|
});
|
|
307
295
|
}
|
|
308
296
|
}
|
|
309
|
-
|
|
310
|
-
case "non-json":
|
|
311
|
-
throw new errors.ElevenLabsError({
|
|
312
|
-
statusCode: _response.error.statusCode,
|
|
313
|
-
body: _response.error.rawBody,
|
|
314
|
-
rawResponse: _response.rawResponse,
|
|
315
|
-
});
|
|
316
|
-
case "timeout":
|
|
317
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/studio/projects.");
|
|
318
|
-
case "unknown":
|
|
319
|
-
throw new errors.ElevenLabsError({
|
|
320
|
-
message: _response.error.errorMessage,
|
|
321
|
-
rawResponse: _response.rawResponse,
|
|
322
|
-
});
|
|
323
|
-
}
|
|
297
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/studio/projects");
|
|
324
298
|
});
|
|
325
299
|
}
|
|
326
300
|
/**
|
|
@@ -328,7 +302,7 @@ class Projects {
|
|
|
328
302
|
*
|
|
329
303
|
* @param {string} project_id - The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
|
|
330
304
|
* @param {ElevenLabs.studio.ProjectsGetRequest} request
|
|
331
|
-
* @param {
|
|
305
|
+
* @param {ProjectsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
332
306
|
*
|
|
333
307
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
334
308
|
*
|
|
@@ -388,21 +362,7 @@ class Projects {
|
|
|
388
362
|
});
|
|
389
363
|
}
|
|
390
364
|
}
|
|
391
|
-
|
|
392
|
-
case "non-json":
|
|
393
|
-
throw new errors.ElevenLabsError({
|
|
394
|
-
statusCode: _response.error.statusCode,
|
|
395
|
-
body: _response.error.rawBody,
|
|
396
|
-
rawResponse: _response.rawResponse,
|
|
397
|
-
});
|
|
398
|
-
case "timeout":
|
|
399
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling GET /v1/studio/projects/{project_id}.");
|
|
400
|
-
case "unknown":
|
|
401
|
-
throw new errors.ElevenLabsError({
|
|
402
|
-
message: _response.error.errorMessage,
|
|
403
|
-
rawResponse: _response.rawResponse,
|
|
404
|
-
});
|
|
405
|
-
}
|
|
365
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/studio/projects/{project_id}");
|
|
406
366
|
});
|
|
407
367
|
}
|
|
408
368
|
/**
|
|
@@ -410,7 +370,7 @@ class Projects {
|
|
|
410
370
|
*
|
|
411
371
|
* @param {string} project_id - The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
|
|
412
372
|
* @param {ElevenLabs.studio.BodyUpdateStudioProjectV1StudioProjectsProjectIdPost} request
|
|
413
|
-
* @param {
|
|
373
|
+
* @param {ProjectsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
414
374
|
*
|
|
415
375
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
416
376
|
*
|
|
@@ -472,28 +432,14 @@ class Projects {
|
|
|
472
432
|
});
|
|
473
433
|
}
|
|
474
434
|
}
|
|
475
|
-
|
|
476
|
-
case "non-json":
|
|
477
|
-
throw new errors.ElevenLabsError({
|
|
478
|
-
statusCode: _response.error.statusCode,
|
|
479
|
-
body: _response.error.rawBody,
|
|
480
|
-
rawResponse: _response.rawResponse,
|
|
481
|
-
});
|
|
482
|
-
case "timeout":
|
|
483
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/studio/projects/{project_id}.");
|
|
484
|
-
case "unknown":
|
|
485
|
-
throw new errors.ElevenLabsError({
|
|
486
|
-
message: _response.error.errorMessage,
|
|
487
|
-
rawResponse: _response.rawResponse,
|
|
488
|
-
});
|
|
489
|
-
}
|
|
435
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/studio/projects/{project_id}");
|
|
490
436
|
});
|
|
491
437
|
}
|
|
492
438
|
/**
|
|
493
439
|
* Deletes a Studio project.
|
|
494
440
|
*
|
|
495
441
|
* @param {string} project_id - The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
|
|
496
|
-
* @param {
|
|
442
|
+
* @param {ProjectsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
497
443
|
*
|
|
498
444
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
499
445
|
*
|
|
@@ -546,28 +492,14 @@ class Projects {
|
|
|
546
492
|
});
|
|
547
493
|
}
|
|
548
494
|
}
|
|
549
|
-
|
|
550
|
-
case "non-json":
|
|
551
|
-
throw new errors.ElevenLabsError({
|
|
552
|
-
statusCode: _response.error.statusCode,
|
|
553
|
-
body: _response.error.rawBody,
|
|
554
|
-
rawResponse: _response.rawResponse,
|
|
555
|
-
});
|
|
556
|
-
case "timeout":
|
|
557
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling DELETE /v1/studio/projects/{project_id}.");
|
|
558
|
-
case "unknown":
|
|
559
|
-
throw new errors.ElevenLabsError({
|
|
560
|
-
message: _response.error.errorMessage,
|
|
561
|
-
rawResponse: _response.rawResponse,
|
|
562
|
-
});
|
|
563
|
-
}
|
|
495
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/studio/projects/{project_id}");
|
|
564
496
|
});
|
|
565
497
|
}
|
|
566
498
|
/**
|
|
567
499
|
* Starts conversion of a Studio project and all of its chapters.
|
|
568
500
|
*
|
|
569
501
|
* @param {string} project_id - The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
|
|
570
|
-
* @param {
|
|
502
|
+
* @param {ProjectsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
571
503
|
*
|
|
572
504
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
573
505
|
*
|
|
@@ -620,22 +552,8 @@ class Projects {
|
|
|
620
552
|
});
|
|
621
553
|
}
|
|
622
554
|
}
|
|
623
|
-
|
|
624
|
-
case "non-json":
|
|
625
|
-
throw new errors.ElevenLabsError({
|
|
626
|
-
statusCode: _response.error.statusCode,
|
|
627
|
-
body: _response.error.rawBody,
|
|
628
|
-
rawResponse: _response.rawResponse,
|
|
629
|
-
});
|
|
630
|
-
case "timeout":
|
|
631
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/studio/projects/{project_id}/convert.");
|
|
632
|
-
case "unknown":
|
|
633
|
-
throw new errors.ElevenLabsError({
|
|
634
|
-
message: _response.error.errorMessage,
|
|
635
|
-
rawResponse: _response.rawResponse,
|
|
636
|
-
});
|
|
637
|
-
}
|
|
555
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/studio/projects/{project_id}/convert");
|
|
638
556
|
});
|
|
639
557
|
}
|
|
640
558
|
}
|
|
641
|
-
exports.
|
|
559
|
+
exports.ProjectsClient = ProjectsClient;
|
|
@@ -134,6 +134,12 @@ export interface BodyCreateStudioProjectV1StudioProjectsPost {
|
|
|
134
134
|
autoAssignVoices?: boolean;
|
|
135
135
|
/** The type of Studio project to create. */
|
|
136
136
|
sourceType?: ElevenLabs.studio.ProjectsCreateRequestSourceType;
|
|
137
|
-
/**
|
|
137
|
+
/**
|
|
138
|
+
* Optional voice settings overrides for the project, encoded as a list of JSON strings.
|
|
139
|
+
*
|
|
140
|
+
* Example:
|
|
141
|
+
* ["{\"voice_id\": \"21m00Tcm4TlvDq8ikWAM\", \"stability\": 0.7, \"similarity_boost\": 0.8, \"style\": 0.5, \"speed\": 1.0, \"use_speaker_boost\": true}"]
|
|
142
|
+
*
|
|
143
|
+
*/
|
|
138
144
|
voiceSettings?: string[];
|
|
139
145
|
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient";
|
|
2
|
+
import { type NormalizedClientOptions } from "../../../../../../../../BaseClient";
|
|
2
3
|
import * as core from "../../../../../../../../core";
|
|
3
4
|
import * as ElevenLabs from "../../../../../../../index";
|
|
4
|
-
import {
|
|
5
|
-
export declare namespace
|
|
6
|
-
|
|
7
|
-
}
|
|
5
|
+
import { SnapshotsClient } from "../resources/snapshots/client/Client";
|
|
6
|
+
export declare namespace ChaptersClient {
|
|
7
|
+
type Options = BaseClientOptions;
|
|
8
8
|
interface RequestOptions extends BaseRequestOptions {
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare class
|
|
12
|
-
protected readonly _options:
|
|
13
|
-
protected _snapshots:
|
|
14
|
-
constructor(
|
|
15
|
-
get snapshots():
|
|
11
|
+
export declare class ChaptersClient {
|
|
12
|
+
protected readonly _options: NormalizedClientOptions<ChaptersClient.Options>;
|
|
13
|
+
protected _snapshots: SnapshotsClient | undefined;
|
|
14
|
+
constructor(options?: ChaptersClient.Options);
|
|
15
|
+
get snapshots(): SnapshotsClient;
|
|
16
16
|
/**
|
|
17
17
|
* Returns a list of a Studio project's chapters.
|
|
18
18
|
*
|
|
19
19
|
* @param {string} project_id - The ID of the Studio project.
|
|
20
|
-
* @param {
|
|
20
|
+
* @param {ChaptersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
21
21
|
*
|
|
22
22
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* await client.studio.projects.chapters.list("21m00Tcm4TlvDq8ikWAM")
|
|
26
26
|
*/
|
|
27
|
-
list(project_id: string, requestOptions?:
|
|
27
|
+
list(project_id: string, requestOptions?: ChaptersClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetChaptersResponse>;
|
|
28
28
|
private __list;
|
|
29
29
|
/**
|
|
30
30
|
* Creates a new chapter either as blank or from a URL.
|
|
31
31
|
*
|
|
32
32
|
* @param {string} project_id - The ID of the Studio project.
|
|
33
33
|
* @param {ElevenLabs.studio.projects.BodyCreateChapterV1StudioProjectsProjectIdChaptersPost} request
|
|
34
|
-
* @param {
|
|
34
|
+
* @param {ChaptersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
35
35
|
*
|
|
36
36
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
37
37
|
*
|
|
@@ -40,21 +40,21 @@ export declare class Chapters {
|
|
|
40
40
|
* name: "Chapter 1"
|
|
41
41
|
* })
|
|
42
42
|
*/
|
|
43
|
-
create(project_id: string, request: ElevenLabs.studio.projects.BodyCreateChapterV1StudioProjectsProjectIdChaptersPost, requestOptions?:
|
|
43
|
+
create(project_id: string, request: ElevenLabs.studio.projects.BodyCreateChapterV1StudioProjectsProjectIdChaptersPost, requestOptions?: ChaptersClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.AddChapterResponseModel>;
|
|
44
44
|
private __create;
|
|
45
45
|
/**
|
|
46
46
|
* Returns information about a specific chapter.
|
|
47
47
|
*
|
|
48
48
|
* @param {string} project_id - The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
|
|
49
49
|
* @param {string} chapter_id - The ID of the chapter to be used. You can use the [List project chapters](/docs/api-reference/studio/get-chapters) endpoint to list all the available chapters.
|
|
50
|
-
* @param {
|
|
50
|
+
* @param {ChaptersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
51
51
|
*
|
|
52
52
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
53
53
|
*
|
|
54
54
|
* @example
|
|
55
55
|
* await client.studio.projects.chapters.get("21m00Tcm4TlvDq8ikWAM", "21m00Tcm4TlvDq8ikWAM")
|
|
56
56
|
*/
|
|
57
|
-
get(project_id: string, chapter_id: string, requestOptions?:
|
|
57
|
+
get(project_id: string, chapter_id: string, requestOptions?: ChaptersClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ChapterWithContentResponseModel>;
|
|
58
58
|
private __get;
|
|
59
59
|
/**
|
|
60
60
|
* Updates a chapter.
|
|
@@ -62,41 +62,41 @@ export declare class Chapters {
|
|
|
62
62
|
* @param {string} project_id - The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
|
|
63
63
|
* @param {string} chapter_id - The ID of the chapter to be used. You can use the [List project chapters](/docs/api-reference/studio/get-chapters) endpoint to list all the available chapters.
|
|
64
64
|
* @param {ElevenLabs.studio.projects.BodyUpdateChapterV1StudioProjectsProjectIdChaptersChapterIdPost} request
|
|
65
|
-
* @param {
|
|
65
|
+
* @param {ChaptersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
68
68
|
*
|
|
69
69
|
* @example
|
|
70
70
|
* await client.studio.projects.chapters.update("21m00Tcm4TlvDq8ikWAM", "21m00Tcm4TlvDq8ikWAM")
|
|
71
71
|
*/
|
|
72
|
-
update(project_id: string, chapter_id: string, request?: ElevenLabs.studio.projects.BodyUpdateChapterV1StudioProjectsProjectIdChaptersChapterIdPost, requestOptions?:
|
|
72
|
+
update(project_id: string, chapter_id: string, request?: ElevenLabs.studio.projects.BodyUpdateChapterV1StudioProjectsProjectIdChaptersChapterIdPost, requestOptions?: ChaptersClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.EditChapterResponseModel>;
|
|
73
73
|
private __update;
|
|
74
74
|
/**
|
|
75
75
|
* Deletes a chapter.
|
|
76
76
|
*
|
|
77
77
|
* @param {string} project_id - The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
|
|
78
78
|
* @param {string} chapter_id - The ID of the chapter to be used. You can use the [List project chapters](/docs/api-reference/studio/get-chapters) endpoint to list all the available chapters.
|
|
79
|
-
* @param {
|
|
79
|
+
* @param {ChaptersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
80
80
|
*
|
|
81
81
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
82
82
|
*
|
|
83
83
|
* @example
|
|
84
84
|
* await client.studio.projects.chapters.delete("21m00Tcm4TlvDq8ikWAM", "21m00Tcm4TlvDq8ikWAM")
|
|
85
85
|
*/
|
|
86
|
-
delete(project_id: string, chapter_id: string, requestOptions?:
|
|
86
|
+
delete(project_id: string, chapter_id: string, requestOptions?: ChaptersClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.DeleteChapterResponseModel>;
|
|
87
87
|
private __delete;
|
|
88
88
|
/**
|
|
89
89
|
* Starts conversion of a specific chapter.
|
|
90
90
|
*
|
|
91
91
|
* @param {string} project_id - The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
|
|
92
92
|
* @param {string} chapter_id - The ID of the chapter to be used. You can use the [List project chapters](/docs/api-reference/studio/get-chapters) endpoint to list all the available chapters.
|
|
93
|
-
* @param {
|
|
93
|
+
* @param {ChaptersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
94
94
|
*
|
|
95
95
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
96
96
|
*
|
|
97
97
|
* @example
|
|
98
98
|
* await client.studio.projects.chapters.convert("21m00Tcm4TlvDq8ikWAM", "21m00Tcm4TlvDq8ikWAM")
|
|
99
99
|
*/
|
|
100
|
-
convert(project_id: string, chapter_id: string, requestOptions?:
|
|
100
|
+
convert(project_id: string, chapter_id: string, requestOptions?: ChaptersClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ConvertChapterResponseModel>;
|
|
101
101
|
private __convert;
|
|
102
102
|
}
|
|
@@ -43,27 +43,29 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
exports.
|
|
46
|
+
exports.ChaptersClient = void 0;
|
|
47
|
+
const BaseClient_1 = require("../../../../../../../../BaseClient");
|
|
47
48
|
const core = __importStar(require("../../../../../../../../core"));
|
|
48
49
|
const headers_1 = require("../../../../../../../../core/headers");
|
|
49
50
|
const environments = __importStar(require("../../../../../../../../environments"));
|
|
51
|
+
const handleNonStatusCodeError_1 = require("../../../../../../../../errors/handleNonStatusCodeError");
|
|
50
52
|
const errors = __importStar(require("../../../../../../../../errors/index"));
|
|
51
53
|
const serializers = __importStar(require("../../../../../../../../serialization/index"));
|
|
52
54
|
const ElevenLabs = __importStar(require("../../../../../../../index"));
|
|
53
55
|
const Client_1 = require("../resources/snapshots/client/Client");
|
|
54
|
-
class
|
|
55
|
-
constructor(
|
|
56
|
-
this._options =
|
|
56
|
+
class ChaptersClient {
|
|
57
|
+
constructor(options = {}) {
|
|
58
|
+
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
57
59
|
}
|
|
58
60
|
get snapshots() {
|
|
59
61
|
var _a;
|
|
60
|
-
return ((_a = this._snapshots) !== null && _a !== void 0 ? _a : (this._snapshots = new Client_1.
|
|
62
|
+
return ((_a = this._snapshots) !== null && _a !== void 0 ? _a : (this._snapshots = new Client_1.SnapshotsClient(this._options)));
|
|
61
63
|
}
|
|
62
64
|
/**
|
|
63
65
|
* Returns a list of a Studio project's chapters.
|
|
64
66
|
*
|
|
65
67
|
* @param {string} project_id - The ID of the Studio project.
|
|
66
|
-
* @param {
|
|
68
|
+
* @param {ChaptersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
67
69
|
*
|
|
68
70
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
69
71
|
*
|
|
@@ -116,21 +118,7 @@ class Chapters {
|
|
|
116
118
|
});
|
|
117
119
|
}
|
|
118
120
|
}
|
|
119
|
-
|
|
120
|
-
case "non-json":
|
|
121
|
-
throw new errors.ElevenLabsError({
|
|
122
|
-
statusCode: _response.error.statusCode,
|
|
123
|
-
body: _response.error.rawBody,
|
|
124
|
-
rawResponse: _response.rawResponse,
|
|
125
|
-
});
|
|
126
|
-
case "timeout":
|
|
127
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling GET /v1/studio/projects/{project_id}/chapters.");
|
|
128
|
-
case "unknown":
|
|
129
|
-
throw new errors.ElevenLabsError({
|
|
130
|
-
message: _response.error.errorMessage,
|
|
131
|
-
rawResponse: _response.rawResponse,
|
|
132
|
-
});
|
|
133
|
-
}
|
|
121
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/studio/projects/{project_id}/chapters");
|
|
134
122
|
});
|
|
135
123
|
}
|
|
136
124
|
/**
|
|
@@ -138,7 +126,7 @@ class Chapters {
|
|
|
138
126
|
*
|
|
139
127
|
* @param {string} project_id - The ID of the Studio project.
|
|
140
128
|
* @param {ElevenLabs.studio.projects.BodyCreateChapterV1StudioProjectsProjectIdChaptersPost} request
|
|
141
|
-
* @param {
|
|
129
|
+
* @param {ChaptersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
142
130
|
*
|
|
143
131
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
144
132
|
*
|
|
@@ -196,21 +184,7 @@ class Chapters {
|
|
|
196
184
|
});
|
|
197
185
|
}
|
|
198
186
|
}
|
|
199
|
-
|
|
200
|
-
case "non-json":
|
|
201
|
-
throw new errors.ElevenLabsError({
|
|
202
|
-
statusCode: _response.error.statusCode,
|
|
203
|
-
body: _response.error.rawBody,
|
|
204
|
-
rawResponse: _response.rawResponse,
|
|
205
|
-
});
|
|
206
|
-
case "timeout":
|
|
207
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/studio/projects/{project_id}/chapters.");
|
|
208
|
-
case "unknown":
|
|
209
|
-
throw new errors.ElevenLabsError({
|
|
210
|
-
message: _response.error.errorMessage,
|
|
211
|
-
rawResponse: _response.rawResponse,
|
|
212
|
-
});
|
|
213
|
-
}
|
|
187
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/studio/projects/{project_id}/chapters");
|
|
214
188
|
});
|
|
215
189
|
}
|
|
216
190
|
/**
|
|
@@ -218,7 +192,7 @@ class Chapters {
|
|
|
218
192
|
*
|
|
219
193
|
* @param {string} project_id - The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
|
|
220
194
|
* @param {string} chapter_id - The ID of the chapter to be used. You can use the [List project chapters](/docs/api-reference/studio/get-chapters) endpoint to list all the available chapters.
|
|
221
|
-
* @param {
|
|
195
|
+
* @param {ChaptersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
222
196
|
*
|
|
223
197
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
224
198
|
*
|
|
@@ -271,21 +245,7 @@ class Chapters {
|
|
|
271
245
|
});
|
|
272
246
|
}
|
|
273
247
|
}
|
|
274
|
-
|
|
275
|
-
case "non-json":
|
|
276
|
-
throw new errors.ElevenLabsError({
|
|
277
|
-
statusCode: _response.error.statusCode,
|
|
278
|
-
body: _response.error.rawBody,
|
|
279
|
-
rawResponse: _response.rawResponse,
|
|
280
|
-
});
|
|
281
|
-
case "timeout":
|
|
282
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling GET /v1/studio/projects/{project_id}/chapters/{chapter_id}.");
|
|
283
|
-
case "unknown":
|
|
284
|
-
throw new errors.ElevenLabsError({
|
|
285
|
-
message: _response.error.errorMessage,
|
|
286
|
-
rawResponse: _response.rawResponse,
|
|
287
|
-
});
|
|
288
|
-
}
|
|
248
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/studio/projects/{project_id}/chapters/{chapter_id}");
|
|
289
249
|
});
|
|
290
250
|
}
|
|
291
251
|
/**
|
|
@@ -294,7 +254,7 @@ class Chapters {
|
|
|
294
254
|
* @param {string} project_id - The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
|
|
295
255
|
* @param {string} chapter_id - The ID of the chapter to be used. You can use the [List project chapters](/docs/api-reference/studio/get-chapters) endpoint to list all the available chapters.
|
|
296
256
|
* @param {ElevenLabs.studio.projects.BodyUpdateChapterV1StudioProjectsProjectIdChaptersChapterIdPost} request
|
|
297
|
-
* @param {
|
|
257
|
+
* @param {ChaptersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
298
258
|
*
|
|
299
259
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
300
260
|
*
|
|
@@ -350,21 +310,7 @@ class Chapters {
|
|
|
350
310
|
});
|
|
351
311
|
}
|
|
352
312
|
}
|
|
353
|
-
|
|
354
|
-
case "non-json":
|
|
355
|
-
throw new errors.ElevenLabsError({
|
|
356
|
-
statusCode: _response.error.statusCode,
|
|
357
|
-
body: _response.error.rawBody,
|
|
358
|
-
rawResponse: _response.rawResponse,
|
|
359
|
-
});
|
|
360
|
-
case "timeout":
|
|
361
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/studio/projects/{project_id}/chapters/{chapter_id}.");
|
|
362
|
-
case "unknown":
|
|
363
|
-
throw new errors.ElevenLabsError({
|
|
364
|
-
message: _response.error.errorMessage,
|
|
365
|
-
rawResponse: _response.rawResponse,
|
|
366
|
-
});
|
|
367
|
-
}
|
|
313
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/studio/projects/{project_id}/chapters/{chapter_id}");
|
|
368
314
|
});
|
|
369
315
|
}
|
|
370
316
|
/**
|
|
@@ -372,7 +318,7 @@ class Chapters {
|
|
|
372
318
|
*
|
|
373
319
|
* @param {string} project_id - The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
|
|
374
320
|
* @param {string} chapter_id - The ID of the chapter to be used. You can use the [List project chapters](/docs/api-reference/studio/get-chapters) endpoint to list all the available chapters.
|
|
375
|
-
* @param {
|
|
321
|
+
* @param {ChaptersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
376
322
|
*
|
|
377
323
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
378
324
|
*
|
|
@@ -425,21 +371,7 @@ class Chapters {
|
|
|
425
371
|
});
|
|
426
372
|
}
|
|
427
373
|
}
|
|
428
|
-
|
|
429
|
-
case "non-json":
|
|
430
|
-
throw new errors.ElevenLabsError({
|
|
431
|
-
statusCode: _response.error.statusCode,
|
|
432
|
-
body: _response.error.rawBody,
|
|
433
|
-
rawResponse: _response.rawResponse,
|
|
434
|
-
});
|
|
435
|
-
case "timeout":
|
|
436
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling DELETE /v1/studio/projects/{project_id}/chapters/{chapter_id}.");
|
|
437
|
-
case "unknown":
|
|
438
|
-
throw new errors.ElevenLabsError({
|
|
439
|
-
message: _response.error.errorMessage,
|
|
440
|
-
rawResponse: _response.rawResponse,
|
|
441
|
-
});
|
|
442
|
-
}
|
|
374
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/studio/projects/{project_id}/chapters/{chapter_id}");
|
|
443
375
|
});
|
|
444
376
|
}
|
|
445
377
|
/**
|
|
@@ -447,7 +379,7 @@ class Chapters {
|
|
|
447
379
|
*
|
|
448
380
|
* @param {string} project_id - The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
|
|
449
381
|
* @param {string} chapter_id - The ID of the chapter to be used. You can use the [List project chapters](/docs/api-reference/studio/get-chapters) endpoint to list all the available chapters.
|
|
450
|
-
* @param {
|
|
382
|
+
* @param {ChaptersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
451
383
|
*
|
|
452
384
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
453
385
|
*
|
|
@@ -500,22 +432,8 @@ class Chapters {
|
|
|
500
432
|
});
|
|
501
433
|
}
|
|
502
434
|
}
|
|
503
|
-
|
|
504
|
-
case "non-json":
|
|
505
|
-
throw new errors.ElevenLabsError({
|
|
506
|
-
statusCode: _response.error.statusCode,
|
|
507
|
-
body: _response.error.rawBody,
|
|
508
|
-
rawResponse: _response.rawResponse,
|
|
509
|
-
});
|
|
510
|
-
case "timeout":
|
|
511
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/studio/projects/{project_id}/chapters/{chapter_id}/convert.");
|
|
512
|
-
case "unknown":
|
|
513
|
-
throw new errors.ElevenLabsError({
|
|
514
|
-
message: _response.error.errorMessage,
|
|
515
|
-
rawResponse: _response.rawResponse,
|
|
516
|
-
});
|
|
517
|
-
}
|
|
435
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/studio/projects/{project_id}/chapters/{chapter_id}/convert");
|
|
518
436
|
});
|
|
519
437
|
}
|
|
520
438
|
}
|
|
521
|
-
exports.
|
|
439
|
+
exports.ChaptersClient = ChaptersClient;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../../../BaseClient";
|
|
2
|
+
import { type NormalizedClientOptions } from "../../../../../../../../../../BaseClient";
|
|
2
3
|
import * as core from "../../../../../../../../../../core";
|
|
3
4
|
import * as ElevenLabs from "../../../../../../../../../index";
|
|
4
|
-
export declare namespace
|
|
5
|
-
|
|
6
|
-
}
|
|
5
|
+
export declare namespace SnapshotsClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
export declare class
|
|
11
|
-
protected readonly _options:
|
|
12
|
-
constructor(
|
|
10
|
+
export declare class SnapshotsClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptions<SnapshotsClient.Options>;
|
|
12
|
+
constructor(options?: SnapshotsClient.Options);
|
|
13
13
|
/**
|
|
14
14
|
* Gets information about all the snapshots of a chapter. Each snapshot can be downloaded as audio. Whenever a chapter is converted a snapshot will automatically be created.
|
|
15
15
|
*
|
|
16
16
|
* @param {string} project_id - The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
|
|
17
17
|
* @param {string} chapter_id - The ID of the chapter to be used. You can use the [List project chapters](/docs/api-reference/studio/get-chapters) endpoint to list all the available chapters.
|
|
18
|
-
* @param {
|
|
18
|
+
* @param {SnapshotsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
19
19
|
*
|
|
20
20
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* await client.studio.projects.chapters.snapshots.list("21m00Tcm4TlvDq8ikWAM", "21m00Tcm4TlvDq8ikWAM")
|
|
24
24
|
*/
|
|
25
|
-
list(project_id: string, chapter_id: string, requestOptions?:
|
|
25
|
+
list(project_id: string, chapter_id: string, requestOptions?: SnapshotsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ChapterSnapshotsResponse>;
|
|
26
26
|
private __list;
|
|
27
27
|
/**
|
|
28
28
|
* Returns the chapter snapshot.
|
|
@@ -30,19 +30,19 @@ export declare class Snapshots {
|
|
|
30
30
|
* @param {string} project_id - The ID of the Studio project.
|
|
31
31
|
* @param {string} chapter_id - The ID of the chapter.
|
|
32
32
|
* @param {string} chapter_snapshot_id - The ID of the chapter snapshot.
|
|
33
|
-
* @param {
|
|
33
|
+
* @param {SnapshotsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
34
|
*
|
|
35
35
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
36
36
|
*
|
|
37
37
|
* @example
|
|
38
38
|
* await client.studio.projects.chapters.snapshots.get("21m00Tcm4TlvDq8ikWAM", "21m00Tcm4TlvDq8ikWAM", "21m00Tcm4TlvDq8ikWAM")
|
|
39
39
|
*/
|
|
40
|
-
get(project_id: string, chapter_id: string, chapter_snapshot_id: string, requestOptions?:
|
|
40
|
+
get(project_id: string, chapter_id: string, chapter_snapshot_id: string, requestOptions?: SnapshotsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ChapterSnapshotExtendedResponseModel>;
|
|
41
41
|
private __get;
|
|
42
42
|
/**
|
|
43
43
|
* Stream the audio from a chapter snapshot. Use `GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots` to return the snapshots of a chapter.
|
|
44
44
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
45
45
|
*/
|
|
46
|
-
stream(project_id: string, chapter_id: string, chapter_snapshot_id: string, request?: ElevenLabs.studio.projects.chapters.BodyStreamChapterAudioV1StudioProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost, requestOptions?:
|
|
46
|
+
stream(project_id: string, chapter_id: string, chapter_snapshot_id: string, request?: ElevenLabs.studio.projects.chapters.BodyStreamChapterAudioV1StudioProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost, requestOptions?: SnapshotsClient.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
|
|
47
47
|
private __stream;
|
|
48
48
|
}
|