@elevenlabs/elevenlabs-js 2.25.1 → 2.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.fern/metadata.json +2 -2
- package/BaseClient.d.ts +5 -1
- package/BaseClient.js +48 -0
- package/Client.d.ts +76 -76
- package/Client.js +29 -49
- package/api/errors/BadRequestError.js +5 -1
- package/api/errors/ConflictError.js +5 -1
- package/api/errors/ForbiddenError.js +5 -1
- package/api/errors/NotFoundError.js +5 -1
- package/api/errors/TooEarlyError.js +5 -1
- package/api/errors/UnauthorizedError.js +5 -1
- package/api/errors/UnprocessableEntityError.js +5 -1
- package/api/resources/audioIsolation/client/Client.d.ts +8 -8
- package/api/resources/audioIsolation/client/Client.js +9 -35
- package/api/resources/audioNative/client/Client.d.ts +12 -12
- package/api/resources/audioNative/client/Client.js +13 -53
- package/api/resources/conversationalAi/client/Client.d.ts +59 -56
- package/api/resources/conversationalAi/client/Client.js +47 -96
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +36 -36
- package/api/resources/conversationalAi/resources/agents/client/Client.js +29 -153
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +11 -11
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +10 -22
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/analytics/client/Client.d.ts +12 -0
- package/api/resources/conversationalAi/resources/analytics/client/Client.js +16 -0
- package/api/resources/conversationalAi/resources/analytics/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/analytics/client/index.js +2 -0
- package/api/resources/conversationalAi/resources/analytics/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/analytics/index.js +18 -0
- package/api/resources/conversationalAi/resources/analytics/resources/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/analytics/resources/index.js +41 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.d.ts +28 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +127 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.d.ts +10 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.js +17 -0
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +16 -16
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +17 -85
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +25 -22
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +32 -88
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +9 -0
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +7 -7
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +8 -20
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +9 -9
- package/api/resources/conversationalAi/resources/dashboard/client/Client.js +7 -6
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +10 -10
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +11 -37
- package/api/resources/conversationalAi/resources/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/index.js +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +14 -14
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +11 -23
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +25 -25
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +24 -134
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +28 -28
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +21 -89
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +10 -10
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +11 -37
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.d.ts +14 -14
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +15 -69
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +16 -16
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +17 -85
- package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +14 -14
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +15 -69
- package/api/resources/conversationalAi/resources/settings/client/Client.d.ts +10 -10
- package/api/resources/conversationalAi/resources/settings/client/Client.js +11 -37
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +8 -8
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +9 -21
- package/api/resources/conversationalAi/resources/tests/client/Client.d.ts +21 -21
- package/api/resources/conversationalAi/resources/tests/client/Client.js +20 -102
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +12 -12
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +13 -53
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +18 -18
- package/api/resources/conversationalAi/resources/tools/client/Client.js +19 -101
- package/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +25 -8
- package/api/resources/conversationalAi/resources/twilio/client/Client.js +67 -20
- package/api/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.d.ts +16 -0
- package/api/resources/conversationalAi/resources/twilio/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/twilio/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/twilio/index.js +1 -0
- package/api/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.d.ts +5 -0
- package/api/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.js +8 -0
- package/api/resources/conversationalAi/resources/twilio/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/twilio/types/index.js +17 -0
- package/api/resources/dubbing/client/Client.d.ts +23 -23
- package/api/resources/dubbing/client/Client.js +18 -72
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -2
- package/api/resources/dubbing/resources/audio/client/Client.d.ts +7 -7
- package/api/resources/dubbing/resources/audio/client/Client.js +8 -20
- package/api/resources/dubbing/resources/resource/client/Client.d.ts +43 -26
- package/api/resources/dubbing/resources/resource/client/Client.js +87 -88
- package/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +11 -0
- package/api/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +8 -8
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +9 -21
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +10 -10
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +11 -37
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +25 -13
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +73 -37
- package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +16 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +8 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +8 -8
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +9 -21
- package/api/resources/dubbing/resources/transcript/client/Client.d.ts +8 -8
- package/api/resources/dubbing/resources/transcript/client/Client.js +9 -21
- package/api/resources/forcedAlignment/client/Client.d.ts +8 -8
- package/api/resources/forcedAlignment/client/Client.js +9 -21
- package/api/resources/history/client/Client.d.ts +14 -14
- package/api/resources/history/client/Client.js +15 -83
- package/api/resources/models/client/Client.d.ts +8 -8
- package/api/resources/models/client/Client.js +9 -21
- package/api/resources/music/client/Client.d.ts +13 -13
- package/api/resources/music/client/Client.js +15 -66
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -0
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -0
- package/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +2 -0
- package/api/resources/music/resources/compositionPlan/client/Client.d.ts +8 -8
- package/api/resources/music/resources/compositionPlan/client/Client.js +9 -21
- package/api/resources/pronunciationDictionaries/client/Client.d.ts +20 -20
- package/api/resources/pronunciationDictionaries/client/Client.js +19 -101
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +10 -10
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +11 -37
- package/api/resources/samples/client/Client.d.ts +8 -8
- package/api/resources/samples/client/Client.js +9 -21
- package/api/resources/serviceAccounts/client/Client.d.ts +11 -11
- package/api/resources/serviceAccounts/client/Client.js +10 -22
- package/api/resources/serviceAccounts/resources/apiKeys/client/Client.d.ts +16 -16
- package/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +17 -71
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -1
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +1 -1
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +1 -1
- package/api/resources/serviceAccounts/resources/apiKeys/types/{BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts → BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts} +2 -2
- package/{dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js → api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js} +2 -2
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
- package/api/resources/serviceAccounts/resources/apiKeys/types/{BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts → BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts} +2 -2
- package/{dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js → api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js} +2 -2
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +2 -2
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +2 -2
- package/api/resources/speechToSpeech/client/Client.d.ts +8 -8
- package/api/resources/speechToSpeech/client/Client.js +9 -35
- package/api/resources/speechToText/client/Client.d.ts +11 -11
- package/api/resources/speechToText/client/Client.js +10 -22
- package/api/resources/speechToText/resources/transcripts/client/Client.d.ts +10 -10
- package/api/resources/speechToText/resources/transcripts/client/Client.js +11 -37
- package/api/resources/studio/client/Client.d.ts +12 -11
- package/api/resources/studio/client/Client.js +11 -22
- package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +1 -0
- package/api/resources/studio/resources/projects/client/Client.d.ts +30 -30
- package/api/resources/studio/resources/projects/client/Client.js +28 -105
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +8 -0
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +21 -21
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +20 -102
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +11 -11
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +12 -52
- package/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +8 -8
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +9 -21
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +8 -8
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +9 -21
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +12 -12
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +13 -67
- package/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -0
- package/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -0
- package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSource.d.ts +1 -1
- package/api/resources/studio/types/{BodyCreatePodcastV1StudioPodcastsPostSourceItem.d.ts → BodyCreatePodcastV1StudioPodcastsPostSourceTwoItem.d.ts} +2 -2
- package/api/resources/studio/types/index.d.ts +1 -1
- package/api/resources/studio/types/index.js +1 -1
- package/api/resources/textToDialogue/client/Client.d.ts +11 -11
- package/api/resources/textToDialogue/client/Client.js +12 -66
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +1 -1
- package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.js +1 -1
- package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.js +1 -1
- package/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +1 -1
- package/api/resources/textToSoundEffects/client/Client.d.ts +7 -7
- package/api/resources/textToSoundEffects/client/Client.js +8 -20
- package/api/resources/textToSpeech/client/Client.d.ts +11 -11
- package/api/resources/textToSpeech/client/Client.js +12 -66
- package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.js +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.js +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.js +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.js +1 -1
- package/api/resources/textToVoice/client/Client.d.ts +17 -17
- package/api/resources/textToVoice/client/Client.js +16 -70
- package/api/resources/textToVoice/resources/preview/client/Client.d.ts +7 -7
- package/api/resources/textToVoice/resources/preview/client/Client.js +8 -20
- package/api/resources/tokens/client/Client.d.ts +9 -9
- package/api/resources/tokens/client/Client.js +7 -6
- package/api/resources/tokens/resources/singleUse/client/Client.d.ts +8 -8
- package/api/resources/tokens/resources/singleUse/client/Client.js +9 -21
- package/api/resources/usage/client/Client.d.ts +8 -8
- package/api/resources/usage/client/Client.js +9 -21
- package/api/resources/user/client/Client.d.ts +11 -11
- package/api/resources/user/client/Client.js +10 -22
- package/api/resources/user/resources/subscription/client/Client.d.ts +8 -8
- package/api/resources/user/resources/subscription/client/Client.js +9 -21
- package/api/resources/voices/client/Client.d.ts +34 -34
- package/api/resources/voices/client/Client.js +27 -137
- package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +2 -2
- package/api/resources/voices/resources/ivc/client/Client.d.ts +8 -8
- package/api/resources/voices/resources/ivc/client/Client.js +9 -21
- package/api/resources/voices/resources/pvc/client/Client.d.ts +18 -18
- package/api/resources/voices/resources/pvc/client/Client.js +15 -55
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +21 -21
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +16 -56
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +8 -8
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +9 -21
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +13 -13
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +12 -38
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +8 -8
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +9 -21
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +8 -8
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +9 -21
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +11 -11
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +10 -22
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +10 -10
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +11 -37
- package/api/resources/voices/resources/samples/client/Client.d.ts +9 -9
- package/api/resources/voices/resources/samples/client/Client.js +7 -6
- package/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +7 -7
- package/api/resources/voices/resources/samples/resources/audio/client/Client.js +8 -20
- package/api/resources/voices/resources/settings/client/Client.d.ts +12 -12
- package/api/resources/voices/resources/settings/client/Client.js +13 -53
- package/api/resources/webhooks/client/Client.d.ts +57 -8
- package/api/resources/webhooks/client/Client.js +208 -20
- package/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +15 -0
- package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +13 -0
- package/api/resources/webhooks/client/requests/index.d.ts +2 -0
- package/api/resources/workspace/client/Client.d.ts +18 -18
- package/api/resources/workspace/client/Client.js +10 -9
- package/api/resources/workspace/resources/groups/client/Client.d.ts +11 -11
- package/api/resources/workspace/resources/groups/client/Client.js +10 -22
- package/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +10 -10
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +11 -37
- package/api/resources/workspace/resources/invites/client/Client.d.ts +12 -12
- package/api/resources/workspace/resources/invites/client/Client.js +13 -53
- package/api/resources/workspace/resources/members/client/Client.d.ts +8 -8
- package/api/resources/workspace/resources/members/client/Client.js +9 -21
- package/api/resources/workspace/resources/resources/client/Client.d.ts +12 -12
- package/api/resources/workspace/resources/resources/client/Client.js +13 -53
- package/api/types/AgentDefinitionSource.d.ts +1 -0
- package/api/types/AgentDefinitionSource.js +1 -0
- package/api/types/AgentWorkflowRequestModel.d.ts +2 -0
- package/api/types/AgentWorkflowResponseModel.d.ts +2 -0
- package/api/types/BackupLlmDefault.d.ts +3 -1
- package/api/types/BackupLlmDisabled.d.ts +3 -1
- package/api/types/BackupLlmOverride.d.ts +1 -0
- package/api/types/BillingPeriod.d.ts +7 -0
- package/api/types/{SubscriptionResponseModelBillingPeriod.js → BillingPeriod.js} +4 -2
- package/api/types/CharacterRefreshPeriod.d.ts +7 -0
- package/api/types/{SubscriptionResponseModelCharacterRefreshPeriod.js → CharacterRefreshPeriod.js} +4 -2
- package/api/types/ClientEvent.d.ts +1 -0
- package/api/types/ClientEvent.js +1 -0
- package/api/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +14 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +0 -1
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +0 -1
- package/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.d.ts +7 -0
- package/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.js +3 -0
- package/{dist/api/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts → api/types/ConversationHistoryTranscriptToolCallCommonModelInput.d.ts} +2 -2
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelInput.js +3 -0
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.d.ts +16 -0
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.js +3 -0
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelOutput.d.ts +9 -0
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelOutput.js +3 -0
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.d.ts +16 -0
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.js +3 -0
- package/api/types/ConversationHistoryTranscriptToolCallWebhookDetails.d.ts +1 -0
- package/api/types/CustomLlm.d.ts +2 -0
- package/api/types/CustomLlmapiType.d.ts +5 -0
- package/api/types/CustomLlmapiType.js +8 -0
- package/api/types/DeleteWorkspaceWebhookResponseModel.d.ts +4 -0
- package/api/types/DeleteWorkspaceWebhookResponseModel.js +3 -0
- package/api/types/DetailedMusicResponse.d.ts +2 -0
- package/{dist/api/types/DiscountResposneModel.d.ts → api/types/DiscountResponseModel.d.ts} +1 -1
- package/api/types/DiscountResponseModel.js +3 -0
- package/api/types/DubbingResource.d.ts +2 -2
- package/api/types/DubbingTranscriptUtterance.d.ts +2 -1
- package/api/types/DubbingTranscriptWord.d.ts +2 -2
- package/api/types/GetLiveCountResponse.d.ts +4 -0
- package/api/types/GetLiveCountResponse.js +3 -0
- package/api/types/GetVoicesV2Response.d.ts +4 -0
- package/api/types/InvoiceResponse.d.ts +1 -1
- package/api/types/MultipartMusicResponse.d.ts +1 -1
- package/api/types/MusicPrompt.d.ts +2 -2
- package/api/types/PatchWorkspaceWebhookResponseModel.d.ts +4 -0
- package/api/types/PatchWorkspaceWebhookResponseModel.js +3 -0
- package/api/types/PendingSubscriptionSwitchResponseModel.d.ts +1 -1
- package/api/types/PodcastTextSource.d.ts +2 -0
- package/api/types/PodcastUrlSource.d.ts +2 -0
- package/api/types/ProjectExtendedResponseModelSourceType.d.ts +1 -0
- package/api/types/ProjectExtendedResponseModelSourceType.js +1 -0
- package/api/types/ProjectResponseModelSourceType.d.ts +1 -0
- package/api/types/ProjectResponseModelSourceType.js +1 -0
- package/api/types/RagConfig.d.ts +2 -0
- package/api/types/RagConfigWorkflowOverride.d.ts +2 -0
- package/api/types/SegmentMigrationResponse.d.ts +3 -0
- package/api/types/SegmentMigrationResponse.js +3 -0
- package/api/types/SongSection.d.ts +2 -2
- package/api/types/SpeakerCreatedResponse.d.ts +4 -0
- package/api/types/SpeakerCreatedResponse.js +3 -0
- package/api/types/Subscription.d.ts +2 -2
- package/api/types/SubscriptionResponse.d.ts +2 -2
- package/api/types/SystemToolConfigInput.d.ts +2 -0
- package/api/types/SystemToolConfigOutput.d.ts +2 -0
- package/api/types/TtsConversationalConfigInput.d.ts +0 -2
- package/api/types/TtsConversationalConfigOutput.d.ts +0 -2
- package/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
- package/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
- package/api/types/WebhookHmacSettings.d.ts +11 -0
- package/api/types/WebhookHmacSettings.js +3 -0
- package/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -5
- package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -5
- package/api/types/WhatsAppConversationInfo.d.ts +2 -0
- package/api/types/WhatsAppConversationInfoDirection.d.ts +6 -0
- package/api/types/WhatsAppConversationInfoDirection.js +9 -0
- package/api/types/WidgetTextContents.d.ts +14 -0
- package/api/types/WordTimestamp.d.ts +5 -0
- package/api/types/WordTimestamp.js +3 -0
- package/api/types/WorkflowToolNestedToolsStepModelInput.d.ts +1 -1
- package/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +1 -1
- package/api/types/WorkflowToolNestedToolsStepModelOutput.d.ts +1 -1
- package/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +1 -1
- package/api/types/WorkspaceCreateWebhookResponseModel.d.ts +4 -0
- package/api/types/WorkspaceCreateWebhookResponseModel.js +3 -0
- package/api/types/index.d.ts +19 -8
- package/api/types/index.js +19 -8
- package/core/fetcher/BinaryResponse.d.ts +6 -7
- package/core/fetcher/Fetcher.d.ts +5 -1
- package/core/fetcher/Fetcher.js +2 -1
- package/core/fetcher/getResponseBody.js +18 -4
- package/core/fetcher/signals.d.ts +1 -1
- package/core/runtime/runtime.js +11 -10
- package/core/schemas/builders/object/object.js +14 -1
- package/dist/BaseClient.d.ts +5 -1
- package/dist/BaseClient.js +48 -0
- package/dist/Client.d.ts +76 -76
- package/dist/Client.js +29 -49
- package/dist/api/errors/BadRequestError.js +5 -1
- package/dist/api/errors/ConflictError.js +5 -1
- package/dist/api/errors/ForbiddenError.js +5 -1
- package/dist/api/errors/NotFoundError.js +5 -1
- package/dist/api/errors/TooEarlyError.js +5 -1
- package/dist/api/errors/UnauthorizedError.js +5 -1
- package/dist/api/errors/UnprocessableEntityError.js +5 -1
- package/dist/api/resources/audioIsolation/client/Client.d.ts +8 -8
- package/dist/api/resources/audioIsolation/client/Client.js +9 -35
- package/dist/api/resources/audioNative/client/Client.d.ts +12 -12
- package/dist/api/resources/audioNative/client/Client.js +13 -53
- package/dist/api/resources/conversationalAi/client/Client.d.ts +59 -56
- package/dist/api/resources/conversationalAi/client/Client.js +47 -96
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +36 -36
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +29 -153
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +11 -11
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +10 -22
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/analytics/client/Client.d.ts +12 -0
- package/dist/api/resources/conversationalAi/resources/analytics/client/Client.js +16 -0
- package/dist/api/resources/conversationalAi/resources/analytics/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/analytics/client/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/index.js +18 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/index.js +41 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.d.ts +28 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +127 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +16 -16
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +17 -85
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +25 -22
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +32 -88
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +9 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +7 -7
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +8 -20
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +9 -9
- package/dist/api/resources/conversationalAi/resources/dashboard/client/Client.js +7 -6
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +10 -10
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +11 -37
- package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/index.js +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +14 -14
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +11 -23
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +25 -25
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +24 -134
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +28 -28
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +21 -89
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +10 -10
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +11 -37
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.d.ts +14 -14
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +15 -69
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +16 -16
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +17 -85
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +14 -14
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +15 -69
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.d.ts +10 -10
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +11 -37
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +8 -8
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +9 -21
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.d.ts +21 -21
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +20 -102
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +12 -12
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +13 -53
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +18 -18
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +19 -101
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +25 -8
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +67 -20
- package/dist/api/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.d.ts +16 -0
- package/dist/api/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/twilio/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/twilio/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/twilio/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.d.ts +5 -0
- package/dist/api/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.js +8 -0
- package/dist/api/resources/conversationalAi/resources/twilio/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/twilio/types/index.js +17 -0
- package/dist/api/resources/dubbing/client/Client.d.ts +23 -23
- package/dist/api/resources/dubbing/client/Client.js +18 -72
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -2
- package/dist/api/resources/dubbing/resources/audio/client/Client.d.ts +7 -7
- package/dist/api/resources/dubbing/resources/audio/client/Client.js +8 -20
- package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +43 -26
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +87 -88
- package/dist/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +11 -0
- package/dist/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +3 -0
- package/dist/api/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +8 -8
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +9 -21
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +10 -10
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +11 -37
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +25 -13
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +73 -37
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +16 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +3 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +8 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +8 -8
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +9 -21
- package/dist/api/resources/dubbing/resources/transcript/client/Client.d.ts +8 -8
- package/dist/api/resources/dubbing/resources/transcript/client/Client.js +9 -21
- package/dist/api/resources/forcedAlignment/client/Client.d.ts +8 -8
- package/dist/api/resources/forcedAlignment/client/Client.js +9 -21
- package/dist/api/resources/history/client/Client.d.ts +14 -14
- package/dist/api/resources/history/client/Client.js +15 -83
- package/dist/api/resources/models/client/Client.d.ts +8 -8
- package/dist/api/resources/models/client/Client.js +9 -21
- package/dist/api/resources/music/client/Client.d.ts +13 -13
- package/dist/api/resources/music/client/Client.js +15 -66
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -0
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -0
- package/dist/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +2 -0
- package/dist/api/resources/music/resources/compositionPlan/client/Client.d.ts +8 -8
- package/dist/api/resources/music/resources/compositionPlan/client/Client.js +9 -21
- package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +20 -20
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +19 -101
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +10 -10
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +11 -37
- package/dist/api/resources/samples/client/Client.d.ts +8 -8
- package/dist/api/resources/samples/client/Client.js +9 -21
- package/dist/api/resources/serviceAccounts/client/Client.d.ts +11 -11
- package/dist/api/resources/serviceAccounts/client/Client.js +10 -22
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.d.ts +16 -16
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +17 -71
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +1 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +1 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/{BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts → BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts} +2 -2
- package/{api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js → dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js} +2 -2
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/{BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts → BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts} +2 -2
- package/{api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js → dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js} +2 -2
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +2 -2
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +2 -2
- package/dist/api/resources/speechToSpeech/client/Client.d.ts +8 -8
- package/dist/api/resources/speechToSpeech/client/Client.js +9 -35
- package/dist/api/resources/speechToText/client/Client.d.ts +11 -11
- package/dist/api/resources/speechToText/client/Client.js +10 -22
- package/dist/api/resources/speechToText/resources/transcripts/client/Client.d.ts +10 -10
- package/dist/api/resources/speechToText/resources/transcripts/client/Client.js +11 -37
- package/dist/api/resources/studio/client/Client.d.ts +12 -11
- package/dist/api/resources/studio/client/Client.js +11 -22
- package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/client/Client.d.ts +30 -30
- package/dist/api/resources/studio/resources/projects/client/Client.js +28 -105
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +8 -0
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +21 -21
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +20 -102
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +11 -11
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +12 -52
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +8 -8
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +9 -21
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +8 -8
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +9 -21
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +12 -12
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +13 -67
- package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -0
- package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSource.d.ts +1 -1
- package/dist/api/resources/studio/types/{BodyCreatePodcastV1StudioPodcastsPostSourceItem.d.ts → BodyCreatePodcastV1StudioPodcastsPostSourceTwoItem.d.ts} +2 -2
- package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceTwoItem.js +3 -0
- package/dist/api/resources/studio/types/index.d.ts +1 -1
- package/dist/api/resources/studio/types/index.js +1 -1
- package/dist/api/resources/textToDialogue/client/Client.d.ts +11 -11
- package/dist/api/resources/textToDialogue/client/Client.js +12 -66
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +1 -1
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.js +1 -1
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.js +1 -1
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +1 -1
- package/dist/api/resources/textToSoundEffects/client/Client.d.ts +7 -7
- package/dist/api/resources/textToSoundEffects/client/Client.js +8 -20
- package/dist/api/resources/textToSpeech/client/Client.d.ts +11 -11
- package/dist/api/resources/textToSpeech/client/Client.js +12 -66
- package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.js +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.js +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.js +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.js +1 -1
- package/dist/api/resources/textToVoice/client/Client.d.ts +17 -17
- package/dist/api/resources/textToVoice/client/Client.js +16 -70
- package/dist/api/resources/textToVoice/resources/preview/client/Client.d.ts +7 -7
- package/dist/api/resources/textToVoice/resources/preview/client/Client.js +8 -20
- package/dist/api/resources/tokens/client/Client.d.ts +9 -9
- package/dist/api/resources/tokens/client/Client.js +7 -6
- package/dist/api/resources/tokens/resources/singleUse/client/Client.d.ts +8 -8
- package/dist/api/resources/tokens/resources/singleUse/client/Client.js +9 -21
- package/dist/api/resources/usage/client/Client.d.ts +8 -8
- package/dist/api/resources/usage/client/Client.js +9 -21
- package/dist/api/resources/user/client/Client.d.ts +11 -11
- package/dist/api/resources/user/client/Client.js +10 -22
- package/dist/api/resources/user/resources/subscription/client/Client.d.ts +8 -8
- package/dist/api/resources/user/resources/subscription/client/Client.js +9 -21
- package/dist/api/resources/voices/client/Client.d.ts +34 -34
- package/dist/api/resources/voices/client/Client.js +27 -137
- package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +2 -2
- package/dist/api/resources/voices/resources/ivc/client/Client.d.ts +8 -8
- package/dist/api/resources/voices/resources/ivc/client/Client.js +9 -21
- package/dist/api/resources/voices/resources/pvc/client/Client.d.ts +18 -18
- package/dist/api/resources/voices/resources/pvc/client/Client.js +15 -55
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +21 -21
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +16 -56
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +8 -8
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +9 -21
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +13 -13
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +12 -38
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +8 -8
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +9 -21
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +8 -8
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +9 -21
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +11 -11
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +10 -22
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +10 -10
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +11 -37
- package/dist/api/resources/voices/resources/samples/client/Client.d.ts +9 -9
- package/dist/api/resources/voices/resources/samples/client/Client.js +7 -6
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +7 -7
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +8 -20
- package/dist/api/resources/voices/resources/settings/client/Client.d.ts +12 -12
- package/dist/api/resources/voices/resources/settings/client/Client.js +13 -53
- package/dist/api/resources/webhooks/client/Client.d.ts +57 -8
- package/dist/api/resources/webhooks/client/Client.js +208 -20
- package/dist/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +15 -0
- package/dist/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +3 -0
- package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +13 -0
- package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +3 -0
- package/dist/api/resources/webhooks/client/requests/index.d.ts +2 -0
- package/dist/api/resources/workspace/client/Client.d.ts +18 -18
- package/dist/api/resources/workspace/client/Client.js +10 -9
- package/dist/api/resources/workspace/resources/groups/client/Client.d.ts +11 -11
- package/dist/api/resources/workspace/resources/groups/client/Client.js +10 -22
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +10 -10
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +11 -37
- package/dist/api/resources/workspace/resources/invites/client/Client.d.ts +12 -12
- package/dist/api/resources/workspace/resources/invites/client/Client.js +13 -53
- package/dist/api/resources/workspace/resources/members/client/Client.d.ts +8 -8
- package/dist/api/resources/workspace/resources/members/client/Client.js +9 -21
- package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +12 -12
- package/dist/api/resources/workspace/resources/resources/client/Client.js +13 -53
- package/dist/api/types/AgentDefinitionSource.d.ts +1 -0
- package/dist/api/types/AgentDefinitionSource.js +1 -0
- package/dist/api/types/AgentWorkflowRequestModel.d.ts +2 -0
- package/dist/api/types/AgentWorkflowResponseModel.d.ts +2 -0
- package/dist/api/types/BackupLlmDefault.d.ts +3 -1
- package/dist/api/types/BackupLlmDisabled.d.ts +3 -1
- package/dist/api/types/BackupLlmOverride.d.ts +1 -0
- package/dist/api/types/BillingPeriod.d.ts +7 -0
- package/{api/types/ExtendedSubscriptionResponseModelBillingPeriod.js → dist/api/types/BillingPeriod.js} +4 -2
- package/dist/api/types/CharacterRefreshPeriod.d.ts +7 -0
- package/{api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js → dist/api/types/CharacterRefreshPeriod.js} +4 -2
- package/dist/api/types/ClientEvent.d.ts +1 -0
- package/dist/api/types/ClientEvent.js +1 -0
- package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +14 -0
- package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +0 -1
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +0 -1
- package/dist/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.d.ts +7 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.js +3 -0
- package/{api/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts → dist/api/types/ConversationHistoryTranscriptToolCallCommonModelInput.d.ts} +2 -2
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelInput.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.d.ts +16 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelOutput.d.ts +9 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelOutput.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.d.ts +16 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallWebhookDetails.d.ts +1 -0
- package/dist/api/types/CustomLlm.d.ts +2 -0
- package/dist/api/types/CustomLlmapiType.d.ts +5 -0
- package/dist/api/types/CustomLlmapiType.js +8 -0
- package/dist/api/types/DeleteWorkspaceWebhookResponseModel.d.ts +4 -0
- package/dist/api/types/DeleteWorkspaceWebhookResponseModel.js +3 -0
- package/dist/api/types/DetailedMusicResponse.d.ts +2 -0
- package/{api/types/DiscountResposneModel.d.ts → dist/api/types/DiscountResponseModel.d.ts} +1 -1
- package/dist/api/types/DiscountResponseModel.js +3 -0
- package/dist/api/types/DubbingResource.d.ts +2 -2
- package/dist/api/types/DubbingTranscriptUtterance.d.ts +2 -1
- package/dist/api/types/DubbingTranscriptWord.d.ts +2 -2
- package/dist/api/types/GetLiveCountResponse.d.ts +4 -0
- package/dist/api/types/GetLiveCountResponse.js +3 -0
- package/dist/api/types/GetVoicesV2Response.d.ts +4 -0
- package/dist/api/types/InvoiceResponse.d.ts +1 -1
- package/dist/api/types/MultipartMusicResponse.d.ts +1 -1
- package/dist/api/types/MusicPrompt.d.ts +2 -2
- package/dist/api/types/PatchWorkspaceWebhookResponseModel.d.ts +4 -0
- package/dist/api/types/PatchWorkspaceWebhookResponseModel.js +3 -0
- package/dist/api/types/PendingSubscriptionSwitchResponseModel.d.ts +1 -1
- package/dist/api/types/PodcastTextSource.d.ts +2 -0
- package/dist/api/types/PodcastUrlSource.d.ts +2 -0
- package/dist/api/types/ProjectExtendedResponseModelSourceType.d.ts +1 -0
- package/dist/api/types/ProjectExtendedResponseModelSourceType.js +1 -0
- package/dist/api/types/ProjectResponseModelSourceType.d.ts +1 -0
- package/dist/api/types/ProjectResponseModelSourceType.js +1 -0
- package/dist/api/types/RagConfig.d.ts +2 -0
- package/dist/api/types/RagConfigWorkflowOverride.d.ts +2 -0
- package/dist/api/types/SegmentMigrationResponse.d.ts +3 -0
- package/dist/api/types/SegmentMigrationResponse.js +3 -0
- package/dist/api/types/SongSection.d.ts +2 -2
- package/dist/api/types/SpeakerCreatedResponse.d.ts +4 -0
- package/dist/api/types/SpeakerCreatedResponse.js +3 -0
- package/dist/api/types/Subscription.d.ts +2 -2
- package/dist/api/types/SubscriptionResponse.d.ts +2 -2
- package/dist/api/types/SystemToolConfigInput.d.ts +2 -0
- package/dist/api/types/SystemToolConfigOutput.d.ts +2 -0
- package/dist/api/types/TtsConversationalConfigInput.d.ts +0 -2
- package/dist/api/types/TtsConversationalConfigOutput.d.ts +0 -2
- package/dist/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
- package/dist/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
- package/dist/api/types/WebhookHmacSettings.d.ts +11 -0
- package/dist/api/types/WebhookHmacSettings.js +3 -0
- package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -5
- package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -5
- package/dist/api/types/WhatsAppConversationInfo.d.ts +2 -0
- package/dist/api/types/WhatsAppConversationInfoDirection.d.ts +6 -0
- package/dist/api/types/WhatsAppConversationInfoDirection.js +9 -0
- package/dist/api/types/WidgetTextContents.d.ts +14 -0
- package/dist/api/types/WordTimestamp.d.ts +5 -0
- package/dist/api/types/WordTimestamp.js +3 -0
- package/dist/api/types/WorkflowToolNestedToolsStepModelInput.d.ts +1 -1
- package/dist/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +1 -1
- package/dist/api/types/WorkflowToolNestedToolsStepModelOutput.d.ts +1 -1
- package/dist/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +1 -1
- package/dist/api/types/WorkspaceCreateWebhookResponseModel.d.ts +4 -0
- package/dist/api/types/WorkspaceCreateWebhookResponseModel.js +3 -0
- package/dist/api/types/index.d.ts +19 -8
- package/dist/api/types/index.js +19 -8
- package/dist/core/fetcher/BinaryResponse.d.ts +6 -7
- package/dist/core/fetcher/Fetcher.d.ts +5 -1
- package/dist/core/fetcher/Fetcher.js +2 -1
- package/dist/core/fetcher/getResponseBody.js +18 -4
- package/dist/core/fetcher/signals.d.ts +1 -1
- package/dist/core/runtime/runtime.js +11 -10
- package/dist/core/schemas/builders/object/object.js +14 -1
- package/dist/errors/ElevenLabsError.js +5 -1
- package/dist/errors/ElevenLabsTimeoutError.js +5 -1
- package/dist/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/errors/handleNonStatusCodeError.js +65 -0
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.d.ts +15 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.js +47 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/twilio/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.d.ts +7 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.js +39 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/twilio/types/index.js +17 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +10 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +42 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/index.js +3 -1
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +13 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +45 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +4 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.js +4 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.js +3 -1
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +1 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +2 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +2 -2
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +2 -2
- package/{serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts → dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts} +2 -2
- package/{serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js → dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js} +2 -2
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +2 -2
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +2 -2
- package/{serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts → dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts} +2 -2
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/{BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js → BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js} +2 -2
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +2 -2
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +2 -2
- package/dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -1
- package/dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -1
- package/dist/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSource.d.ts +2 -2
- package/dist/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSource.js +2 -2
- package/dist/serialization/resources/studio/types/{BodyCreatePodcastV1StudioPodcastsPostSourceItem.d.ts → BodyCreatePodcastV1StudioPodcastsPostSourceTwoItem.d.ts} +3 -3
- package/{serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceItem.js → dist/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceTwoItem.js} +2 -2
- package/dist/serialization/resources/studio/types/index.d.ts +1 -1
- package/dist/serialization/resources/studio/types/index.js +1 -1
- package/dist/serialization/resources/webhooks/client/index.d.ts +1 -0
- package/dist/serialization/resources/webhooks/client/index.js +17 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +10 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +42 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +10 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +42 -0
- package/dist/serialization/resources/webhooks/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/webhooks/client/requests/index.js +7 -0
- package/dist/serialization/resources/webhooks/index.d.ts +1 -0
- package/dist/serialization/resources/webhooks/index.js +17 -0
- package/dist/serialization/types/AgentDefinitionSource.d.ts +1 -1
- package/dist/serialization/types/AgentDefinitionSource.js +1 -1
- package/dist/serialization/types/AgentWorkflowRequestModel.d.ts +1 -0
- package/dist/serialization/types/AgentWorkflowRequestModel.js +1 -0
- package/dist/serialization/types/AgentWorkflowResponseModel.d.ts +1 -0
- package/dist/serialization/types/AgentWorkflowResponseModel.js +1 -0
- package/dist/serialization/types/BackupLlmDefault.d.ts +3 -1
- package/dist/serialization/types/BackupLlmDefault.js +3 -1
- package/dist/serialization/types/BackupLlmDisabled.d.ts +3 -1
- package/dist/serialization/types/BackupLlmDisabled.js +3 -1
- package/dist/serialization/types/BackupLlmOverride.d.ts +1 -0
- package/dist/serialization/types/BackupLlmOverride.js +1 -0
- package/dist/serialization/types/BillingPeriod.d.ts +7 -0
- package/dist/serialization/types/{SubscriptionResponseModelBillingPeriod.js → BillingPeriod.js} +2 -2
- package/dist/serialization/types/CharacterRefreshPeriod.d.ts +7 -0
- package/dist/serialization/types/{ExtendedSubscriptionResponseModelBillingPeriod.js → CharacterRefreshPeriod.js} +2 -2
- package/dist/serialization/types/ClientEvent.d.ts +1 -1
- package/dist/serialization/types/ClientEvent.js +1 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +20 -0
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +52 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +2 -1
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +2 -1
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.d.ts +13 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.js +45 -0
- package/dist/serialization/types/{ConversationHistoryTranscriptToolCallCommonModel.d.ts → ConversationHistoryTranscriptToolCallCommonModelInput.d.ts} +4 -4
- package/{serialization/types/ConversationHistoryTranscriptToolCallCommonModel.js → dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelInput.js} +4 -4
- package/{serialization/types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.d.ts → dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.d.ts} +7 -3
- package/dist/serialization/types/{ConversationHistoryTranscriptToolCallCommonModelToolDetails.js → ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.js} +4 -2
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutput.d.ts +16 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutput.js +48 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.d.ts +23 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.js +53 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallWebhookDetails.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallWebhookDetails.js +1 -0
- package/dist/serialization/types/CustomLlm.d.ts +2 -0
- package/dist/serialization/types/CustomLlm.js +2 -0
- package/dist/serialization/types/CustomLlmapiType.d.ts +7 -0
- package/{serialization/types/SubscriptionResponseModelBillingPeriod.js → dist/serialization/types/CustomLlmapiType.js} +2 -2
- package/dist/serialization/types/DeleteWorkspaceWebhookResponseModel.d.ts +9 -0
- package/{serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.js → dist/serialization/types/DeleteWorkspaceWebhookResponseModel.js} +4 -2
- package/dist/serialization/types/DetailedMusicResponse.d.ts +2 -0
- package/dist/serialization/types/DetailedMusicResponse.js +2 -0
- package/{serialization/types/DiscountResposneModel.d.ts → dist/serialization/types/DiscountResponseModel.d.ts} +2 -2
- package/dist/serialization/types/{DiscountResposneModel.js → DiscountResponseModel.js} +2 -2
- package/dist/serialization/types/DubbingResource.d.ts +2 -2
- package/dist/serialization/types/DubbingResource.js +2 -2
- package/dist/serialization/types/DubbingTranscriptUtterance.d.ts +2 -1
- package/dist/serialization/types/DubbingTranscriptUtterance.js +2 -1
- package/dist/serialization/types/DubbingTranscriptWord.d.ts +2 -2
- package/dist/serialization/types/DubbingTranscriptWord.js +2 -2
- package/dist/serialization/types/GetLiveCountResponse.d.ts +9 -0
- package/dist/serialization/types/GetLiveCountResponse.js +41 -0
- package/dist/serialization/types/InvoiceResponse.d.ts +2 -2
- package/dist/serialization/types/InvoiceResponse.js +2 -2
- package/dist/serialization/types/PatchWorkspaceWebhookResponseModel.d.ts +9 -0
- package/dist/serialization/types/PatchWorkspaceWebhookResponseModel.js +41 -0
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -2
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.js +2 -2
- package/dist/serialization/types/PodcastTextSource.d.ts +1 -0
- package/dist/serialization/types/PodcastTextSource.js +1 -0
- package/dist/serialization/types/PodcastUrlSource.d.ts +1 -0
- package/dist/serialization/types/PodcastUrlSource.js +1 -0
- package/dist/serialization/types/ProjectExtendedResponseModelSourceType.d.ts +1 -1
- package/dist/serialization/types/ProjectExtendedResponseModelSourceType.js +1 -1
- package/dist/serialization/types/ProjectResponseModelSourceType.d.ts +1 -1
- package/dist/serialization/types/ProjectResponseModelSourceType.js +1 -1
- package/dist/serialization/types/RagConfig.d.ts +1 -0
- package/dist/serialization/types/RagConfig.js +1 -0
- package/dist/serialization/types/RagConfigWorkflowOverride.d.ts +1 -0
- package/dist/serialization/types/RagConfigWorkflowOverride.js +1 -0
- package/dist/serialization/types/SegmentMigrationResponse.d.ts +9 -0
- package/dist/serialization/types/SegmentMigrationResponse.js +41 -0
- package/dist/serialization/types/SpeakerCreatedResponse.d.ts +10 -0
- package/dist/serialization/types/{PendingSubscriptionSwitchResponseModelNextBillingPeriod.js → SpeakerCreatedResponse.js} +5 -2
- package/dist/serialization/types/Subscription.d.ts +4 -4
- package/dist/serialization/types/Subscription.js +4 -4
- package/dist/serialization/types/SubscriptionResponse.d.ts +4 -4
- package/dist/serialization/types/SubscriptionResponse.js +4 -4
- package/dist/serialization/types/SystemToolConfigInput.d.ts +1 -0
- package/dist/serialization/types/SystemToolConfigInput.js +1 -0
- package/dist/serialization/types/SystemToolConfigOutput.d.ts +1 -0
- package/dist/serialization/types/SystemToolConfigOutput.js +1 -0
- package/dist/serialization/types/TtsConversationalConfigInput.d.ts +0 -2
- package/dist/serialization/types/TtsConversationalConfigInput.js +0 -2
- package/dist/serialization/types/TtsConversationalConfigOutput.d.ts +0 -2
- package/dist/serialization/types/TtsConversationalConfigOutput.js +0 -2
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +0 -2
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +0 -2
- package/dist/serialization/types/WebhookHmacSettings.d.ts +11 -0
- package/dist/serialization/types/WebhookHmacSettings.js +43 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -1
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +3 -3
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -1
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +3 -3
- package/dist/serialization/types/WhatsAppConversationInfo.d.ts +2 -0
- package/dist/serialization/types/WhatsAppConversationInfo.js +2 -0
- package/dist/serialization/types/WhatsAppConversationInfoDirection.d.ts +7 -0
- package/dist/serialization/types/WhatsAppConversationInfoDirection.js +39 -0
- package/dist/serialization/types/WidgetTextContents.d.ts +7 -0
- package/dist/serialization/types/WidgetTextContents.js +7 -0
- package/dist/serialization/types/WordTimestamp.d.ts +11 -0
- package/dist/serialization/types/WordTimestamp.js +43 -0
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelInput.d.ts +2 -2
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelInput.js +2 -2
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +2 -1
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +2 -0
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutput.d.ts +2 -2
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutput.js +2 -2
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +2 -1
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +2 -0
- package/dist/serialization/types/WorkspaceCreateWebhookResponseModel.d.ts +10 -0
- package/dist/serialization/types/WorkspaceCreateWebhookResponseModel.js +42 -0
- package/dist/serialization/types/index.d.ts +19 -8
- package/dist/serialization/types/index.js +19 -8
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/ElevenLabsClient.d.ts +1 -1
- package/dist/wrapper/music.d.ts +4 -4
- package/dist/wrapper/music.js +1 -1
- package/dist/wrapper/realtime/connection.d.ts +110 -6
- package/dist/wrapper/realtime/connection.js +74 -2
- package/dist/wrapper/realtime/index.d.ts +1 -1
- package/dist/wrapper/realtime/scribe.d.ts +2 -2
- package/dist/wrapper/speechToText.d.ts +1 -1
- package/dist/wrapper/speechToText.js +1 -1
- package/dist/wrapper/webhooks.d.ts +1 -1
- package/dist/wrapper/webhooks.js +1 -1
- package/errors/ElevenLabsError.js +5 -1
- package/errors/ElevenLabsTimeoutError.js +5 -1
- package/errors/handleNonStatusCodeError.d.ts +2 -0
- package/errors/handleNonStatusCodeError.js +65 -0
- package/package.json +1 -1
- package/reference.md +690 -216
- package/serialization/resources/conversationalAi/resources/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.d.ts +15 -0
- package/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.js +47 -0
- package/serialization/resources/conversationalAi/resources/twilio/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/twilio/client/requests/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/twilio/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/twilio/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.d.ts +7 -0
- package/serialization/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.js +39 -0
- package/serialization/resources/conversationalAi/resources/twilio/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/twilio/types/index.js +17 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +10 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +42 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/index.js +3 -1
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +13 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +45 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +4 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.js +4 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.js +3 -1
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +1 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +2 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +2 -2
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +2 -2
- package/{dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts → serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts} +2 -2
- package/{dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js → serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js} +2 -2
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +2 -2
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +2 -2
- package/{dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts → serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts} +2 -2
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/{BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js → BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js} +2 -2
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +2 -2
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +2 -2
- package/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -1
- package/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -1
- package/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSource.d.ts +2 -2
- package/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSource.js +2 -2
- package/serialization/resources/studio/types/{BodyCreatePodcastV1StudioPodcastsPostSourceItem.d.ts → BodyCreatePodcastV1StudioPodcastsPostSourceTwoItem.d.ts} +3 -3
- package/{dist/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceItem.js → serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceTwoItem.js} +2 -2
- package/serialization/resources/studio/types/index.d.ts +1 -1
- package/serialization/resources/studio/types/index.js +1 -1
- package/serialization/resources/webhooks/client/index.d.ts +1 -0
- package/serialization/resources/webhooks/client/index.js +17 -0
- package/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +10 -0
- package/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +42 -0
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +10 -0
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +42 -0
- package/serialization/resources/webhooks/client/requests/index.d.ts +2 -0
- package/serialization/resources/webhooks/client/requests/index.js +7 -0
- package/serialization/resources/webhooks/index.d.ts +1 -0
- package/serialization/resources/webhooks/index.js +17 -0
- package/serialization/types/AgentDefinitionSource.d.ts +1 -1
- package/serialization/types/AgentDefinitionSource.js +1 -1
- package/serialization/types/AgentWorkflowRequestModel.d.ts +1 -0
- package/serialization/types/AgentWorkflowRequestModel.js +1 -0
- package/serialization/types/AgentWorkflowResponseModel.d.ts +1 -0
- package/serialization/types/AgentWorkflowResponseModel.js +1 -0
- package/serialization/types/BackupLlmDefault.d.ts +3 -1
- package/serialization/types/BackupLlmDefault.js +3 -1
- package/serialization/types/BackupLlmDisabled.d.ts +3 -1
- package/serialization/types/BackupLlmDisabled.js +3 -1
- package/serialization/types/BackupLlmOverride.d.ts +1 -0
- package/serialization/types/BackupLlmOverride.js +1 -0
- package/serialization/types/BillingPeriod.d.ts +7 -0
- package/serialization/types/BillingPeriod.js +39 -0
- package/serialization/types/CharacterRefreshPeriod.d.ts +7 -0
- package/serialization/types/CharacterRefreshPeriod.js +39 -0
- package/serialization/types/ClientEvent.d.ts +1 -1
- package/serialization/types/ClientEvent.js +1 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +20 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +52 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +2 -1
- package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +2 -1
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
- package/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.d.ts +13 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.js +45 -0
- package/serialization/types/{ConversationHistoryTranscriptToolCallCommonModel.d.ts → ConversationHistoryTranscriptToolCallCommonModelInput.d.ts} +4 -4
- package/{dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.js → serialization/types/ConversationHistoryTranscriptToolCallCommonModelInput.js} +4 -4
- package/{dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.d.ts → serialization/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.d.ts} +7 -3
- package/serialization/types/{ConversationHistoryTranscriptToolCallCommonModelToolDetails.js → ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.js} +4 -2
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutput.d.ts +16 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutput.js +48 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.d.ts +23 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.js +53 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallWebhookDetails.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallWebhookDetails.js +1 -0
- package/serialization/types/CustomLlm.d.ts +2 -0
- package/serialization/types/CustomLlm.js +2 -0
- package/serialization/types/CustomLlmapiType.d.ts +7 -0
- package/serialization/types/CustomLlmapiType.js +39 -0
- package/serialization/types/DeleteWorkspaceWebhookResponseModel.d.ts +9 -0
- package/serialization/types/DeleteWorkspaceWebhookResponseModel.js +41 -0
- package/serialization/types/DetailedMusicResponse.d.ts +2 -0
- package/serialization/types/DetailedMusicResponse.js +2 -0
- package/{dist/serialization/types/DiscountResposneModel.d.ts → serialization/types/DiscountResponseModel.d.ts} +2 -2
- package/serialization/types/{DiscountResposneModel.js → DiscountResponseModel.js} +2 -2
- package/serialization/types/DubbingResource.d.ts +2 -2
- package/serialization/types/DubbingResource.js +2 -2
- package/serialization/types/DubbingTranscriptUtterance.d.ts +2 -1
- package/serialization/types/DubbingTranscriptUtterance.js +2 -1
- package/serialization/types/DubbingTranscriptWord.d.ts +2 -2
- package/serialization/types/DubbingTranscriptWord.js +2 -2
- package/serialization/types/GetLiveCountResponse.d.ts +9 -0
- package/serialization/types/GetLiveCountResponse.js +41 -0
- package/serialization/types/InvoiceResponse.d.ts +2 -2
- package/serialization/types/InvoiceResponse.js +2 -2
- package/serialization/types/PatchWorkspaceWebhookResponseModel.d.ts +9 -0
- package/serialization/types/PatchWorkspaceWebhookResponseModel.js +41 -0
- package/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -2
- package/serialization/types/PendingSubscriptionSwitchResponseModel.js +2 -2
- package/serialization/types/PodcastTextSource.d.ts +1 -0
- package/serialization/types/PodcastTextSource.js +1 -0
- package/serialization/types/PodcastUrlSource.d.ts +1 -0
- package/serialization/types/PodcastUrlSource.js +1 -0
- package/serialization/types/ProjectExtendedResponseModelSourceType.d.ts +1 -1
- package/serialization/types/ProjectExtendedResponseModelSourceType.js +1 -1
- package/serialization/types/ProjectResponseModelSourceType.d.ts +1 -1
- package/serialization/types/ProjectResponseModelSourceType.js +1 -1
- package/serialization/types/RagConfig.d.ts +1 -0
- package/serialization/types/RagConfig.js +1 -0
- package/serialization/types/RagConfigWorkflowOverride.d.ts +1 -0
- package/serialization/types/RagConfigWorkflowOverride.js +1 -0
- package/serialization/types/SegmentMigrationResponse.d.ts +9 -0
- package/serialization/types/SegmentMigrationResponse.js +41 -0
- package/serialization/types/SpeakerCreatedResponse.d.ts +10 -0
- package/{dist/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js → serialization/types/SpeakerCreatedResponse.js} +5 -2
- package/serialization/types/Subscription.d.ts +4 -4
- package/serialization/types/Subscription.js +4 -4
- package/serialization/types/SubscriptionResponse.d.ts +4 -4
- package/serialization/types/SubscriptionResponse.js +4 -4
- package/serialization/types/SystemToolConfigInput.d.ts +1 -0
- package/serialization/types/SystemToolConfigInput.js +1 -0
- package/serialization/types/SystemToolConfigOutput.d.ts +1 -0
- package/serialization/types/SystemToolConfigOutput.js +1 -0
- package/serialization/types/TtsConversationalConfigInput.d.ts +0 -2
- package/serialization/types/TtsConversationalConfigInput.js +0 -2
- package/serialization/types/TtsConversationalConfigOutput.d.ts +0 -2
- package/serialization/types/TtsConversationalConfigOutput.js +0 -2
- package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
- package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +0 -2
- package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
- package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +0 -2
- package/serialization/types/WebhookHmacSettings.d.ts +11 -0
- package/serialization/types/WebhookHmacSettings.js +43 -0
- package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -1
- package/serialization/types/WebhookToolApiSchemaConfigInput.js +3 -3
- package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -1
- package/serialization/types/WebhookToolApiSchemaConfigOutput.js +3 -3
- package/serialization/types/WhatsAppConversationInfo.d.ts +2 -0
- package/serialization/types/WhatsAppConversationInfo.js +2 -0
- package/serialization/types/WhatsAppConversationInfoDirection.d.ts +7 -0
- package/serialization/types/WhatsAppConversationInfoDirection.js +39 -0
- package/serialization/types/WidgetTextContents.d.ts +7 -0
- package/serialization/types/WidgetTextContents.js +7 -0
- package/serialization/types/WordTimestamp.d.ts +11 -0
- package/serialization/types/WordTimestamp.js +43 -0
- package/serialization/types/WorkflowToolNestedToolsStepModelInput.d.ts +2 -2
- package/serialization/types/WorkflowToolNestedToolsStepModelInput.js +2 -2
- package/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +2 -1
- package/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +2 -0
- package/serialization/types/WorkflowToolNestedToolsStepModelOutput.d.ts +2 -2
- package/serialization/types/WorkflowToolNestedToolsStepModelOutput.js +2 -2
- package/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +2 -1
- package/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +2 -0
- package/serialization/types/WorkspaceCreateWebhookResponseModel.d.ts +10 -0
- package/serialization/types/WorkspaceCreateWebhookResponseModel.js +42 -0
- package/serialization/types/index.d.ts +19 -8
- package/serialization/types/index.js +19 -8
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/ElevenLabsClient.d.ts +1 -1
- package/wrapper/music.d.ts +4 -4
- package/wrapper/music.js +1 -1
- package/wrapper/realtime/connection.d.ts +110 -6
- package/wrapper/realtime/connection.js +74 -2
- package/wrapper/realtime/index.d.ts +1 -1
- package/wrapper/realtime/scribe.d.ts +2 -2
- package/wrapper/speechToText.d.ts +1 -1
- package/wrapper/speechToText.js +1 -1
- package/wrapper/webhooks.d.ts +1 -1
- package/wrapper/webhooks.js +1 -1
- package/api/types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.d.ts +0 -13
- package/api/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +0 -5
- package/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -5
- package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +0 -6
- package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +0 -9
- package/api/types/SubscriptionResponseModelBillingPeriod.d.ts +0 -5
- package/api/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -5
- package/core/fetcher/ResponseWithBody.d.ts +0 -4
- package/core/fetcher/ResponseWithBody.js +0 -6
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.d.ts +0 -13
- package/dist/api/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +0 -5
- package/dist/api/types/ExtendedSubscriptionResponseModelBillingPeriod.js +0 -8
- package/dist/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -5
- package/dist/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +0 -8
- package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +0 -6
- package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +0 -9
- package/dist/api/types/SubscriptionResponseModelBillingPeriod.d.ts +0 -5
- package/dist/api/types/SubscriptionResponseModelBillingPeriod.js +0 -8
- package/dist/api/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -5
- package/dist/api/types/SubscriptionResponseModelCharacterRefreshPeriod.js +0 -8
- package/dist/core/fetcher/ResponseWithBody.d.ts +0 -4
- package/dist/core/fetcher/ResponseWithBody.js +0 -6
- package/dist/serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +0 -7
- package/dist/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -7
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +0 -7
- package/dist/serialization/types/SubscriptionResponseModelBillingPeriod.d.ts +0 -7
- package/dist/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -7
- package/dist/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.js +0 -39
- package/serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +0 -7
- package/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -7
- package/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +0 -39
- package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +0 -7
- package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +0 -39
- package/serialization/types/SubscriptionResponseModelBillingPeriod.d.ts +0 -7
- package/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +0 -7
- package/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.js +0 -39
- /package/api/resources/{studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceItem.js → conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.js} +0 -0
- /package/api/{types/ConversationHistoryTranscriptToolCallCommonModel.js → resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.js} +0 -0
- /package/api/{types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.js → resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js} +0 -0
- /package/api/{types/DiscountResposneModel.js → resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js} +0 -0
- /package/{dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceItem.js → api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostSourceTwoItem.js} +0 -0
- /package/{dist/api/types/ConversationHistoryTranscriptToolCallCommonModel.js → api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js} +0 -0
- /package/{dist/api/types/ConversationHistoryTranscriptToolCallCommonModelToolDetails.js → api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js} +0 -0
- /package/{dist/api/types/DiscountResposneModel.js → api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js} +0 -0
|
@@ -41,7 +41,7 @@ const ConversationHistoryMultivoiceMessageModel_1 = require("./ConversationHisto
|
|
|
41
41
|
const ConversationHistoryTranscriptCommonModelOutputRole_1 = require("./ConversationHistoryTranscriptCommonModelOutputRole");
|
|
42
42
|
const ConversationHistoryTranscriptCommonModelOutputSourceMedium_1 = require("./ConversationHistoryTranscriptCommonModelOutputSourceMedium");
|
|
43
43
|
const ConversationHistoryTranscriptCommonModelOutputToolResultsItem_1 = require("./ConversationHistoryTranscriptCommonModelOutputToolResultsItem");
|
|
44
|
-
const
|
|
44
|
+
const ConversationHistoryTranscriptToolCallCommonModelOutput_1 = require("./ConversationHistoryTranscriptToolCallCommonModelOutput");
|
|
45
45
|
const ConversationTurnMetrics_1 = require("./ConversationTurnMetrics");
|
|
46
46
|
const LlmUsageOutput_1 = require("./LlmUsageOutput");
|
|
47
47
|
const RagRetrievalInfo_1 = require("./RagRetrievalInfo");
|
|
@@ -51,7 +51,7 @@ exports.ConversationHistoryTranscriptCommonModelOutput = core.serialization.obje
|
|
|
51
51
|
agentMetadata: core.serialization.property("agent_metadata", AgentMetadata_1.AgentMetadata.optional()),
|
|
52
52
|
message: core.serialization.string().optional(),
|
|
53
53
|
multivoiceMessage: core.serialization.property("multivoice_message", ConversationHistoryMultivoiceMessageModel_1.ConversationHistoryMultivoiceMessageModel.optional()),
|
|
54
|
-
toolCalls: core.serialization.property("tool_calls", core.serialization.list(
|
|
54
|
+
toolCalls: core.serialization.property("tool_calls", core.serialization.list(ConversationHistoryTranscriptToolCallCommonModelOutput_1.ConversationHistoryTranscriptToolCallCommonModelOutput).optional()),
|
|
55
55
|
toolResults: core.serialization.property("tool_results", core.serialization.list(ConversationHistoryTranscriptCommonModelOutputToolResultsItem_1.ConversationHistoryTranscriptCommonModelOutputToolResultsItem).optional()),
|
|
56
56
|
feedback: UserFeedback_1.UserFeedback.optional(),
|
|
57
57
|
llmOverride: core.serialization.property("llm_override", core.serialization.string().optional()),
|
package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import * as serializers from "../index";
|
|
4
|
+
import { ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel } from "./ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel";
|
|
4
5
|
import { ConversationHistoryTranscriptOtherToolsResultCommonModel } from "./ConversationHistoryTranscriptOtherToolsResultCommonModel";
|
|
5
6
|
import { ConversationHistoryTranscriptSystemToolResultCommonModel } from "./ConversationHistoryTranscriptSystemToolResultCommonModel";
|
|
6
7
|
export declare const ConversationHistoryTranscriptCommonModelOutputToolResultsItem: core.serialization.Schema<serializers.ConversationHistoryTranscriptCommonModelOutputToolResultsItem.Raw, ElevenLabs.ConversationHistoryTranscriptCommonModelOutputToolResultsItem>;
|
|
7
8
|
export declare namespace ConversationHistoryTranscriptCommonModelOutputToolResultsItem {
|
|
8
|
-
type Raw = ConversationHistoryTranscriptOtherToolsResultCommonModel.Raw | ConversationHistoryTranscriptSystemToolResultCommonModel.Raw | serializers.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.Raw;
|
|
9
|
+
type Raw = ConversationHistoryTranscriptOtherToolsResultCommonModel.Raw | ConversationHistoryTranscriptSystemToolResultCommonModel.Raw | ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.Raw | serializers.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.Raw;
|
|
9
10
|
}
|
package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js
CHANGED
|
@@ -37,10 +37,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ConversationHistoryTranscriptCommonModelOutputToolResultsItem = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const serializers = __importStar(require("../index"));
|
|
40
|
+
const ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel_1 = require("./ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel");
|
|
40
41
|
const ConversationHistoryTranscriptOtherToolsResultCommonModel_1 = require("./ConversationHistoryTranscriptOtherToolsResultCommonModel");
|
|
41
42
|
const ConversationHistoryTranscriptSystemToolResultCommonModel_1 = require("./ConversationHistoryTranscriptSystemToolResultCommonModel");
|
|
42
43
|
exports.ConversationHistoryTranscriptCommonModelOutputToolResultsItem = core.serialization.undiscriminatedUnion([
|
|
43
44
|
ConversationHistoryTranscriptOtherToolsResultCommonModel_1.ConversationHistoryTranscriptOtherToolsResultCommonModel,
|
|
44
45
|
ConversationHistoryTranscriptSystemToolResultCommonModel_1.ConversationHistoryTranscriptSystemToolResultCommonModel,
|
|
46
|
+
ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel_1.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel,
|
|
45
47
|
core.serialization.lazyObject(() => serializers.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput),
|
|
46
48
|
]);
|
package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const ConversationHistoryTranscriptOtherToolsResultCommonModelType: core.serialization.Schema<serializers.ConversationHistoryTranscriptOtherToolsResultCommonModelType.Raw, ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModelType>;
|
|
5
5
|
export declare namespace ConversationHistoryTranscriptOtherToolsResultCommonModelType {
|
|
6
|
-
type Raw = "client" | "webhook" | "mcp"
|
|
6
|
+
type Raw = "client" | "webhook" | "mcp";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ConversationHistoryTranscriptOtherToolsResultCommonModelType = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.ConversationHistoryTranscriptOtherToolsResultCommonModelType = core.serialization.enum_(["client", "webhook", "mcp"
|
|
39
|
+
exports.ConversationHistoryTranscriptOtherToolsResultCommonModelType = core.serialization.enum_(["client", "webhook", "mcp"]);
|
package/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { ConversationHistoryTranscriptToolCallWebhookDetails } from "./ConversationHistoryTranscriptToolCallWebhookDetails";
|
|
5
|
+
export declare const ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails: core.serialization.ObjectSchema<serializers.ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.Raw, ElevenLabs.ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails>;
|
|
6
|
+
export declare namespace ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails {
|
|
7
|
+
interface Raw {
|
|
8
|
+
integration_id: string;
|
|
9
|
+
credential_id: string;
|
|
10
|
+
integration_connection_id: string;
|
|
11
|
+
webhook_details: ConversationHistoryTranscriptToolCallWebhookDetails.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
package/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const ConversationHistoryTranscriptToolCallWebhookDetails_1 = require("./ConversationHistoryTranscriptToolCallWebhookDetails");
|
|
40
|
+
exports.ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails = core.serialization.object({
|
|
41
|
+
integrationId: core.serialization.property("integration_id", core.serialization.string()),
|
|
42
|
+
credentialId: core.serialization.property("credential_id", core.serialization.string()),
|
|
43
|
+
integrationConnectionId: core.serialization.property("integration_connection_id", core.serialization.string()),
|
|
44
|
+
webhookDetails: core.serialization.property("webhook_details", ConversationHistoryTranscriptToolCallWebhookDetails_1.ConversationHistoryTranscriptToolCallWebhookDetails),
|
|
45
|
+
});
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
-
import {
|
|
4
|
+
import { ConversationHistoryTranscriptToolCallCommonModelInputToolDetails } from "./ConversationHistoryTranscriptToolCallCommonModelInputToolDetails";
|
|
5
5
|
import { ToolType } from "./ToolType";
|
|
6
|
-
export declare const
|
|
7
|
-
export declare namespace
|
|
6
|
+
export declare const ConversationHistoryTranscriptToolCallCommonModelInput: core.serialization.ObjectSchema<serializers.ConversationHistoryTranscriptToolCallCommonModelInput.Raw, ElevenLabs.ConversationHistoryTranscriptToolCallCommonModelInput>;
|
|
7
|
+
export declare namespace ConversationHistoryTranscriptToolCallCommonModelInput {
|
|
8
8
|
interface Raw {
|
|
9
9
|
type?: ToolType.Raw | null;
|
|
10
10
|
request_id: string;
|
|
11
11
|
tool_name: string;
|
|
12
12
|
params_as_json: string;
|
|
13
13
|
tool_has_been_called: boolean;
|
|
14
|
-
tool_details?:
|
|
14
|
+
tool_details?: ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.Raw | null;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -34,15 +34,15 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.ConversationHistoryTranscriptToolCallCommonModelInput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
const
|
|
39
|
+
const ConversationHistoryTranscriptToolCallCommonModelInputToolDetails_1 = require("./ConversationHistoryTranscriptToolCallCommonModelInputToolDetails");
|
|
40
40
|
const ToolType_1 = require("./ToolType");
|
|
41
|
-
exports.
|
|
41
|
+
exports.ConversationHistoryTranscriptToolCallCommonModelInput = core.serialization.object({
|
|
42
42
|
type: ToolType_1.ToolType.optional(),
|
|
43
43
|
requestId: core.serialization.property("request_id", core.serialization.string()),
|
|
44
44
|
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
45
45
|
paramsAsJson: core.serialization.property("params_as_json", core.serialization.string()),
|
|
46
46
|
toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
|
|
47
|
-
toolDetails: core.serialization.property("tool_details",
|
|
47
|
+
toolDetails: core.serialization.property("tool_details", ConversationHistoryTranscriptToolCallCommonModelInputToolDetails_1.ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.optional()),
|
|
48
48
|
});
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails } from "./ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails";
|
|
4
5
|
import { ConversationHistoryTranscriptToolCallClientDetails } from "./ConversationHistoryTranscriptToolCallClientDetails";
|
|
5
6
|
import { ConversationHistoryTranscriptToolCallMcpDetails } from "./ConversationHistoryTranscriptToolCallMcpDetails";
|
|
6
7
|
import { ConversationHistoryTranscriptToolCallWebhookDetails } from "./ConversationHistoryTranscriptToolCallWebhookDetails";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
9
|
-
type Raw =
|
|
8
|
+
export declare const ConversationHistoryTranscriptToolCallCommonModelInputToolDetails: core.serialization.Schema<serializers.ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.Raw, ElevenLabs.ConversationHistoryTranscriptToolCallCommonModelInputToolDetails>;
|
|
9
|
+
export declare namespace ConversationHistoryTranscriptToolCallCommonModelInputToolDetails {
|
|
10
|
+
type Raw = ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.ApiIntegrationWebhook | ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.Client | ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.Mcp | ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.Webhook;
|
|
11
|
+
interface ApiIntegrationWebhook extends ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.Raw {
|
|
12
|
+
type: "api_integration_webhook";
|
|
13
|
+
}
|
|
10
14
|
interface Client extends ConversationHistoryTranscriptToolCallClientDetails.Raw {
|
|
11
15
|
type: "client";
|
|
12
16
|
}
|
|
@@ -34,13 +34,15 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.ConversationHistoryTranscriptToolCallCommonModelInputToolDetails = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails_1 = require("./ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails");
|
|
39
40
|
const ConversationHistoryTranscriptToolCallClientDetails_1 = require("./ConversationHistoryTranscriptToolCallClientDetails");
|
|
40
41
|
const ConversationHistoryTranscriptToolCallMcpDetails_1 = require("./ConversationHistoryTranscriptToolCallMcpDetails");
|
|
41
42
|
const ConversationHistoryTranscriptToolCallWebhookDetails_1 = require("./ConversationHistoryTranscriptToolCallWebhookDetails");
|
|
42
|
-
exports.
|
|
43
|
+
exports.ConversationHistoryTranscriptToolCallCommonModelInputToolDetails = core.serialization
|
|
43
44
|
.union("type", {
|
|
45
|
+
api_integration_webhook: ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails_1.ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails,
|
|
44
46
|
client: ConversationHistoryTranscriptToolCallClientDetails_1.ConversationHistoryTranscriptToolCallClientDetails,
|
|
45
47
|
mcp: ConversationHistoryTranscriptToolCallMcpDetails_1.ConversationHistoryTranscriptToolCallMcpDetails,
|
|
46
48
|
webhook: ConversationHistoryTranscriptToolCallWebhookDetails_1.ConversationHistoryTranscriptToolCallWebhookDetails,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails } from "./ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails";
|
|
5
|
+
import { ToolType } from "./ToolType";
|
|
6
|
+
export declare const ConversationHistoryTranscriptToolCallCommonModelOutput: core.serialization.ObjectSchema<serializers.ConversationHistoryTranscriptToolCallCommonModelOutput.Raw, ElevenLabs.ConversationHistoryTranscriptToolCallCommonModelOutput>;
|
|
7
|
+
export declare namespace ConversationHistoryTranscriptToolCallCommonModelOutput {
|
|
8
|
+
interface Raw {
|
|
9
|
+
type?: ToolType.Raw | null;
|
|
10
|
+
request_id: string;
|
|
11
|
+
tool_name: string;
|
|
12
|
+
params_as_json: string;
|
|
13
|
+
tool_has_been_called: boolean;
|
|
14
|
+
tool_details?: ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.Raw | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ConversationHistoryTranscriptToolCallCommonModelOutput = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails_1 = require("./ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails");
|
|
40
|
+
const ToolType_1 = require("./ToolType");
|
|
41
|
+
exports.ConversationHistoryTranscriptToolCallCommonModelOutput = core.serialization.object({
|
|
42
|
+
type: ToolType_1.ToolType.optional(),
|
|
43
|
+
requestId: core.serialization.property("request_id", core.serialization.string()),
|
|
44
|
+
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
45
|
+
paramsAsJson: core.serialization.property("params_as_json", core.serialization.string()),
|
|
46
|
+
toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
|
|
47
|
+
toolDetails: core.serialization.property("tool_details", ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails_1.ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.optional()),
|
|
48
|
+
});
|
package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails } from "./ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails";
|
|
5
|
+
import { ConversationHistoryTranscriptToolCallClientDetails } from "./ConversationHistoryTranscriptToolCallClientDetails";
|
|
6
|
+
import { ConversationHistoryTranscriptToolCallMcpDetails } from "./ConversationHistoryTranscriptToolCallMcpDetails";
|
|
7
|
+
import { ConversationHistoryTranscriptToolCallWebhookDetails } from "./ConversationHistoryTranscriptToolCallWebhookDetails";
|
|
8
|
+
export declare const ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails: core.serialization.Schema<serializers.ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.Raw, ElevenLabs.ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails>;
|
|
9
|
+
export declare namespace ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails {
|
|
10
|
+
type Raw = ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.ApiIntegrationWebhook | ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.Client | ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.Mcp | ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.Webhook;
|
|
11
|
+
interface ApiIntegrationWebhook extends ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.Raw {
|
|
12
|
+
type: "api_integration_webhook";
|
|
13
|
+
}
|
|
14
|
+
interface Client extends ConversationHistoryTranscriptToolCallClientDetails.Raw {
|
|
15
|
+
type: "client";
|
|
16
|
+
}
|
|
17
|
+
interface Mcp extends ConversationHistoryTranscriptToolCallMcpDetails.Raw {
|
|
18
|
+
type: "mcp";
|
|
19
|
+
}
|
|
20
|
+
interface Webhook extends ConversationHistoryTranscriptToolCallWebhookDetails.Raw {
|
|
21
|
+
type: "webhook";
|
|
22
|
+
}
|
|
23
|
+
}
|
package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails_1 = require("./ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails");
|
|
40
|
+
const ConversationHistoryTranscriptToolCallClientDetails_1 = require("./ConversationHistoryTranscriptToolCallClientDetails");
|
|
41
|
+
const ConversationHistoryTranscriptToolCallMcpDetails_1 = require("./ConversationHistoryTranscriptToolCallMcpDetails");
|
|
42
|
+
const ConversationHistoryTranscriptToolCallWebhookDetails_1 = require("./ConversationHistoryTranscriptToolCallWebhookDetails");
|
|
43
|
+
exports.ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails = core.serialization
|
|
44
|
+
.union("type", {
|
|
45
|
+
api_integration_webhook: ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails_1.ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails,
|
|
46
|
+
client: ConversationHistoryTranscriptToolCallClientDetails_1.ConversationHistoryTranscriptToolCallClientDetails,
|
|
47
|
+
mcp: ConversationHistoryTranscriptToolCallMcpDetails_1.ConversationHistoryTranscriptToolCallMcpDetails,
|
|
48
|
+
webhook: ConversationHistoryTranscriptToolCallWebhookDetails_1.ConversationHistoryTranscriptToolCallWebhookDetails,
|
|
49
|
+
})
|
|
50
|
+
.transform({
|
|
51
|
+
transform: (value) => value,
|
|
52
|
+
untransform: (value) => value,
|
|
53
|
+
});
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
|
|
|
4
4
|
export declare const ConversationHistoryTranscriptToolCallWebhookDetails: core.serialization.ObjectSchema<serializers.ConversationHistoryTranscriptToolCallWebhookDetails.Raw, ElevenLabs.ConversationHistoryTranscriptToolCallWebhookDetails>;
|
|
5
5
|
export declare namespace ConversationHistoryTranscriptToolCallWebhookDetails {
|
|
6
6
|
interface Raw {
|
|
7
|
+
type?: "webhook" | null;
|
|
7
8
|
method: string;
|
|
8
9
|
url: string;
|
|
9
10
|
headers?: Record<string, string> | null;
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ConversationHistoryTranscriptToolCallWebhookDetails = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
exports.ConversationHistoryTranscriptToolCallWebhookDetails = core.serialization.object({
|
|
40
|
+
type: core.serialization.stringLiteral("webhook").optional(),
|
|
40
41
|
method: core.serialization.string(),
|
|
41
42
|
url: core.serialization.string(),
|
|
42
43
|
headers: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../../api/index";
|
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { ConvAiSecretLocator } from "./ConvAiSecretLocator";
|
|
5
|
+
import { CustomLlmapiType } from "./CustomLlmapiType";
|
|
5
6
|
import { CustomLlmRequestHeadersValue } from "./CustomLlmRequestHeadersValue";
|
|
6
7
|
export declare const CustomLlm: core.serialization.ObjectSchema<serializers.CustomLlm.Raw, ElevenLabs.CustomLlm>;
|
|
7
8
|
export declare namespace CustomLlm {
|
|
@@ -11,5 +12,6 @@ export declare namespace CustomLlm {
|
|
|
11
12
|
api_key?: ConvAiSecretLocator.Raw | null;
|
|
12
13
|
request_headers?: Record<string, CustomLlmRequestHeadersValue.Raw> | null;
|
|
13
14
|
api_version?: string | null;
|
|
15
|
+
api_type?: CustomLlmapiType.Raw | null;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.CustomLlm = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const ConvAiSecretLocator_1 = require("./ConvAiSecretLocator");
|
|
40
|
+
const CustomLlmapiType_1 = require("./CustomLlmapiType");
|
|
40
41
|
const CustomLlmRequestHeadersValue_1 = require("./CustomLlmRequestHeadersValue");
|
|
41
42
|
exports.CustomLlm = core.serialization.object({
|
|
42
43
|
url: core.serialization.string(),
|
|
@@ -44,4 +45,5 @@ exports.CustomLlm = core.serialization.object({
|
|
|
44
45
|
apiKey: core.serialization.property("api_key", ConvAiSecretLocator_1.ConvAiSecretLocator.optional()),
|
|
45
46
|
requestHeaders: core.serialization.property("request_headers", core.serialization.record(core.serialization.string(), CustomLlmRequestHeadersValue_1.CustomLlmRequestHeadersValue).optional()),
|
|
46
47
|
apiVersion: core.serialization.property("api_version", core.serialization.string().optional()),
|
|
48
|
+
apiType: core.serialization.property("api_type", CustomLlmapiType_1.CustomLlmapiType.optional()),
|
|
47
49
|
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const CustomLlmapiType: core.serialization.Schema<serializers.CustomLlmapiType.Raw, ElevenLabs.CustomLlmapiType>;
|
|
5
|
+
export declare namespace CustomLlmapiType {
|
|
6
|
+
type Raw = "chat_completions" | "responses";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.CustomLlmapiType = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.CustomLlmapiType = core.serialization.enum_(["chat_completions", "responses"]);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const DeleteWorkspaceWebhookResponseModel: core.serialization.ObjectSchema<serializers.DeleteWorkspaceWebhookResponseModel.Raw, ElevenLabs.DeleteWorkspaceWebhookResponseModel>;
|
|
5
|
+
export declare namespace DeleteWorkspaceWebhookResponseModel {
|
|
6
|
+
interface Raw {
|
|
7
|
+
status: string;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.DeleteWorkspaceWebhookResponseModel = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.DeleteWorkspaceWebhookResponseModel = core.serialization.object({
|
|
40
|
+
status: core.serialization.string(),
|
|
41
|
+
});
|
|
@@ -3,10 +3,12 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { MusicPrompt } from "./MusicPrompt";
|
|
5
5
|
import { SongMetadata } from "./SongMetadata";
|
|
6
|
+
import { WordTimestamp } from "./WordTimestamp";
|
|
6
7
|
export declare const DetailedMusicResponse: core.serialization.ObjectSchema<serializers.DetailedMusicResponse.Raw, ElevenLabs.DetailedMusicResponse>;
|
|
7
8
|
export declare namespace DetailedMusicResponse {
|
|
8
9
|
interface Raw {
|
|
9
10
|
composition_plan: MusicPrompt.Raw;
|
|
10
11
|
song_metadata: SongMetadata.Raw;
|
|
12
|
+
words_timestamps?: WordTimestamp.Raw[] | null;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -38,7 +38,9 @@ exports.DetailedMusicResponse = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const MusicPrompt_1 = require("./MusicPrompt");
|
|
40
40
|
const SongMetadata_1 = require("./SongMetadata");
|
|
41
|
+
const WordTimestamp_1 = require("./WordTimestamp");
|
|
41
42
|
exports.DetailedMusicResponse = core.serialization.object({
|
|
42
43
|
compositionPlan: core.serialization.property("composition_plan", MusicPrompt_1.MusicPrompt),
|
|
43
44
|
songMetadata: core.serialization.property("song_metadata", SongMetadata_1.SongMetadata),
|
|
45
|
+
wordsTimestamps: core.serialization.property("words_timestamps", core.serialization.list(WordTimestamp_1.WordTimestamp).optional()),
|
|
44
46
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
-
export declare const
|
|
5
|
-
export declare namespace
|
|
4
|
+
export declare const DiscountResponseModel: core.serialization.ObjectSchema<serializers.DiscountResponseModel.Raw, ElevenLabs.DiscountResponseModel>;
|
|
5
|
+
export declare namespace DiscountResponseModel {
|
|
6
6
|
interface Raw {
|
|
7
7
|
discount_percent_off?: number | null;
|
|
8
8
|
discount_amount_off?: number | null;
|
|
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.DiscountResponseModel = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.
|
|
39
|
+
exports.DiscountResponseModel = core.serialization.object({
|
|
40
40
|
discountPercentOff: core.serialization.property("discount_percent_off", core.serialization.number().optional()),
|
|
41
41
|
discountAmountOff: core.serialization.property("discount_amount_off", core.serialization.number().optional()),
|
|
42
42
|
});
|
|
@@ -13,8 +13,8 @@ export declare namespace DubbingResource {
|
|
|
13
13
|
source_language: string;
|
|
14
14
|
target_languages: string[];
|
|
15
15
|
input: DubbingMediaReference.Raw;
|
|
16
|
-
background
|
|
17
|
-
foreground
|
|
16
|
+
background?: DubbingMediaReference.Raw | null;
|
|
17
|
+
foreground?: DubbingMediaReference.Raw | null;
|
|
18
18
|
speaker_tracks: Record<string, SpeakerTrack.Raw>;
|
|
19
19
|
speaker_segments: Record<string, SpeakerSegment.Raw>;
|
|
20
20
|
renders: Record<string, Render.Raw>;
|
|
@@ -46,8 +46,8 @@ exports.DubbingResource = core.serialization.object({
|
|
|
46
46
|
sourceLanguage: core.serialization.property("source_language", core.serialization.string()),
|
|
47
47
|
targetLanguages: core.serialization.property("target_languages", core.serialization.list(core.serialization.string())),
|
|
48
48
|
input: DubbingMediaReference_1.DubbingMediaReference,
|
|
49
|
-
background: DubbingMediaReference_1.DubbingMediaReference,
|
|
50
|
-
foreground: DubbingMediaReference_1.DubbingMediaReference,
|
|
49
|
+
background: DubbingMediaReference_1.DubbingMediaReference.optional(),
|
|
50
|
+
foreground: DubbingMediaReference_1.DubbingMediaReference.optional(),
|
|
51
51
|
speakerTracks: core.serialization.property("speaker_tracks", core.serialization.record(core.serialization.string(), SpeakerTrack_1.SpeakerTrack)),
|
|
52
52
|
speakerSegments: core.serialization.property("speaker_segments", core.serialization.record(core.serialization.string(), SpeakerSegment_1.SpeakerSegment)),
|
|
53
53
|
renders: core.serialization.record(core.serialization.string(), Render_1.Render),
|
|
@@ -5,7 +5,8 @@ import { DubbingTranscriptWord } from "./DubbingTranscriptWord";
|
|
|
5
5
|
export declare const DubbingTranscriptUtterance: core.serialization.ObjectSchema<serializers.DubbingTranscriptUtterance.Raw, ElevenLabs.DubbingTranscriptUtterance>;
|
|
6
6
|
export declare namespace DubbingTranscriptUtterance {
|
|
7
7
|
interface Raw {
|
|
8
|
-
|
|
8
|
+
text?: string | null;
|
|
9
|
+
speaker_id?: string | null;
|
|
9
10
|
start_s?: number | null;
|
|
10
11
|
end_s?: number | null;
|
|
11
12
|
words?: DubbingTranscriptWord.Raw[] | null;
|
|
@@ -38,7 +38,8 @@ exports.DubbingTranscriptUtterance = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const DubbingTranscriptWord_1 = require("./DubbingTranscriptWord");
|
|
40
40
|
exports.DubbingTranscriptUtterance = core.serialization.object({
|
|
41
|
-
|
|
41
|
+
text: core.serialization.string().optional(),
|
|
42
|
+
speakerId: core.serialization.property("speaker_id", core.serialization.string().optional()),
|
|
42
43
|
startS: core.serialization.property("start_s", core.serialization.number().optional()),
|
|
43
44
|
endS: core.serialization.property("end_s", core.serialization.number().optional()),
|
|
44
45
|
words: core.serialization.list(DubbingTranscriptWord_1.DubbingTranscriptWord).optional(),
|
|
@@ -5,8 +5,8 @@ import { DubbingTranscriptCharacter } from "./DubbingTranscriptCharacter";
|
|
|
5
5
|
export declare const DubbingTranscriptWord: core.serialization.ObjectSchema<serializers.DubbingTranscriptWord.Raw, ElevenLabs.DubbingTranscriptWord>;
|
|
6
6
|
export declare namespace DubbingTranscriptWord {
|
|
7
7
|
interface Raw {
|
|
8
|
-
text
|
|
9
|
-
word_type
|
|
8
|
+
text?: string | null;
|
|
9
|
+
word_type?: string | null;
|
|
10
10
|
start_s?: number | null;
|
|
11
11
|
end_s?: number | null;
|
|
12
12
|
characters?: DubbingTranscriptCharacter.Raw[] | null;
|