@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,37 +43,39 @@ 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.DubbingClient = 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/audio/client/Client");
|
|
54
56
|
const Client_2 = require("../resources/resource/client/Client");
|
|
55
57
|
const Client_3 = require("../resources/transcript/client/Client");
|
|
56
|
-
class
|
|
57
|
-
constructor(
|
|
58
|
-
this._options =
|
|
58
|
+
class DubbingClient {
|
|
59
|
+
constructor(options = {}) {
|
|
60
|
+
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
59
61
|
}
|
|
60
62
|
get resource() {
|
|
61
63
|
var _a;
|
|
62
|
-
return ((_a = this._resource) !== null && _a !== void 0 ? _a : (this._resource = new Client_2.
|
|
64
|
+
return ((_a = this._resource) !== null && _a !== void 0 ? _a : (this._resource = new Client_2.ResourceClient(this._options)));
|
|
63
65
|
}
|
|
64
66
|
get audio() {
|
|
65
67
|
var _a;
|
|
66
|
-
return ((_a = this._audio) !== null && _a !== void 0 ? _a : (this._audio = new Client_1.
|
|
68
|
+
return ((_a = this._audio) !== null && _a !== void 0 ? _a : (this._audio = new Client_1.AudioClient(this._options)));
|
|
67
69
|
}
|
|
68
70
|
get transcript() {
|
|
69
71
|
var _a;
|
|
70
|
-
return ((_a = this._transcript) !== null && _a !== void 0 ? _a : (this._transcript = new Client_3.
|
|
72
|
+
return ((_a = this._transcript) !== null && _a !== void 0 ? _a : (this._transcript = new Client_3.TranscriptClient(this._options)));
|
|
71
73
|
}
|
|
72
74
|
/**
|
|
73
75
|
* List the dubs you have access to.
|
|
74
76
|
*
|
|
75
77
|
* @param {ElevenLabs.DubbingListRequest} request
|
|
76
|
-
* @param {
|
|
78
|
+
* @param {DubbingClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
77
79
|
*
|
|
78
80
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
79
81
|
*
|
|
@@ -157,28 +159,14 @@ class Dubbing {
|
|
|
157
159
|
});
|
|
158
160
|
}
|
|
159
161
|
}
|
|
160
|
-
|
|
161
|
-
case "non-json":
|
|
162
|
-
throw new errors.ElevenLabsError({
|
|
163
|
-
statusCode: _response.error.statusCode,
|
|
164
|
-
body: _response.error.rawBody,
|
|
165
|
-
rawResponse: _response.rawResponse,
|
|
166
|
-
});
|
|
167
|
-
case "timeout":
|
|
168
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling GET /v1/dubbing.");
|
|
169
|
-
case "unknown":
|
|
170
|
-
throw new errors.ElevenLabsError({
|
|
171
|
-
message: _response.error.errorMessage,
|
|
172
|
-
rawResponse: _response.rawResponse,
|
|
173
|
-
});
|
|
174
|
-
}
|
|
162
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/dubbing");
|
|
175
163
|
});
|
|
176
164
|
}
|
|
177
165
|
/**
|
|
178
166
|
* Dubs a provided audio or video file into given language.
|
|
179
167
|
*
|
|
180
168
|
* @param {ElevenLabs.BodyDubAVideoOrAnAudioFileV1DubbingPost} request
|
|
181
|
-
* @param {
|
|
169
|
+
* @param {DubbingClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
182
170
|
*
|
|
183
171
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
184
172
|
*
|
|
@@ -297,28 +285,14 @@ class Dubbing {
|
|
|
297
285
|
});
|
|
298
286
|
}
|
|
299
287
|
}
|
|
300
|
-
|
|
301
|
-
case "non-json":
|
|
302
|
-
throw new errors.ElevenLabsError({
|
|
303
|
-
statusCode: _response.error.statusCode,
|
|
304
|
-
body: _response.error.rawBody,
|
|
305
|
-
rawResponse: _response.rawResponse,
|
|
306
|
-
});
|
|
307
|
-
case "timeout":
|
|
308
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/dubbing.");
|
|
309
|
-
case "unknown":
|
|
310
|
-
throw new errors.ElevenLabsError({
|
|
311
|
-
message: _response.error.errorMessage,
|
|
312
|
-
rawResponse: _response.rawResponse,
|
|
313
|
-
});
|
|
314
|
-
}
|
|
288
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/dubbing");
|
|
315
289
|
});
|
|
316
290
|
}
|
|
317
291
|
/**
|
|
318
292
|
* Returns metadata about a dubbing project, including whether it's still in progress or not
|
|
319
293
|
*
|
|
320
294
|
* @param {string} dubbing_id - ID of the dubbing project.
|
|
321
|
-
* @param {
|
|
295
|
+
* @param {DubbingClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
322
296
|
*
|
|
323
297
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
324
298
|
*
|
|
@@ -371,28 +345,14 @@ class Dubbing {
|
|
|
371
345
|
});
|
|
372
346
|
}
|
|
373
347
|
}
|
|
374
|
-
|
|
375
|
-
case "non-json":
|
|
376
|
-
throw new errors.ElevenLabsError({
|
|
377
|
-
statusCode: _response.error.statusCode,
|
|
378
|
-
body: _response.error.rawBody,
|
|
379
|
-
rawResponse: _response.rawResponse,
|
|
380
|
-
});
|
|
381
|
-
case "timeout":
|
|
382
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling GET /v1/dubbing/{dubbing_id}.");
|
|
383
|
-
case "unknown":
|
|
384
|
-
throw new errors.ElevenLabsError({
|
|
385
|
-
message: _response.error.errorMessage,
|
|
386
|
-
rawResponse: _response.rawResponse,
|
|
387
|
-
});
|
|
388
|
-
}
|
|
348
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/dubbing/{dubbing_id}");
|
|
389
349
|
});
|
|
390
350
|
}
|
|
391
351
|
/**
|
|
392
352
|
* Deletes a dubbing project.
|
|
393
353
|
*
|
|
394
354
|
* @param {string} dubbing_id - ID of the dubbing project.
|
|
395
|
-
* @param {
|
|
355
|
+
* @param {DubbingClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
396
356
|
*
|
|
397
357
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
398
358
|
*
|
|
@@ -445,22 +405,8 @@ class Dubbing {
|
|
|
445
405
|
});
|
|
446
406
|
}
|
|
447
407
|
}
|
|
448
|
-
|
|
449
|
-
case "non-json":
|
|
450
|
-
throw new errors.ElevenLabsError({
|
|
451
|
-
statusCode: _response.error.statusCode,
|
|
452
|
-
body: _response.error.rawBody,
|
|
453
|
-
rawResponse: _response.rawResponse,
|
|
454
|
-
});
|
|
455
|
-
case "timeout":
|
|
456
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling DELETE /v1/dubbing/{dubbing_id}.");
|
|
457
|
-
case "unknown":
|
|
458
|
-
throw new errors.ElevenLabsError({
|
|
459
|
-
message: _response.error.errorMessage,
|
|
460
|
-
rawResponse: _response.rawResponse,
|
|
461
|
-
});
|
|
462
|
-
}
|
|
408
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/dubbing/{dubbing_id}");
|
|
463
409
|
});
|
|
464
410
|
}
|
|
465
411
|
}
|
|
466
|
-
exports.
|
|
412
|
+
exports.DubbingClient = DubbingClient;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient";
|
|
2
|
+
import { type NormalizedClientOptions } from "../../../../../../BaseClient";
|
|
2
3
|
import * as core from "../../../../../../core";
|
|
3
|
-
export declare namespace
|
|
4
|
-
|
|
5
|
-
}
|
|
4
|
+
export declare namespace AudioClient {
|
|
5
|
+
type Options = BaseClientOptions;
|
|
6
6
|
interface RequestOptions extends BaseRequestOptions {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
export declare class
|
|
10
|
-
protected readonly _options:
|
|
11
|
-
constructor(
|
|
9
|
+
export declare class AudioClient {
|
|
10
|
+
protected readonly _options: NormalizedClientOptions<AudioClient.Options>;
|
|
11
|
+
constructor(options?: AudioClient.Options);
|
|
12
12
|
/**
|
|
13
13
|
* Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resource render endpoint as this endpoint only returns the original automatic dub result.
|
|
14
14
|
* @throws {@link ElevenLabs.ForbiddenError}
|
|
@@ -16,6 +16,6 @@ export declare class Audio {
|
|
|
16
16
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
17
17
|
* @throws {@link ElevenLabs.TooEarlyError}
|
|
18
18
|
*/
|
|
19
|
-
get(dubbing_id: string, language_code: string, requestOptions?:
|
|
19
|
+
get(dubbing_id: string, language_code: string, requestOptions?: AudioClient.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
|
|
20
20
|
private __get;
|
|
21
21
|
}
|
|
@@ -43,16 +43,18 @@ 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.AudioClient = 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
|
-
class
|
|
54
|
-
constructor(
|
|
55
|
-
this._options =
|
|
55
|
+
class AudioClient {
|
|
56
|
+
constructor(options = {}) {
|
|
57
|
+
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
56
58
|
}
|
|
57
59
|
/**
|
|
58
60
|
* Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resource render endpoint as this endpoint only returns the original automatic dub result.
|
|
@@ -106,22 +108,8 @@ class Audio {
|
|
|
106
108
|
});
|
|
107
109
|
}
|
|
108
110
|
}
|
|
109
|
-
|
|
110
|
-
case "non-json":
|
|
111
|
-
throw new errors.ElevenLabsError({
|
|
112
|
-
statusCode: _response.error.statusCode,
|
|
113
|
-
body: _response.error.rawBody,
|
|
114
|
-
rawResponse: _response.rawResponse,
|
|
115
|
-
});
|
|
116
|
-
case "timeout":
|
|
117
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling GET /v1/dubbing/{dubbing_id}/audio/{language_code}.");
|
|
118
|
-
case "unknown":
|
|
119
|
-
throw new errors.ElevenLabsError({
|
|
120
|
-
message: _response.error.errorMessage,
|
|
121
|
-
rawResponse: _response.rawResponse,
|
|
122
|
-
});
|
|
123
|
-
}
|
|
111
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/dubbing/{dubbing_id}/audio/{language_code}");
|
|
124
112
|
});
|
|
125
113
|
}
|
|
126
114
|
}
|
|
127
|
-
exports.
|
|
115
|
+
exports.AudioClient = AudioClient;
|
|
@@ -1,43 +1,43 @@
|
|
|
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
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
export declare namespace
|
|
8
|
-
|
|
9
|
-
}
|
|
5
|
+
import { LanguageClient } from "../resources/language/client/Client";
|
|
6
|
+
import { SegmentClient } from "../resources/segment/client/Client";
|
|
7
|
+
import { SpeakerClient } from "../resources/speaker/client/Client";
|
|
8
|
+
export declare namespace ResourceClient {
|
|
9
|
+
type Options = BaseClientOptions;
|
|
10
10
|
interface RequestOptions extends BaseRequestOptions {
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
export declare class
|
|
14
|
-
protected readonly _options:
|
|
15
|
-
protected _language:
|
|
16
|
-
protected _segment:
|
|
17
|
-
protected _speaker:
|
|
18
|
-
constructor(
|
|
19
|
-
get language():
|
|
20
|
-
get segment():
|
|
21
|
-
get speaker():
|
|
13
|
+
export declare class ResourceClient {
|
|
14
|
+
protected readonly _options: NormalizedClientOptions<ResourceClient.Options>;
|
|
15
|
+
protected _language: LanguageClient | undefined;
|
|
16
|
+
protected _segment: SegmentClient | undefined;
|
|
17
|
+
protected _speaker: SpeakerClient | undefined;
|
|
18
|
+
constructor(options?: ResourceClient.Options);
|
|
19
|
+
get language(): LanguageClient;
|
|
20
|
+
get segment(): SegmentClient;
|
|
21
|
+
get speaker(): SpeakerClient;
|
|
22
22
|
/**
|
|
23
23
|
* Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the dubbing resource.
|
|
24
24
|
*
|
|
25
25
|
* @param {string} dubbing_id - ID of the dubbing project.
|
|
26
|
-
* @param {
|
|
26
|
+
* @param {ResourceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
27
|
*
|
|
28
28
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* await client.dubbing.resource.get("dubbing_id")
|
|
32
32
|
*/
|
|
33
|
-
get(dubbing_id: string, requestOptions?:
|
|
33
|
+
get(dubbing_id: string, requestOptions?: ResourceClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.DubbingResource>;
|
|
34
34
|
private __get;
|
|
35
35
|
/**
|
|
36
36
|
* Change the attribution of one or more segments to a different speaker.
|
|
37
37
|
*
|
|
38
38
|
* @param {string} dubbing_id - ID of the dubbing project.
|
|
39
39
|
* @param {ElevenLabs.dubbing.BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost} request
|
|
40
|
-
* @param {
|
|
40
|
+
* @param {ResourceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
41
41
|
*
|
|
42
42
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
43
43
|
*
|
|
@@ -47,14 +47,14 @@ export declare class Resource {
|
|
|
47
47
|
* speakerId: "speaker_id"
|
|
48
48
|
* })
|
|
49
49
|
*/
|
|
50
|
-
migrateSegments(dubbing_id: string, request: ElevenLabs.dubbing.BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost, requestOptions?:
|
|
50
|
+
migrateSegments(dubbing_id: string, request: ElevenLabs.dubbing.BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost, requestOptions?: ResourceClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.SegmentMigrationResponse>;
|
|
51
51
|
private __migrateSegments;
|
|
52
52
|
/**
|
|
53
53
|
* Regenerate the transcriptions for the specified segments. Does not automatically regenerate translations or dubs.
|
|
54
54
|
*
|
|
55
55
|
* @param {string} dubbing_id - ID of the dubbing project.
|
|
56
56
|
* @param {ElevenLabs.dubbing.BodyTranscribesSegmentsV1DubbingResourceDubbingIdTranscribePost} request
|
|
57
|
-
* @param {
|
|
57
|
+
* @param {ResourceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
60
60
|
*
|
|
@@ -63,14 +63,14 @@ export declare class Resource {
|
|
|
63
63
|
* segments: ["segments"]
|
|
64
64
|
* })
|
|
65
65
|
*/
|
|
66
|
-
transcribe(dubbing_id: string, request: ElevenLabs.dubbing.BodyTranscribesSegmentsV1DubbingResourceDubbingIdTranscribePost, requestOptions?:
|
|
66
|
+
transcribe(dubbing_id: string, request: ElevenLabs.dubbing.BodyTranscribesSegmentsV1DubbingResourceDubbingIdTranscribePost, requestOptions?: ResourceClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.SegmentTranscriptionResponse>;
|
|
67
67
|
private __transcribe;
|
|
68
68
|
/**
|
|
69
69
|
* Regenerate the translations for either the entire resource or the specified segments/languages. Will automatically transcribe missing transcriptions. Will not automatically regenerate the dubs.
|
|
70
70
|
*
|
|
71
71
|
* @param {string} dubbing_id - ID of the dubbing project.
|
|
72
72
|
* @param {ElevenLabs.dubbing.BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIdTranslatePost} request
|
|
73
|
-
* @param {
|
|
73
|
+
* @param {ResourceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
76
76
|
*
|
|
@@ -79,14 +79,14 @@ export declare class Resource {
|
|
|
79
79
|
* segments: ["segments"]
|
|
80
80
|
* })
|
|
81
81
|
*/
|
|
82
|
-
translate(dubbing_id: string, request: ElevenLabs.dubbing.BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIdTranslatePost, requestOptions?:
|
|
82
|
+
translate(dubbing_id: string, request: ElevenLabs.dubbing.BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIdTranslatePost, requestOptions?: ResourceClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.SegmentTranslationResponse>;
|
|
83
83
|
private __translate;
|
|
84
84
|
/**
|
|
85
85
|
* Regenerate the dubs for either the entire resource or the specified segments/languages. Will automatically transcribe and translate any missing transcriptions and translations.
|
|
86
86
|
*
|
|
87
87
|
* @param {string} dubbing_id - ID of the dubbing project.
|
|
88
88
|
* @param {ElevenLabs.dubbing.BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIdDubPost} request
|
|
89
|
-
* @param {
|
|
89
|
+
* @param {ResourceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
90
90
|
*
|
|
91
91
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
92
92
|
*
|
|
@@ -95,7 +95,7 @@ export declare class Resource {
|
|
|
95
95
|
* segments: ["segments"]
|
|
96
96
|
* })
|
|
97
97
|
*/
|
|
98
|
-
dub(dubbing_id: string, request: ElevenLabs.dubbing.BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIdDubPost, requestOptions?:
|
|
98
|
+
dub(dubbing_id: string, request: ElevenLabs.dubbing.BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIdDubPost, requestOptions?: ResourceClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.SegmentDubResponse>;
|
|
99
99
|
private __dub;
|
|
100
100
|
/**
|
|
101
101
|
* Regenerate the output media for a language using the latest Studio state. Please ensure all segments have been dubbed before rendering, otherwise they will be omitted. Renders are generated asynchronously, and to check the status of all renders please use the 'Get Dubbing Resource' endpoint.
|
|
@@ -103,15 +103,15 @@ export declare class Resource {
|
|
|
103
103
|
* @param {string} dubbing_id - ID of the dubbing project.
|
|
104
104
|
* @param {ElevenLabs.dubbing.ResourceRenderRequestLanguage} language - The target language code to render, eg. 'es'. To render the source track use 'original'.
|
|
105
105
|
* @param {ElevenLabs.dubbing.BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost} request
|
|
106
|
-
* @param {
|
|
106
|
+
* @param {ResourceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
107
107
|
*
|
|
108
108
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
109
109
|
*
|
|
110
110
|
* @example
|
|
111
|
-
* await client.dubbing.resource.render("dubbing_id", "
|
|
111
|
+
* await client.dubbing.resource.render("dubbing_id", "original", {
|
|
112
112
|
* renderType: "mp4"
|
|
113
113
|
* })
|
|
114
114
|
*/
|
|
115
|
-
render(dubbing_id: string, language: ElevenLabs.dubbing.ResourceRenderRequestLanguage, request: ElevenLabs.dubbing.BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost, requestOptions?:
|
|
115
|
+
render(dubbing_id: string, language: ElevenLabs.dubbing.ResourceRenderRequestLanguage, request: ElevenLabs.dubbing.BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost, requestOptions?: ResourceClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.DubbingRenderResponseModel>;
|
|
116
116
|
private __render;
|
|
117
117
|
}
|
|
@@ -43,37 +43,39 @@ 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.ResourceClient = 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/language/client/Client");
|
|
54
56
|
const Client_2 = require("../resources/segment/client/Client");
|
|
55
57
|
const Client_3 = require("../resources/speaker/client/Client");
|
|
56
|
-
class
|
|
57
|
-
constructor(
|
|
58
|
-
this._options =
|
|
58
|
+
class ResourceClient {
|
|
59
|
+
constructor(options = {}) {
|
|
60
|
+
this._options = (0, BaseClient_1.normalizeClientOptions)(options);
|
|
59
61
|
}
|
|
60
62
|
get language() {
|
|
61
63
|
var _a;
|
|
62
|
-
return ((_a = this._language) !== null && _a !== void 0 ? _a : (this._language = new Client_1.
|
|
64
|
+
return ((_a = this._language) !== null && _a !== void 0 ? _a : (this._language = new Client_1.LanguageClient(this._options)));
|
|
63
65
|
}
|
|
64
66
|
get segment() {
|
|
65
67
|
var _a;
|
|
66
|
-
return ((_a = this._segment) !== null && _a !== void 0 ? _a : (this._segment = new Client_2.
|
|
68
|
+
return ((_a = this._segment) !== null && _a !== void 0 ? _a : (this._segment = new Client_2.SegmentClient(this._options)));
|
|
67
69
|
}
|
|
68
70
|
get speaker() {
|
|
69
71
|
var _a;
|
|
70
|
-
return ((_a = this._speaker) !== null && _a !== void 0 ? _a : (this._speaker = new Client_3.
|
|
72
|
+
return ((_a = this._speaker) !== null && _a !== void 0 ? _a : (this._speaker = new Client_3.SpeakerClient(this._options)));
|
|
71
73
|
}
|
|
72
74
|
/**
|
|
73
75
|
* Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the dubbing resource.
|
|
74
76
|
*
|
|
75
77
|
* @param {string} dubbing_id - ID of the dubbing project.
|
|
76
|
-
* @param {
|
|
78
|
+
* @param {ResourceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
77
79
|
*
|
|
78
80
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
79
81
|
*
|
|
@@ -126,21 +128,7 @@ class Resource {
|
|
|
126
128
|
});
|
|
127
129
|
}
|
|
128
130
|
}
|
|
129
|
-
|
|
130
|
-
case "non-json":
|
|
131
|
-
throw new errors.ElevenLabsError({
|
|
132
|
-
statusCode: _response.error.statusCode,
|
|
133
|
-
body: _response.error.rawBody,
|
|
134
|
-
rawResponse: _response.rawResponse,
|
|
135
|
-
});
|
|
136
|
-
case "timeout":
|
|
137
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling GET /v1/dubbing/resource/{dubbing_id}.");
|
|
138
|
-
case "unknown":
|
|
139
|
-
throw new errors.ElevenLabsError({
|
|
140
|
-
message: _response.error.errorMessage,
|
|
141
|
-
rawResponse: _response.rawResponse,
|
|
142
|
-
});
|
|
143
|
-
}
|
|
131
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/dubbing/resource/{dubbing_id}");
|
|
144
132
|
});
|
|
145
133
|
}
|
|
146
134
|
/**
|
|
@@ -148,7 +136,7 @@ class Resource {
|
|
|
148
136
|
*
|
|
149
137
|
* @param {string} dubbing_id - ID of the dubbing project.
|
|
150
138
|
* @param {ElevenLabs.dubbing.BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost} request
|
|
151
|
-
* @param {
|
|
139
|
+
* @param {ResourceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
152
140
|
*
|
|
153
141
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
154
142
|
*
|
|
@@ -207,21 +195,7 @@ class Resource {
|
|
|
207
195
|
});
|
|
208
196
|
}
|
|
209
197
|
}
|
|
210
|
-
|
|
211
|
-
case "non-json":
|
|
212
|
-
throw new errors.ElevenLabsError({
|
|
213
|
-
statusCode: _response.error.statusCode,
|
|
214
|
-
body: _response.error.rawBody,
|
|
215
|
-
rawResponse: _response.rawResponse,
|
|
216
|
-
});
|
|
217
|
-
case "timeout":
|
|
218
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/dubbing/resource/{dubbing_id}/migrate-segments.");
|
|
219
|
-
case "unknown":
|
|
220
|
-
throw new errors.ElevenLabsError({
|
|
221
|
-
message: _response.error.errorMessage,
|
|
222
|
-
rawResponse: _response.rawResponse,
|
|
223
|
-
});
|
|
224
|
-
}
|
|
198
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/dubbing/resource/{dubbing_id}/migrate-segments");
|
|
225
199
|
});
|
|
226
200
|
}
|
|
227
201
|
/**
|
|
@@ -229,7 +203,7 @@ class Resource {
|
|
|
229
203
|
*
|
|
230
204
|
* @param {string} dubbing_id - ID of the dubbing project.
|
|
231
205
|
* @param {ElevenLabs.dubbing.BodyTranscribesSegmentsV1DubbingResourceDubbingIdTranscribePost} request
|
|
232
|
-
* @param {
|
|
206
|
+
* @param {ResourceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
233
207
|
*
|
|
234
208
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
235
209
|
*
|
|
@@ -287,21 +261,7 @@ class Resource {
|
|
|
287
261
|
});
|
|
288
262
|
}
|
|
289
263
|
}
|
|
290
|
-
|
|
291
|
-
case "non-json":
|
|
292
|
-
throw new errors.ElevenLabsError({
|
|
293
|
-
statusCode: _response.error.statusCode,
|
|
294
|
-
body: _response.error.rawBody,
|
|
295
|
-
rawResponse: _response.rawResponse,
|
|
296
|
-
});
|
|
297
|
-
case "timeout":
|
|
298
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/dubbing/resource/{dubbing_id}/transcribe.");
|
|
299
|
-
case "unknown":
|
|
300
|
-
throw new errors.ElevenLabsError({
|
|
301
|
-
message: _response.error.errorMessage,
|
|
302
|
-
rawResponse: _response.rawResponse,
|
|
303
|
-
});
|
|
304
|
-
}
|
|
264
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/dubbing/resource/{dubbing_id}/transcribe");
|
|
305
265
|
});
|
|
306
266
|
}
|
|
307
267
|
/**
|
|
@@ -309,7 +269,7 @@ class Resource {
|
|
|
309
269
|
*
|
|
310
270
|
* @param {string} dubbing_id - ID of the dubbing project.
|
|
311
271
|
* @param {ElevenLabs.dubbing.BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIdTranslatePost} request
|
|
312
|
-
* @param {
|
|
272
|
+
* @param {ResourceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
313
273
|
*
|
|
314
274
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
315
275
|
*
|
|
@@ -367,21 +327,7 @@ class Resource {
|
|
|
367
327
|
});
|
|
368
328
|
}
|
|
369
329
|
}
|
|
370
|
-
|
|
371
|
-
case "non-json":
|
|
372
|
-
throw new errors.ElevenLabsError({
|
|
373
|
-
statusCode: _response.error.statusCode,
|
|
374
|
-
body: _response.error.rawBody,
|
|
375
|
-
rawResponse: _response.rawResponse,
|
|
376
|
-
});
|
|
377
|
-
case "timeout":
|
|
378
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/dubbing/resource/{dubbing_id}/translate.");
|
|
379
|
-
case "unknown":
|
|
380
|
-
throw new errors.ElevenLabsError({
|
|
381
|
-
message: _response.error.errorMessage,
|
|
382
|
-
rawResponse: _response.rawResponse,
|
|
383
|
-
});
|
|
384
|
-
}
|
|
330
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/dubbing/resource/{dubbing_id}/translate");
|
|
385
331
|
});
|
|
386
332
|
}
|
|
387
333
|
/**
|
|
@@ -389,7 +335,7 @@ class Resource {
|
|
|
389
335
|
*
|
|
390
336
|
* @param {string} dubbing_id - ID of the dubbing project.
|
|
391
337
|
* @param {ElevenLabs.dubbing.BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIdDubPost} request
|
|
392
|
-
* @param {
|
|
338
|
+
* @param {ResourceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
393
339
|
*
|
|
394
340
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
395
341
|
*
|
|
@@ -447,21 +393,7 @@ class Resource {
|
|
|
447
393
|
});
|
|
448
394
|
}
|
|
449
395
|
}
|
|
450
|
-
|
|
451
|
-
case "non-json":
|
|
452
|
-
throw new errors.ElevenLabsError({
|
|
453
|
-
statusCode: _response.error.statusCode,
|
|
454
|
-
body: _response.error.rawBody,
|
|
455
|
-
rawResponse: _response.rawResponse,
|
|
456
|
-
});
|
|
457
|
-
case "timeout":
|
|
458
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/dubbing/resource/{dubbing_id}/dub.");
|
|
459
|
-
case "unknown":
|
|
460
|
-
throw new errors.ElevenLabsError({
|
|
461
|
-
message: _response.error.errorMessage,
|
|
462
|
-
rawResponse: _response.rawResponse,
|
|
463
|
-
});
|
|
464
|
-
}
|
|
396
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/dubbing/resource/{dubbing_id}/dub");
|
|
465
397
|
});
|
|
466
398
|
}
|
|
467
399
|
/**
|
|
@@ -470,12 +402,12 @@ class Resource {
|
|
|
470
402
|
* @param {string} dubbing_id - ID of the dubbing project.
|
|
471
403
|
* @param {ElevenLabs.dubbing.ResourceRenderRequestLanguage} language - The target language code to render, eg. 'es'. To render the source track use 'original'.
|
|
472
404
|
* @param {ElevenLabs.dubbing.BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost} request
|
|
473
|
-
* @param {
|
|
405
|
+
* @param {ResourceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
474
406
|
*
|
|
475
407
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
476
408
|
*
|
|
477
409
|
* @example
|
|
478
|
-
* await client.dubbing.resource.render("dubbing_id", "
|
|
410
|
+
* await client.dubbing.resource.render("dubbing_id", "original", {
|
|
479
411
|
* renderType: "mp4"
|
|
480
412
|
* })
|
|
481
413
|
*/
|
|
@@ -528,22 +460,8 @@ class Resource {
|
|
|
528
460
|
});
|
|
529
461
|
}
|
|
530
462
|
}
|
|
531
|
-
|
|
532
|
-
case "non-json":
|
|
533
|
-
throw new errors.ElevenLabsError({
|
|
534
|
-
statusCode: _response.error.statusCode,
|
|
535
|
-
body: _response.error.rawBody,
|
|
536
|
-
rawResponse: _response.rawResponse,
|
|
537
|
-
});
|
|
538
|
-
case "timeout":
|
|
539
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/dubbing/resource/{dubbing_id}/render/{language}.");
|
|
540
|
-
case "unknown":
|
|
541
|
-
throw new errors.ElevenLabsError({
|
|
542
|
-
message: _response.error.errorMessage,
|
|
543
|
-
rawResponse: _response.rawResponse,
|
|
544
|
-
});
|
|
545
|
-
}
|
|
463
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/dubbing/resource/{dubbing_id}/render/{language}");
|
|
546
464
|
});
|
|
547
465
|
}
|
|
548
466
|
}
|
|
549
|
-
exports.
|
|
467
|
+
exports.ResourceClient = ResourceClient;
|